/* style.css - AuraSports */
:root {
    --bg-dark: #ffffff; /* nền trang */
    --army-green: #3d5942;
    --army-green-dark: #2f4633;
    --bg-card: #ffffff;
    --primary-color: #a3e635; /* Lime */
    --secondary-color: #d9f99d; /* Pale Lime */
    --accent-text: var(--army-green); /* màu nhấn cho chữ/icon trên nền trắng */
    --text-main: #1f2d24;
    --text-muted: #5b6b60;
    --font-main: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
    --transition: all 0.3s ease;
    --glass-border: rgba(61, 89, 66, 0.15);
    --glass-shadow: 0 8px 30px rgba(31, 45, 36, 0.12);
}

/* Khối nền xanh: giữ chữ sáng */
.navbar,
.hero,
footer {
    --text-main: #f8fafc;
    --text-muted: #a9bcae;
    --accent-text: var(--primary-color);
    --glass-border: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.highlight {
    color: var(--accent-text);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(163, 230, 53,0.4);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--army-green);
    color: var(--army-green);
}

.btn-outline:hover {
    background: var(--army-green);
    color: #fff;
}

.hero .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero .btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    background: var(--army-green);
}

.navbar .nav-container {
    padding-top: 20px;
    padding-bottom: 20px;
    transition: var(--transition);
}

.topbar {
    background: var(--army-green-dark);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
    max-height: 44px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.topbar-phones {
    display: flex;
    gap: 24px;
}

.topbar-item {
    color: #d5e0d7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-item i {
    color: var(--primary-color);
    margin-right: 6px;
}

.topbar-item:hover {
    color: var(--text-main);
}

.navbar.scrolled .topbar {
    max-height: 0;
    opacity: 0;
    border-bottom: 0;
}

.navbar.scrolled {
    background: var(--army-green);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled .nav-container {
    padding-top: 15px;
    padding-bottom: 15px;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.logo img {
    transition: height 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 60px;
}

footer .logo img {
    height: 120px;
}

@media (max-width: 768px) {
    .logo img {
        height: 56px;
    }

    .navbar.scrolled .logo img {
        height: 48px;
    }

    footer .logo img {
        height: 90px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    position: relative;
}

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

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/nen-san-dem.jpg') center/cover no-repeat fixed;
    padding: 180px 0 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(20, 35, 26, 0.45) 0%, rgba(20, 35, 26, 0.1) 35%, rgba(20, 35, 26, 0.1) 70%, rgba(20, 35, 26, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    text-align: center;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    max-height: calc(100vh - 270px);
    min-height: 360px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: var(--army-green-dark);
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

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

.hero-slider .slide.active img {
    animation: slideZoom 6s ease-out forwards;
}

@keyframes slideZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

.hero-slider figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 20px 18px;
    background: linear-gradient(to top, rgba(26, 39, 31, 0.85), transparent);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(36, 53, 42, 0.6);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

.slider-dots {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

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

.slider-dots button.active {
    width: 26px;
    border-radius: 5px;
    background: var(--primary-color);
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #000;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

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

.stat-box h3 {
    font-size: 3rem;
    margin-bottom: 5px;
}

.stat-box p {
    font-weight: 600;
    font-size: 1.1rem;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.features-list i {
    color: var(--accent-text);
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--glass-shadow);
}

.experience-badge .year {
    display: block;
    color: var(--accent-text);
    font-size: 1.2rem;
    font-weight: 800;
}

.experience-badge .text {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

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

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(163, 230, 53,0.1);
    border-color: rgba(163, 230, 53,0.3);
}

.service-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff3366;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.4);
}

.service-tag.new {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 4px 10px rgba(217, 249, 157, 0.4);
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.service-price span {
    color: var(--accent-text);
    font-size: 1.8rem;
    font-weight: 800;
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
    position: relative;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(163, 230, 53,0.1);
    border: 1px solid rgba(163, 230, 53,0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-text);
    font-size: 1.2rem;
}

.method h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.method p {
    margin-bottom: 0;
    color: var(--text-main);
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px;
}

.method a {
    color: var(--accent-text);
    font-weight: 600;
}

.method a:hover {
    text-decoration: underline;
}

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

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

.footer-col p {
    color: var(--text-muted);
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Zalo / Facebook */
[hidden] {
    display: none !important;
}

.zalo-icon {
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: -0.3px;
    line-height: 1;
}

.icon-box .zalo-icon {
    font-size: 0.8rem;
}

.float-contact {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
}

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

.float-btn.facebook { background: #1877f2; }
.float-btn.zalo { background: #0068ff; }
.float-btn.zalo .zalo-icon { font-size: 0.85rem; }

@media (max-width: 768px) {
    .float-contact {
        right: 12px;
        bottom: 16px;
        gap: 10px;
    }

    .float-btn {
        width: 44px;
        height: 44px;
    }
}

/* Location: Map + QR */
.location {
    padding: 80px 0;
}

.location .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.location-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.map-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    min-height: 380px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    display: block;
}

.qr-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.qr-code {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    line-height: 0;
}

.qr-card h4 {
    font-size: 1.2rem;
}

.qr-card p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .contact-wrapper {
        flex-direction: column;
    }

    .location-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
    

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--army-green);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px 20px;
        clip-path: circle(0% at 100% 0%);
        transition: all 0.5s ease-out;
    }
    
    .nav-links.active {
        clip-path: circle(150% at 100% 0%);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 150px 0 40px;
        background-attachment: scroll;
    }

    .topbar {
        font-size: 0.78rem;
    }

    .topbar-container > .topbar-item {
        display: none;
    }

    .topbar-phones {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .hero-slider {
        aspect-ratio: 5 / 4;
        max-height: none;
        min-height: 0;
        border-radius: 14px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
