/* =========================================================================
   BISTRO VIỆT NAM - PREMIUM CASUAL DINING MASTER CSS v3.0
   UI/UX Pro Max Applied: Glassmorphism + Hero-Centric + Motion-Driven
   Color: Restaurant/Food Service Palette
   Font: Playfair Display (heading) + Inter (body)
   ========================================================================= */

/* [1] CSS VARIABLES */
:root {
    --clr-primary: #DC2626;
    --clr-primary-light: #EF4444;
    --clr-primary-dark: #991B1B;
    --clr-accent: #CA8A04;
    --clr-accent-light: #EAB308;
    --clr-accent-dark: #A16207;
    --clr-bg-main: #FEF2F2;
    --clr-bg-alt: #FFFBEB;
    --clr-bg-dark: #0F172A;
    --clr-bg-darker: #020617;
    --clr-text-main: #1E293B;
    --clr-text-muted: #64748B;
    --clr-text-light: #F8FAFC;
    --clr-border: #E2E8F0;
    --clr-border-gold: rgba(202, 138, 4, 0.35);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --max-width: 1200px;
    --header-h: 72px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .1);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, .16);
    --shadow-gold: 0 8px 24px rgba(202, 138, 4, .25);
    --ease: cubic-bezier(.4, 0, .2, 1);
    --z-header: 100;
    --z-overlay: 50;
}

/* [2] RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--clr-text-main);
    background: var(--clr-bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul,
ol {
    list-style: none;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: .3s var(--ease);
}

input,
button,
textarea,
select {
    font: inherit;
    border: none;
    outline: none;
    background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-primary-dark);
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

::selection {
    background: var(--clr-accent);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: var(--clr-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-primary-dark);
}

/* [3] UTILITIES */
.main-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* [4] HEADER – Glassmorphism Floating */
.main-header,
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: var(--z-header);
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 1px 12px rgba(0, 0, 0, .04);
    transition: background .3s, box-shadow .3s;
}



.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform .3s var(--ease);
}

.brand-logo:hover {
    transform: scale(1.08);
}

/* Nav */
.navigation-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    color: var(--clr-text-main);
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .4rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--clr-accent);
    transition: all .3s var(--ease);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--clr-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background: var(--clr-text-main);
    border-radius: 2px;
    transition: .3s var(--ease);
    transform-origin: left center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

/* [5] HERO SECTION – Full Viewport Cinematic */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-h);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 23, 42, .35) 0%,
            rgba(15, 23, 42, .55) 50%,
            rgba(15, 23, 42, .75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    padding: 1rem;
}

.hero-title {
    color: #FFF;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
}

.partner-contact-desc {
    color: rgba(255, 255, 255, .88);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

/* Hero Form – Glassmorphism */
.partner-form-container {
    max-width: 520px;
    margin: 0 auto;
}

.hero-contact-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: .7rem 1rem;
    background: rgba(255, 255, 255, .92);
    border-radius: var(--radius-sm);
    color: var(--clr-text-main);
    font-size: .95rem;
    transition: box-shadow .3s;
}

.form-input:focus,
.form-textarea:focus {
    box-shadow: 0 0 0 3px rgba(202, 138, 4, .45);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    padding: .8rem;
    background: var(--clr-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: .3s var(--ease);
    box-shadow: 0 4px 14px rgba(220, 38, 38, .35);
}

.btn-submit:hover {
    background: var(--clr-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* [6] SECTION TITLES */
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--clr-primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: .75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--clr-accent);
    border-radius: 2px;
}

.section-title.text-center {
    display: block;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--clr-primary);
    margin: 1.5rem 0 .75rem;
}

.section-desc {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--clr-text-main);
    text-align: justify;
}

/* [7] ABOUT SECTION – Zigzag */
.about-section {
    background: var(--clr-bg-main);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-text-content {
    padding-right: 1rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    transition: transform .5s var(--ease);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.02) rotate(.5deg);
}

.image-deco-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 88%;
    height: 88%;
    border: 3px solid var(--clr-accent);
    border-radius: var(--radius-md);
    z-index: -1;
    transform: translate(16px, 16px);
    transition: transform .5s var(--ease);
}

.about-image-wrapper:hover .image-deco-box {
    transform: translate(8px, 8px);
}

/* [8] MENU FUSION SECTION */
.menu-fusion-section {
    background: #FFF;
}

.fusion-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.fusion-image-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.fusion-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.fusion-image-wrapper:hover .fusion-image {
    transform: scale(1.08);
}

/* [9] BOOKING SECTION */
.booking-section {
    background: var(--clr-bg-alt);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.booking-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-primary {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.image-secondary {
    width: 75%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 6px solid #fff;
    box-shadow: var(--shadow-xl);
    margin-top: -3rem;
    margin-left: auto;
    position: relative;
    z-index: 2;
    transition: transform .4s var(--ease);
}

.booking-image-wrapper:hover .image-secondary {
    transform: translateY(-8px);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

/* [10] NEWS SECTION */
.news-section {
    background: #FFF;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

/* [11] CAREER SECTION – Dark */
.career-section {
    background: var(--clr-bg-dark);
    color: var(--clr-text-light);
}

.career-section .section-title {
    color: var(--clr-accent);
}

.career-section .section-title::after {
    background: #fff;
}

.career-section .section-desc {
    color: #CBD5E1;
}

.career-section .section-subtitle {
    color: var(--clr-accent-light);
}

.career-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.career-image-wrapper {
    position: relative;
}

.career-image {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

/* [12] PARTNER SECTION */
.partner-section {
    background: var(--clr-bg-main);
}

.partner-card {
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    border: 1px solid transparent;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl) !important;
    border-color: var(--clr-border);
}

.partner-card:hover .partner-image img {
    transform: scale(1.06);
}

.partner-image img {
    transition: transform .6s var(--ease);
}

/* [13] BỘ SƯU TẬP (Gallery) */
.bg-light {
    background: var(--clr-bg-alt);
}

.card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* [14] PARTNER NETWORK & BACKLINK SEO */
.seo-partner-link {
    color: var(--clr-accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(202, 138, 4, .35);
    transition: color .3s var(--ease), border-color .3s var(--ease);
}

.seo-partner-link:hover {
    color: var(--clr-primary);
    border-bottom-color: var(--clr-primary);
}

.partner-network-section {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF2F2 50%, #FFFBEB 100%);
    position: relative;
}

.partner-network-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.partner-network-card {
    background: #FFF;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.partner-network-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-border-gold);
}

.partner-network-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--clr-primary-dark);
    margin-bottom: .6rem;
}

.partner-network-card p {
    font-size: .92rem;
    line-height: 1.8;
    color: var(--clr-text-main);
}

@media (max-width: 768px) {
    .partner-network-grid {
        grid-template-columns: 1fr;
    }
}

/* [15] SPONSOR SECTION */
#nha-tai-tro-doc-quyen a {
    position: relative;
    transition: color .3s;
}

#nha-tai-tro-doc-quyen a:hover {
    color: #FFF !important;
    text-shadow: 0 0 8px rgba(96, 165, 250, .7);
}

#nha-tai-tro-doc-quyen::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, .04), transparent);
    transform: skewX(-20deg);
    animation: shimmer 7s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    25% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* [15] FOOTER */
footer {
    position: relative;
}

.footer-col h3,
.footer-col h4 {
    letter-spacing: .5px;
}

.social-links a:hover {
    background: var(--clr-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, .35);
}

.footer-col ul li a:hover {
    color: var(--clr-accent) !important;
    padding-left: 4px;
}

/* [16] ANIMATIONS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp .8s var(--ease) forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideIn .8s var(--ease) forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    animation: slideIn .8s var(--ease) forwards;
}

.slide-in-bottom {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp .8s var(--ease) forwards;
}

.delay-1 {
    animation-delay: .15s;
}

.delay-2 {
    animation-delay: .3s;
}

.delay-3 {
    animation-delay: .45s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* [17] RESPONSIVE */
@media (max-width: 1024px) {
    .section-padding {
        padding: 3.5rem 0;
    }

    .about-grid,
    .fusion-grid,
    .booking-grid,
    .news-grid,
    .career-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .fusion-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .about-text-content {
        padding-right: 0;
    }

    .section-title {
        text-align: center;
        display: block;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .section-desc {
        text-align: center;
    }

    .btn-group {
        justify-content: center;
    }

    .image-secondary {
        margin-left: auto;
        margin-right: auto;
        width: 70%;
        margin-top: -2rem;
    }

    .partner-card {
        flex-direction: column !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    #nha-tai-tro-doc-quyen div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .navigation-menu {
        position: fixed;
        top: var(--header-h);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-h));
        background: #FFFFFF;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left .35s var(--ease);
        border-top: 1px solid var(--clr-border);
        z-index: 999;
    }

    .navigation-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .fusion-image {
        height: 350px;
    }

    .image-primary {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .partner-contact-desc {
        font-size: .92rem;
    }

    .hero-contact-form {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    #nha-tai-tro-doc-quyen {
        padding: 2.5rem 1rem !important;
    }
}

/* [18] PRINT */
@media print {

    .main-header,
    .site-header,
    .hero-contact-form,
    .btn-submit,
    .social-links,
    .mobile-menu-toggle {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}