/* --- CSS Variables & Resets --- */
:root {
    --bg-main: #ffffff;
    --bg-alt: #f0f7ff; /* Light fresh coastal blue tint */
    --bg-card: #ffffff;
    --text-primary: #1e293b; /* Deep slate blue-gray, soft and premium */
    --text-secondary: #64748b;
    --primary-orange: #ff7700;
    --primary-orange-hover: #e06900;
    --primary-blue: #0284c7; /* Ocean blue matching logo */
    --border-color: #e2e8f0;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 20px rgba(2, 132, 199, 0.06);
    --shadow-md: 0 12px 30px rgba(2, 132, 199, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.text-orange {
    color: var(--primary-orange);
}

.text-blue {
    color: var(--primary-blue);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

.text-center {
    text-align: center;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.max-w-700 {
    max-width: 700px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 119, 0, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 119, 0, 0.35);
}

.btn-outline {
    background-color: #ffffff;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background-color: var(--primary-orange);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 38px;
    font-size: 16px;
}

/* --- Typography --- */
.section-subtitle {
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
    color: var(--text-primary);
}

.section-header {
    margin-bottom: 50px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 3px;
    border-radius: 2px;
    background-color: var(--primary-orange);
    transition: var(--transition);
}

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    padding-top: 130px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f7ff 50%, #fff7ed 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(224, 242, 254, 0.95) 0%, rgba(240, 247, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-content .subtitle {
    font-size: 16px;
    color: var(--primary-blue);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(2, 132, 199, 0.08);
    border-radius: 30px;
}

.hero-content .title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-content .description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.7;
}

.feature-list li {
    margin-bottom: 14px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.about-image {
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background: #f8fafc;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.slide {
    min-width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Căn vừa toàn bộ hình ảnh, không bị cắt nội dung */
    border-radius: 12px;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-orange);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-orange);
    width: 24px;
    border-radius: 10px;
}

/* --- Spaces Section --- */
.spaces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.space-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.space-card-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
}

.space-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ảnh tràn kín toàn bộ viền khối card */
    border-radius: 0;
    transition: transform 0.5s ease;
}

.space-card:hover .space-card-img img {
    transform: scale(1.08);
}

.space-card-body {
    padding: 30px 24px;
    flex-grow: 1;
}

.space-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-orange);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: #fff7ed;
    color: var(--primary-orange);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: var(--transition);
}

.space-card:hover .icon-wrapper {
    background: var(--primary-orange);
    color: #ffffff;
    transform: scale(1.08);
}

.space-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.space-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* --- Features Section --- */
.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: #ffffff;
    padding: 36px;
    border-radius: 16px;
    border: 1fr solid var(--border-color);
    border-left: 5px solid var(--primary-orange);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* --- Menu Section --- */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.menu-image {
    width: 100%;
    padding: 20px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.menu-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain; /* Căn vừa kích thước, không bị cắt */
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.menu-card:hover .menu-image img {
    transform: scale(1.02);
}

.menu-info {
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.menu-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: 240px;
    gap: 20px;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

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

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

/* --- Footer --- */
.cta-section {
    background: linear-gradient(135deg, #ff7700 0%, #ff9500 100%);
    padding: 70px 0;
    color: #ffffff;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.cta-section h2 {
    font-size: 34px;
    margin-bottom: 14px;
    color: #ffffff;
    font-weight: 800;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
}

.cta-section .btn-primary {
    background-color: #ffffff;
    color: var(--primary-orange);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
    background-color: #f8fafc;
    transform: translateY(-3px);
}

.footer-content {
    background-color: #f8fafc;
    padding: 70px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand img {
    max-width: 240px;
}

.brand-desc {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.footer-contact h3, .footer-links h3 {
    font-size: 18px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.footer-contact h3::after, .footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

.footer-contact ul li {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 15px;
    align-items: flex-start;
}

.footer-contact ul li i {
    margin-top: 4px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero { min-height: auto; padding-top: 120px; }
    .hero-bg { position: relative; width: 100%; height: 350px; clip-path: none; margin-top: 30px; }
    .hero-content { max-width: 100%; }
    .overlay { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .spaces-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn { display: none; }
    .hero-content .title { font-size: 36px; }
    .hero-actions { flex-direction: column; }
    .spaces-grid, .features-list, .menu-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}
