/* ============================================
   Juii C Juice — Classic & Elegant Stylesheet
   Palette: Teal + Slate Grey + Cream
   ============================================ */

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

:root {
    --teal-700: #1a5f5f;
    --teal-600: #1f7a7a;
    --teal-500: #238b8b;
    --teal-400: #2ba5a5;
    --teal-100: #d4ecec;
    --teal-50:  #eaf6f6;
    --slate-900: #0f1a1f;
    --slate-800: #1a2a30;
    --slate-700: #24353c;
    --slate-600: #2e4048;
    --slate-500: #3d525c;
    --slate-400: #6b828e;
    --slate-300: #9ab0ba;
    --slate-200: #c5d4da;
    --slate-100: #e2ecf0;
    --slate-50:  #f2f7f9;
    --cream:     #faf8f5;
    --cream-dark:#f0ece6;
    --white:     #ffffff;
    --gold:      #c4a265;
    --gold-light:#d4b87a;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:  'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm:  0 1px 3px rgba(15, 26, 31, 0.08);
    --shadow-md:  0 4px 16px rgba(15, 26, 31, 0.10);
    --shadow-lg:  0 8px 32px rgba(15, 26, 31, 0.12);
    --shadow-xl:  0 16px 48px rgba(15, 26, 31, 0.14);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

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

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

body {
    font-family: var(--font-sans);
    color: var(--slate-700);
    background: var(--cream);
    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: var(--teal-600);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--teal-500);
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--slate-900);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
    position: relative;
    padding-left: 32px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--teal-500);
}

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

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

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--slate-400);
    max-width: 520px;
    margin: 0 auto 48px;
    font-weight: 300;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--teal-600);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-500);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary {
    background: var(--slate-800);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--slate-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 18px 40px;
    font-size: 0.85rem;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(15, 26, 31, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

.main-nav a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-bottom: 4px;
}

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

.main-nav a:hover {
    color: var(--white);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--slate-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 26, 31, 0.85) 0%,
        rgba(26, 42, 48, 0.75) 40%,
        rgba(31, 122, 122, 0.55) 100%
    );
}

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

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   ABOUT
   ============================================ */

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

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

.about-image {
    position: relative;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-md);
    z-index: -1;
}

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

.about-content p {
    color: var(--slate-500);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.85;
}

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

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-600);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
}

/* ============================================
   MENU
   ============================================ */

.menu {
    padding: 120px 0;
    background: var(--slate-800);
}

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

.menu .section-title {
    color: var(--white);
}

.menu .section-subtitle {
    color: var(--slate-300);
}

.menu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.menu-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(4px);
}

.category-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.category-desc {
    font-size: 0.82rem;
    color: var(--slate-400);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu-item {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.item-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.item-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
}

.item-tag {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-400);
    background: rgba(43, 165, 165, 0.12);
    border: 1px solid rgba(43, 165, 165, 0.25);
    padding: 3px 8px;
    border-radius: 20px;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--slate-400);
    font-weight: 300;
    line-height: 1.6;
}

/* ============================================
   GROCERIES
   ============================================ */

.groceries {
    padding: 120px 0;
    background: var(--cream);
}

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

.groceries-content {
    order: 1;
}

.grocery-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0 40px;
}

.grocery-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--slate-600);
    font-weight: 400;
}

.grocery-features li svg {
    color: var(--teal-500);
    flex-shrink: 0;
}

.groceries-images {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.grocery-img-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.grocery-img-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.grocery-img-secondary img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   VISIT
   ============================================ */

.visit {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.visit-info {
    padding: 48px;
    background: var(--slate-800);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
}

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

.visit-info .section-title {
    color: var(--white);
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
    flex: 1;
}

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

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

.visit-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 4px;
}

.visit-item p {
    font-size: 0.92rem;
    color: var(--white);
    line-height: 1.7;
}

.visit-item a {
    color: var(--teal-400);
}

.visit-item a:hover {
    color: var(--teal-300);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 480px;
    box-shadow: var(--shadow-lg);
}

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

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--slate-900);
    padding: 80px 0 0;
}

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

.footer-brand .logo-mark {
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-brand .logo-text {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: var(--slate-400);
}

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

.footer-contact p {
    font-size: 0.88rem;
    color: var(--slate-400);
    line-height: 1.8;
}

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

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

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--slate-500);
    letter-spacing: 0.05em;
}

/* ============================================
   SCROLL REVEAL (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; }
}

/* Default visible state for reduced-motion or no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */

.main-nav.mobile-open {
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 31, 0.97);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.main-nav.mobile-open ul {
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.main-nav.mobile-open a {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

    .about-image img,
    .grocery-img-main img {
        height: 500px;
    }
}

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

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

    .hero {
        min-height: 600px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        order: -1;
    }

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

    .about-image::before {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }

    .about-stats {
        gap: 24px;
    }

    .menu-categories {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .menu-category {
        padding: 28px;
    }

    .groceries-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .groceries-content {
        order: 1;
    }

    .groceries-images {
        order: 2;
    }

    .grocery-img-main img {
        height: 350px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .visit-info {
        padding: 32px;
    }

    .visit-map {
        min-height: 300px;
    }

    .visit-map iframe {
        min-height: 300px;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

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

    .about, .menu, .groceries, .visit {
        padding: 80px 0;
    }

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

    .menu-category {
        padding: 20px;
    }

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

    .grocery-img-secondary img {
        height: 160px;
    }
}
