/* =====================================================
   IRIKUM - Artisanal Jewelry
   Luxury Brand Website Styles
   ===================================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-cream: #FAF8F5;
    --color-cream-dark: #F5F2ED;
    --color-ivory: #FFFEF9;
    --color-charcoal: #1A1A1A;
    --color-charcoal-light: #2D2D2D;
    --color-gold: #C9A962;
    --color-gold-light: #D4B978;
    --color-gold-dark: #A88B4A;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    
    /* Opal-inspired gradients */
    --gradient-opal: linear-gradient(
        135deg,
        rgba(255, 182, 193, 0.3) 0%,
        rgba(173, 216, 230, 0.3) 25%,
        rgba(144, 238, 144, 0.2) 50%,
        rgba(255, 218, 185, 0.3) 75%,
        rgba(221, 160, 221, 0.2) 100%
    );
    --gradient-shimmer: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --max-width: 1400px;
    --nav-height: 100px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(201, 169, 98, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* Selection */
::selection {
    background-color: var(--color-gold);
    color: var(--color-ivory);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
}

.section-title-light {
    color: var(--color-ivory);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shimmer);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background-color: var(--color-gold-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal);
}

.btn-secondary:hover {
    background-color: var(--color-charcoal);
    color: var(--color-ivory);
}

.btn-light {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
}

.btn-light:hover {
    background-color: var(--color-ivory);
}

.btn-full {
    width: 100%;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-base);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-logo-text {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-charcoal);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width var(--transition-base);
}

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

.nav-link-cta {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-charcoal);
    color: var(--color-ivory) !important;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background-color: var(--color-gold-dark);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--color-charcoal);
    transition: all var(--transition-fast);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--nav-height) var(--space-md) var(--space-lg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(173, 216, 230, 0.08) 0%, transparent 60%),
        var(--color-cream);
}

.hero-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-opal);
    opacity: 0.5;
    animation: shimmer 15s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-5%) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateX(5%) rotate(1deg);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-logo {
    margin-bottom: var(--space-sm);
}

.hero-logo img {
    height: 170px;
    width: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.hero-badge-divider {
    color: var(--color-gold);
    font-size: 0.6rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    font-style: italic;
    background: linear-gradient(
        135deg,
        var(--color-charcoal) 0%,
        var(--color-gold) 50%,
        var(--color-charcoal) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s ease-in-out infinite;
    padding-bottom: 0.1em;
    display: inline-block;
}

@keyframes goldShimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto var(--space-md);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        var(--color-gold),
        transparent
    );
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

/* =====================================================
   STORY SECTION
   ===================================================== */
.story {
    padding: var(--space-xl) 0;
    background-color: var(--color-ivory);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.story-content {
    padding-right: var(--space-lg);
}

.story-text {
    color: var(--color-text-light);
}

.story-text p {
    margin-bottom: var(--space-md);
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-visual {
    position: relative;
}

.story-image-container {
    position: relative;
    padding: var(--space-md);
}

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-image-1 {
    width: 80%;
    aspect-ratio: 4/5;
    z-index: 2;
}

.story-image-2 {
    position: absolute;
    bottom: -20%;
    right: 0;
    width: 60%;
    aspect-ratio: 3/4;
    z-index: 3;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.story-accent {
    position: absolute;
    top: 0;
    right: 20%;
    width: 200px;
    height: 200px;
    border: 1px solid var(--color-gold);
    opacity: 0.3;
    z-index: 1;
}

/* Placeholder Images */
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--color-cream-dark) 0%,
        var(--color-cream) 100%
    );
    color: var(--color-text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.placeholder-opal {
    background: linear-gradient(
        135deg,
        rgba(255, 182, 193, 0.2) 0%,
        rgba(173, 216, 230, 0.2) 50%,
        rgba(144, 238, 144, 0.2) 100%
    );
}

.placeholder-gold {
    background: linear-gradient(
        135deg,
        rgba(201, 169, 98, 0.2) 0%,
        rgba(212, 185, 120, 0.3) 100%
    );
}

.placeholder-silver {
    background: linear-gradient(
        135deg,
        rgba(192, 192, 192, 0.2) 0%,
        rgba(220, 220, 220, 0.3) 100%
    );
}

/* =====================================================
   COLLECTIONS SECTION
   ===================================================== */
.collections {
    padding: var(--space-xl) var(--space-md);
    background-color: var(--color-cream);
}

.collections-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

.collection-card {
    position: relative;
    cursor: pointer;
}

.collection-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 2px;
}

.collection-image .placeholder-image {
    transition: transform var(--transition-slow);
}

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

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}

.collection-card:hover .collection-overlay {
    background: rgba(26, 26, 26, 0.3);
}

.collection-cta {
    color: var(--color-ivory);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 1px solid var(--color-ivory);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.collection-card:hover .collection-cta {
    opacity: 1;
    transform: translateY(0);
}

.collection-info {
    padding: var(--space-md) 0;
}

.collection-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--color-charcoal);
}

.collection-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.collection-card-featured {
    grid-row: span 1;
}

/* =====================================================
   BESPOKE SECTION
   ===================================================== */
.bespoke {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.bespoke-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-charcoal-light) 100%);
    z-index: 0;
}

.bespoke-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-opal);
    opacity: 0.1;
    animation: shimmer 20s ease-in-out infinite reverse;
}

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

.bespoke-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.bespoke-intro {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

.bespoke-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.process-step {
    text-align: center;
    padding: var(--space-md);
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -20%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.process-step h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-ivory);
    margin-bottom: var(--space-xs);
}

.process-step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* =====================================================
   MATERIALS SECTION
   ===================================================== */
.materials {
    padding: var(--space-xl) 0;
    background-color: var(--color-ivory);
}

.materials-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.materials-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.material-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.material-card-reverse {
    direction: rtl;
}

.material-card-reverse > * {
    direction: ltr;
}

.material-visual {
    position: relative;
}

.material-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 2px;
    object-fit: cover;
}

.material-shimmer {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(
        ellipse at center,
        rgba(173, 216, 230, 0.3) 0%,
        rgba(255, 182, 193, 0.2) 30%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(40px);
    animation: materialGlow 4s ease-in-out infinite;
}

.material-shimmer-gold {
    background: radial-gradient(
        ellipse at center,
        rgba(201, 169, 98, 0.4) 0%,
        rgba(212, 185, 120, 0.2) 40%,
        transparent 70%
    );
}

@keyframes materialGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.placeholder-opal-material {
    background: linear-gradient(
        135deg,
        rgba(255, 182, 193, 0.3) 0%,
        rgba(173, 216, 230, 0.3) 25%,
        rgba(144, 238, 144, 0.2) 50%,
        rgba(255, 218, 185, 0.3) 75%,
        rgba(221, 160, 221, 0.2) 100%
    );
}

.placeholder-gold-material {
    background: linear-gradient(
        135deg,
        rgba(201, 169, 98, 0.3) 0%,
        rgba(255, 215, 0, 0.2) 50%,
        rgba(184, 134, 11, 0.3) 100%
    );
}

.material-content h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.material-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.material-features {
    list-style: none;
}

.material-features li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-xs);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.material-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 0.6rem;
}

/* =====================================================
   TESTIMONIAL SECTION
   ===================================================== */
.testimonial {
    padding: var(--space-xl) 0;
    background-color: var(--color-cream);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 0;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--color-charcoal);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.testimonial cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    padding: var(--space-xl) 0;
    background-color: var(--color-ivory);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-intro {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.contact-item a,
.contact-item span {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--color-gold);
}

.social-links svg {
    flex-shrink: 0;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--color-cream);
    padding: var(--space-lg);
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label,
.form-group .form-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-ivory);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-ivory);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.custom-select-trigger:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.custom-select.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-select-trigger svg {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-ivory);
    border: 1px solid var(--color-gold);
    border-top: none;
    border-radius: 0 0 2px 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.custom-select-option:hover {
    background-color: rgba(201, 169, 98, 0.1);
    color: var(--color-gold);
}

.custom-select-option.selected {
    background-color: rgba(201, 169, 98, 0.15);
    color: var(--color-gold);
    font-weight: 500;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: var(--space-md) 0 var(--space-md);
    background-color: var(--color-charcoal);
    color: var(--color-ivory);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo-text {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-ivory);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem !important;
    background: linear-gradient(
        135deg,
        var(--color-ivory) 0%,
        var(--color-gold) 50%,
        var(--color-ivory) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s ease-in-out infinite;
    padding-bottom: 0.1em;
    display: inline-block;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1200px) {
    .bespoke-process {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 992px) {
    :root {
        --nav-height: 80px;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .story-content {
        padding-right: 0;
    }
    
    .story-image-2 {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: var(--space-md);
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .material-card,
    .material-card-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-md);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-logo-text {
        font-size: 1.4rem;
    }

    .nav-logo img {
        height: 40px;
    }

    .hero-logo {
        margin-bottom: var(--space-xs);
    }

    .hero-logo img {
        height: 140px;
    }

    .hero-badge {
        margin-bottom: var(--space-sm);
    }

    .hero-title {
        margin-bottom: var(--space-xs);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 var(--space-sm);
    }

    .hero-scroll {
        bottom: 20px;
    }

    .hero-scroll-line {
        height: 40px;
    }

    .section-label {
        font-size: 0.65rem;
    }

    .bespoke-process {
        grid-template-columns: 1fr;
    }

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

    .material-content {
        padding: var(--space-md);
    }

    .material-content h3 {
        font-size: 1.5rem;
    }

    .contact-details {
        gap: var(--space-md);
    }

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

    .social-links {
        justify-content: center;
    }

    .contact-form {
        padding: var(--space-md);
    }

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

    .footer-logo {
        height: 50px;
    }

    .footer-logo-text {
        font-size: 1.6rem;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 4rem;
        --space-lg: 2.5rem;
        --space-md: 1.5rem;
    }

    .nav-logo-text {
        font-size: 1.2rem;
    }

    .nav-logo img {
        height: 35px;
    }

    .hero-logo img {
        height: 120px;
    }

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

    .hero-badge {
        font-size: 0.6rem;
        margin-bottom: var(--space-xs);
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: var(--space-sm);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.75rem;
    }

    .story-content h3 {
        font-size: 1.3rem;
    }

    .story-content p {
        font-size: 0.95rem;
    }

    .process-number {
        font-size: 1.5rem;
    }

    .process-step h4 {
        font-size: 1rem;
    }

    .material-content h3 {
        font-size: 1.3rem;
    }

    .material-content p {
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .footer-tagline {
        font-size: 0.9rem !important;
    }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    .nav,
    .hero-scroll,
    .cursor-glow {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-lg);
    }
    
    body {
        background: white;
    }
}
