/* ============================================
   Capsule Collection Boutique
   Clean Minimalist — Teal & Slate Grey
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080d17;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;

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

    --radius: 4px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: #ffffff;
    line-height: 1.7;
    -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 {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-sm);
}

.section-label--light {
    color: var(--teal-400);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--slate-900);
    margin-bottom: var(--space-lg);
}

.section-title--light {
    color: #ffffff;
}

.text-teal {
    color: var(--teal-600);
}

.lead {
    font-size: 1.1rem;
    color: var(--slate-600);
    max-width: 540px;
    line-height: 1.8;
}

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

.container--narrow {
    max-width: 960px;
}

.section {
    padding: var(--space-3xl) 0;
}

.section--light {
    background: var(--slate-50);
}

.section--dark {
    background: var(--slate-900);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background var(--transition), backdrop-filter var(--transition);
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-mark {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--teal-700);
    border: 1.5px solid var(--teal-600);
    border-radius: var(--radius);
    padding: 4px 7px;
    letter-spacing: 0.02em;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--slate-800);
    letter-spacing: -0.01em;
}

.nav.scrolled .nav-logo-text {
    color: var(--slate-800);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--slate-600);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-link--cta {
    color: var(--teal-700);
    font-weight: 500;
}

.nav-toggle {
    display: none;
    color: var(--slate-700);
    padding: 4px;
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8, 13, 23, 0.78) 0%,
        rgba(8, 13, 23, 0.60) 50%,
        rgba(8, 13, 23, 0.35) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    padding-left: calc(var(--space-lg) * 2);
    width: 100%;
}

.hero-greeting {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    max-width: 680px;
}

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

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 440px;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn--primary {
    background: var(--teal-600);
    color: #ffffff;
    border: 1.5px solid var(--teal-600);
}

.btn--primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

.btn--ghost {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.btn--full {
    width: 100%;
}

/* --- Hero Scroll Indicator --- */
.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

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

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.about-content p {
    color: var(--slate-600);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.about-content p.lead {
    font-size: 1.05rem;
    color: var(--slate-700);
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--teal-700);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--slate-500);
    letter-spacing: 0.02em;
}

/* --- Philosophy --- */
.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.philosophy-card {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.philosophy-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateY(-3px);
}

.philosophy-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: var(--radius);
    color: var(--teal-400);
    margin-bottom: var(--space-md);
}

.philosophy-card h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.philosophy-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* --- Collection --- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header .section-label {
    margin-bottom: var(--space-sm);
}

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

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

.collection-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}

.collection-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.collection-item-image {
    aspect-ratio: 10/13;
    overflow: hidden;
}

.collection-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-item:hover .collection-item-image img {
    transform: scale(1.04);
}

.collection-item-info {
    padding: var(--space-md);
}

.collection-item-info h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.collection-item-info p {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.collection-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: var(--teal-50);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--teal-800);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

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

.visit-detail {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.visit-detail svg {
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.88rem;
    color: var(--slate-500);
    line-height: 1.7;
}

.visit-map {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.map-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 13, 23, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: background var(--transition);
}

.map-link:hover .map-overlay {
    background: rgba(8, 13, 23, 0.6);
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--slate-700);
    transition: all var(--transition);
}

.contact-method:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
    background: var(--teal-50);
}

.contact-method svg {
    color: var(--teal-600);
}

/* --- Form --- */
.contact-form-wrap {
    background: var(--slate-50);
    border-radius: var(--radius);
    padding: var(--space-xl);
    border: 1px solid var(--slate-200);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-600);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate-800);
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-600);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-success {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-md);
    padding: 12px 16px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--teal-800);
}

.form-success.show {
    display: flex;
}

/* --- Footer --- */
.footer {
    background: var(--slate-950);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .nav-logo-mark {
    color: var(--teal-400);
    border-color: var(--teal-600);
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 320px;
    line-height: 1.6;
    margin-top: 6px;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: var(--space-md);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--teal-400);
}

/* --- Mobile Menu --- */
.nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-xl);
    gap: var(--space-md);
    z-index: 999;
    animation: menuSlideIn 0.3s ease;
}

.nav-menu.open .nav-link {
    font-size: 1.1rem;
    color: var(--slate-700);
}

@keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Scroll Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-image {
        aspect-ratio: 16/9;
    }

    .philosophy-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        display: none;
    }

    .hero-content {
        padding-left: var(--space-lg);
    }

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

    .collection-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .philosophy-cards {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .footer-top {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrap {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }
}
