﻿@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');

:root {
    --primary-color: #ec4899; /* Hồng đậm */
    --primary-light: #fce7f3; /* Hồng phấn */
    --secondary-color: #3b82f6; /* Xanh dương */
    --text-dark: #374151;
    --text-light: #6b7280;
    --bg-soft: #fff1f2;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    background-color: #fdfbfb;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(236, 72, 153, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s;
}

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff1f2 0%, #e0f2fe 100%);
    border-radius: 0 0 50px 50px;
    margin-bottom: 50px;
}

/* Cards */
.feature-card {
    border: none;
    border-radius: 20px;
    padding: 30px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(236, 72, 153, 0.15);
    }

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    transition: all 0.3s;
}

    .btn-primary-custom:hover {
        background-color: #db2777;
        transform: translateY(-2px);
        color: white;
    }

/* Footer */
footer {
    background-color: white;
    margin-top: 80px;
    border-top: 1px solid #eee;
    padding: 40px 0;
}
/* --- FOOTER STYLES --- */
.footer-section {
    background-color: white;
    padding-top: 60px;
    padding-bottom: 30px;
    border-top: 5px solid var(--primary-light); /* Viền hồng phấn phía trên */
    margin-top: auto; /* Đẩy footer xuống đáy nếu nội dung ngắn */
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: 0.3s;
}

    .footer-links a:hover {
        color: var(--primary-color);
        padding-left: 5px; /* Hiệu ứng đẩy nhẹ sang phải */
    }

/* Social Buttons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

    /* Màu thương hiệu khi Hover */
    .social-btn.facebook:hover {
        background-color: #1877F2;
        color: white;
        transform: translateY(-3px);
    }

    .social-btn.zalo:hover {
        background-color: #0068FF;
        color: white;
        transform: translateY(-3px);
    }

    .social-btn.youtube:hover {
        background-color: #FF0000;
        color: white;
        transform: translateY(-3px);
    }

    .social-btn.twitter:hover {
        background-color: #000000;
        color: white;
        transform: translateY(-3px);
    }

    .social-btn.tiktok:hover {
        background-color: #000000;
        color: white;
        transform: translateY(-3px);
    }

/* Copyright bar */
.copyright-area {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--text-light);
}
/* Nút Đăng ký (Outline style) */
.btn-outline-custom {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
}

    .btn-outline-custom:hover {
        background-color: var(--primary-color);
        color: white;
    }

/* Hiệu ứng menu dropdown hiện ra mượt mà */
.animate-menu {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- APP DOWNLOAD SECTION --- */
.app-download-box {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
}

.qr-code-box {
    width: 80px;
    height: 80px;
    background: white;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

    .qr-code-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-btn img {
    height: 35px; /* Chiều cao chuẩn cho nút store */
    width: auto;
    transition: transform 0.3s;
}

.store-btn:hover img {
    transform: scale(1.05); /* Hiệu ứng phóng to khi rê chuột */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 5px;
}
/* Custom Nav Pills cho trang chủ */
.nav-pills .nav-link {
    color: #666;
    background-color: #f8f9fa;
    margin-right: 5px;
    border: 1px solid #eee;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color) !important; /* Màu hồng */
    color: white !important;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: #fce7f3; /* Hồng nhạt khi rê chuột */
    color: var(--primary-color);
}
/* Hiệu ứng nổi lên khi rê chuột */
.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-up:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

/* Tùy chỉnh input trong widget */
.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
/* Màu thương hiệu RSS (Cam) */
.social-btn.rss:hover {
    background-color: #ee802f; /* Màu cam chuẩn RSS */
    color: white;
    transform: translateY(-3px);
}
/* --- MOBILE BOTTOM NAV --- */
/* Mặc định ẩn trên PC, đã dùng class d-md-none của Bootstrap */

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 65px;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom); /* Cho iPhone tai thỏ */
}

    .mobile-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #9ca3af;
        font-size: 0.75rem;
        font-weight: 600;
        width: 20%; /* Chia đều 5 nút */
    }

        .mobile-nav .nav-item i {
            font-size: 1.2rem;
            margin-bottom: 4px;
        }

        .mobile-nav .nav-item.active {
            color: var(--primary-color);
        }

/* Nút tròn nổi ở giữa (FAB) */
.fab-button {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translateY(-15px); /* Đẩy lên trên */
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.4);
    border: 4px solid white;
}

/* Đẩy nội dung chính lên để không bị che bởi menu dưới */
body {
    padding-bottom: 70px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
    /* PC không cần padding dưới */
}
/* Ngăn iOS zoom khi focus vào input */
@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important; /* Kích thước tối thiểu để không bị zoom */
    }
}