/* ========================================
   THE JUNCTION — Café & Bar, Atlanta
   Warm · Friendly · Forest Green & Off-White
   ======================================== */

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

:root {
    --green-900: #0B2218;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52A06A;
    --green-400: #74C69D;
    --green-300: #95D5B2;
    --green-200: #B7E4C7;
    --green-100: #D8F3DC;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --warm-white: #FFFDF9;
    --gold: #D4A843;
    --gold-light: #E8C96A;
    --text-dark: #1A1A1A;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 67, 50, 0.12);
    --shadow-lg: 0 8px 40px rgba(27, 67, 50, 0.16);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}

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

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

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--green-800);
    transition: var(--transition);
}

.nav-logo-icon {
    color: var(--green-700);
}

.navbar:not(.scrolled) .nav-logo {
    color: #fff;
}

.navbar:not(.scrolled) .nav-logo-icon {
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-600);
    border-radius: 2px;
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--green-700);
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.scrolled) .nav-links a:hover {
    color: #fff;
}

.nav-cta {
    background: var(--green-700) !important;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--green-800) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar:not(.scrolled) .nav-toggle span {
    background: #fff;
}

.navbar:not(.scrolled) .nav-toggle span:nth-child(2) {
    opacity: 0.9;
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--green-800);
    padding: 8px;
    display: flex;
    align-items: center;
}

.mobile-menu-link {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: var(--green-800);
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--green-600);
}

.mobile-menu-phone {
    font-family: 'Inter', sans-serif;
    font-size: 1rem !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--green-600) !important;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #0B2218 0%,
        #1B4332 25%,
        #2D6A4F 50%,
        #40916C 75%,
        #52A06A 100%
    );
    padding: 120px 24px 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(45, 106, 79, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(82, 160, 106, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(27, 67, 50, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-title-accent {
    display: block;
    font-size: 0.45em;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--green-200);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

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

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-highlight svg {
    color: var(--gold-light);
}

/* Scroll indicator */
.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.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.4; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--green-700);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-white {
    background: #fff;
    color: var(--green-800);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* --- Section Styles --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--green-400);
    border-radius: 2px;
}

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

.title-line {
    display: block;
}

.title-accent {
    color: var(--green-600);
    font-style: italic;
}

/* --- Menu Section --- */
.menu-section {
    padding: 100px 0;
    background: var(--warm-white);
}

.menu-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    background: transparent;
    border: 1.5px solid var(--green-200);
    color: var(--green-700);
    cursor: pointer;
    transition: var(--transition);
}

.menu-tab:hover {
    background: var(--green-100);
    border-color: var(--green-400);
}

.menu-tab.active {
    background: var(--green-700);
    border-color: var(--green-700);
    color: #fff;
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: var(--cream);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.menu-item:hover {
    background: #fff;
    border-color: var(--green-200);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.menu-item-info {
    flex: 1;
}

.menu-item-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--green-800);
    margin-bottom: 4px;
}

.menu-item-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.menu-item-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-600);
    background: var(--green-100);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
    align-self: center;
}

.menu-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 32px;
    font-style: italic;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: var(--cream);
}

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

.about-images {
    position: relative;
}

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

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

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

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

.about-img-float {
    position: absolute;
    top: -20px;
    right: 40px;
    z-index: 2;
}

.float-card {
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green-800);
}

.float-card svg {
    color: var(--gold);
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

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

.feature-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--green-800);
    margin-bottom: 2px;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 34, 24, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
}

.gallery-item-wide {
    grid-column: span 2;
}

/* --- Visit Section --- */
.visit-section {
    padding: 100px 0;
    background: var(--cream);
}

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

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

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

.detail-icon {
    width: 48px;
    height: 48px;
    background: var(--green-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-700);
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.detail-link {
    color: var(--green-600);
    font-weight: 500;
    transition: var(--transition);
}

.detail-link:hover {
    color: var(--green-800);
}

.visit-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-dark {
    background: var(--green-800);
    color: #fff;
}

.btn-dark:hover {
    background: var(--green-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        #0B2218 0%,
        #1B4332 50%,
        #2D6A4F 100%
    );
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(82, 160, 106, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(212, 168, 67, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* --- Footer --- */
.footer {
    background: var(--green-900);
    padding: 64px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--green-300);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-phone {
    font-size: 0.9rem;
    color: var(--gold-light);
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--gold);
}

.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;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        max-width: 500px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery-item-wide {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-highlights {
        gap: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }
    
    .gallery-item-wide {
        grid-column: span 1;
    }
    
    .map-wrapper {
        height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    
    .menu-tabs {
        gap: 6px;
    }
    
    .menu-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

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