/* ============================================
   Charley's Lounge — Styles
   Charcoal + Coral | Inter + Playfair Display
   ============================================ */

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

:root {
    --charcoal: #2C2C2C;
    --charcoal-deep: #1A1A1A;
    --charcoal-light: #3A3A3A;
    --coral: #F4845F;
    --coral-light: #F7A084;
    --coral-pale: #FFF0EB;
    --cream: #FAFAF8;
    --white: #FFFFFF;
    --gray-100: #F5F5F3;
    --gray-200: #E8E8E4;
    --gray-300: #D0D0CC;
    --gray-400: #A0A09A;
    --gray-500: #6E6E68;
    --gray-600: #4A4A46;
    
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

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

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-heading {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 var(--gray-200);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--coral);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s var(--ease-out);
}

.nav__logo:hover .nav__logo-mark {
    transform: rotate(-8deg) scale(1.05);
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
}

.nav.scrolled .nav__logo-text {
    color: var(--charcoal);
}

.nav__logo-text {
    color: var(--white);
    transition: color 0.5s var(--ease-out);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral);
    transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav.scrolled .nav__link {
    color: var(--gray-500);
}

.nav.scrolled .nav__link:hover {
    color: var(--charcoal);
}

.nav__cta-btn {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white) !important;
    background: var(--coral);
    padding: 0.55rem 1.25rem;
    border-radius: 100px;
    transition: background 0.3s, transform 0.3s var(--ease-out);
}

.nav__cta-btn::after {
    display: none;
}

.nav__cta-btn:hover {
    background: var(--coral-light);
    transform: translateY(-1px);
}

.nav.scrolled .nav__cta-btn {
    color: var(--white) !important;
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background 0.3s;
}

.nav__toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav.scrolled .nav__toggle:hover {
    background: var(--gray-100);
}

.nav__toggle-icon {
    color: var(--white);
    transition: color 0.5s;
}

.nav.scrolled .nav__toggle-icon {
    color: var(--charcoal);
}

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

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.82) 0%,
        rgba(44, 44, 44, 0.70) 50%,
        rgba(26, 26, 26, 0.78) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 0 2rem;
}

.hero__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero__headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

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

.btn--primary:hover {
    background: var(--coral-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 132, 95, 0.3);
}

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

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

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

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* --- Divider --- */
.divider {
    background: var(--cream);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- About --- */
.about {
    padding: 8rem 0;
    background: var(--cream);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text {
    max-width: 520px;
}

.about__body {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about__stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-200);
}

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

.stat__number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--coral);
    line-height: 1;
}

.stat__label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    font-weight: 400;
}

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

.about__image {
    position: relative;
}

.about__image-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.about__image-frame img {
    width: 100%;
    height: 750px;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 4px solid var(--cream);
}

.about__image-accent img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* --- Menu --- */
.menu {
    padding: 8rem 0;
    background: var(--white);
}

.menu__categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 1rem;
}

.menu__category {
    padding: 2.5rem;
    background: var(--cream);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.menu__category:hover {
    border-color: var(--coral);
    transform: translateY(-4px);
}

.menu__category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}

.menu__category-header svg {
    color: var(--coral);
    flex-shrink: 0;
}

.menu__category-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--charcoal);
}

.menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.menu__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}

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

.menu__item-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
}

.menu__item-desc {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.menu__note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--gray-400);
    font-style: italic;
}

/* --- Gallery --- */
.gallery {
    padding: 6rem 0 8rem;
    background: var(--cream);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 1rem;
}

.gallery__item {
    border-radius: 10px;
    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.04);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.6), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
}

.gallery__item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    min-height: 420px;
}

.gallery__item--large img {
    min-height: 420px;
}

.gallery__item:not(.gallery__item--large) {
    min-height: 200px;
}

.gallery__item:not(.gallery__item--large) img {
    min-height: 200px;
}

.gallery__item--wide {
    grid-column: 4 / 13;
    grid-row: 2 / 3;
    min-height: 260px;
}

.gallery__item--wide img {
    min-height: 260px;
}

/* --- Testimonial --- */
.testimonial {
    padding: 7rem 0;
    background: var(--charcoal-deep);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(244, 132, 95, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.testimonial__quote {
    margin: 0 auto 2rem;
    opacity: 0.6;
}

.testimonial__text {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.testimonial__attribution {
    font-size: 0.88rem;
    color: var(--coral);
    letter-spacing: 0.08em;
    font-weight: 400;
}

/* --- Visit --- */
.visit {
    padding: 8rem 0;
    background: var(--white);
}

.visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit__info {
    max-width: 480px;
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--cream);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.visit__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit__icon {
    color: var(--coral);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit__detail-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.35rem;
    font-weight: 500;
}

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

.visit__link {
    color: var(--coral);
    transition: color 0.3s;
}

.visit__link:hover {
    color: var(--coral-light);
    text-decoration: underline;
}

.visit__map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    min-height: 450px;
    border: 1px solid var(--gray-200);
}

.visit__map iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal-deep);
    padding: 5rem 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__brand .nav__logo-mark {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
}

.footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--coral);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__phone {
    font-size: 1.05rem;
    color: var(--coral);
    font-weight: 400;
    transition: color 0.3s;
}

.footer__phone:hover {
    color: var(--coral-light);
}

.footer__address {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 0;
    font-size: 0.82rem;
    color: var(--gray-500);
}

.footer__bottom p {
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about__grid {
        gap: 3rem;
    }
    
    .menu__categories {
        gap: 2rem;
    }
    
    .gallery__item--large {
        grid-column: 1 / 7;
    }
    
    .gallery__item--wide {
        grid-column: 1 / 13;
    }
}

@media (max-width: 900px) {
    .about__grid {
        grid-template-columns: 1fr;
    }
    
    .about__image {
        order: -1;
        max-width: 500px;
    }
    
    .about__image-frame img {
        height: 500px;
    }
    
    .menu__categories {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .visit__grid {
        grid-template-columns: 1fr;
    }
    
    .visit__map {
        min-height: 350px;
    }
    
    .visit__map iframe {
        height: 350px;
    }
    
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }
    
    .nav__links.open {
        transform: translateX(0);
    }
    
    .nav__link {
        color: var(--charcoal) !important;
        font-size: 1.1rem;
    }
    
    .nav__cta-btn {
        color: var(--white) !important;
    }
    
    .nav__toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .about {
        padding: 5rem 0;
    }
    
    .about__image-accent {
        left: 0;
        bottom: -1.5rem;
    }
    
    .about__stats {
        gap: 1.5rem;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery__item--large {
        grid-column: 1 / -1;
        min-height: 280px;
    }
    
    .gallery__item--large img {
        min-height: 280px;
    }
    
    .gallery__item:not(.gallery__item--large) {
        min-height: 180px;
    }
    
    .gallery__item:not(.gallery__item--large) img {
        min-height: 180px;
    }
    
    .gallery__item--wide {
        grid-column: 1 / -1;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav__inner {
        padding: 0 1.25rem;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        max-width: 260px;
    }
    
    .about__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .menu__category {
        padding: 1.75rem;
    }
    
    .visit__details {
        padding: 1.5rem;
    }
}

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