/* ===================================================
   INDEX PAGE — Chill Astoria
   =================================================== */

/* ===================================================
   Hero Section
   =================================================== */

.hero_section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position: center 70%;
    overflow: hidden;
}

.hero_overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(10, 10, 12, 0.75) 0%,
            rgba(10, 10, 12, 0.42) 40%,
            rgba(10, 10, 12, 0.72) 100%
        );
    z-index: 1;
}

.hero_glow {
    position: absolute;
    width: clamp(300px, 42vw, 620px);
    height: clamp(300px, 42vw, 620px);
    border-radius: 50%;
    filter: blur(130px);
    z-index: 2;
    pointer-events: none;
}

.hero_glow--left {
    background: radial-gradient(circle, rgba(255, 155, 0, 0.17) 0%, transparent 70%);
    bottom: -10%;
    left: -8%;
}

.hero_glow--right {
    background: radial-gradient(circle, rgba(212, 168, 67, 0.11) 0%, transparent 70%);
    top: 8%;
    right: -10%;
}

.hero_content {
    position: relative;
    z-index: 3;
    padding-top: 82px;
    align-self: flex-end;
    padding-bottom: var(--section-pad);
}

.hero_content .section_label {
    margin-bottom: 1.5rem;
}

.hero_content h1 {
    color: var(--white);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}

.hero_sub {
    color: rgba(240, 235, 226, 0.82);
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    font-weight: 300;
    line-height: 1.72;
    max-width: 600px;
    margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.hero_ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero_scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero_scroll_line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--amber), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: .5; transform: scaleY(1); }
    50%       { opacity: 1;    transform: scaleY(1.25); }
}

@media (max-width: 996px) {
    .hero_content { max-width: 100%; }
}

@media (max-width: 600px) {
    .hero_section {
        align-items: flex-end;
        padding-bottom: 4rem;
    }
    .hero_content { padding-top: 110px; text-align: center; 
    align-self: center; }
    .hero_sub { max-width: 100%; }
    .hero_ctas { flex-direction: column; }
    .hero_scroll { display: none; }
}

/* ===================================================
   Experience Section
   =================================================== */

.experience_section {
    background: var(--surface);
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.experience_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
}

.experience_content { max-width: 520px; }

.experience_content h2 { margin-bottom: 1.5rem; }

.experience_content p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    margin-bottom: 2.5rem;
}

.experience_visual { position: relative; }

.experience_img_wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.65),
        0 0 0 1px var(--border);
}

.experience_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.experience_img_wrap:hover img { transform: scale(1.04); }

/* Corner accent lines */
.experience_img_wrap::before {
    content: '';
    position: absolute;
    top: -14px;
    right: -14px;
    width: 72px;
    height: 72px;
    border-top: 2px solid var(--amber);
    border-right: 2px solid var(--amber);
    border-radius: 0 var(--radius) 0 0;
    z-index: 2;
    pointer-events: none;
}

.experience_img_wrap::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: -14px;
    width: 72px;
    height: 72px;
    border-bottom: 2px solid var(--amber);
    border-left: 2px solid var(--amber);
    border-radius: 0 0 0 var(--radius);
    z-index: 2;
    pointer-events: none;
}

.experience_badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--charcoal);
    border: 1px solid var(--border-amber);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.experience_badge_stars {
    color: var(--amber);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
}

.experience_badge_text {
    color: var(--text-primary);
    font-size: var(--text-xs);
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 996px) {
    .experience_inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .experience_content { max-width: 100%; text-align: center; }
    .experience_img_wrap::before,
    .experience_img_wrap::after { display: none; }
    .experience_badge {
        bottom: -0.75rem;
        left: 1rem;
    }
}

@media (max-width: 600px) {
    .experience_badge { display: none; }
}

/* ===================================================
   Menu Preview Section
   =================================================== */

.menu_preview_section {
    background: var(--cream);
    padding: var(--section-pad) 0;
}

.menu_preview_header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(3rem, 5vw, 5rem);
}

.menu_preview_header h2 { margin-bottom: 1.25rem; }

.menu_preview_intro {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.15vw, 1.125rem);
}

/* Editorial asymmetric grid */
.menu_preview_grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 10px;
}

/* card--featured spans both rows in col 2 */
.menu_card--featured { grid-row: span 2; }
/* card--tall spans both rows in col 3 */
.menu_card--tall     { grid-row: span 2; }
/* card 1 and card 4 stack naturally in col 1 */

.menu_card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.menu_card_img {
    position: relative;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.menu_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.menu_card:hover .menu_card_img img { transform: scale(1.06); }

.menu_card_tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--amber);
    color: var(--black);
    font-family: "Raleway", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
    border-radius: 2px;
    z-index: 2;
}

/* Fade overlay at image bottom */
.menu_card_img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, var(--black) 0%, transparent 100%);
    pointer-events: none;
}

.menu_card_body {
    padding: 1.25rem 1.5rem 1.6rem;
    background: var(--surface);
}

.menu_card_body h3 {
    color: var(--white);
    font-size: clamp(0.95rem, 1.2vw, 1.2rem);
    margin-bottom: 0.5rem;
}

.menu_card_body p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.menu_preview_ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: clamp(2.5rem, 4vw, 4rem);
}

@media (max-width: 996px) {
    .menu_preview_grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 260px 260px;
    }
    .menu_card--featured { grid-row: span 2; }
    .menu_card--tall     { grid-row: span 1; }
}

@media (max-width: 600px) {
    .menu_preview_grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .menu_card {
        height: 120vw;
    }
    .menu_card,
    .menu_card--featured,
    .menu_card--tall { grid-row: auto; }
}

/* ===================================================
   Events Section
   =================================================== */

.events_section {
    position: relative;
    padding: var(--section-pad) 0;
    background-size: cover;
    background-position: center 65%;
    background-attachment: fixed;
    overflow: hidden;
}

.events_overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            108deg,
            rgba(10, 10, 12, 0.96) 0%,
            rgba(10, 10, 12, 0.68) 55%,
            rgba(10, 10, 12, 0.38) 100%
        );
    z-index: 1;
}

.events_container {
    position: relative;
    z-index: 2;
}

.events_content { max-width: 600px; }

.events_content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.events_content p {
    color: rgba(240, 235, 226, 0.78);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    margin-bottom: 2.5rem;
}

.events_ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 996px) {
    .events_section { background-attachment: scroll; }
    .events_content { max-width: 100%; text-align: center; }
}

@media (max-width: 600px) {
    .events_ctas { flex-direction: column; }
}

/* ===================================================
   Why Section
   =================================================== */

.why_section {
    background: var(--surface);
    padding: var(--section-pad) 0;
}

.why_header {
    text-align: center;
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.why_header h2 { margin-top: 0.25rem; }

.why_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.why_card {
    background: var(--charcoal);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 2.5vw, 2.5rem) clamp(1.25rem, 1.8vw, 1.75rem);
    text-align: center;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.why_card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top center, var(--glow-amber) 0%, transparent 65%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.why_card:hover {
    border-color: var(--border-amber);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.why_card:hover::before { opacity: 1; }

.why_icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--glow-amber);
    border: 1px solid var(--border-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.why_icon i {
    font-size: 1.05rem;
    color: var(--amber);
}

.why_card:hover .why_icon {
    background: var(--amber);
    border-color: var(--amber);
    box-shadow: 0 0 24px var(--glow-amber-md);
}

.why_card:hover .why_icon i { color: var(--black); }

.why_card h3 {
    color: var(--white);
    font-size: clamp(0.9rem, 1.05vw, 1.05rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why_card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.65;
}

@media (max-width: 996px) {
    .why_grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .why_card:nth-child(1) { grid-column: 1 / 3; }
    .why_card:nth-child(2) { grid-column: 3 / 5; }
    .why_card:nth-child(3) { grid-column: 5 / 7; }
    .why_card:nth-child(4) { grid-column: 2 / 4; }
    .why_card:nth-child(5) { grid-column: 4 / 6; }
}

@media (max-width: 600px) {
    .why_grid { grid-template-columns: 1fr; }
    .why_card:nth-child(n) { grid-column: auto; }
}

/* ===================================================
   Vibe / Gallery Section
   =================================================== */

.vibe_section {
    background: var(--cream);
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.vibe_header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(3rem, 5vw, 5rem);
    padding: 0 var(--container-pad);
}

.vibe_header h2 { margin-bottom: 1.25rem; }

.vibe_sub {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.15vw, 1.1rem);
}

.vibe_gallery {
    height: 60vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    padding: 0 var(--container-pad);
    max-width: var(--container-max);
    margin: 0 auto;
}

.vibe_item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
}

.vibe_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.vibe_item:hover img { transform: scale(1.06); }

.vibe_item_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.5) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.vibe_item:hover .vibe_item_overlay { opacity: 1; }

@media (max-width: 996px) {
    .vibe_gallery {
        height: inherit;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 240px 240px 240px;
    }
}

@media (max-width: 600px) {
    .vibe_gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 6px;
    }
    .vibe_item { height: 250px; }
}

/* ===================================================
   Reservation CTA Section
   =================================================== */

.reservation_section {
    position: relative;
    padding: var(--section-pad) 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.reservation_overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.86);
    z-index: 1;
}

.reservation_overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 155, 0, 0.11) 0%, transparent 70%);
    pointer-events: none;
}

.reservation_container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.reservation_container .section_label { display: block; }

.reservation_container h2 {
    color: var(--white);
    font-weight: 900;
    margin-bottom: 1.25rem;
}

.reservation_container p {
    color: rgba(240, 235, 226, 0.75);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    margin-bottom: 2.5rem;
}

.reservation_container .btn_primary {
    padding: 1.1rem 3rem;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .reservation_container .btn_primary {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================
   Location Section
   =================================================== */

.location_section {
    background: var(--surface);
    padding: var(--section-pad) 0;
}

.location_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
}

.location_content h2 { margin-bottom: 1.25rem; }

.location_content > p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    margin-bottom: 2.5rem;
}

.location_details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    font-style: normal;
}

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

.location_item i {
    color: var(--amber);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.location_item div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.location_item strong {
    color: var(--white);
    font-family: "Raleway", sans-serif;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
}

.location_item span,
.location_item a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.6;
}

.location_item a:hover { color: var(--amber); }

.location_ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    align-items: center;
}

.location_map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 480px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.location_map iframe {
    display: block;
    width: 100%;
    height: 100%;
    /* Invert map to match dark theme */
    filter: invert(90%) hue-rotate(180deg) saturate(0.45) brightness(0.82);
}

@media (max-width: 996px) {
    .location_container { grid-template-columns: 1fr; }
    .location_map { height: 360px; }
}

@media (max-width: 600px) {
    .location_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .location_details {
        align-items: center;
    }
    .location_ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .location_item {
        flex-direction: column;
        align-items: center;
    }
    .location_item div {
        align-items: center;
        text-align: center;
    }
    .location_ctas a {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    .location_map { height: 260px; }
}
