:root {
    /* Color Palette */
    --primary: #8C1C13;
    --secondary: #F2AF29;
    --accent: #201E1F;
    --bg-light: #FDF8F5;
    --white: #FFFFFF;
    --text-main: #2D2D2D;
    --text-muted: #666666;
    --glass: rgba(255, 255, 255, 0.8);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-group img {
    height: 50px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    text-transform: uppercase;
    transition: var(--transition);
}

header.scrolled .logo-text {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
}

.nav-links a:hover {
    color: var(--secondary);
}

header.scrolled .nav-links a {
    color: var(--text-main);
}

header.scrolled .nav-links a:hover {
    color: var(--primary);
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(140, 28, 19, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 28, 19, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 64px);
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--accent);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 40px;
    color: var(--accent);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-10px);
}

.menu-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .menu-img img {
    transform: scale(1.1);
}

.price-tag {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--secondary);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
}

.menu-info {
    padding: 30px;
}

.menu-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.menu-info p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

/* Features Section */
.features-bg {
    background: #FFF5F2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    font-size: 28px;
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Force 2x2 on larger screens for balance as requested */
@media (min-width: 992px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.location-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.location-card h4 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 20px;
}

.location-detail {
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.location-detail i {
    color: var(--primary);
    margin-top: 4px;
}

.map-btn {
    margin-top: auto;
    padding-top: 20px;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Testimonials */
.testimonials {
    background: var(--accent);
    color: var(--white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.stars {
    color: var(--secondary);
    margin-bottom: 16px;
}

/* Floating Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    color: var(--white);
}

.float-zalo {
    background: #0180ff;
}

.float-phone {
    background: var(--primary);
}

.float-shopee {
    background: var(--white);
    border: 1px solid #eee;
}

.float-shopee img {
    width: 32px;
}

/* Footer */
footer {
    background: #1a1819;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 50px 0;
    }

    header {
        padding: 10px 0;
        background: var(--glass);
        backdrop-filter: blur(10px);
    }

    .nav-container {
        gap: 10px;
    }

    .logo-group img {
        height: 32px;
    }

    .logo-text {
        font-size: 12px;
    }

    .cta-btn {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero {
        height: auto;
        min-height: 70vh;
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-btns .cta-btn,
    .hero-btns .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Prevent floating buttons from overlapping bottom UI too much on small screens */
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .logo-text {
        display: none;
    }
}