/* ============================================
   House of Tea & Apothecary — Styles
   Plum + Amber | Fresh & Airy
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum-50: #fdf4f8;
    --plum-100: #fce7f0;
    --plum-200: #fad0e3;
    --plum-300: #f5aecb;
    --plum-400: #eb7fb0;
    --plum-500: #d4528e;
    --plum-600: #b83472;
    --plum-700: #96265c;
    --plum-800: #7b1e4b;
    --plum-900: #5c1235;
    --plum-950: #3a0a21;

    --amber-50: #fffbeb;
    --amber-100: #fff3cd;
    --amber-200: #ffe699;
    --amber-300: #ffcc4d;
    --amber-400: #f5b800;
    --amber-500: #d49a00;
    --amber-600: #b87f00;
    --amber-700: #966200;
    --amber-800: #7a4d00;
    --amber-900: #623e00;
    --amber-950: #3e2500;

    --cream: #fefaf6;
    --cream-dark: #f9f0e8;
    --warm-white: #fffcf8;
    --text-dark: #3a1a2a;
    --text-medium: #6b3a52;
    --text-light: #9a6078;
    --text-muted: #c49aaa;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Quicksand', 'Segoe UI', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(123, 30, 75, 0.06);
    --shadow-md: 0 8px 30px rgba(123, 30, 75, 0.10);
    --shadow-lg: 0 16px 60px rgba(123, 30, 75, 0.14);
    --shadow-glow: 0 0 40px rgba(212, 82, 142, 0.2);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(254, 250, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(123, 30, 75, 0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: padding 0.4s ease;
}

.navbar.scrolled .nav-inner {
    padding: 14px 0;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.01em;
}

.nav-logo-icon {
    color: var(--plum-600);
}

.navbar .nav-logo {
    color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled .nav-logo {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-links a {
    color: var(--text-medium);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--plum-700);
    background: var(--plum-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--plum-800) 0%,
        var(--plum-700) 20%,
        var(--plum-600) 40%,
        var(--amber-600) 65%,
        var(--amber-500) 80%,
        var(--amber-400) 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(123, 30, 75, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 154, 0, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(184, 52, 114, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 120px 24px 80px;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.hero-accent {
    font-style: italic;
    font-weight: 400;
    color: var(--amber-200);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: #fff;
    color: var(--plum-700);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: var(--cream);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.trust-item svg {
    color: var(--amber-300);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--plum-600), var(--plum-500), var(--amber-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.8;
}

.centered {
    text-align: center;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img {
    transform: scale(1.03);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

.about-accent-box {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--plum-600), var(--plum-700));
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.about-accent-box .accent-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.about-accent-box .accent-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
}

.about-text {
    padding: 20px 0;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--plum-50);
    border: 1px solid var(--plum-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-600);
}

.feature-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--plum-50) 50%, var(--cream) 100%);
}

.section-header {
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(123, 30, 75, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5/4;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--plum-700);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.product-info {
    padding: 28px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 20px;
}

.btn-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--plum-600);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.btn-link:hover {
    gap: 10px;
    color: var(--plum-700);
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
    padding: 120px 0;
    background: var(--cream);
}

.philosophy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-content {
    order: 1;
}

.philosophy-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 16px;
}

.philosophy-quote {
    position: relative;
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, var(--plum-50), var(--amber-50));
    border-radius: var(--radius-lg);
    border: 1px solid var(--plum-100);
}

.quote-mark {
    position: absolute;
    top: 16px;
    left: 24px;
    color: var(--plum-300);
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
}

.philosophy-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--plum-800);
    line-height: 1.6;
    padding-left: 40px;
}

.photo-stack {
    position: relative;
    order: 2;
}

.photo-stack-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.photo-stack-item.primary {
    width: 100%;
}

.photo-stack-item.primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-stack-item.secondary {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 55%;
    border: 4px solid var(--cream);
}

.photo-stack-item.secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--plum-50) 100%);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(123, 30, 75, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--plum-500), var(--plum-600));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.contact-card strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-card span {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--plum-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo svg {
    color: var(--amber-400);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
}

.footer-links strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

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

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--text-dark);
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-links a:hover {
        background: var(--plum-50);
        color: var(--plum-700);
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .philosophy-layout,
    .visit-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .about-grid,
    .philosophy-layout,
    .visit-layout {
        grid-template-columns: 1fr;
    }

    .philosophy-content {
        order: 2;
    }

    .photo-stack {
        order: 1;
        max-width: 500px;
    }

    .about-img-secondary {
        right: -10px;
        bottom: -20px;
        width: 60%;
    }

    .about-accent-box {
        right: -10px;
        top: -10px;
    }

    .photo-stack-item.secondary {
        left: -10px;
        bottom: -20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-trust {
        gap: 16px;
    }

    .hero-scroll {
        display: none;
    }

    .about,
    .products,
    .philosophy,
    .visit {
        padding: 80px 0;
    }
}

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

    .hero-content {
        padding: 100px 16px 60px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .product-info {
        padding: 20px;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}
