/* ========================================
   Coaches Bar & Grill — Stylesheet
   Color Palette: Terracotta + Sand
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-terracotta: #C1694F;
    --color-terracotta-deep: #A8553A;
    --color-terracotta-light: #D4896F;
    --color-sand: #F5EDE3;
    --color-sand-light: #FAF6F1;
    --color-sand-mid: #EDE3D7;
    --color-dark: #1A1410;
    --color-dark-soft: #2E2520;
    --color-text: #3D3028;
    --color-text-muted: #7A6B60;
    --color-text-light: #9E8E82;
    --color-white: #FEFCF9;
    --color-border: #E8DDD3;
    
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    
    --nav-height: 72px;
    --container-max: 1200px;
    --section-padding: clamp(80px, 12vw, 140px);
}

/* --- 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-sans);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-sand-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 56px);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background-color 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.nav.scrolled {
    background-color: rgba(250, 246, 241, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 56px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-mark {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-terracotta);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--color-terracotta);
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.nav-logo:hover .nav-logo-mark {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

.nav-logo-text {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-dark);
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a:not(.nav-phone)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-terracotta);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.nav-phone):hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-terracotta) !important;
    letter-spacing: 0.02em;
}

.nav-phone::after {
    display: none !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--color-dark);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--color-dark);
    padding: 12px 0;
    transition: color 0.3s;
}

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

.mobile-menu-phone {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-terracotta);
    letter-spacing: 0.04em;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 40px) clamp(24px, 4vw, 56px) 60px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #1A1410 0%, #3D2218 30%, #6B3A28 55%, #C1694F 80%, #D4896F 100%);
    z-index: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 40%, rgba(193, 105, 79, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(168, 85, 58, 0.2) 0%, transparent 60%);
}

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

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-terracotta-light);
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 400;
    line-height: 1.08;
    color: var(--color-white);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(254, 252, 249, 0.7);
    max-width: 520px;
    margin: 0 auto 44px;
}

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

.hero-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 400;
    color: rgba(254, 252, 249, 0.5);
    letter-spacing: 0.03em;
}

.hero-details a {
    color: rgba(254, 252, 249, 0.6);
    transition: color 0.3s;
}

.hero-details a:hover {
    color: var(--color-white);
}

.hero-dot {
    color: rgba(254, 252, 249, 0.25);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    border: 1.5px solid var(--color-terracotta);
}

.btn-primary:hover {
    background: var(--color-terracotta-deep);
    border-color: var(--color-terracotta-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(193, 105, 79, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(254, 252, 249, 0.3);
}

.btn-ghost:hover {
    border-color: var(--color-white);
    background: rgba(254, 252, 249, 0.08);
}

.btn-large {
    padding: 16px 36px;
    font-size: 13px;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(254, 252, 249, 0.35);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

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

/* --- Section Dividers --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 clamp(24px, 4vw, 56px);
    max-width: var(--container-max);
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.divider-icon {
    color: var(--color-terracotta-light);
    flex-shrink: 0;
}

/* --- Section Shared --- */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 72px);
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-dark);
    letter-spacing: -0.01em;
}

/* --- Menu Section --- */
.menu-section {
    background: var(--color-sand-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.menu-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: clamp(28px, 3vw, 44px);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(61, 48, 40, 0.08);
    border-color: var(--color-terracotta-light);
}

.menu-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--color-sand);
    color: var(--color-terracotta);
    margin-bottom: 24px;
    transition: background 0.3s, color 0.3s;
}

.menu-card:hover .menu-card-icon {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.menu-card-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.menu-card-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.menu-footer {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.menu-footer p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-terracotta);
    letter-spacing: 0.04em;
    transition: gap 0.3s var(--ease-out);
}

.link-arrow:hover {
    gap: 14px;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

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

.about-content .section-eyebrow {
    text-align: left;
    margin-bottom: 16px;
}

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

.about-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--color-dark);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* --- Gallery Section --- */
.gallery-section {
    background: var(--color-sand-light);
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.gallery-item--large {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: 9 / span 4;
    grid-row: 1;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / span 4;
    grid-row: 2;
}

.gallery-item:nth-child(4) {
    grid-column: 2 / span 5;
    grid-row: 2;
}

.gallery-item:nth-child(5) {
    grid-column: 7 / span 6;
    grid-row: 1;
}

/* --- Visit Section --- */
.visit-section {
    background: var(--color-white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.visit-info .section-eyebrow {
    text-align: left;
    margin-bottom: 16px;
}

.visit-info .section-title {
    text-align: left;
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

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

.visit-detail-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.visit-detail-value {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark);
}

.visit-detail-link {
    color: var(--color-terracotta);
    transition: color 0.3s;
}

.visit-detail-link:hover {
    color: var(--color-terracotta-deep);
    text-decoration: underline;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    font-size: 14px;
    color: var(--color-text);
    padding: 4px 0;
}

.hours-row span:first-child {
    font-weight: 400;
    color: var(--color-text);
}

.hours-row span:last-child {
    font-weight: 300;
    color: var(--color-text-muted);
}

.visit-map-wrap {
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(61, 48, 40, 0.08);
}

/* --- Footer --- */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: clamp(56px, 8vw, 80px) 0 0;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(254, 252, 249, 0.1);
}

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

.footer-brand .nav-logo-mark {
    margin-bottom: 4px;
}

.footer-name {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
}

.footer-tagline {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(254, 252, 249, 0.5);
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    font-weight: 400;
    color: rgba(254, 252, 249, 0.5);
    letter-spacing: 0.04em;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(24px, 4vw, 32px) 0;
}

.footer-bottom p {
    font-size: 12px;
    font-weight: 300;
    color: rgba(254, 252, 249, 0.3);
    letter-spacing: 0.02em;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrap {
        aspect-ratio: 16/10;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .about-content .section-eyebrow,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 180px);
    }
    
    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
    
    .gallery-item:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }
    
    .gallery-item:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }
    
    .visit-info .section-eyebrow,
    .visit-info .section-title {
        text-align: center;
    }
    
    .visit-info .btn {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-details {
        flex-direction: column;
        gap: 6px;
    }
    
    .hero-dot {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item,
    .gallery-item--large {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hero-scroll svg {
        animation: none;
    }
    
    .menu-card,
    .gallery-item img,
    .about-image-wrap img {
        transition: none;
    }
    
    .menu-card:hover {
        transform: none;
    }
}
