/* ============================================
   9d's Bar — Custom Styles
   Terracotta + Sand | Fresh & Airy
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-terracotta: #C4725A;
    --color-terracotta-light: #D4917A;
    --color-terracotta-dark: #A85A45;
    --color-sand: #F5E6D3;
    --color-sand-light: #FAF3EB;
    --color-sand-dark: #E8D5C0;
    --color-cream: #FDF8F3;
    --color-warm-white: #FFFCF9;
    --color-text: #3D2B2B;
    --color-text-light: #6B5050;
    --color-text-muted: #9A7E7E;
    --color-border: #E8D5C0;
    --color-overlay: rgba(61, 43, 43, 0.6);
    
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 2px 8px rgba(61, 43, 43, 0.06);
    --shadow-md: 0 4px 20px rgba(61, 43, 43, 0.08);
    --shadow-lg: 0 8px 40px rgba(61, 43, 43, 0.12);
    --shadow-xl: 0 16px 60px rgba(61, 43, 43, 0.15);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.section-title em {
    font-style: italic;
    color: var(--color-terracotta);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-terracotta);
    color: #fff;
    box-shadow: 0 4px 16px rgba(196, 114, 90, 0.3);
}

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 114, 90, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2.25rem;
    font-size: 1rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(253, 248, 243, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
}

.logo-mark {
    color: var(--color-terracotta);
}

.logo-text {
    font-weight: 400;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-terracotta);
    transition: width var(--transition-base);
}

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

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

.nav-cta {
    background: var(--color-terracotta);
    color: #fff !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

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

.nav-cta:hover {
    background: var(--color-terracotta-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(253, 248, 243, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--color-terracotta);
}

.mobile-cta {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-terracotta);
    margin-top: var(--space-sm);
    padding: 0.75rem 2rem;
    border: 1.5px solid var(--color-terracotta);
    border-radius: var(--radius-xl);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-sand-light) 50%, var(--color-sand) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(196, 114, 90, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 230, 211, 0.8) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(196, 114, 90, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1.5px;
    background: var(--color-terracotta);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

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

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 460px;
}

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

.hero-image {
    position: relative;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--color-terracotta);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

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

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--color-warm-white);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    width: 75%;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-warm-white);
}

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

.about-floating-card {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: var(--color-terracotta);
    color: #fff;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-floating-card .floating-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    opacity: 0.8;
}

.about-floating-card .floating-year {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
}

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

.about-text {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
}

.feature-item svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

/* ============================================
   Drinks Section
   ============================================ */
.drinks {
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand-light) 100%);
}

.section-header.centered {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

.drinks-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.drink-category {
    background: var(--color-warm-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.drink-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-sand-dark);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.category-icon {
    font-size: 1.5rem;
}

.category-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
}

.drink-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.drink-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.drink-name {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

.drink-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.drinks-cta {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-warm-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.drinks-cta p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

/* ============================================
   Vibe Section
   ============================================ */
.vibe {
    background: var(--color-warm-white);
    overflow: hidden;
}

.vibe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.vibe-text {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.vibe-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--color-sand-light);
    border-radius: var(--radius-md);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-terracotta);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vibe-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.vibe-img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.vibe-img-row img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.vibe-img-row img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Visit Section
   ============================================ */
.visit {
    background: linear-gradient(135deg, var(--color-sand-light) 0%, var(--color-cream) 100%);
}

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

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
}

.detail-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

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

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

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

.detail-value a {
    color: var(--color-terracotta);
    transition: color var(--transition-fast);
}

.detail-value a:hover {
    color: var(--color-terracotta-dark);
}

.visit-cta {
    margin-top: var(--space-xl);
}

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

.map-placeholder iframe {
    width: 100%;
    height: 100%;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: var(--space-md);
}

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-contact a {
    color: var(--color-terracotta-light);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-eyebrow {
        justify-content: center;
    }
    
    .hero-subheadline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-image img {
        height: 450px;
    }
    
    .about-grid,
    .vibe-grid,
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .drinks-categories {
        grid-template-columns: 1fr 1fr;
    }
    
    .vibe-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 60px;
        min-height: auto;
        padding-bottom: var(--space-3xl);
    }
    
    .hero-image img {
        height: 350px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .drinks-categories {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        height: 350px;
    }
    
    .about-img-main {
        height: 300px;
    }
    
    .about-img-secondary {
        height: 180px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .vibe-img-row {
        grid-template-columns: 1fr;
    }
    
    .vibe-img-row img {
        height: 200px;
    }
    
    .visit-map {
        height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-images {
        height: 280px;
    }
    
    .about-img-main {
        height: 220px;
    }
    
    .about-img-secondary {
        height: 140px;
    }
    
    .about-floating-card {
        right: 5%;
        padding: var(--space-sm) var(--space-md);
    }
    
    .vibe-stats {
        grid-template-columns: 1fr 1fr;
    }
}
