/* Miwana Women Wear - Premium Elegant Fashion Stylesheet */
/* Theme: Soft ivory, blush pink, lavender, beige with rose-gold accent */
/* Colors: Ivory #FFF8F2, Secondary #F6F1EB, Blush #F8E8E8, Accent #B76E79, Text #2B2422 */

:root {
    /* Miwana Premium Palette */
    --bg-primary: #FFF8F2;      /* light ivory */
    --bg-secondary: #F6F1EB;    /* warm beige */
    --bg-card: #FFFFFF;         /* card white */
    --bg-elevated: #F8E8E8;     /* blush pink */

    --gold-primary: #B76E79;    /* rose gold accent */
    --gold-bright: #C98B94;     /* soft rose */
    --gold-dark: #8B6F61;       /* soft brown */
    --gold-muted: #A88A7D;

    --text-primary: #2B2422;    /* deep charcoal brown */
    --text-secondary: #8B6F61;  /* soft brown */
    --text-muted: #A89A8F;

    --border-gold: rgba(232, 218, 210, 0.9);        /* soft beige border */
    --border-gold-hover: rgba(183, 110, 121, 0.5);  /* rose border hover */
    --border-subtle: rgba(43, 36, 34, 0.06);

    --shadow-premium: 0 12px 40px rgba(183, 110, 121, 0.12);
    --shadow-gold: 0 10px 30px rgba(183, 110, 121, 0.15);
    --shadow-card: 0 8px 28px rgba(139, 111, 97, 0.10);

    /* Legacy compatibility */
    --primary: #B76E79;
    --on-primary: #FFF8F2;
    --background: #FFF8F2;
    --on-background: #2B2422;
    --surface-container: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Typography */
.font-display {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.font-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.font-body {
    font-family: 'Inter', 'Poppins', sans-serif;
}

/* Primary Button - Elegant Charcoal to Rose */
.gold-gradient {
    background: #2B2422;
    color: #FFF8F2;
    font-weight: 600;
    letter-spacing: 0.12em;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 18px rgba(43, 36, 34, 0.15);
}

.gold-gradient:hover {
    background: #B76E79;
    color: #FFF8F2;
    box-shadow: 0 10px 28px rgba(183, 110, 121, 0.35);
    transform: translateY(-2px);
}

/* Outline Button - Rose accent */
.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-gold:hover {
    border-color: var(--gold-primary);
    background: var(--gold-primary);
    color: #FFF8F2;
    box-shadow: 0 8px 22px rgba(183, 110, 121, 0.25);
}

/* Rim Light - Soft beige border */
.rim-light {
    border: 1px solid var(--border-gold);
    transition: border-color 0.35s ease;
}

.rim-light:hover {
    border-color: var(--border-gold-hover);
}

/* Glass Panel - Soft translucent white */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
}

/* Product / Content Card */
.luxury-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-card);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-card:hover {
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-gold), var(--shadow-card);
    transform: translateY(-4px);
}

/* Soft ambient overlay */
.ambient-overlay {
    background:
        radial-gradient(circle at 20% 80%, rgba(248, 232, 232, 0.35) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(246, 241, 235, 0.35) 0%, transparent 55%);
    pointer-events: none;
}

/* Soft vignette */
.vignette {
    background: radial-gradient(ellipse at center, transparent 55%, rgba(139, 111, 97, 0.12) 100%);
}

/* Rose Text Gradient */
.text-gold-gradient {
    background: linear-gradient(135deg, #C98B94 0%, #B76E79 50%, #8B6F61 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle Glow Effects */
.glow-gold {
    box-shadow: 0 10px 40px rgba(183, 110, 121, 0.12);
}

.glow-gold-strong {
    box-shadow: 0 16px 50px rgba(183, 110, 121, 0.2);
}

/* Input Fields */
.luxury-input {
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.luxury-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.12);
    outline: none;
}

.luxury-input::placeholder {
    color: var(--text-muted);
}

/* Divider */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 50%, transparent 100%);
    opacity: 0.4;
}

/* Hero ambient animation - soft */
.hero-fog {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-fog .fog-layer {
    position: absolute;
    inset: -20%;
    opacity: 0.35;
    filter: blur(60px);
    mix-blend-mode: normal;
    background-repeat: no-repeat;
    will-change: transform, opacity;
}

.hero-fog .fog-layer-1 {
    background-image:
        radial-gradient(45% 35% at 20% 60%, rgba(248, 232, 232, 0.5), transparent 75%),
        radial-gradient(40% 30% at 75% 50%, rgba(232, 218, 210, 0.4), transparent 75%);
    animation: fogDriftA 30s ease-in-out infinite alternate;
}

.hero-fog .fog-layer-2 {
    opacity: 0.3;
    filter: blur(80px);
    background-image:
        radial-gradient(42% 28% at 30% 45%, rgba(246, 241, 235, 0.5), transparent 75%),
        radial-gradient(36% 24% at 80% 70%, rgba(248, 232, 232, 0.35), transparent 75%);
    animation: fogDriftB 40s ease-in-out infinite alternate;
}

.hero-fog .fog-layer-3 {
    opacity: 0.25;
    filter: blur(100px);
    background-image:
        radial-gradient(38% 24% at 55% 60%, rgba(232, 218, 210, 0.4), transparent 75%),
        radial-gradient(30% 24% at 15% 40%, rgba(246, 241, 235, 0.4), transparent 75%);
    animation: fogDriftC 50s ease-in-out infinite alternate;
}

@keyframes fogDriftA {
    0% { transform: translate3d(-6%, 4%, 0) scale(1); opacity: 0.3; }
    50% { transform: translate3d(5%, -2%, 0) scale(1.08); opacity: 0.4; }
    100% { transform: translate3d(10%, -5%, 0) scale(1.14); opacity: 0.25; }
}

@keyframes fogDriftB {
    0% { transform: translate3d(8%, -2%, 0) scale(1.06); opacity: 0.25; }
    50% { transform: translate3d(-4%, 6%, 0) scale(1.12); opacity: 0.35; }
    100% { transform: translate3d(-10%, 10%, 0) scale(1.2); opacity: 0.2; }
}

@keyframes fogDriftC {
    0% { transform: translate3d(-2%, 8%, 0) scale(1.1); opacity: 0.2; }
    50% { transform: translate3d(7%, 0%, 0) scale(1.16); opacity: 0.3; }
    100% { transform: translate3d(-8%, -8%, 0) scale(1.24); opacity: 0.15; }
}

/* Smooth animations */
@keyframes slowFade {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes softGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(183, 110, 121, 0.1); }
    50% { box-shadow: 0 0 40px rgba(183, 110, 121, 0.18); }
}

@keyframes subtleScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.animate-slow-fade {
    animation: slowFade 4s ease-in-out infinite;
}

.animate-soft-glow {
    animation: softGlow 3s ease-in-out infinite;
}

.animate-subtle-scale {
    animation: subtleScale 6s ease-in-out infinite;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-fog .fog-layer,
    .animate-slow-fade,
    .animate-soft-glow,
    .animate-subtle-scale {
        animation: none !important;
    }
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}

@media (min-width: 769px) {
    .hidden-desktop {
        display: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Selection Color */
::selection {
    background: rgba(183, 110, 121, 0.25);
    color: var(--text-primary);
}
