@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Màu chủ đạo theo Logo (bạn có thể thay đổi mã màu HEX ở đây nếu logo có màu khác) */
    --primary: #FFB800; /* Vàng Gold - điểm nhấn trên nền đen */
    --primary-light: #FFD54F;
    --secondary: #111827;
    --bg-dark: #000000; /* Nền đen tuyền */
    --text-light: #F3F4F6;
    --text-muted: #9CA3AF;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.navbar .logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #4F46E5, #818CF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(79, 70, 229, 0.4);
}

/* Sections */
.section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Glass Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    transition: 0.4s ease;
    cursor: pointer;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.glass-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.glass-card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #0b1120;
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p, .footer-col ul li a {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Detail Pages */
.page-header {
    padding: 150px 5% 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(15,23,42,1), rgba(15,23,42,0.8));
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.detail-content img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* Full Width Gallery */
.full-width-gallery {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background: #000;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.gallery-item {
    flex: 1 1 20%; /* Mặc định 5 ảnh trên 1 dòng */
    min-width: 250px; /* Khi màn hình nhỏ sẽ tự xuống dòng */
    height: 350px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.6);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Section Backgrounds */
.bg-dark-1 { background-color: #000000; }
.bg-dark-2 { background-color: #0a0a0a; }
.bg-dark-3 { background-color: #111111; }
.bg-dark-4 { background-color: #1a1a1a; }

/* Animate on Scroll Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* About 50/50 Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.1);
}

/* Partner Logos */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    padding: 40px 0;
}

.partner-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #444; /* Dim text for placeholder logos */
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.partner-logo:hover {
    color: var(--primary);
}

/* --- RESPONSIVE DESIGN FOR MOBILE --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 3px;
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 50%;
        background-color: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Để các item bắt đầu từ trên xuống */
        padding-top: 100px; /* Cách đỉnh một khoảng cho đỡ bị lẹm vào navbar */
        gap: 15px; /* Giảm gap so với desktop */
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: inline-block;
        padding: 10px 20px;
        font-size: 1.3rem;
    }

    /* Menu Toggle Animations */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section Mobile */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }

    /* Section Padding Mobile */
    .section {
        padding: 60px 5%;
    }

    /* Gallery Mobile */
    .gallery-item {
        flex: 1 1 50%;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 1 1 100%;
        height: 250px;
    }
}

/* --- CONTACT FORM --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.2);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FLOATING BUTTONS --- */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
}

.zalo-btn {
    background-color: #0068FF;
}

.zalo-btn img {
    width: 30px;
    height: 30px;
}

.phone-btn {
    background-color: #00C853; /* Màu xanh lá nổi bật cho nút gọi */
    color: white;
}

.phone-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    z-index: 2;
}

.ripple-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00C853;
    border-radius: 50%;
    z-index: 1;
    animation: ripple 1.5s infinite ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
