/* ============================================
   NOOR-E-BALOCH - LUXURY BALOCHI DRESSES
   Advanced CSS with 3D Animations & Effects
   ============================================ */

/* CSS Variables - Balochi Inspired Palette */
:root {
    /* Primary Colors */
    --color-primary: #1a0a2e;
    --color-primary-light: #2d1b4e;
    --color-primary-dark: #0d0518;
    
    /* Accent Colors - Balochi Textiles */
    --color-gold: #c9a227;
    --color-gold-light: #e8d5a3;
    --color-burgundy: #722f37;
    --color-emerald: #046307;
    --color-navy: #1e3a5f;
    
    /* Neutrals */
    --color-white: #faf8f5;
    --color-cream: #f5f0e8;
    --color-gray-100: #e8e4dc;
    --color-gray-200: #d4cfc7;
    --color-gray-300: #a39e93;
    --color-gray-400: #6b6560;
    --color-gray-500: #3c3c3c;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 3D Settings */
    --perspective: 1200px;
    --rotate-x: 0deg;
    --rotate-y: 0deg;
}

/* 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);
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.2);
    border-color: transparent;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    transition: var(--transition-medium);
    background: transparent;
}

.nav.scrolled {
    background: rgba(13, 5, 24, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.4s ease;
}

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

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-white);
    transition: var(--transition-medium);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    perspective: var(--perspective);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(114, 47, 55, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(201, 162, 39, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(30, 58, 95, 0.2) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(201, 162, 39, 0.03) 100px, rgba(201, 162, 39, 0.03) 101px),
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(201, 162, 39, 0.03) 100px, rgba(201, 162, 39, 0.03) 101px);
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 8rem 4rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.3s;
}

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

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.5s; }
.title-line:nth-child(2) { animation-delay: 0.7s; }

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

.hero-title em {
    font-style: italic;
    color: var(--color-gold);
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: -0.1em;
    right: -0.1em;
    height: 0.15em;
    background: rgba(201, 162, 39, 0.3);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineGrow 0.6s ease forwards;
    animation-delay: 1.2s;
}

@keyframes underlineGrow {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-200);
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1.2s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gold-light);
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-medium);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

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

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

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

.btn-secondary:hover::before {
    transform: scaleX(1);
}

.btn-secondary span {
    position: relative;
    z-index: 1;
}

/* Hero Visual - 3D Dress Showcase */
.hero-visual {
    position: relative;
    height: 600px;
    perspective: var(--perspective);
}

.dress-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.dress-card {
    position: absolute;
    width: 280px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-medium);
    transform-style: preserve-3d;
}

.dress-card:hover {
    transform: translateZ(30px) scale(1.02);
    border-color: var(--color-gold);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.dress-card-1 {
    top: 10%;
    left: 10%;
    transform: rotateY(-15deg) translateZ(50px);
    animation: float1 6s ease-in-out infinite;
}

.dress-card-2 {
    top: 30%;
    right: 5%;
    transform: rotateY(10deg) translateZ(100px);
    animation: float2 7s ease-in-out infinite;
}

.dress-card-3 {
    bottom: 10%;
    left: 25%;
    transform: rotateY(-5deg) translateZ(150px);
    animation: float3 5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: rotateY(-15deg) translateZ(50px) translateY(0); }
    50% { transform: rotateY(-15deg) translateZ(50px) translateY(-15px); }
}

@keyframes float2 {
    0%, 100% { transform: rotateY(10deg) translateZ(100px) translateY(0); }
    50% { transform: rotateY(10deg) translateZ(100px) translateY(-20px); }
}

@keyframes float3 {
    0%, 100% { transform: rotateY(-5deg) translateZ(150px) translateY(0); }
    50% { transform: rotateY(-5deg) translateZ(150px) translateY(-10px); }
}

.dress-image {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
}

.dress-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.dress-1 {
    background: linear-gradient(135deg, #722f37 0%, #8b3a44 50%, #722f37 100%);
}

.dress-2 {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4a73 50%, #1e3a5f 100%);
}

.dress-3 {
    background: linear-gradient(135deg, #046307 0%, #0a7a0a 50%, #046307 100%);
}

.embroidery-detail {
    position: absolute;
    inset: 10%;
    border: 2px solid rgba(201, 162, 39, 0.5);
    border-radius: 2px;
}

.embroidery-detail::before,
.embroidery-detail::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.embroidery-detail::before {
    inset: 10%;
}

.embroidery-detail::after {
    inset: 20%;
}

.mirror-work {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 40%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 8px;
}

.mirror-work::before,
.mirror-work::after {
    content: '';
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #e8e4dc 0%, #a39e93 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(232, 228, 220, 0.5);
}

.dress-info {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dress-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-white);
}

.dress-price {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-gold);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: floatGlow 8s ease-in-out infinite;
}

.float-1 {
    width: 200px;
    height: 200px;
    background: var(--color-gold);
    top: 20%;
    left: 60%;
    animation-delay: 0s;
}

.float-2 {
    width: 150px;
    height: 150px;
    background: var(--color-burgundy);
    bottom: 30%;
    right: 20%;
    animation-delay: -3s;
}

.float-3 {
    width: 100px;
    height: 100px;
    background: var(--color-emerald);
    top: 60%;
    left: 40%;
    animation-delay: -6s;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    33% { transform: translate(30px, -30px) scale(1.1); opacity: 0.5; }
    66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.3; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 2s;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gray-300);
}

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

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

/* ============================================
   MARQUEE SECTION
   ============================================ */
.marquee-section {
    padding: 2rem 0;
    background: var(--color-primary);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    overflow: hidden;
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-gray-200);
    letter-spacing: 0.1em;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-gray-300);
    max-width: 600px;
}

/* ============================================
   COLLECTIONS SECTION
   ============================================ */
.collections {
    padding: var(--space-xl) 4rem;
    background: var(--color-primary-dark);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.collection-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-medium);
    transform-style: preserve-3d;
}

.collection-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.collection-card.wide {
    grid-column: span 2;
}

.card-image {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.collection-card.wide .card-image {
    aspect-ratio: 16/9;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform var(--transition-slow);
}

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

.collection-1 {
    background: linear-gradient(135deg, #722f37 0%, #1a0a2e 100%);
}

.collection-2 {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d0518 100%);
}

.collection-3 {
    background: linear-gradient(135deg, #046307 0%, #0d0518 100%);
}

.collection-4 {
    background: linear-gradient(90deg, #c9a227 0%, #722f37 50%, #1e3a5f 100%);
}

.pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.15) 0%, transparent 25%);
}

.card-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.card-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-link {
    font-size: 0.9rem;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.card-link:hover::after {
    transform: translateX(4px);
}

.card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.collection-card:hover .card-shine {
    transform: translateX(100%);
}

/* ============================================
   CRAFTSMANSHIP SECTION
   ============================================ */
.craftsmanship {
    padding: var(--space-xl) 4rem;
    position: relative;
    overflow: hidden;
}

.craft-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.craft-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(201, 162, 39, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(114, 47, 55, 0.05) 0%, transparent 50%);
}

.craft-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.craft-desc {
    font-size: 1.15rem;
    color: var(--color-gray-200);
    margin: 1.5rem 0 3rem;
    line-height: 1.8;
}

.craft-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 4px;
    transition: var(--transition-medium);
}

.feature:hover {
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateX(10px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--color-gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--color-gray-300);
    line-height: 1.6;
}

/* Craft Visual */
.craft-visual {
    position: relative;
}

.craft-image-container {
    position: relative;
    aspect-ratio: 1;
}

.craft-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-primary) 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.embroidery-showcase {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thread-line {
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    animation: threadShimmer 3s ease-in-out infinite;
}

.line-1 {
    top: 30%;
    left: 20%;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    right: 20%;
    transform: rotate(-10deg);
    animation-delay: 1s;
}

.line-3 {
    bottom: 35%;
    left: 25%;
    transform: rotate(5deg);
    animation-delay: 2s;
}

@keyframes threadShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.mirror-cluster {
    position: relative;
    width: 150px;
    height: 150px;
}

.mirror {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #e8e4dc 0%, #fff 50%, #a39e93 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(232, 228, 220, 0.5),
        inset -5px -5px 10px rgba(0, 0, 0, 0.1);
    animation: mirrorPulse 2s ease-in-out infinite;
}

.m1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.m2 { top: 25%; left: 0; animation-delay: 0.2s; }
.m3 { top: 25%; right: 0; animation-delay: 0.4s; }
.m4 { bottom: 10%; left: 20%; animation-delay: 0.6s; }
.m5 { bottom: 10%; right: 20%; animation-delay: 0.8s; }

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

.craft-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
}

.badge-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ============================================
   HERITAGE TIMELINE
   ============================================ */
.heritage {
    padding: var(--space-xl) 4rem;
    background: var(--color-primary);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(201, 162, 39, 0.2);
    transform: translateX(-50%);
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background: var(--color-gold);
    transform: translateX(-50%);
    height: 0;
    transition: height 0.3s ease;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 4rem;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 4rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-medium);
}

.timeline-item.visible .timeline-dot {
    background: var(--color-gold);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
}

.timeline-content {
    width: calc(50% - 3rem);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-gold);
    opacity: 0.3;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.timeline-content p {
    font-size: 1rem;
    color: var(--color-gray-300);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--space-xl) 4rem;
    position: relative;
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.testimonial-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(114, 47, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
}

.testimonial-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonial-slider {
    position: relative;
}

.testimonial-track {
    position: relative;
    height: 400px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.quote-icon {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--color-gold);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -2rem;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gray-100);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 700px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-burgundy));
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-white);
}

.author-title {
    font-size: 0.9rem;
    color: var(--color-gray-300);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

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

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.nav-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.3);
    cursor: pointer;
    transition: var(--transition-medium);
}

.dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    padding: var(--space-xl) 4rem;
    position: relative;
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.newsletter-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, transparent 0%, rgba(114, 47, 55, 0.1) 100%);
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-300);
    margin-bottom: 2.5rem;
}

.newsletter-form {
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 4px;
    padding: 0.5rem;
    transition: var(--transition-medium);
}

.form-group:focus-within {
    border-color: var(--color-gold);
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.1);
}

.form-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.form-group input::placeholder {
    color: var(--color-gray-400);
}

.form-group .btn {
    flex-shrink: 0;
}

.newsletter-note {
    font-size: 0.85rem;
    color: var(--color-gray-400);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-xl) 4rem 2rem;
    background: var(--color-primary-dark);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 6rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--color-gray-300);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-medium);
}

.social-link:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-primary-dark);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    font-size: 0.95rem;
    color: var(--color-gray-300);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 162, 39, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-gray-400);
}

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        height: 400px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collection-card.wide {
        grid-column: span 2;
    }
    
    .craft-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .craft-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    .nav {
        padding: 1rem 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 6rem 2rem 3rem;
    }
    
    .dress-card {
        width: 200px;
    }
    
    .collections {
        padding: var(--space-lg) 2rem;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-card.featured,
    .collection-card.wide {
        grid-row: auto;
        grid-column: auto;
    }
    
    .craftsmanship,
    .heritage,
    .testimonials,
    .newsletter {
        padding: var(--space-lg) 2rem;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-progress {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        text-align: left;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* 3D Tilt Effect */
[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

/* Smooth scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

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