/*
Theme Name: Núp Gió Homestay
Theme URI: http://www.nupgiohomestay.vn
Author: Antigravity
Author URI: https://github.com/google-deepmind
Description: Theme WordPress hiện đại cho Núp Gió Homestay, được chuyển đổi chuyên nghiệp từ bản thiết kế HTML, sử dụng Tailwind CSS, Swiper Slider, và Lucide Icons.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nupgiohomestay
Tags: dynamic-features, responsive-layout, custom-menu, portfolio, travel
*/

/* Core Custom CSS Styles Consolidated from HTML designs */
html {
    scroll-behavior: smooth;
}

.btn-primary {
    background: linear-gradient(135deg, #FE9159, #FF7A2F);
    transition: all 0.24s ease;
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-secondary {
    transition: all 0.24s ease;
}

.btn-secondary:hover {
    background-color: #F6FBFC;
    transform: translateY(-1px);
}

.card-hover {
    transition: all 0.24s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(16, 24, 40, 0.14);
}

.review-bar {
    height: 8px;
    border-radius: 999px;
    background: #EAF3F5;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: #007287;
}

/* Swiper pagination overrides */
.swiper-pagination-bullet {
    background: #007287 !important;
    opacity: 0.4 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: #007287 !important;
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* Impressive header & navigation links styling */
.nav-link {
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #007287, #00A59B);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
    color: #007287 !important;
}

/* Mobile menu overlay */
#mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

#mobile-menu.active #mobile-menu-panel {
    transform: translateX(0);
}

/* Lightbox modal zoom modal active status */
#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hide scrollbar but keep scroll functionality */
.scrollbar-thin::-webkit-scrollbar {
    height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: #F6FBFC;
    border-radius: 999px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: #E5EAF0;
    border-radius: 999px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #00A59B/50;
}

/* Modern CSS Grid-based Auto-Height Accordion */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}
.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
}
.accordion-inner {
    overflow: hidden;
}
.accordion-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
}

/* Photo Gallery dynamic filter hiding style */
.hidden-item {
    display: none !important;
}

/* Custom Social SVGs styling */
.w-10 svg, .w-10.h-10 svg {
    width: 1.25rem !important; /* 20px matching w-5 */
    height: 1.25rem !important; /* 20px matching h-5 */
    fill: currentColor;
    display: inline-block;
}
