/* ============================================
   VINA FABRICS — Bold Editorial Style
   Burgundy + Blush Color Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --burgundy-900: #3D0F1C;
    --burgundy-800: #5C1A2B;
    --burgundy-700: #781F33;
    --burgundy-600: #942740;
    --burgundy-500: #B0304D;
    --burgundy-400: #C94D68;
    --burgundy-300: #D9748A;
    --burgundy-200: #E8A0AB;
    --burgundy-100: #F2C4CB;
    --burgundy-50:  #F9E4E7;

    --blush-50:  #FEF7F8;
    --blush-100: #FDECEE;
    --blush-200: #F5D6D9;
    --blush-300: #EAB8BD;
    --blush-400: #D9919A;
    --blush-500: #C4707D;
    --blush-600: #A85560;
    --blush-700: #8B434D;
    --blush-800: #6E353D;
    --blush-900: #52282E;

    --neutral-950: #0F0F11;
    --neutral-900: #1A1A1E;
    --neutral-800: #2A2A2F;
    --neutral-700: #3D3D44;
    --neutral-600: #55555D;
    --neutral-500: #6E6E78;
    --neutral-400: #8E8E9A;
    --neutral-300: #B0B0BC;
    --neutral-200: #D0D0DA;
    --neutral-100: #EAEAF0;
    --neutral-50:  #F7F7FA;
    --neutral-25:  #FBFBFD;
    --white: #FFFFFF;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 3px rgba(61, 15, 28, 0.06), 0 1px 2px rgba(61, 15, 28, 0.04);
    --shadow-md: 0 4px 16px rgba(61, 15, 28, 0.08), 0 2px 6px rgba(61, 15, 28, 0.04);
    --shadow-lg: 0 12px 40px rgba(61, 15, 28, 0.12), 0 4px 12px rgba(61, 15, 28, 0.06);
    --shadow-xl: 0 24px 60px rgba(61, 15, 28, 0.16), 0 8px 20px rgba(61, 15, 28, 0.08);

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy-600);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: var(--space-lg);
}

.section-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--neutral-600);
    max-width: 560px;
}

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

.text-center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--burgundy-700);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--burgundy-800);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--burgundy-800);
    border: 1.5px solid var(--burgundy-200);
}

.btn-secondary:hover {
    background-color: var(--burgundy-50);
    border-color: var(--burgundy-400);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    color: var(--burgundy-800);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background-color: var(--blush-50);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy-700);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neutral-500);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--burgundy-600);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--burgundy-700);
}

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

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--neutral-700);
    transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
    background-color: var(--neutral-50);
    color: var(--burgundy-700);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--burgundy-900) 0%,
        var(--burgundy-700) 25%,
        var(--burgundy-500) 50%,
        var(--blush-400) 75%,
        var(--blush-200) 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(120, 31, 51, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(217, 145, 154, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 20%, rgba(92, 26, 43, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
    max-width: 820px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-xl);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--space-xl);
    text-shadow: 0 2px 40px rgba(61, 15, 28, 0.3);
}

.hero-headline em {
    font-style: italic;
    color: var(--blush-100);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto var(--space-2xl);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-actions .btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.hero-actions .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

/* --- About Section --- */
.about {
    padding: var(--space-5xl) 0;
    background-color: var(--white);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--burgundy-300), var(--blush-300));
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.6;
}

.about-content {
    padding: var(--space-xl) 0;
}

.about-content .lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--neutral-700);
    margin-bottom: var(--space-lg);
}

.about-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: var(--space-xl);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-800);
}

.feature-item svg {
    color: var(--burgundy-600);
    flex-shrink: 0;
}

/* --- Collection Section --- */
.collection {
    padding: var(--space-5xl) 0;
    background-color: var(--neutral-25);
}

.section-header {
    margin-bottom: var(--space-4xl);
}

.section-header .section-title {
    margin-bottom: var(--space-md);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.collection-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.collection-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

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

.collection-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.collection-card-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.collection-card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.collection-card-content p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--neutral-600);
    flex: 1;
    margin-bottom: var(--space-md);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--burgundy-700);
    transition: gap var(--transition-fast);
}

.collection-card:hover .card-link {
    gap: var(--space-md);
}

/* --- Services Section --- */
.services {
    padding: var(--space-5xl) 0;
    background-color: var(--white);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.service-card {
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
    background-color: var(--white);
}

.service-card:hover {
    border-color: var(--burgundy-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--burgundy-50), var(--blush-100));
    color: var(--burgundy-700);
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-600);
}

/* --- Visit Section --- */
.visit {
    padding: var(--space-5xl) 0;
    background-color: var(--neutral-25);
}

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

.visit-info {
    padding-right: var(--space-xl);
}

.visit-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: var(--space-2xl);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--burgundy-50), var(--blush-100));
    color: var(--burgundy-700);
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-500);
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-800);
}

.contact-text a {
    color: var(--burgundy-700);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-text a:hover {
    color: var(--burgundy-500);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    min-height: 400px;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
}

/* --- CTA Section --- */
.cta {
    position: relative;
    padding: var(--space-5xl) 0;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--burgundy-900) 0%,
        var(--burgundy-700) 50%,
        var(--burgundy-500) 100%
    );
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 70% 50% at 30% 50%, rgba(217, 145, 154, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(92, 26, 43, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background-color: var(--neutral-950);
    color: var(--neutral-300);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-4xl);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-sub {
    color: var(--neutral-500);
}

.footer-brand p {
    margin-top: var(--space-lg);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-400);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--neutral-500);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-400);
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--burgundy-300);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--neutral-800);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

/* --- Mobile Menu --- */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: var(--space-xl);
    border-bottom: 1px solid var(--neutral-100);
    box-shadow: var(--shadow-md);
    gap: var(--space-lg);
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .visit-info {
        padding-right: 0;
    }

    .visit-map {
        aspect-ratio: 16/9;
        min-height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .cta-actions {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .hero {
        min-height: 100svh;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }
}
