/* ============================================
   Cafe LOVE Box — Clean Minimalist Bakery Site
   Palette: Midnight Blue (#0A1128) + Mint (#00E5C3)
   ============================================ */

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

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #0A1128;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #0A1128;
    color: #FFFFFF;
    padding: 8px 16px;
    z-index: 1000;
    font-size: 14px;
    border-radius: 4px;
}

.skip-link:focus {
    top: 16px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #00E5C3;
    color: #0A1128;
    border: 1.5px solid #00E5C3;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: #00C4A7;
    border-color: #00C4A7;
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: #0A1128;
    border: 1.5px solid #0A1128;
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: #0A1128;
    color: #FFFFFF;
}

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

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: #FFFFFF;
    color: #0A1128;
    border-color: #FFFFFF;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #00E5C3;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #0A1128;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #4A5568;
    max-width: 560px;
    line-height: 1.8;
}

.lead {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #2D3748;
    margin-bottom: 16px;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(10, 17, 40, 0.06);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(10, 17, 40, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #0A1128;
}

.logo-icon {
    font-size: 1.1rem;
    color: #00E5C3;
    line-height: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-list a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0A1128;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00E5C3;
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
    width: 100%;
}

.nav-list a:hover {
    color: #00E5C3;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.hamburger {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #0A1128;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0A1128;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 17, 40, 0.4) 0%,
        rgba(10, 17, 40, 0.55) 50%,
        rgba(10, 17, 40, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-tagline {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #00E5C3;
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    color: #FFFFFF;
    margin-bottom: 28px;
    line-height: 1.1;
}

.hero-headline em {
    font-style: italic;
    color: #00E5C3;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

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

/* --- About --- */
.about {
    padding: 120px 0;
}

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

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 28px;
}

.about-content p {
    color: #4A5568;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(10, 17, 40, 0.08);
}

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

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: #0A1128;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #718096;
}

/* --- Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(10, 17, 40, 0.08);
}

.divider-icon {
    font-size: 14px;
    color: #00E5C3;
    flex-shrink: 0;
}

/* --- Specialties --- */
.specialties {
    padding: 100px 0 120px;
    background: #FAFCFB;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

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

.specialty-card {
    background: #FFFFFF;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(10, 17, 40, 0.05);
    transition: all 0.4s ease;
}

.specialty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 17, 40, 0.08);
}

.card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.specialty-card:hover .card-image img {
    transform: scale(1.03);
}

.card-image {
    overflow: hidden;
}

.card-content {
    padding: 32px;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #0A1128;
}

.card-content p {
    font-size: 0.95rem;
    color: #4A5568;
    line-height: 1.75;
}

/* --- Groceries --- */
.groceries {
    padding: 120px 0;
}

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

.groceries-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
}

.groceries-content .section-tag {
    margin-bottom: 16px;
}

.groceries-content .section-title {
    margin-bottom: 28px;
}

.groceries-content p {
    color: #4A5568;
    margin-bottom: 16px;
}

.grocery-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin: 36px 0 44px;
}

.grocery-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: #2D3748;
}

.grocery-features svg {
    flex-shrink: 0;
    color: #00E5C3;
}

/* --- Visit --- */
.visit {
    padding: 100px 0 120px;
    background: #FAFCFB;
}

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

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: #FFFFFF;
    border-radius: 2px;
    border: 1px solid rgba(10, 17, 40, 0.05);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 229, 195, 0.3);
    border-radius: 50%;
    color: #00E5C3;
}

.info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 1rem;
    color: #0A1128;
    line-height: 1.7;
}

.info-card a {
    color: #0A1128;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #00E5C3;
}

.visit-map {
    border-radius: 2px;
    overflow: hidden;
    min-height: 400px;
    border: 1px solid rgba(10, 17, 40, 0.05);
}

/* --- Footer --- */
.site-footer {
    background: #0A1128;
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    font-size: 1.2rem;
    color: #00E5C3;
    margin-right: 8px;
}

.footer-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #FFFFFF;
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    max-width: 280px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #00E5C3;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #00E5C3;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

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

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .groceries-layout {
        gap: 48px;
    }

    .about-image img,
    .groceries-image img {
        height: 400px;
    }

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-bottom: 1px solid rgba(10, 17, 40, 0.06);
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 20px 40px rgba(10, 17, 40, 0.08);
    }

    .primary-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-list a {
        font-size: 14px;
    }

    .nav-list li:last-child {
        margin-top: 12px;
        width: 100%;
    }

    .nav-list li:last-child .btn {
        width: 100%;
        text-align: center;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

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

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

    .about-grid,
    .groceries-layout,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image img,
    .groceries-image img {
        height: 320px;
    }

    .about-stats {
        gap: 32px;
    }

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

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

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

    .section-divider {
        padding: 12px 0;
    }
}

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

    .about {
        padding: 80px 0;
    }

    .specialties {
        padding: 80px 0 100px;
    }

    .groceries {
        padding: 80px 0;
    }

    .visit {
        padding: 80px 0 100px;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .info-card {
        padding: 24px;
    }
}
