/* Removed UTM Bauhaus and BAUHAUSM as requested; using Be Vietnam Pro */

:root {
    --primary-color: #f15836;
    /* New Orange */
    --secondary-color: #f15836;
    /* Unified Orange */
    --accent-color: #FFFAF0;
    /* Light Background */
    --bg-color: #FFFAF0;
    /* New Light Background */
    --text-color: #333333;
    /* Dark Text */
    --card-bg: #fafafa;
    /* Soft White */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-family: 'Be Vietnam Pro', 'Arial', sans-serif;
    /* Content font */
}

h1,
h2,
h3,
.logo,
.nav-link,
.price {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    /* Bold headings */
}

/* Specific Bold Titles */
.hero-text h1,
.category-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
}


/* Header */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 60px;
    /* Adjust height to fit header */
    width: auto;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 1.5rem;
    /* Increased spacing */
}

.nav-link {
    text-decoration: none;
    font-size: 1.1rem;
    /* Slightly larger */
    font-weight: 600;
    color: var(--accent-color);
    /* Updated to Cream #fbf9d8 */
    padding: 0.5rem 0;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--card-bg);
    /* Soft white on hover */
    filter: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Sections */
section {
    padding: 2rem 0;
    scroll-margin-top: 80px;
    /* Offset for sticky header */
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    padding-top: 2rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero-image-placeholder {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    /* Important for Swiper border-radius */
}

.swiper {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.7);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .hero-text {
        flex: 1;
    }

    .hero-image-placeholder {
        flex: 1.5;
    }
}

/* Story Section */
.story-section {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    border-left: 5px solid var(--primary-color);
}

.story-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-section h2,
.location-section h2,
.gallery-section h2,
.main-menu-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Gallery Section */
.gallery-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    /* Zoom effect on hover */
}

/* Location Section */
.location-section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Partners Section */
.partners-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.partners-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    height: 160px;
    padding: 20px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.partner-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .partners-logos {
        gap: 1.5rem;
    }

    .partner-logo {
        height: 120px;
        padding: 10px 30px;
        border-radius: 15px;
    }
}

/* Menu Section */
.menu-section {
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.main-menu-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.menu-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    border-bottom: none;
}

.english-name {
    font-size: 0.9rem;
    color: #666;
    margin-top: -0.3rem;
    margin-bottom: 0.8rem;
    font-weight: normal;
    font-style: italic;
}

.topping-eng {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 !important;
    font-size: 0.8rem !important;
}

/* Toggle Styles - Removed explicitly because menus are always visible now */
.hidden {
    display: none !important;
}

.category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    /* Orange title */
    margin-bottom: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    border-bottom: none;
}

.category-title i {
    color: var(--primary-color);
    margin-right: 0.3rem;
    vertical-align: middle;
    position: relative;
    top: -2px;
}



/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Slightly wider for price row */
    gap: 2rem;
}

.menu-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-info {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-info h3 {
    margin-bottom: 0.5rem;
    color: #444;
}

.price-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Reduced gap for closer grouping */
    margin: 1rem 0;
}

.price-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.size-name {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.price-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Topping Section */
.topping-category .category-title {
    display: block;
    width: 100%;
}

.topping-box {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    color: white;
}

.topping-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    padding: 0 2rem;
}

.vertical-divider {
    border-left: 2px dashed rgba(255, 255, 255, 0.5);
}

.topping-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.2rem;
}

.topping-item h4 {
    font-weight: normal;
    font-size: 1.1rem;
    margin: 0;
}

.topping-item span {
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .topping-box {
        flex-direction: column;
        gap: 2rem;
    }

    .vertical-divider {
        border-left: none;
        border-top: 2px dashed rgba(255, 255, 255, 0.5);
        padding-top: 2rem;
    }
}

.order-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    /* White background for logos */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 8px;
    /* Padding for the image */
}

.social-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
}

.fab i {
    font-size: 1.5rem;
}

/* Nudge the phone volume icon because its visual center is off from its bounding box */
.call-btn i {
    position: absolute;
    top: 27%;
    left: 22%;
}

.fab:hover {
    transform: scale(1.1);
}

.call-btn {
    background-color: #28a745;
    /* Modern Green */
}

.fb-btn,
.zalo-btn {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}

.fb-btn img,
.zalo-btn img {
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.fb-btn:hover img,
.zalo-btn:hover img {
    transform: scale(1.1);
}

.up-btn {
    background-color: var(--primary-color);
    opacity: 0;
    pointer-events: none;
}

.up-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Base mobile tweaks */
@media (max-width: 768px) {

    /* Ensure 2 items per row strictly on mobile */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }

    .card-info {
        padding: 0.8rem;
    }

    .card-info h3 {
        font-size: 1.1rem;
    }

    .english-name {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .card-image img {
        height: 140px;
        /* Reduced to fit mobile columns */
    }

    .price-options {
        flex-direction: row;
        gap: 0.5rem;
        margin: 0.5rem 0;
        justify-content: center;
        flex-wrap: wrap;
    }

    .price-value {
        font-size: 1.1rem;
    }

    .size-name {
        font-size: 0.85rem;
    }

    .social-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
    }

    .order-links {
        gap: 0.5rem;
    }

    /* Resize floating buttons on mobile */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .fab {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #888;
    margin-top: 3rem;
    border-top: 1px solid #eee;
}