/* ==========================================================================
   PORTOBANCO'S RESTAURANT / UNN JINOTEGA - CORE STYLESHEET
   100% Clean CSS - Zero Inline SVGs - High Performance
   ========================================================================== */

:root {
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(18, 18, 18, 0.78);
    --gold-primary: #d49a5b;
    --gold-accent: #e59d52;
    --text-white: #ffffff;
    --text-muted: #b8b8b8;
    --text-dark: #1a1a1a;
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.25s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-black);
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* --------------------------------------------------------------------------
   TOP ACCESSIBILITY BAR (Screen Reader friendly)
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   STICKY NAVBAR
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
}

.brand-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo-img:hover {
    transform: scale(1.02);
}

.nav-links-wrap {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-item a {
    color: var(--text-white);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: inline-block;
    padding: 6px 0;
    position: relative;
}

.nav-item a:hover {
    color: var(--gold-primary);
}

.btn-order-now {
    background-color: var(--gold-accent) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
    border-radius: 4px;
    letter-spacing: 0.8px;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.btn-order-now:hover {
    background-color: #f0aa5d !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(229, 157, 82, 0.35);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* --------------------------------------------------------------------------
   FLOATING VIP BOX (Top Right Widget)
   -------------------------------------------------------------------------- */
.vip-card-floating {
    position: fixed;
    top: 85px;
    right: 28px;
    z-index: 998;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 22px 24px;
    width: 320px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vip-card-floating.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
}

.vip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vip-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
}

.vip-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.vip-close:hover {
    color: #ffffff;
}

.vip-benefits {
    list-style: none;
    margin-bottom: 20px;
}

.vip-benefits li {
    font-size: 13.5px;
    color: #efefef;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.vip-benefits li i {
    font-size: 15px;
    color: var(--text-white);
    width: 18px;
    text-align: center;
}

.vip-join-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.vip-join-btn:hover {
    background-color: #e5e5e5;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-wrapper {
    max-width: 1440px;
    margin: 20px auto 0;
    padding: 0 24px;
}

.hero-banner {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    background: url('/assets/images/hero-platter.jpg?v=1.0.0') center center / cover no-repeat;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 12px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 32px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.btn-pill-gold {
    display: inline-block;
    border: 1.5px solid var(--gold-primary);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--gold-primary);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 34px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-pill-gold:hover {
    background-color: var(--gold-primary);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 154, 91, 0.35);
}

/* --------------------------------------------------------------------------
   SPLIT FEATURE SECTION (Best Food & Waiting List)
   -------------------------------------------------------------------------- */
.split-section {
    max-width: 1440px;
    margin: 80px auto;
    padding: 0 28px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 60px;
}

.split-text-col {
    padding-right: 20px;
}

.split-heading {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 22px;
}

.split-desc {
    font-size: 16.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 32px;
}

.split-desc p {
    margin-bottom: 10px;
}

.split-image-col {
    width: 100%;
}

.split-rounded-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.split-rounded-img:hover {
    transform: scale(1.015);
}

/* --------------------------------------------------------------------------
   THREE FROSTED GLASS CARDS SECTION
   -------------------------------------------------------------------------- */
.cards-feature-wrap {
    max-width: 1440px;
    margin: 70px auto;
    padding: 0 24px;
}

.cards-banner {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    padding: 75px 44px;
    background: url('/assets/images/cards-bg.jpg?v=1.0.0') center center / cover no-repeat;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7);
}

.cards-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.cards-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.frosted-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 44px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.frosted-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 154, 91, 0.3);
}

.frosted-card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 18px;
}

.frosted-card-text {
    font-size: 14.5px;
    color: #e0e0e0;
    line-height: 1.65;
    margin-bottom: 28px;
    flex-grow: 1;
}

.card-btn {
    align-self: center;
    padding: 11px 26px;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   PHOTO GALLERY GRID (6 Items)
   -------------------------------------------------------------------------- */
.gallery-section {
    max-width: 1440px;
    margin: 70px auto;
    padding: 0 28px;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.4s ease;
}

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

/* --------------------------------------------------------------------------
   OUR LOCATION SECTION
   -------------------------------------------------------------------------- */
.location-section {
    max-width: 1440px;
    margin: 90px auto 40px;
    padding: 0 28px;
}

.section-main-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 50px;
}

.location-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.loc-col {
    font-size: 16px;
    line-height: 1.65;
}

.loc-col h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.loc-col p {
    color: #d0d0d0;
    margin-bottom: 8px;
}

.loc-col a.loc-phone {
    color: var(--gold-primary);
    text-decoration: underline;
    font-weight: 500;
}

.loc-col.center-badge {
    text-align: center;
}

.restaurant-badge-img {
    max-height: 90px;
    width: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
}

.map-wrapper {
    position: relative;
    border: 1px solid rgba(212, 154, 91, 0.35);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

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

.map-attribution {
    position: absolute;
    bottom: 12px;
    right: 16px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    color: #cccccc;
}

.map-attribution a {
    color: #ffffff;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   CUSTOMER REVIEWS SECTION
   -------------------------------------------------------------------------- */
.reviews-section {
    max-width: 1120px;
    margin: 70px auto 100px;
    padding: 0 24px;
    text-align: center;
}

.btn-pill-white {
    display: inline-block;
    border: 1.5px solid #ffffff;
    background: transparent;
    color: #ffffff;
    border-radius: 50px;
    padding: 12px 34px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 48px;
    transition: var(--transition);
}

.btn-pill-white:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: left;
}

.review-card {
    background-color: #ffffff;
    color: var(--text-dark);
    border-radius: 14px;
    padding: 34px 30px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eaeaea;
}

.review-dish-tag {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
}

.review-quote {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-author {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
}

/* --------------------------------------------------------------------------
   GLOBAL FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 24px 35px;
}

.footer-top-meta {
    text-align: center;
    margin-bottom: 30px;
}

.made-with-love {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 16px;
}

.made-with-love i {
    color: #c48a52;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.footer-social-icons a {
    color: #ffffff;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.footer-social-icons a:hover {
    color: var(--gold-primary);
    background: rgba(212, 154, 91, 0.15);
    transform: translateY(-2px);
}

.footer-main-grid {
    max-width: 1440px;
    margin: 40px auto 30px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-col.center-links ul {
    list-style: none;
}

.footer-col.center-links ul li {
    margin-bottom: 14px;
}

.footer-col.center-links ul li a {
    color: var(--text-white);
    font-size: 15px;
    font-weight: 500;
}

.footer-col.center-links ul li a:hover {
    color: var(--gold-primary);
    padding-left: 4px;
}

.footer-col.logo-col {
    display: flex;
    justify-content: flex-end;
}

.footer-logo-img {
    max-height: 85px;
    width: auto;
    object-fit: contain;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0 25px;
}

.footer-bottom-bar {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    color: #888888;
}

.footer-bottom-bar a {
    color: #aaaaaa;
    text-decoration: underline;
}

.footer-bottom-bar a:hover {
    color: #ffffff;
}

.accessibility-icon-wrap {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    color: #aaaaaa;
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-text-col {
        padding-right: 0;
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-info-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }

    .footer-col.logo-col {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links-wrap {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(14px);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
    }

    .nav-links-wrap.active {
        display: flex;
    }

    .vip-card-floating {
        top: auto;
        bottom: 20px;
        right: 16px;
        left: 16px;
        width: auto;
    }

    .hero-banner {
        min-height: 480px;
        border-radius: 24px;
    }

    .cards-banner {
        border-radius: 24px;
        padding: 50px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}


/* Card & Grid Layout Fixes for Menu and Product Cards */
.dishes-section {
    max-width: 1440px;
    margin: 60px auto;
    padding: 0 28px;
}

.section-container {
    max-width: 1440px;
    margin: 0 auto;
}

.section-title-gold {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.dish-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 154, 91, 0.4);
}

.dish-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.dish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dish-card:hover .dish-img {
    transform: scale(1.05);
}

.dish-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dish-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
}

.dish-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}


/* Horizontal Slider & Carousel Rules for Menu Cards */
.slider-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) rgba(255,255,255,0.05);
}

.slider-container::-webkit-scrollbar {
    height: 8px;
}

.slider-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 10px;
}

.dishes-slider-grid {
    display: flex;
    gap: 28px;
    width: max-content;
}

.dishes-slider-grid .dish-card {
    width: 340px;
    flex-shrink: 0;
}
