/* Cath Kidston Purse - British Heritage / Handbags & Accessories (Lumiere-style, blue spot & red spot palette) */

/* ===== FONTS ===== */
body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.font-display {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.font-body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== THEME COLORS (Cath Kidston: blue spot & red spot, cream, British heritage) ===== */
.bg-primary { background-color: #4a7c8e; }
.bg-primary\/5 { background-color: rgba(74, 124, 142, 0.05); }
.bg-primary\/10 { background-color: rgba(74, 124, 142, 0.1); }
.bg-primary\/20 { background-color: rgba(74, 124, 142, 0.2); }
.bg-primary\/30 { background-color: rgba(74, 124, 142, 0.3); }
.text-primary { color: #4a7c8e; }
.text-primary-foreground { color: #fff; }

.bg-accent { background-color: #b85454; }
.bg-accent\/10 { background-color: rgba(184, 84, 84, 0.1); }
.bg-accent\/15 { background-color: rgba(184, 84, 84, 0.15); }
.bg-accent\/20 { background-color: rgba(184, 84, 84, 0.2); }
.text-accent { color: #b85454; }

.bg-background { background-color: #faf8f5; }
.text-foreground { color: #2c2420; }
.text-muted-foreground { color: #5c524c; }
.border-border { border-color: #e8e2dc; }
.border-muted-foreground\/50 { border-color: rgba(92, 82, 76, 0.5); }

/* Hero label on dark background */
.text-hero-label {
    color: #b8d4df;
}

/* ===== LAYOUT ===== */
.container-custom {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-custom { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
    .container-custom { padding-left: 2rem; padding-right: 2rem; }
}

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* ===== GLASS CARD ===== */
.glass-card {
    background-color: rgba(250, 248, 245, 0.85);
    border: 1px solid rgba(232, 226, 220, 0.9);
    border-radius: 1rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

/* ===== BUTTONS ===== */
.glass-button {
    background-color: rgba(250, 248, 245, 0.7);
    border: 1px solid rgba(232, 226, 220, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.glass-button:hover {
    background-color: rgba(250, 248, 245, 0.95);
}

.gradient-button {
    position: relative;
    background: linear-gradient(135deg, #4a7c8e 0%, #b85454 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: opacity 0.2s, transform 0.2s;
}

.gradient-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.gradient-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
    background: linear-gradient(135deg, #4a7c8e 0%, #b85454 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(135deg, #b8d4df 0%, #e8c4c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== LINK UNDERLINE ===== */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

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

/* ===== HOVER LIFT ===== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ===== LIQUID BLOB ===== */
.liquid-blob {
    position: absolute;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(40px);
    pointer-events: none;
    animation: liquidBlob 15s ease-in-out infinite;
}

@keyframes liquidBlob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0, 0); }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(2%, 2%); }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; transform: translate(-1%, 1%); }
    75% { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; transform: translate(1%, -2%); }
}

/* ===== STAT NUMBER ===== */
.stat-number {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #2c2420;
}

@media (min-width: 768px) {
    .stat-number { font-size: 3rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-600 { animation-delay: 0.6s; }

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== HEADER ===== */
/* Nav spacing: gap between logo and menu, and between menu items */
#header nav[role="navigation"] {
    gap: 2rem;
}
@media (min-width: 1024px) {
    #header nav[role="navigation"] {
        gap: 3rem;
    }
    #header nav[role="navigation"] > ul {
        gap: 2rem;
    }
}

#header:not(.scrolled) .header-brand { color: #fff; }
#header:not(.scrolled) .header-logo-img {
    filter: none; /* Keep original logo colors – visible on hero transparent/light background */
}
#header.scrolled .header-logo-img {
    filter: none;
}
#header:not(.scrolled) .header-brand .text-gradient {
    background: linear-gradient(135deg, #b8d4df 0%, #e8c4c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#header:not(.scrolled) .header-nav-link { color: rgba(255, 255, 255, 0.9); }
#header:not(.scrolled) .header-nav-link:hover { color: #fff; }
#header:not(.scrolled) .header-burger {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}
#header:not(.scrolled) .header-burger:hover { background-color: rgba(255, 255, 255, 0.2); }

#header.scrolled .header-nav-link { color: #5c524c; }
#header.scrolled .header-nav-link:hover { color: #2c2420; }
#header.scrolled .header-brand .text-gradient {
    background: linear-gradient(135deg, #4a7c8e 0%, #b85454 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#header.scrolled {
    background-color: rgba(250, 248, 245, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
}

/* ===== HEADER DROPDOWN ===== */
.header-dropdown .glass-card {
    padding: 0.25rem 0;
}
.header-dropdown a {
    display: block;
    border-radius: 0.375rem;
    margin: 0 0.25rem;
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
#mobile-menu.open {
    max-height: 500px !important;
    opacity: 1 !important;
}

/* ===== FAQ ACCORDION ===== */
.faq-content { transition: max-height 0.3s ease, opacity 0.3s ease; }
.faq-content.collapsed {
    max-height: 0 !important;
    opacity: 0;
    overflow: hidden;
}
.faq-trigger[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

/* ===== FOCUS / ACCESSIBILITY ===== */
button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 2px solid #4a7c8e;
    outline-offset: 2px;
}

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

::selection {
    background-color: #4a7c8e;
    color: white;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
