/* Reset & Base Styles */
:root {
    --color-bg: #0a0a0a;
    --color-text: #f0f0f0;
    --color-primary: #d4af37;
    /* Gold */
    --color-primary-hover: #b5952f;
    --color-secondary: #1a1a1a;
    --color-accent: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition-speed: 0.3s;
    --spacing-section: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    animation: slideDownHeader 0.8s ease-out forwards;
}

@keyframes slideDownHeader {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header.header-scrolled {
    padding: 0.8rem 0;
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header {
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hero Section */
.hero {
    height: 85vh;
    min-height: 600px;
    background-image: url('assets/images/hero-bg-minimal.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax scrolling effect */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    /* Account for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.hero-slider {
    position: relative;
    z-index: 1;
    max-width: 100%;
    /* Allow full width for horizontal text */
    width: 100%;
    height: 400px;
    /* Increased height for better spacing */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

.hero-separator {
    font-size: 2.5rem;
    color: var(--color-primary);
    display: block;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-title {
    font-size: 3rem;
    /* Reduced slightly to fit horizontal */
    color: var(--color-accent);
    margin-bottom: 0;
    /* Remove bottom margin for flex alignment */
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 0;
    /* Remove bottom margin for flex alignment */
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 2rem;
}

/* Collection Section */
.section {
    padding: var(--spacing-section) 0;
}

.collection {
    position: relative;
    background-color: var(--color-bg);
    overflow: hidden;
}

.collection::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('assets/images/luxury-texture.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
    animation: texturePan 60s linear infinite;
    pointer-events: none;
}

@keyframes texturePan {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-20px, -20px) rotate(2deg);
    }
}

.collection .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-description {
    color: #999;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background-color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-image-wrapper {
    overflow: hidden;
    height: 400px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-title {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.product-description {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.product-price {
    display: block;
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta {
    background-color: var(--color-secondary);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-title {
    color: var(--color-accent);
}

.cta-text {
    margin-bottom: 2rem;
    color: #ccc;
}

.contact-details {
    margin-bottom: 2rem;
    color: #ccc;
    line-height: 1.8;
}

.contact-details strong {
    color: var(--color-primary);
}

.contact-details a {
    color: #ccc;
    text-decoration: underline;
}

.contact-details a:hover {
    color: var(--color-primary);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-brand p {
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #999;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* Animations */
/* Base class for all animated sections to ensure they are hidden initially */
.anim-home,
.anim-products,
.anim-about {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: ease-out;
}

/* Home Page (Hero): Slide Up */
/* Duration: 500ms, Delay: 1000ms */
.anim-home.active {
    animation: slideUpEffect 500ms forwards;
    animation-delay: 1000ms;
}

@keyframes slideUpEffect {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products: Slide Down */
/* Duration: 400ms, Delay: 700ms */
.anim-products.active {
    animation: slideDownEffect 400ms forwards;
    animation-delay: 700ms;
}

@keyframes slideDownEffect {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Us: Fade In */
/* Duration: 300ms, Delay: 500ms */
.anim-about.active {
    animation: fadeInEffect 300ms forwards;
    animation-delay: 500ms;
}

@keyframes fadeInEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Keep existing scroll reveal for inner elements if needed, or rely on section animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Global Section Animation for any section not specifically targeted */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-bg);
        padding: 5rem 2rem;
        transition: right var(--transition-speed) ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}