/**
 * =====================================================================
 * VIDO THEME - MAIN CSS
 * =====================================================================
 * 
 * File CSS chính cho theme Vido
 * Stylesheet này sử dụng Bootstrap 5 làm nền tảng
 * 
 * @package Vido
 * @author Vido Center
 * @link https://vidocenter.com/
 * =====================================================================
 */

/* =====================================================================
   GLOBAL STYLES - PHONG CÁCH TOÀN CỤC
   ===================================================================== */

body {
    overflow-x: hidden;
}

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

/* =====================================================================
   HEADER STYLES - PHONG CÁCH HEADER
   ===================================================================== */

#header {
    background-image: url('https://parisnailsucf.com/wp-content/uploads/2021/11/bg-body.jpeg');
    background-position: top center;
    background-repeat: repeat-x;
    background-size: auto;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.14);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-main {
    padding: 0;
    background: transparent;
    height: 105px; /* Chiều cao cố định */
    display: flex;
    align-items: center;
    border-bottom: 2px solid #ccc; /* Viền dưới header */
}

#logo {
    font-size: 28px; /* Font size logo nhỏ hơn */
    font-weight: 700;
    color: #ffffff; /* Màu trắng cho logo */
    font-family: var(--heading-font);
    text-transform: uppercase; /* In hoa logo */
    margin: 0 auto; /* Căn giữa logo */
}

@media (min-width: 992px) {
    #logo {
        margin: 0; /* Bỏ margin auto trên desktop để logo về bên trái */
    }
}

#logo a {
    color: #ffffff; /* Màu trắng cho logo link */
    text-decoration: none;
}

/* Navigation Menu - Menu điều hướng */
.navbar {
    padding: 0;
    width: 100%; /* Full width navbar */
}

.navbar .container {
    max-width: 1170px; /* Container chuẩn */
}

.navbar-nav {
    align-items: center;
    margin-left: 50px; /* Khoảng cách giữa logo và menu */
}

.navbar-nav .nav-link {
    font-family: 'Vollkorn', serif;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff; /* Màu trắng cho menu */
    padding: 15px 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Header Bottom - Thanh menu dưới */
.header-bottom {
    background-color: #0a0909;
    padding: 10px 0;
    display: none; /* Ẩn header bottom */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Box shadow nhẹ */
}

.header-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.header-bottom-content .quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.header-bottom-content .quick-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.header-bottom-content .quick-link img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.header-bottom-content .quick-link p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    background: var(--primary-color);
    border-radius: 5px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Search Bar - Thanh search ngang trong menu */
.mobile-search-bar {
    padding: 15px 0;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-search-bar .search-bar-inner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.mobile-search-bar input[type="search"] {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
}

.mobile-search-bar input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-search-bar input[type="search"]:focus {
    outline: none;
}

.mobile-search-bar .search-submit {
    padding: 10px 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-search-bar .search-submit:hover {
    color: var(--secondary-color);
}

/* Close button cho mobile menu */
.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    color: var(--secondary-color);
}

/* =====================================================================
   SLIDER STYLES - PHONG CÁCH SLIDER
   ===================================================================== */

.main-slider {
    position: relative;
    width: 100%;
}

.swiper-slide {
    position: relative;
    height: 850px; /* Tăng chiều cao slider */
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .swiper-slide {
        height: 500px;
    }
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Căn giữa slider content */
    z-index: 10;
    max-width: 1170px; /* Container width */
    width: 100%;
    padding: 40px 15px; /* Padding tương tự container */
    background: transparent; /* Trong suốt slider content */
    border-radius: 10px;
    text-align: left; /* Canh trái text */
}

.slider-content h3 {
    color: #fff; /* Màu trắng vì background trong suốt */
    text-transform: uppercase;
    font-size: 28px; /* Tăng font size */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow để dễ đọc */
}

.slider-content h2 {
    font-family: var(--alt-font);
    font-size: 64px; /* Tăng font size */
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-content p {
    font-size: 20px; /* Tăng font size */
    margin-bottom: 30px;
    color: #fff; /* Màu trắng vì background trong suốt */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-content .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

/* Swiper Navigation - Nút điều hướng slider */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    opacity: 0; /* Ẩn mặc định */
    transition: opacity 0.3s ease;
}

/* Hiện navigation khi hover vào slider */
.main-slider:hover .swiper-button-next,
.main-slider:hover .swiper-button-prev {
    opacity: 1; /* Hiện khi hover */
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* =====================================================================
   SECTIONS - CÁC PHẦN NỘI DUNG
   ===================================================================== */

.section {
    padding: 60px 0px 0px 0; /* Padding top 60px, no padding bottom */
}

.section-title {
    text-align: center;
    margin-bottom: 20px; /* Giảm margin-bottom từ 30px xuống 20px */
}

.section-title h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 216px;
    height: 12px;
    background: url('https://parisnailsucf.com/wp-content/uploads/2021/11/titleX.png') center no-repeat;
    margin: 10px auto 0;
}

.section-title p {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px; /* Giảm khoảng cách phía dưới "Beauty at the tips..." */
}

/* About Section - Phần giới thiệu */
.about-section {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.about-section p {
    text-align: justify;
    line-height: 1.6;
}

/* Services Section - Phần dịch vụ */
.services-section {
    background: rgba(0, 0, 0, 0.7);
}

.service-item {
    text-align: center;
    margin-bottom: 30px;
}

.service-item img {
    border-radius: 10px;
    transition: transform 0.3s ease;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.service-item:hover img {
    transform: scale(1.05);
}

.service-item h3 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 22px;
}

.service-item p {
    color: #fff;
    text-align: justify;
    font-size: 15px;
    line-height: 1.6;
}

/* Section cuối cùng có margin-bottom */
.section:last-of-type {
    padding-bottom: 60px; /* Khoảng cách phía dưới section cuối cùng */
}

/* =====================================================================
   GALLERY PAGE STYLES - PHONG CÁCH TRANG GALLERY
   ===================================================================== */

/* Gallery Title */
.content-area h2 {
    text-align: center;
    margin-bottom: 40px;
}

.content-area h2 span {
    font-family: var(--heading-font);
    display: inline-block;
}

/* Gallery Grid Container */
.row-grid {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px; /* Gap đều 12px */
    grid-auto-rows: 290px; /* Tất cả rows đều 290px */
}

/* Gallery Items */
.gallery-col {
    overflow: hidden;
    position: relative;
}

.gallery-col .col-inner {
    height: 100%;
    width: 100%;
}

/* Gallery Grid Layout - 1 ảnh lớn + 2 ảnh nhỏ bên phải */
.gallery-col.large-9 {
    grid-column: span 3;
    grid-row: span 2;
    height: auto; /* Let grid control height */
}

.gallery-col.large-3 {
    grid-column: span 1;
    grid-row: span 1;
    height: auto;
}

/* Tất cả ảnh nhỏ còn lại đều size như nhau */
.gallery-col.grid-col-1-3 {
    grid-column: span 1;
    grid-row: span 1;
    height: auto;
}

/* Remove padding from all gallery columns */
.gallery-col.grid-col-1-3,
.gallery-col.large-9,
.gallery-col.large-3 {
    padding: 0px;
}

/* Gallery Box */
.gallery-box {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gallery-box:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Gallery Images */
.gallery-box .box-image {
    height: 100%;
    overflow: hidden;
}

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

.gallery-box:hover img {
    transform: scale(1.1);
}

/* Gallery Overlay */
.gallery-box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.gallery-box:hover .overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Lightbox Icon on Hover */
.image-lightbox {
    display: block;
    position: relative;
}

.image-lightbox::after {
    content: '\f002'; /* Font Awesome search icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.image-lightbox:hover::after {
    opacity: 1;
}

/* Gallery Section Background */
#section_1312806246 {
    background-attachment: fixed;
}

/* =====================================================================
   LIGHTBOX MODAL - POPUP XEM ẢNH
   ===================================================================== */

.gallery-lightbox-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Mờ hơn để thấy background */
    overflow: hidden;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: calc(100% - 120px); /* Trừ đi phần thumbnail */
    display: flex;
    align-items: center; /* Canh giữa theo chiều dọc */
    justify-content: center; /* Canh giữa theo chiều ngang */
    flex-direction: column;
}

#lightboxImage {
    max-width: 85%;
    max-height: calc(100vh - 200px); /* Chiều cao vừa với màn hình, trừ thumbnails */
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

/* Thumbnail Gallery dưới lightbox */
.lightbox-thumbnails {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 50px;
    gap: 10px;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.lightbox-thumbnail {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.lightbox-thumbnail:hover {
    opacity: 1;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.lightbox-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 100000;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Navigation Buttons */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 40px;
    padding: 20px 25px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 100000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-color);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Image Counter */
.lightbox-caption {
    text-align: center;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
    min-width: 100px;
}

/* Lightbox Responsive */
@media (max-width: 768px) {
    #lightboxImage {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px 20px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-caption {
        font-size: 16px;
        padding: 10px 15px;
    }
}

/* Responsive Gallery */
@media (max-width: 850px) {
    .row-grid {
        padding: 0 10px;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    
    .gallery-col.large-9 {
        grid-column: span 2;
        grid-row: span 1;
        height: auto;
    }
    
    .gallery-col.large-3,
    .gallery-col.grid-col-1-3 {
        grid-column: span 1;
        grid-row: span 1;
        height: auto;
    }
    
    .image-lightbox::after {
        font-size: 30px;
    }
    
    .lightbox-thumbnails {
        padding: 10px 20px;
    }
    
    .lightbox-thumbnail {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 550px) {
    .row-grid {
        gap: 10px;
        grid-template-columns: 1fr;
        grid-auto-rows: auto; /* Let each item control its height */
    }
    
    .gallery-col.large-9 {
        grid-column: 1;
        grid-row: auto;
        height: 350px; /* Ảnh đầu vuông lớn */
    }
    
    .gallery-col.large-3,
    .gallery-col.grid-col-1-3 {
        grid-column: 1;
        grid-row: auto;
        height: 220px; /* Các ảnh sau dẹp hơn */
    }
    
    .gallery-box {
        border-radius: 5px;
    }
    
    .image-lightbox::after {
        font-size: 25px;
    }
    
    .lightbox-thumbnails {
        height: 100px;
        padding: 10px;
    }
    
    .lightbox-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    #lightboxImage {
        max-width: 95%;
        max-height: calc(100vh - 180px);
    }
}

/* =====================================================================
   FOOTER STYLES - PHONG CÁCH FOOTER
   ===================================================================== */

.footer-section {
    background: url('/wp-content/uploads/2019/04/bg-ft.jpg') no-repeat center center;
    background-size: cover;
    padding: 0;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.footer-section > * {
    position: relative;
    z-index: 2;
}

/* Map full width */
.footer-map-wrapper {
    width: 100%;
    position: relative;
    height: 450px;
}

.footer-map {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Footer Banner đè lên map */
.footer-banner-wrapper {
    position: relative;
    margin-top: -150px; /* Dịch xuống để cân bằng giữa map và footer */
    padding: 0 15px;
    z-index: 3;
}

.footer-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    border: 2px solid #b67627;
    border-radius: 5px;
    max-width: 1170px;
    margin: 0 auto; /* Canh giữa banner */
}

.footer-banner h2 {
    background: linear-gradient(#ffffff, #b3620f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
    text-align: center;
    margin: 0;
}

/* Footer Content */
.footer-content-wrapper {
    padding: 60px 0 40px;
}

.footer-info h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-info p {
    color: #fff;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-info p strong {
    display: inline-block;
    margin-right: 10px;
}

.footer-info span {
    color: #fff;
}

.footer-info a {
    color: #fff;
    text-decoration: none;
}

.footer-info a:hover {
    color: var(--primary-color);
}

/* Hour of Operation - Giờ làm việc */
.business-hours {
    color: #fff;
    line-height: 1.8;
}

.business-hours p {
    margin-bottom: 10px;
    font-size: 16px;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 28px;
}

.social-icons a {
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Copyright Footer - Bản quyền */
.copyright-footer {
    background-color: var(--primary-color);
    padding: 15px 0;
    text-align: center;
}

.copyright-footer p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

/* =====================================================================
   BACK TO TOP BUTTON - NÚT QUAY LÊN ĐẦU TRANG
   ===================================================================== */

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

#back-to-top.show {
    display: flex;
}

/* Ẩn back-to-top trên mobile */
@media (max-width: 768px) {
    #back-to-top {
        display: none !important;
    }
}

/* =====================================================================
   BUTTONS - NÚT BẤM
   ===================================================================== */

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* =====================================================================
   MOBILE MENU - MENU DI ĐỘNG
   ===================================================================== */

@media (max-width: 991px) {
    .header-main {
        height: auto; /* Auto height cho mobile */
        padding: 15px 0;
    }
    
    .header-main .navbar {
        width: 100%;
    }
    
    .header-main .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    #logo {
        position: relative; /* Canh trái logo trên mobile */
        margin: 0;
    }
    
    .navbar-toggler {
        position: relative;
        z-index: 10;
        margin-left: auto;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--secondary-color);
        padding: 60px 20px 20px; /* Padding top để tránh close button */
        transition: left 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        left: 0;
    }
    
    .navbar-nav {
        margin-top: 0; /* Bỏ margin top để canh sát với search form */
        margin-left: 0; /* Bỏ margin left trên mobile */
        align-items: flex-start; /* Canh trái menu mobile */
    }
    
    .navbar-nav .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 18px;
        text-align: left; /* Canh trái text */
        width: 100%;
        display: block;
    }
    
    .navbar-nav .nav-link:hover {
        color: #fff;
        padding-left: 10px;
    }
    
    /* Align items trái cho li */
    .navbar-nav .nav-item {
        text-align: left;
        width: 100%;
    }
    
    
}

/* Overlay backdrop cho mobile menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 280px; /* Bắt đầu từ sau menu */
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.show {
    display: block;
    opacity: 1;
}

/* Bottom Navigation Mobile - Menu dưới cho mobile */
.link-bottom {
    bottom: 0;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 999;
    display: none;
}

.b-wrapper {
    display: flex;
}

.b-wrapper p {
    margin: 0;
    color: #b67627;
    font-size: 12px;
}

.b-wrapper a i {
    font-size: 1.3rem;
    color: #b67627;
}

.b-wrapper a {
    width: 25%;
    text-align: center;
    color: #000;
    background-color: white;
    padding-top: 10px;
    padding-bottom: 5px;
    font-size: 10px;
    line-height: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.b-wrapper a:hover {
    background-color: #f5f5f5;
}

.b-wrapper a img {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto 5px;
}

@media (max-width: 768px) {
    .link-bottom {
        display: block;
    }
    
    .slider-content {
        padding: 20px;
        max-width: 95%;
    }
    
    .slider-content h3 {
        font-size: 18px;
    }
    
    .slider-content h2 {
        font-size: 36px;
    }
    
    .slider-content p {
        font-size: 16px;
    }
    
    .swiper-slide {
        height: 400px;
    }
}

/* =====================================================================
   ANIMATIONS - HIỆU ỨNG CHUYỂN ĐỘNG
   ===================================================================== */

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Loading Animation - Hiệu ứng loading */
.loading-spin {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =====================================================================
   RESPONSIVE DESIGN - THIẾT KẾ TƯƠNG THÍCH
   ===================================================================== */

/* Tablet */
@media (max-width: 992px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 36px;
    }
    
    .header-bottom-content {
        gap: 30px;
    }
    
    .header-bottom-content .quick-link img {
        width: 35px;
        height: 35px;
    }
    
    .header-bottom-content .quick-link p {
        font-size: 12px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: 30px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .footer-banner h2 {
        font-size: 24px;
    }
    
    .footer-banner {
        padding: 40px 15px;
    }
    
    /* Hide header-bottom on mobile, show mobile-bottom-nav instead */
    .header-bottom {
        display: none;
    }
    
    .footer-banner-wrapper {
        margin-top: -50px; /* Điều chỉnh margin-top cho mobile */
    }
    
    .footer-map-wrapper {
        height: 300px;
    }
    
    .footer-map {
        height: 300px;
    }
    
    /* Footer info responsive - giảm khoảng cách */
    .footer-info .col-lg-4,
    .footer-info .col-md-6 {
        margin-bottom: 20px !important; /* Giảm margin bottom từ mb-4 */
    }
    
    .footer-info h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .footer-info p {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.6;
    }
}

/* =====================================================================
   UTILITY CLASSES - LỚP TIỆN ÍCH
   ===================================================================== */

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

.bg-primary-color {
    background-color: var(--primary-color) !important;
}

.text-white {
    color: #fff !important;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-50 {
    margin-top: 50px;
}

/* =====================================================================
   CONTACT PAGE - TRANG LIÊN HỆ
   ===================================================================== */

/* Contact Info - Thông tin liên hệ */
.contact-info-wrapper {
    color: #fff;
    padding: 20px;
}

.contact-info-section {
    margin-bottom: 25px;
}

.contact-info-title {
    color: #b67627;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-info-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.contact-phone-link {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone-link:hover {
    color: #b67627;
}

/* Business Hours */
.business-hours p {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Form 7 Styles */
.contact-form-wrapper .wpcf7 {
    margin: 0;
}

.contact-form-wrapper .wpcf7-form {
    margin: 0;
}

/* Form Fields */
.contact-form-field {
    margin-bottom: 20px;
}

/* Xóa margin/padding của thẻ p và br do CF7 tự thêm */
.contact-form-field p {
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form-field br {
    display: none !important;
}

.contact-form-field label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input & Textarea Styles */
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form-wrapper input[type="text"]:focus,
.contact-form-wrapper input[type="email"]:focus,
.contact-form-wrapper input[type="tel"]:focus,
.contact-form-wrapper textarea:focus {
    border-color: #b67627;
    box-shadow: 0 0 0 3px rgba(182, 118, 39, 0.1);
}

.contact-form-wrapper textarea {
    min-height: 80px;
    max-height: 120px;
    resize: vertical;
}

/* Submit Button */
.contact-form-submit {
    margin-top: 25px;
}

/* Xóa margin của p trong submit button */
.contact-form-submit p {
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form-wrapper input[type="submit"],
.contact-form-wrapper .wpcf7-submit {
    width: 100%;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #b67627 0%, #d4a259 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-wrapper input[type="submit"]:hover,
.contact-form-wrapper .wpcf7-submit:hover {
    background: linear-gradient(135deg, #d4a259 0%, #b67627 100%);
    box-shadow: 0 5px 15px rgba(182, 118, 39, 0.4);
    transform: translateY(-2px);
}

/* CF7 Response Messages */
.contact-form-wrapper .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    color: #46b450;
}

/* Success Message - Xanh lá */
.contact-form-wrapper .wpcf7-mail-sent-ok {
    background-color: #4caf50 !important;
    color: #ffffff !important;
    border: 2px solid #388e3c;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

/* Error Messages - Đỏ */
.contact-form-wrapper .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7-mail-sent-ng {
    background-color: #f44336 !important;
    color: #ffffff !important;
    border: 2px solid #d32f2f;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
}

/* Spam Blocked - Cam */
.contact-form-wrapper .wpcf7-spam-blocked {
    background-color: #ff9800 !important;
    color: #ffffff !important;
    border: 2px solid #f57c00;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

/* Validation Error Text */
.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #ff5252;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Ajax Loader */
.contact-form-wrapper .ajax-loader {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

/* Responsive Contact Page */
@media (max-width: 991px) {
    /* Force full width cho cả 2 cột contact */
    #contact-content-row > .col,
    #contact-content-row .col.large-6,
    #contact-content-row .col.medium-12,
    #contact-content-row .col-inner {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    .contact-info-wrapper {
        margin-bottom: 20px;
    }
    
    .contact-form-wrapper {
        margin-top: 0;
    }
    
    .contact-info-title {
        font-size: 20px;
    }
    
    .contact-info-text,
    .business-hours p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* Force full width cho mobile cụ thể */
    #contact-content-row > div[class*="col"],
    #contact-content-row > div:nth-child(1),
    #contact-content-row > div:nth-child(2) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        flex-basis: 100% !important;
    }
    
    .contact-form-wrapper {
        padding: 20px;
        margin-top: 20px;
    }
    
    .contact-info-wrapper {
        padding: 15px;
    }
    
    .contact-info-section {
        margin-bottom: 20px;
    }
    
    .contact-info-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .contact-info-text,
    .business-hours p {
        font-size: 14px;
    }
    
    /* Giảm khoảng cách giữa các fields trên mobile */
    .contact-form-field {
        margin-bottom: 15px;
    }
    
    .contact-form-field p {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-form-field label {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .contact-form-wrapper input[type="text"],
    .contact-form-wrapper input[type="email"],
    .contact-form-wrapper input[type="tel"],
    .contact-form-wrapper textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .contact-form-wrapper textarea {
        min-height: 70px;
        max-height: 100px;
    }
}

/* Extra force cho mobile rất nhỏ như S24 (360-412px) */
@media (max-width: 480px) {
    #contact-content-row > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
    }
}

