/* ================= VARIABLES & SETUP ================= */
:root {
    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Colors - Sea */
    --sea-50: #f0f9ff;
    --sea-100: #e0f2fe;
    --sea-300: #7dd3fc;
    --sea-400: #38bdf8;
    --sea-500: #0ea5e9;
    --sea-600: #0284c7;
    --sea-700: #0369a1;
    --sea-800: #075985;
    --sea-900: #0c4a6e;

    /* Colors - Slate */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--slate-50);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ================= REUSABLE UTILITIES ================= */
.container {
    max-width: 1280px; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 6rem 0; } /* py-24 */
.bg-white { background-color: #ffffff; }
.bg-light { background-color: var(--sea-50); }
.relative-box { position: relative; overflow: hidden; }
.relative-z { position: relative; z-index: 10; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--sea-600);
    color: #fff;
    padding: 0.625rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover {
    background-color: var(--sea-800);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
}
.shadow-glow { box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.5); }
.shadow-glow:hover { box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.6); }

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}
.btn-outline:hover { background-color: rgba(255, 255, 255, 0.2); }

.btn-outline-primary {
    border: 2px solid var(--sea-600);
    color: var(--sea-600);
    padding: 0.75rem 2rem;
}
.btn-outline-primary:hover {
    background-color: var(--sea-600);
    color: #fff;
}

/* Typography */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-tag {
    color: var(--sea-600);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}
.section-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.text-left { text-align: left; margin-bottom: 1.5rem; }

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;  /* FIX: Giữ menu dính chặt mép trên */
    left: 0; /* FIX: Giữ menu dính chặt mép trái */
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.icon-sea { font-size: 1.875rem; color: var(--sea-600); }
.logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--sea-900);
    letter-spacing: -0.025em;
}

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link {
    color: var(--slate-600);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-link:hover { color: var(--sea-600); }

.mobile-menu-btn { display: flex; align-items: center; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }
.mobile-menu-btn button {
    background: none;
    border: none;
    color: var(--slate-600);
    font-size: 1.875rem;
    cursor: pointer;
}
.mobile-menu-btn button:hover { color: var(--sea-600); }

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    max-width: 56rem;
    margin: 4rem auto 0;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-title span { color: var(--sea-400); }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 42rem;
    margin-inline: auto;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* ================= SERVICES SECTION ================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
    background-color: var(--slate-50);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    border: 1px solid var(--slate-100);
    transition: all 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    transform: translateY(-0.5rem);
}
.service-img-wrapper {
    height: 12rem;
    position: relative;
    overflow: hidden;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}
.service-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 0.5rem;
    border-radius: 9999px;
    color: var(--sea-600);
    font-size: 1.25rem;
    display: flex;
}
.service-info { padding: 1.5rem; }
.service-info h3 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}
.service-info p {
    color: var(--slate-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.service-link {
    color: var(--sea-600);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.service-card:hover .service-link { color: var(--sea-800); }

/* ================= FOOD SECTION ================= */
.food-wrapper { 
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .food-wrapper { flex-direction: row; }
    .food-text { width: 33.333%; }
    .food-grid { width: 66.666%; }
}
.food-desc {
    color: var(--slate-600);
    margin-bottom: 2rem;
}
.food-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; 
    width: 100%;
}
@media (min-width: 640px) { .food-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .food-grid { grid-template-columns: repeat(3, 1fr); } }

.food-card {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
@media (min-width: 768px) {
    .offset-card { transform: translateY(-1.5rem); }
}
.food-img {
    height: 14rem;
    overflow: hidden;
}
.food-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.food-card:hover .food-img img { transform: scale(1.05); } 
.food-info { padding: 1.25rem; }
.food-info h4 {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--slate-900);
}
.food-info p {
    color: var(--sea-600);
    font-weight: 500;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ================= CONTACT SECTION ================= */
.decor-blob {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(48px);
}
.blob-tr { top: 0; right: 0; margin: -5rem -5rem 0 0; background-color: var(--sea-50); }
.blob-bl { bottom: 0; left: 0; margin: 0 0 -5rem -5rem; background-color: var(--sea-100); }

.contact-box {
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--slate-100);
}
@media (min-width: 1024px) { .contact-box { flex-direction: row; } }

.contact-info-panel {
    background-color: var(--sea-900);
    color: #fff;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 1024px) { .contact-info-panel { width: 40%; } }

.contact-bg-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.contact-info-panel h3 {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.contact-info-panel .subtitle {
    color: var(--sea-100);
    font-weight: 300;
    margin-bottom: 2.5rem;
}
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.icon-circle {
    background-color: rgba(7, 89, 133, 0.5); /* sea-800/50 */
    padding: 0.75rem;
    border-radius: 9999px;
    color: var(--sea-300);
    font-size: 1.5rem;
    display: flex;
}
.contact-list strong { display: block; font-size: 1.125rem; margin-bottom: 0.25rem; }
.contact-list span { color: var(--sea-100); font-weight: 300; }

.social-links { display: flex; gap: 1rem; margin-top: 3rem; }
.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-size: 1.25rem;
}
.social-links a:hover { background-color: var(--sea-400); }

.contact-form-panel { padding: 3rem; }
@media (min-width: 1024px) { .contact-form-panel { width: 60%; } }
.contact-form-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}
form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
    background-color: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--sea-600);
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2); /* ring-sea-600 */
}
.form-group textarea { resize: none; }
.btn-submit {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
}

/* ================= FOOTER ================= */
.footer {
    background-color: var(--slate-900);
    color: var(--slate-400);
    padding: 3rem 0;
    border-top: 1px solid var(--slate-800);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .footer-inner { flex-direction: row; justify-content: space-between; }
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo i { color: var(--sea-500); font-size: 1.875rem; }
.footer-logo span { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: #fff; }
.copyright { font-size: 0.875rem; text-align: center; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; font-weight: 500; color: var(--slate-300); }
.footer-links a:hover { color: #fff; }

/* ================= MOBILE MENU ================= */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4); 
    backdrop-filter: blur(8px); 
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.menu-drawer {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}
.menu-drawer.active { right: 0; }
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid var(--slate-100);
}
.menu-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--sea-900);
}
.menu-close-btn {
    background: none;
    border: none;
    color: var(--slate-600);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, transform 0.3s;
}
.menu-close-btn:hover { color: var(--sea-600); transform: rotate(90deg); }
.menu-list {
    list-style: none;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem; 
    flex-grow: 1;
    overflow-y: auto;
}
.menu-list .menu-link {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-700);
    display: block;
    transition: color 0.3s, transform 0.3s;
}
.menu-list .menu-link:hover { color: var(--sea-600); transform: translateX(5px); }
.menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--slate-100);
    background-color: var(--slate-50);
}
.menu-cta { width: 100%; text-align: center; padding: 1rem; font-size: 1.125rem; }

/* ================= THÊM CHO CÁC TRANG PHỤ (SUBPAGES) ================= */

/* Page Banners */
.page-banner {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem; /* FIX: Dùng padding-top thay vì margin để ảnh trượt lên bù cho navbar */
}
.page-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(2,132,199,0.6) 100%);
    z-index: -1;
}
.page-banner h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.page-banner p { color: var(--sea-100); font-size: 1.125rem; }
@media (min-width: 768px) { .page-banner h1 { font-size: 3.5rem; } }

/* Service Detailed Cards */
.service-detail-card {
    display: flex;
    flex-direction: column;
    background: var(--slate-50);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--slate-100);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-detail-card:hover { box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
.service-detail-img { height: 16rem; width: 100%; object-fit: cover; }
.service-detail-content { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.service-price { background: var(--sea-100); color: var(--sea-700); font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; }
.service-features { list-style: none; margin: 1.5rem 0; color: var(--slate-500); font-size: 0.875rem; }
.service-features li { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.service-features i { color: var(--sea-500); }

/* Booking Form */
.booking-section { background-color: var(--slate-50); padding: 5rem 0; }
.booking-wrapper {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    max-width: 56rem;
    margin: -6rem auto 0;
    position: relative;
    z-index: 10;
}
@media (min-width: 768px) { .booking-wrapper { padding: 3rem; } }
.booking-group-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--sea-800);
    border-bottom: 1px solid var(--slate-100);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.booking-form .form-grid { margin-bottom: 2rem; }

/* Map Box */
.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--slate-200);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}