/* ==========================================================================
   DIVA LUXURY FASHION — CORE STYLESHEET
   ========================================================================== */

/* 1. DESIGN SYSTEM & CSS VARIABLES */
:root {
    /* Color Palette */
    --color-bg-light: #FAF9F6;      /* Off-white, soft cream alabaster */
    --color-bg-cream: #F5EFEB;      /* Warm premium cream */
    --color-bg-dark: #111111;       /* Deep rich boutique charcoal */
    --color-bg-glass: rgba(250, 249, 246, 0.65); /* Glassmorphic backdrop tint */
    --color-bg-glass-dark: rgba(17, 17, 17, 0.7);
    
    --color-gold: #C5A880;          /* Antique luxury gold */
    --color-gold-hover: #AA8B62;    /* Deep gold for interactive focus */
    --color-gold-glow: rgba(197, 168, 128, 0.4);
    
    --color-text-dark: #151515;     /* Dark charcoal for high contrast text */
    --color-text-muted: #7A746E;    /* Elegant warm gray for body text */
    --color-text-light: #FBFBF9;    /* Clean white for dark backgrounds */
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Animation & Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.3s ease;
    
    /* Border Radii */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* 2. BASE RESET & INITIAL SETUP */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base rem sizing */
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Luxury pre-loader styling */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

.loader-content {
    text-align: center;
    max-width: 300px;
    width: 100%;
}

.loader-logo {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    animation: drawText 2s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.loader-bar {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-gold);
    animation: loadProgress 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.loader-tagline {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-style: italic;
    letter-spacing: 0.2rem;
    color: var(--color-gold);
    opacity: 0;
    transform: translateY(10px);
    animation: drawTagline 1.5s ease-out 1.2s forwards;
}

/* Animations for Preloader */
@keyframes drawText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadProgress {
    to {
        width: 100%;
    }
}

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

/* 3. REVEAL-ON-SCROLL STYLES */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Delay modifiers for stagger effects */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* 4. TYPOGRAPHY & GENERAL LAYOUTS */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

p {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-text-muted);
}

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

@media (max-width: 768px) {
    .section-container {
        padding: 5rem 1.5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.section-line {
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
}

/* Glassmorphism utility card */
.glass-card {
    background: var(--color-bg-glass);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03), 0 5px 15px rgba(0, 0, 0, 0.02);
}

/* 5. NAVIGATION / HEADER */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2.5rem 0;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-text-light);
    text-decoration: none;
    letter-spacing: 0.4rem;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.brand-logo:hover {
    color: var(--color-gold);
}

.header-badge {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

/* 6. HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.05);
    animation: kenBurns 18s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.5) 0%, rgba(17, 17, 17, 0.6) 60%, rgba(17, 17, 17, 0.7) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.highlight-text {
    font-style: italic;
    color: var(--color-gold);
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Floating Animation on Countdown Container */
.countdown-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem 3rem;
    border-radius: var(--radius-md);
    margin-bottom: 3.5rem;
    animation: float 6s ease-in-out infinite;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-text-dark);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.countdown-separator {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-gold);
    font-weight: 300;
    margin-top: -15px;
}

@media (max-width: 576px) {
    .countdown-container {
        padding: 1.2rem 1.5rem;
        gap: 0.6rem;
        width: 100%;
        box-sizing: border-box;
    }
    .countdown-item {
        min-width: 45px;
    }
    .countdown-num {
        font-size: 1.6rem;
    }
    .countdown-separator {
        font-size: 1.4rem;
        margin-top: -10px;
    }
}

/* Interactive Buttons */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-bg-dark);
    background-color: var(--color-text-light);
    border: 1px solid var(--color-text-light);
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-primary span {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--color-gold);
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), height 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    z-index: 1;
}

.btn-primary:hover {
    color: var(--color-text-light);
    border-color: var(--color-gold);
    box-shadow: 0 10px 25px var(--color-gold-glow);
}

.btn-primary:hover .btn-glow {
    width: 300px;
    height: 300px;
    opacity: 1;
}

/* Scroll down indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
}

.scroll-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--color-text-light);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--color-gold);
    animation: scrollScroll 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes scrollScroll {
    0% {
        transform: translateY(-100%);
    }
    80% {
        transform: translateY(300%);
    }
    100% {
        transform: translateY(300%);
    }
}

/* Keyframes for Ken Burns and Floating */
@keyframes kenBurns {
    0% {
        transform: scale(1.03) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-1%, -1.5%);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 7. FEATURED COLLECTIONS PREVIEW */
.collections-section {
    background-color: var(--color-bg-light);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    background-color: var(--color-bg-dark);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 135%; /* Aesthetic vertical cards ratio */
    overflow: hidden;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.2);
    transition: var(--transition-smooth);
    z-index: 1;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.2rem 1.8rem;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-title {
    font-size: 1.8rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.card-link {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card Hover Interactions */
.collection-card:hover .card-img {
    transform: scale(1.06);
}

.collection-card:hover .card-overlay {
    background-color: rgba(17, 17, 17, 0.45);
}

.collection-card:hover .card-content {
    transform: translateY(-8px);
}

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

.collection-card:hover .card-link::after {
    transform: scaleX(1);
}

/* 8. WHY DIVA SECTION */
.why-section {
    background-color: var(--color-bg-cream);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature-card {
    padding: 3.5rem 2.2rem;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    background-color: rgba(250, 249, 246, 0.5);
}

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.8rem;
    color: var(--color-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.feature-icon {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.4rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.feature-desc {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* Feature Card Hover Effect */
.feature-card:hover {
    transform: translateY(-8px);
    background-color: var(--color-bg-light);
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.08);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--color-bg-dark);
    color: var(--color-gold);
    transform: rotateY(180deg);
}

/* 9. FASHION GALLERY SECTION */
.gallery-section {
    background-color: var(--color-bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 1.2rem;
}

/* Gallery Grid Spans for Premium Masonry Layout */
.gallery-item.size-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.size-tall {
    grid-row: span 2;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    
    .gallery-item.size-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item.size-tall {
        grid-row: span 1;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }
    
    .gallery-item.size-large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item.size-tall {
        grid-row: span 1;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    background-color: var(--color-bg-dark);
}

.gallery-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.15);
    transition: var(--transition-smooth);
    z-index: 1;
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-category {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.gallery-item-title {
    font-size: 1.4rem;
    color: var(--color-text-light);
}

/* Hover States for Gallery */
.gallery-item:hover .gallery-img {
    transform: scale(1.07);
}

.gallery-item:hover .gallery-img-overlay {
    background-color: rgba(17, 17, 17, 0.5);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

/* 10. NEWSLETTER SECTION */
.newsletter-section {
    background-color: var(--color-bg-cream);
    position: relative;
    overflow: hidden;
}

.newsletter-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 6.5rem 5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .newsletter-wrapper {
        padding: 4.5rem 2rem;
    }
}

/* Luxury visual circles */
.newsletter-decor-circle-1,
.newsletter-decor-circle-2 {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(197, 168, 128, 0.08);
    pointer-events: none;
    z-index: 1;
}

.newsletter-decor-circle-1 {
    width: 350px;
    height: 350px;
    top: -100px;
    right: -100px;
}

.newsletter-decor-circle-2 {
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: -80px;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-subtitle {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--color-gold);
    margin-bottom: 1.2rem;
}

.newsletter-title {
    font-size: 2.8rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.newsletter-text {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

/* Form Styles */
.subscribe-form {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.input-group {
    display: flex;
    border-bottom: 1px solid rgba(21, 21, 21, 0.15);
    padding: 0.5rem 0;
    transition: border-color 0.4s ease;
}

.input-group:focus-within {
    border-color: var(--color-gold);
}

.email-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-dark);
    padding: 0.5rem;
    letter-spacing: 0.05em;
}

.email-input::placeholder {
    color: rgba(21, 21, 21, 0.4);
}

.btn-submit {
    position: relative;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    border: none;
    outline: none;
    padding: 0.8rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-submit span {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.btn-submit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--color-gold);
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    z-index: 1;
}

.btn-submit:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover .btn-submit-glow {
    width: 150px;
    height: 150px;
    opacity: 1;
}

.error-msg {
    color: #a94442;
    font-size: 0.75rem;
    font-weight: 400;
    text-align: left;
    margin-top: 0.6rem;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: var(--transition-fast);
}

.error-msg.show {
    opacity: 1;
    height: auto;
    margin-top: 0.6rem;
}

/* Success Card Overlay inside Newsletter */
.subscribe-success {
    display: none;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 1.5rem 0;
    animation: fadeInSuccess 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.success-icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: rgba(197, 168, 128, 0.1);
    color: var(--color-gold);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.success-icon {
    width: 24px;
    height: 24px;
}

.success-title {
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin-bottom: 0.8rem;
}

.success-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 11. SOCIAL SECTION */
.social-section {
    background-color: var(--color-bg-light);
    border-top: 1px solid rgba(21, 21, 21, 0.05);
}

.social-wrapper {
    text-align: center;
    padding: 4rem 2rem;
}

.social-title {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    color: var(--color-text-dark);
    letter-spacing: 0.1em;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(21, 21, 21, 0.1);
    color: var(--color-text-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Social Icon Hover Interactions */
.social-link:hover {
    background-color: var(--color-bg-dark);
    color: var(--color-gold);
    border-color: var(--color-bg-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* 12. MINIMAL LUXURY FOOTER */
.main-footer {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    text-align: center;
}

.footer-copy {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
