/*!
 * DCM - CMS - Main Stylesheet
 * Version: 1.0.0
 * Last Updated: 2025-11-19
 * 
 * Türkiye Rehberi - Custom Styles
 */

/* ========================================
   GLOBAL BRAND COLORS - Edit here to change site-wide colors
   ======================================== */
:root {
    /* Primary Brand Colors */
    --brand-primary: #113D5A;        /* Dark Blue - Main brand color */
    --brand-accent: #F59113;         /* Orange - Primary accent */
    --brand-secondary: #FACB72;      /* Light Yellow - Secondary accent */
    
    /* Derived Colors (darker/lighter variants) */
    --brand-primary-dark: #0a2939;   /* Darker version of primary */
    --brand-primary-light: #1a5a80;  /* Lighter version of primary */
    --brand-accent-dark: #d47810;    /* Darker version of accent */
    --brand-accent-light: #f7a83d;   /* Lighter version of accent */
    
    /* Gradients using brand colors - single-color variations only */
    /* Button gradients (single-color variations) */
    --gradient-button-primary: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    --gradient-button-primary-hover: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
    --gradient-button-accent: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-light) 100%);
    --gradient-button-accent-hover: linear-gradient(135deg, var(--brand-accent-dark) 0%, var(--brand-accent) 100%);
    --gradient-button-secondary: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-light) 100%);
    --gradient-button-secondary-hover: linear-gradient(135deg, var(--brand-accent-dark) 0%, var(--brand-accent) 100%);
    
    /* Legacy gradients (kept for backward compatibility, using single-color variations) */
    --gradient-primary: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-light) 100%);
    --gradient-overlay: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-light));
    --gradient-topbar: linear-gradient(90deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
    --gradient-page-header: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    --gradient-reservation: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    --gradient-tips: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-light) 100%);
    --gradient-filters: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-light) 100%);
    --gradient-popular: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
}

/* ========================================
   Topbar Styles
   ======================================== */

.topbar {
    background: var(--gradient-topbar);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: relative;
    z-index: 60;
}

.topbar-link {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.topbar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.topbar-certification {
    font-weight: 500;
}

.topbar-certification i {
    color: #FACB72; /* Brand secondary color for certification badge */
}

.topbar-social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.topbar-social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Language Selector */
.topbar-language-selector {
    position: relative;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 160px;
    z-index: 100;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
}

.language-option:hover {
    background-color: #f3f4f6;
}

.language-option.active {
    background-color: #eff6ff;
    color: var(--brand-accent);
    font-weight: 500;
}

/* ========================================
   Breadcrumb Styles
   ======================================== */

.breadcrumb-section {
    background: #f3f4f6;
    padding: 1rem 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    transition: color 0.2s ease;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #1d4ed8;
}

.breadcrumb-active {
    color: #4b5563;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #9ca3af;
    font-size: 0.75rem;
    margin: 0 0.25rem;
}

.breadcrumb-icon {
    margin-right: 0.375rem;
}

/* Mobile Breadcrumbs - Better UX */
@media (max-width: 640px) {
    .breadcrumb-section {
        padding: 0.75rem 0;
    }
    
    .breadcrumb-nav {
        font-size: 0.8125rem;
    }
    
    .breadcrumb-item {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .breadcrumb-separator {
        flex-shrink: 0;
    }
}

/* Tablet Breadcrumbs */
@media (min-width: 641px) and (max-width: 768px) {
    .breadcrumb-item {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ========================================
   Page Header Styles (Listing Pages)
   ======================================== */

.page-header {
    background: var(--gradient-page-header);
    color: white;
    padding: 4rem 0;
}

/* ========================================
   Reservation Form Styles
   ======================================== */

.reservation-form {
    background: var(--gradient-reservation);
    color: white;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.tips-section {
    background: var(--gradient-tips);
    color: white;
    border-radius: 0.75rem;
    overflow: hidden;
}

.info-section {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.filters-section {
    background: var(--gradient-filters);
    color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.filters-section .sidebar-section-content {
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    border-radius: 0.5rem;
    margin: 0 1rem 1rem 1rem;
    padding: 1rem;
}

.filters-section .sidebar-section-content h4 {
    color: var(--brand-primary);
}

.popular-section {
    background: var(--gradient-popular);
    color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.popular-section h4 {
    color: white;
}

.popular-section .sidebar-section-content {
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    border-radius: 0.5rem;
    margin: 0 1rem 1rem 1rem;
    padding: 1rem;
}

.popular-section .sidebar-section-content h5 {
    color: var(--brand-primary);
}

.popular-section .popular-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.popular-section .popular-item:hover {
    background: linear-gradient(135deg, rgba(17, 61, 90, 0.05) 0%, rgba(26, 90, 128, 0.1) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(17, 61, 90, 0.15);
}

.popular-section .popular-item:hover h5 {
    color: var(--brand-accent);
}

.popular-section .popular-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popular-section .popular-item img {
    transition: all 0.3s ease;
}

/* ========================================
   Collapsible Sections
   ======================================== */

.sidebar-section-content.collapsed {
    display: none;
}

.language-option .flag-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

/* Responsive Topbar */
@media (max-width: 640px) {
    .topbar {
        font-size: 0.75rem;
    }
    
    .topbar-left {
        flex: 1;
        min-width: 0;
    }
    
    .topbar-social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    .topbar-right {
        gap: 0.5rem;
    }
}

/* ========================================
   Navigation Dropdown Menu Styles
   ======================================== */

/* Desktop Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-link-dropdown {
    cursor: pointer;
    white-space: nowrap;
}

.nav-dropdown:hover .nav-link-dropdown {
    background-color: #f3f4f6;
    color: var(--brand-accent);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--brand-accent);
}

/* Dropdown Menu Panel */
.dropdown-menu {
    pointer-events: none;
    /* Add a small delay before hiding */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: all;
}

/* Create a bridge between button and dropdown to prevent gap */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
    z-index: 10;
}

/* Keep dropdown visible when hovering over the bridge */
.nav-dropdown:hover::after {
    pointer-events: all;
}

/* Dropdown Items */
.dropdown-item {
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    border-left-color: var(--brand-accent);
    padding-left: 1.25rem;
}

.dropdown-item:first-child {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

/* Dropdown Animation Enhancement */
@keyframes dropdownSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nav-dropdown:hover .dropdown-menu {
    animation: dropdownSlideDown 0.3s ease-out;
}

/* Regular Navigation Links */
.nav-link {
    white-space: nowrap;
}

/* User icon styling in navigation */
.nav-link-dropdown .fa-user-circle {
    font-size: 1.125rem;
}

/* Mobile Navigation Dropdown */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-submenu.show {
    max-height: 500px;
    display: block;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
}

.mobile-dropdown-arrow.rotated {
    transform: rotate(180deg);
}

/* Backdrop blur effect for dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    backdrop-filter: blur(10px);
    border-radius: inherit;
    z-index: -1;
}

/* Hover effect for dropdown trigger */
.nav-dropdown:hover .nav-link-dropdown::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

/* Active state for navigation */
.nav-link.active,
.nav-link-dropdown.active {
    position: relative;
}

.nav-link.active::after,
.nav-link-dropdown.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--brand-accent);
    border-radius: 2px;
}

/* ========================================
   Hero Section - Swiper Slider
   ======================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

/* Ensure search-integrated type has proper stacking */
.hero-search-integrated .hero-background-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-search-integrated .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.hero-search-integrated .hero-content > * {
    pointer-events: auto;
}

.hero-background-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.animate-fade-in-up-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Navigation Arrows */
.hero-button-prev,
.hero-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.hero-button-prev {
    left: 30px;
}

.hero-button-next {
    right: 30px;
}

.hero-button-prev:hover,
.hero-button-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-button-prev i,
.hero-button-next i {
    color: white;
    font-size: 20px;
}

/* Hero Pagination */
.hero-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1 !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--brand-accent) !important;
    width: 40px !important;
    height: 14px !important;
    border-radius: 7px !important;
    border: 2px solid var(--brand-accent) !important;
    opacity: 1 !important;
}

/* Pagination Fraction Style */
.hero-pagination .swiper-pagination-fraction {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Pagination Progressbar Style */
.hero-pagination .swiper-pagination-progressbar {
    background: rgba(255, 255, 255, 0.3);
    height: 4px !important;
    width: 200px !important;
    border-radius: 2px;
}

.hero-pagination .swiper-pagination-progressbar-fill {
    background: var(--brand-accent) !important;
    border-radius: 2px;
}

/* Slider Effect Enhancements */
.hero-background-swiper.swiper-cube .swiper-cube-shadow {
    opacity: 0.5 !important;
}

.hero-background-swiper.swiper-coverflow {
    padding-top: 50px;
    padding-bottom: 50px;
}

.hero-background-swiper.swiper-flip .swiper-slide-shadow-left,
.hero-background-swiper.swiper-flip .swiper-slide-shadow-right {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)) !important;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomOut {
    from {
        opacity: 0;
        transform: scale(1.2);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes for Dynamic Content */
.hero-slide.active .hero-title {
    animation: fadeInUp 0.8s ease-out;
}

.hero-slide.active .hero-description {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-slide.active .hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Alternative Animation Types */
.hero-slide.active[data-animation="fade-down"] .hero-title {
    animation: fadeInDown 0.8s ease-out;
}

.hero-slide.active[data-animation="fade-left"] .hero-title {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-slide.active[data-animation="fade-right"] .hero-title {
    animation: fadeInRight 0.8s ease-out;
}

.hero-slide.active[data-animation="zoom-in"] .hero-title {
    animation: zoomIn 0.8s ease-out;
}

.hero-slide.active[data-animation="zoom-out"] .hero-title {
    animation: zoomOut 0.8s ease-out;
}

/* Lazy Loading Placeholder */
.hero-bg-image.swiper-lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-bg-image.swiper-lazy-loaded {
    opacity: 1;
}

/* Parallax Effect Support */
.hero-background-swiper[data-parallax="true"] .hero-bg-image {
    transform-origin: center;
    will-change: transform;
}

/* Grab Cursor */
.hero-background-swiper.swiper-grab-cursor {
    cursor: grab;
}

.hero-background-swiper.swiper-grab-cursor:active {
    cursor: grabbing;
}

/* Accessibility Improvements */
.hero-button-prev:focus,
.hero-button-next:focus {
    outline: none;
}

.hero-pagination .swiper-pagination-bullet:focus {
    outline: none;
}

/* Loading State */
.hero-background-swiper.swiper-loading .hero-slide {
    opacity: 0.3;
}

.hero-background-swiper.swiper-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 30;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        height: 550px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-description {
        font-size: 1.25rem !important;
    }
    
    .hero-button-prev,
    .hero-button-next {
        width: 45px;
        height: 45px;
    }
    
    .hero-button-prev {
        left: 15px;
    }
    
    .hero-button-next {
        right: 15px;
    }
    
    .hero-pagination {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-buttons a {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Custom Gradient Backgrounds */
.gradient-blue-purple {
    background: var(--gradient-primary);
}

.gradient-orange-red {
    background: var(--gradient-accent);
}

.gradient-green-blue {
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-secondary) 100%);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px); /* Increased hover lift for bigger cards */
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); /* Enhanced shadow for bigger cards */
}

/* ========================================
   GLOBAL BUTTON STYLES
   ======================================== */

/* Base Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 1.5;
}

/* Button Sizes */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-md {
    padding: 12px 24px;
    font-size: 1rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ========================================
   PRIMARY BUTTONS
   Used in: Hero sections, Main CTAs, Homepage actions
   ======================================== */
.btn-primary {
    background: var(--brand-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(17, 61, 90, 0.3);
}

/* Primary Gradient - Used in: Hero buttons, Main call-to-actions */
.btn-primary-gradient {
    background: var(--gradient-button-primary);
    color: white;
}

.btn-primary-gradient:hover {
    background: var(--gradient-button-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SECONDARY BUTTONS
   Used in: Alternative actions, Secondary CTAs
   ======================================== */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--brand-accent);
    color: var(--brand-accent);
}

.btn-secondary:hover {
    background: var(--brand-accent);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   ACCENT/ORANGE BUTTONS
   Used in: Feature highlights, Special actions
   ======================================== */
.btn-accent {
    background: var(--brand-accent);
    color: white;
}

.btn-accent:hover {
    background: var(--brand-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 145, 19, 0.3);
}

/* ========================================
   BLUE BUTTONS
   Used in: Filter buttons, Search buttons, Info actions
   ======================================== */
.btn-blue {
    background: var(--brand-primary);
    color: white;
}

.btn-blue:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SUCCESS/GREEN BUTTONS
   Used in: Submit buttons, Confirm actions, Save buttons
   ======================================== */
.btn-success {
    background: var(--gradient-button-accent);
    color: white;
}

.btn-success:hover {
    background: var(--gradient-button-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========================================
   WARNING/YELLOW BUTTONS
   Used in: Caution actions, Newsletter subscription
   ======================================== */
.btn-warning {
    background: var(--gradient-button-accent);
    color: white;
}

.btn-warning:hover {
    background: var(--gradient-button-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Yellow variant - Used in: Newsletter, Special offers */
.btn-yellow {
    background: var(--gradient-button-accent);
    color: white;
}

.btn-yellow:hover {
    background: var(--gradient-button-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========================================
   DANGER/RED BUTTONS
   Used in: Delete actions, Cancel operations, Error actions
   Note: Using brand primary dark for danger actions to maintain visual distinction
   ======================================== */
.btn-danger {
    background: var(--brand-primary-dark);
    color: white;
}

.btn-danger:hover {
    background: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========================================
   GRAY/CLEAR BUTTONS
   Used in: Clear filters, Cancel actions, Neutral actions
   ======================================== */
.btn-gray {
    background: var(--brand-primary);
    color: white;
    opacity: 0.7;
}

.btn-gray:hover {
    background: var(--brand-primary-dark);
    opacity: 1;
    transform: translateY(-2px);
}

/* Light Gray - Used in: Clear filters, Reset forms */
.btn-clear {
    background: #e5e7eb;
    color: #374151;
}

.btn-clear:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

/* ========================================
   OUTLINE BUTTONS
   Used in: Secondary actions, Alternative styles
   ======================================== */
.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
}

.btn-outline-primary:hover {
    background: var(--brand-primary);
    color: white;
}

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

.btn-outline-accent:hover {
    background: var(--brand-accent);
    color: white;
}

.btn-outline-blue {
    background: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
}

.btn-outline-blue:hover {
    background: var(--brand-primary);
    color: white;
}

/* ========================================
   ICON BUTTONS
   Used in: Copy buttons, Quick actions
   ======================================== */
.btn-icon {
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i {
    margin: 0;
}

/* ========================================
   FULL WIDTH BUTTONS
   Used in: Forms, Mobile layouts
   ======================================== */
.btn-full {
    width: 100%;
    display: flex;
}

/* ========================================
   DISABLED BUTTONS
   ======================================== */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   BUTTON GROUPS
   Used in: Multiple action buttons together
   ======================================== */
.btn-group {
    display: inline-flex;
    gap: 0.5rem;
}

.btn-group .btn {
    margin: 0;
}

/* ========================================
   GRADIENT CONTACT BUTTON
   Used in: Contact form, Special CTAs
   ======================================== */
.btn-gradient-purple {
    background: var(--gradient-button-primary);
    color: white;
}

.btn-gradient-purple:hover {
    background: var(--gradient-button-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Search Bar Styles */
.search-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 30px;
}

.search-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.search-input:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(245, 145, 19, 0.1);
}

/* Category Icons */
.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.category-icon:hover {
    transform: scale(1.1);
}

/* Rating Stars */
.rating-stars {
    color: #fbbf24;
    font-size: 14px;
}

.rating-stars .empty {
    color: #d1d5db;
}

/* ========================================
   LISTING TITLE LINK STYLES
   Used in: Accommodation, Beach, Restaurant, Activity listing links
   ======================================== */

.accommodation-title-link,
.beach-title-link,
.restaurant-title-link,
.activity-title-link {
    transition: color 0.3s ease;
    display: inline-block;
}

.accommodation-title-link:hover,
.beach-title-link:hover,
.restaurant-title-link:hover,
.activity-title-link:hover {
    color: var(--brand-accent);
}

.accommodation-title-link h4,
.accommodation-title-link h5,
.beach-title-link h4,
.beach-title-link h5,
.restaurant-title-link h4,
.restaurant-title-link h5,
.activity-title-link h4,
.activity-title-link h5 {
    transition: color 0.3s ease;
}

/* ========================================
   LISTING CARD HOVER EFFECTS
   Used in: Archive listing cards for all content types
   ======================================== */

.accommodation-card,
.beach-card,
.restaurant-card,
.activity-card {
    transition: all 0.3s ease;
    min-height: 280px; /* Consistent minimum height for larger cards */
}

.accommodation-card:hover,
.beach-card:hover,
.restaurant-card:hover,
.activity-card:hover {
    background: linear-gradient(135deg, rgba(17, 61, 90, 0.05) 0%, rgba(26, 90, 128, 0.1) 100%);
    transform: translateX(8px); /* Increase hover movement for bigger cards */
    box-shadow: 0 12px 28px rgba(17, 61, 90, 0.25) !important; /* Enhanced shadow */
}

.accommodation-card:hover .accommodation-title-link h4,
.beach-card:hover .beach-title-link h4,
.restaurant-card:hover .restaurant-title-link h4,
.activity-card:hover .activity-title-link h4 {
    color: var(--brand-accent);
}

.accommodation-card img,
.beach-card img,
.restaurant-card img,
.activity-card img {
    transition: all 0.3s ease;
}

/* ========================================
   PRICE BADGE STYLES
   Used in: All listing types for price display
   ======================================== */

.price-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.price-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.price-badge-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 16px;
}

.price-badge-lg {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 24px;
}

.price-badge-orange {
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
    box-shadow: 0 4px 12px rgba(245, 145, 19, 0.3);
}

.price-badge-orange:hover {
    box-shadow: 0 6px 20px rgba(245, 145, 19, 0.4);
    background: linear-gradient(135deg, var(--brand-accent-dark) 0%, #b8650f 100%);
}

.price-badge-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.price-badge-blue:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

/* ========================================
   LOCATION BADGE STYLES
   Used in: All clickable location links
   ======================================== */

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.location-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    color: white;
    text-decoration: none;
}

.location-badge i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.location-badge:hover i {
    transform: scale(1.1);
}

/* Location Badge Sizes */
.location-badge-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 16px;
    gap: 4px;
}

.location-badge-sm i {
    font-size: 0.75rem;
}

.location-badge-lg {
    padding: 10px 18px;
    font-size: 1rem;
    border-radius: 24px;
    gap: 8px;
}

.location-badge-lg i {
    font-size: 1rem;
}

/* Location Badge Inline Variant (for headers) */
.location-badge-inline {
    padding: 4px 10px;
    font-size: 0.875rem;
    border-radius: 14px;
    gap: 4px;
    vertical-align: middle;
}

.location-badge-inline i {
    font-size: 0.75rem;
}

/* ========================================
   BADGE/TAG STYLES
   Used in: Status indicators, Featured tags, Rating badges
   ======================================== */

/* Base Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Badge Sizes */
.badge-sm {
    padding: 4px 10px;
    font-size: 0.625rem;
}

.badge-lg {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Blue Badge - Used in: Rating displays, Info tags */
.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge-blue-solid {
    background: #3b82f6;
    color: white;
}

/* Green Badge - Used in: Success states, Available status */
.badge-green {
    background: #dcfce7;
    color: #166534;
}

.badge-green-solid {
    background: #10b981;
    color: white;
}

/* Purple Badge - Used in: Premium features, Special tags */
.badge-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.badge-purple-solid {
    background: #8b5cf6;
    color: white;
}

/* Orange Badge - Used in: Featured items, Hot deals */
.badge-orange {
    background: #fed7aa;
    color: #ea580c;
}

.badge-orange-solid {
    background: var(--brand-accent);
    color: white;
}

/* Yellow Badge - Used in: Featured tags, Star ratings, New items */
.badge-yellow {
    background: #fef3c7;
    color: #d97706;
}

.badge-yellow-solid {
    background: #fbbf24;
    color: #1f2937;
}

/* Red Badge - Used in: Sold out, Urgent tags */
.badge-red {
    background: #fee2e2;
    color: #dc2626;
}

.badge-red-solid {
    background: #ef4444;
    color: white;
}

/* Gray Badge - Used in: Inactive status, Neutral tags */
.badge-gray {
    background: #f3f4f6;
    color: #4b5563;
}

.badge-gray-solid {
    background: #6b7280;
    color: white;
}

/* Indigo Badge - Used in: Category tags */
.badge-indigo {
    background: #e0e7ff;
    color: #4338ca;
}

.badge-indigo-solid {
    background: #6366f1;
    color: white;
}

/* Teal Badge - Used in: Location tags */
.badge-teal {
    background: #ccfbf1;
    color: #0f766e;
}

.badge-teal-solid {
    background: #14b8a6;
    color: white;
}

/* Primary Brand Badge - Used in: Brand-specific tags */
.badge-primary {
    background: rgba(17, 61, 90, 0.1);
    color: var(--brand-primary);
}

.badge-primary-solid {
    background: var(--brand-primary);
    color: white;
}

/* Rounded Full Badge - Used in: Absolute positioned tags on cards */
.badge-rounded {
    border-radius: 9999px;
    padding: 6px 14px;
}

/* ========================================
   OVERLAY BADGE STYLES
   Used in: Badges positioned absolutely over images on cards
   These badges have explicit backgrounds to ensure visibility
   ======================================== */

/* Base Overlay Badge - Ensures proper display over images */
.overlay-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    white-space: nowrap;
}

/* Cyan Overlay Badge - Used in: Beach badges (entry fee type) */
.overlay-badge-cyan {
    background: #0891b2;
}

.overlay-badge-cyan:hover {
    background: #0e7490;
}

/* Green Overlay Badge - Used in: Activity badges, Free tags */
.overlay-badge-green {
    background: #059669;
}

.overlay-badge-green:hover {
    background: #047857;
}

/* Orange Overlay Badge - Used in: Restaurant badges, Special offers */
.overlay-badge-orange {
    background: #ea580c;
}

.overlay-badge-orange:hover {
    background: #c2410c;
}

/* Yellow Overlay Badge - Used in: Star ratings, Featured items */
.overlay-badge-yellow {
    background: #eab308;
}

.overlay-badge-yellow:hover {
    background: #ca8a04;
}

/* Blue Overlay Badge - Used in: Rating badges, Info badges */
.overlay-badge-blue {
    background: #2563eb;
}

.overlay-badge-blue:hover {
    background: #1d4ed8;
}

/* Purple Overlay Badge - Used in: Premium badges */
.overlay-badge-purple {
    background: #7c3aed;
}

.overlay-badge-purple:hover {
    background: #6d28d9;
}

/* Teal Overlay Badge - Used in: Location badges */
.overlay-badge-teal {
    background: #0d9488;
}

.overlay-badge-teal:hover {
    background: #0f766e;
}

/* ========================================
   HOMEPAGE GRID LAYOUT STYLES
   Used in: Homepage grid sections (accommodations, beaches, restaurants, activities, tours)
   ======================================== */

/* Unified homepage grid cards */
.homepage-grid-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 320px; /* Ensure consistent minimum height */
}

.homepage-grid-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px); /* Increase hover lift for bigger cards */
}

/* Responsive grid improvements */
@media (max-width: 1024px) {
    .grid.grid-cols-1.lg\\:grid-cols-2.xl\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .grid.grid-cols-1.lg\\:grid-cols-2.xl\\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Stack card content on mobile */
    .homepage-grid-card .md\\:flex {
        flex-direction: column !important;
    }
    
    .homepage-grid-card .md\\:w-1\\/3 {
        width: 100% !important;
    }
    
    .homepage-grid-card .md\\:w-2\\/3 {
        width: 100% !important;
    }
    
    .homepage-grid-card .md\\:h-64 {
        height: auto !important;
    }
}

/* Section background alternation */
section#plajlar {
    background-color: #ffffff;
}

section#restoranlar {
    background-color: #f9fafb;
}

section#konaklama {
    background-color: #ffffff;
}

section#aktiviteler {
    background-color: #f9fafb;
}

section#turlar {
    background-color: #ffffff;
}

/* ========================================
   NAVIGATION DOTS STYLES (Legacy - for other sliders)
   Used in: Gallery sliders and other components
   ======================================== */
.accommodation-dot.active,
.beach-dot.active,
.restaurant-dot.active,
.activity-dot.active {
    background: var(--brand-accent) !important;
}

/* ========================================
   ICON BOX STYLES
   Used in: Feature highlights, Contact info boxes, Info sections
   ======================================== */

/* Base Icon Box */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 1.25rem;
}

/* Icon Box Sizes */
.icon-box-sm {
    padding: 8px;
    font-size: 1rem;
}

.icon-box-lg {
    padding: 16px;
    font-size: 1.5rem;
}

/* Blue Icon Box - Used in: Info sections */
.icon-box-blue {
    background: #dbeafe;
    color: #3b82f6;
}

/* Green Icon Box - Used in: Success states, Phone/Contact */
.icon-box-green {
    background: #dcfce7;
    color: #10b981;
}

/* Purple Icon Box - Used in: Email, Premium features */
.icon-box-purple {
    background: #f3e8ff;
    color: #8b5cf6;
}

/* Orange Icon Box - Used in: Working hours, Alerts */
.icon-box-orange {
    background: #fed7aa;
    color: var(--brand-accent);
}

/* Yellow Icon Box - Used in: Ratings, Special highlights */
.icon-box-yellow {
    background: #fef3c7;
    color: #f59e0b;
}

/* Indigo Icon Box - Used in: Categories */
.icon-box-indigo {
    background: #e0e7ff;
    color: #6366f1;
}

/* Primary Brand Icon Box */
.icon-box-primary {
    background: rgba(17, 61, 90, 0.1);
    color: var(--brand-primary);
}

/* Image Overlay Effects */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-overlay:hover::before {
    opacity: 1;
}

.image-overlay img {
    transition: transform 0.3s ease;
}

.image-overlay:hover img {
    transform: scale(1.1);
}

/* Navigation Styles */
.nav-link {
    position: relative;
    padding: 8px 16px;
    color: #000000;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 300px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--brand-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-accent-dark);
}

/* Hide Scrollbar for Horizontal Scroll */
.scrollbar-hide {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

/* Horizontal Scroll Container */
.horizontal-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Featured Sections Slider Styles */
.slider-wrapper {
    position: relative;
    padding: 0 60px; /* Space for arrows outside content */
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    cursor: pointer;
    border: none;
    transition: opacity 0.3s ease;
}

.slider-arrow-left {
    left: 0;
}

.slider-arrow-right {
    right: 0;
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-content {
    user-select: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
    -webkit-overflow-scrolling: touch;
}

/* Snap scroll cards */
.slider-content > div {
    display: flex;
    gap: 1.5rem;
}

.slider-content .min-w-\[350px\] {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex-shrink: 0;
}

/* Desktop large: Show 5 cards at a time */
@media (min-width: 1400px) {
    .slider-content .min-w-\[350px\] {
        width: calc((100% - 6rem) / 5); /* 5 cards with 1.5rem gap between */
        min-width: auto;
    }
}

/* Desktop medium: Show 4 cards at a time */
@media (min-width: 900px) and (max-width: 1399px) {
    .slider-content .min-w-\[350px\] {
        width: calc((100% - 4.5rem) / 4); /* 4 cards with 1.5rem gap between */
        min-width: auto;
    }
}

/* Tablet: Show 2 cards at a time */
@media (min-width: 640px) and (max-width: 899px) {
    .slider-content .min-w-\[350px\] {
        width: calc((100% - 1.5rem) / 2); /* 2 cards with 1.5rem gap */
        min-width: auto;
    }
}

/* Mobile: Show 1 card at a time */
@media (max-width: 639px) {
    .slider-content .min-w-\[350px\] {
        width: 100%;
        min-width: auto;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .slider-wrapper {
        padding: 0 50px;
    }
    
    .slider-arrow {
        padding: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        padding: 0 40px;
    }
    
    .slider-arrow {
        padding: 0.4rem !important;
    }
    
    .slider-arrow i {
        font-size: 0.875rem;
    }
}


/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .search-container {
        padding: 16px;
        margin-top: 20px;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
    }
    
    /* Mobile Hero Navigation */
    .hero-button-prev,
    .hero-button-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-button-prev {
        left: 10px;
    }
    
    .hero-button-next {
        right: 10px;
    }
    
    .hero-button-prev i,
    .hero-button-next i {
        font-size: 16px;
    }
    
    .hero-pagination {
        bottom: 20px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(245, 145, 19, 0.1);
}

/* Alert Styles */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #dc2626;
}

.alert-info {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
}

/* Price Display */
.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
}

.price-old {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 8px;
}

/* Social Media Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #374151;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--brand-accent);
    transform: translateY(-2px);
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Review Card */
.review-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 12px;
}

.review-name {
    font-weight: 600;
    color: #374151;
}

.review-date {
    color: #9ca3af;
    font-size: 14px;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Remove focus outline from all interactive elements */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: none;
}

/* Collapsible Filter Styles */
.filter-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.filter-toggle:hover {
    background: none;
}

.filter-toggle i {
    transition: transform 0.2s ease-in-out;
}

.filter-toggle.collapsed i {
    transform: rotate(-90deg);
}

.filter-content {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 500px;
    opacity: 1;
}

.filter-content.collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Sidebar Section Collapse Styles */
.sidebar-section-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px;
    outline: none;
}

.sidebar-section-content {
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
    max-height: 1000px;
    opacity: 1;
}

.sidebar-section-content.collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.pagination-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pagination a {
    color: #6b7280;
    border-color: #e5e7eb;
    background: white;
}

.pagination a:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.pagination .active {
    background: var(--brand-accent);
    color: white;
    border-color: var(--brand-accent);
}

.pagination .disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: #f9fafb;
}

.pagination .pagination-ellipsis {
    color: #9ca3af;
    cursor: default;
}

.pagination .pagination-prev,
.pagination .pagination-next {
    font-weight: 600;
}

/* Responsive Pagination */
@media (max-width: 640px) {
    .pagination a,
    .pagination span {
        min-width: 2rem;
        height: 2rem;
        padding: 0 0.5rem;
        font-size: 0.75rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    --scroll-progress: 0;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: black;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 145, 19, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: conic-gradient(
        var(--brand-accent) calc(var(--scroll-progress) * 1%),
        transparent calc(var(--scroll-progress) * 1%)
    );
    z-index: -1;
    transition: none;
}

.scroll-to-top::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: white;
    z-index: -1;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(245, 145, 19, 0.6);
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-accent-dark) 100%);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top::before {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
    }
    
    .scroll-to-top::after {
        top: -1.5px;
        left: -1.5px;
        right: -1.5px;
        bottom: -1.5px;
    }
}

/* Header Logo - Fixed Size Approach */
header img {
    height: 56px;
    width: auto;
    max-width: none;
}

/* Header Responsive - Adjust Layout Instead of Logo Size */
@media (max-width: 768px) {
    header .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    header .flex.justify-between {
        gap: 0.5rem;
    }
    
    header img {
        height: 56px; /* Keep logo at same size */
    }
}

@media (max-width: 480px) {
    header .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    header .py-4 {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* ========================================
   LISTING GALLERY STYLES
   ======================================== */

/* Gallery Container */
.listing-gallery {
    margin: 2rem 0;
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    gap: 1rem;
}

.gallery-grid.grid-cols-2 {
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 0.5rem), 1fr));
}

.gallery-grid.grid-cols-3 {
    grid-template-columns: repeat(auto-fill, minmax(calc(33.333% - 0.667rem), 1fr));
}

.gallery-grid.grid-cols-4 {
    grid-template-columns: repeat(auto-fill, minmax(calc(25% - 0.75rem), 1fr));
}

@media (max-width: 768px) {
    .gallery-grid.grid-cols-3,
    .gallery-grid.grid-cols-4 {
        grid-template-columns: repeat(auto-fill, minmax(calc(50% - 0.5rem), 1fr));
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

/* Featured Badge - Golden Corner Triangle */
.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 60px 0;
    border-color: transparent #ffc300 transparent transparent;
    z-index: 10;
}

.featured-badge-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    z-index: 11;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.3));
    animation: spinStar 4s ease-in-out infinite;
    transform-origin: center center;
}

/* Spinning Star Animation - Accelerate, Decelerate, Pause, Loop */
@keyframes spinStar {
    0% {
        transform: rotate(0deg);
        animation-timing-function: ease-in;
    }
    30% {
        transform: rotate(180deg);
        animation-timing-function: ease-out;
    }
    50% {
        transform: rotate(360deg);
        animation-timing-function: ease-out;
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* No Gallery Message */
.no-gallery {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
}

.no-gallery p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Gallery Slider Layout */
.gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-slider .swiper-container {
    width: 100%;
    height: 100%;
}

.gallery-slider .swiper-slide {
    position: relative;
}

.gallery-slider .gallery-image {
    width: 100%;
    height: 24rem;
    object-fit: cover;
}

.gallery-slider .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1rem;
}

.gallery-slider .slide-caption h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-slider .slide-caption p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.gallery-slider .swiper-button-prev,
.gallery-slider .swiper-button-next {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.gallery-slider .swiper-button-prev:hover,
.gallery-slider .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.gallery-slider .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
}

.gallery-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #3b82f6;
}

/* Gallery Masonry Layout */
.gallery-masonry {
    column-count: 3;
    column-gap: 1rem;
}

@media (max-width: 1024px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .gallery-masonry {
        column-count: 1;
    }
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
}

.masonry-item .gallery-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Lightbox Styles */
.gallery-item[data-lightbox] {
    cursor: zoom-in;
}

/* Gallery Section Header */
.gallery-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.gallery-section-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.gallery-count {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Print Styles */
@media print {
    .no-print,
    .scroll-to-top {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* Keyboard Shortcuts Overlay */
div#keyboardShortcutsOverlay {
    z-index: 9999 !important;
}

/* ========================================
   HEADING UTILITY CLASSES
   Consistent typography for titles and headings across the site
   ======================================== */

/* Page Header Main Title - Used in: All listing pages */
.page-header-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .page-header-title {
        font-size: 3rem; /* md:text-5xl */
    }
}

/* Section Title - Used in: Main content sections */
.section-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    color: #1f2937;
}

/* Card Title - Used in: All listing cards, homepage cards */
.card-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700;
    color: #1f2937;
}

/* Sidebar Title - Used in: Sidebar sections */
.sidebar-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700;
}

/* Subsection Title - Used in: Smaller subsections */
.subsection-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600;
    color: #1f2937;
}

/* ========================================
   INLINE STYLES REPLACEMENT CLASSES
   ======================================== */

/* Hidden clear button */
.hidden-clear-btn {
    display: none !important;
}

/* Smooth scroll behavior for sliders */
.smooth-scroll-container {
    scroll-behavior: smooth;
}

/* Filter chevron transformations */
.filter-chevron-collapsed {
    transform: rotate(-90deg);
}

/* Section icon transformations */
.section-icon-collapsed {
    transform: rotate(-180deg);
}

/* Honeypot field (anti-spam) */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* Hero background image for homepage slider */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ========================================
   HOMEPAGE SLIDER SEARCH STYLES
   ======================================== */

/* Search Results Container - Use fixed positioning to escape stacking context */
#slider-search-container .search-results-container {
    position: fixed;
    z-index: 9999;
    margin-top: 8px;
    /* Position will be set dynamically by JavaScript */
}

.search-results-dropdown {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    max-height: 500px;
    overflow: hidden;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    background: #f9fafb;
}

.search-results-title {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.search-results-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.search-results-close:hover {
    background-color: #e5e7eb;
}

.search-results-content {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f9fafb;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 12px;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.search-result-description {
    color: #6b7280;
    font-size: 12px;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #6b7280;
}

.search-result-meta i {
    margin-right: 2px;
}

.search-result-category {
    background: #e0e7ff;
    color: #3730a3;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.search-results-footer {
    padding: 12px 16px;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
}

.search-see-all-btn {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-see-all-btn:hover {
    background: #2563eb;
}

.search-no-results,
.search-results-loading,
.search-results-error {
    padding: 24px 16px;
    text-align: center;
    color: #6b7280;
}

.search-no-results i,
.search-results-loading i,
.search-results-error i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.search-results-loading i {
    color: #3b82f6;
}

.search-results-error i {
    color: #ef4444;
}

/* Mobile responsive for search results */
@media (max-width: 768px) {
    #slider-search-container .search-results-container {
        margin-top: 4px;
    }
    
    .search-result-item {
        padding: 8px 12px;
    }
    
    .search-result-image {
        width: 50px;
        height: 50px;
    }
    
    .search-result-title {
        font-size: 13px;
    }
    
    .search-result-description {
        font-size: 11px;
    }
}

/* ========================================
   Footer Styles
   ======================================== */

/* Footer Social Media Links */
.footer-social-link {
    font-size: 1rem;
}

.footer-social-link i {
    font-size: 1.5rem;
    width: 1.5rem;
    text-align: center;
}

/* Footer Certifications */
footer .certification-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .certification-item img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

footer .certification-item a:hover img {
    opacity: 0.8;
}

@media (max-width: 768px) {
    footer .certification-item {
        margin: 0.5rem 0;
    }
    
    footer .certification-item img {
        max-height: 125px;
    }
}

/* ========================================
   Review Badge Styles (Header)
   ======================================== */

.review-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    white-space: nowrap;
}

.review-badge-text {
    color: #374151;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.review-badge-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.review-badge-logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.review-badge-logo img {
    width: auto;
    object-fit: contain;
    display: block;
}

.review-badge-logo i {
    display: inline-block;
}

/* Rating Row (Stars + Review Count) */
.review-badge-rating-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.review-badge-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    line-height: 1;
}

.review-badge-stars .fas.fa-star,
.review-badge-stars .fas.fa-star-half-alt {
    color: #fbbf24;
}

.review-badge-stars .far.fa-star {
    color: #d1d5db;
}

.review-badge-rating-value {
    font-weight: 500;
    line-height: 1;
}

.review-badge-count {
    font-weight: 400;
    line-height: 1;
}

/* Size Presets */
.review-badge-size-small {
    gap: 0.25rem;
    padding: 0.125rem 0.375rem;
}

.review-badge-size-small .review-badge-text {
    font-size: 0.625rem; /* 10px */
}

.review-badge-size-small .review-badge-logo img {
    height: 16px;
}

.review-badge-size-small .review-badge-logo i {
    font-size: 16px;
}

.review-badge-size-small .review-badge-stars {
    font-size: 12px;
}

.review-badge-size-small .review-badge-rating-value,
.review-badge-size-small .review-badge-count {
    font-size: 0.625rem; /* 10px */
}

.review-badge-size-medium {
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
}

.review-badge-size-medium .review-badge-text {
    font-size: 0.75rem; /* 12px */
}

.review-badge-size-medium .review-badge-logo img {
    height: 20px;
}

.review-badge-size-medium .review-badge-logo i {
    font-size: 20px;
}

.review-badge-size-medium .review-badge-stars {
    font-size: 14px;
}

.review-badge-size-medium .review-badge-rating-value,
.review-badge-size-medium .review-badge-count {
    font-size: 0.75rem; /* 12px */
}

.review-badge-size-large {
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
}

.review-badge-size-large .review-badge-text {
    font-size: 0.875rem; /* 14px */
}

.review-badge-size-large .review-badge-logo img {
    height: 24px;
}

.review-badge-size-large .review-badge-logo i {
    font-size: 24px;
}

.review-badge-size-large .review-badge-stars {
    font-size: 16px;
}

.review-badge-size-large .review-badge-rating-value,
.review-badge-size-large .review-badge-count {
    font-size: 0.875rem; /* 14px */
}

/* Badge Style Variants */
.review-badge-style-minimal {
    /* Current style - no background, no border, transparent */
    background: transparent;
    border: none;
    padding: 0.25rem 0.5rem;
}

.review-badge-style-bordered {
    /* Border only, no background */
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 0.25rem 0.5rem;
}

.review-badge-style-light {
    /* Subtle light background */
    background-color: #f9fafb;
    border: none;
    padding: 0.25rem 0.5rem;
}

.review-badge-style-card {
    /* Card style with background, border, and shadow */
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0.75rem;
}

.review-badge-style-solid {
    /* Solid colored background */
    background-color: #f3f4f6;
    border: none;
    padding: 0.375rem 0.625rem;
}

.review-badge-style-gradient {
    /* Gradient background */
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: none;
    padding: 0.375rem 0.625rem;
}

.review-badge-style-elevated {
    /* Elevated card with stronger shadow */
    background: white;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0.75rem;
}

/* Adjust padding for size variants with card/elevated styles */
.review-badge-size-small.review-badge-style-card,
.review-badge-size-small.review-badge-style-elevated {
    padding: 0.375rem 0.5rem;
}

.review-badge-size-medium.review-badge-style-card,
.review-badge-size-medium.review-badge-style-elevated {
    padding: 0.5rem 0.75rem;
}

.review-badge-size-large.review-badge-style-card,
.review-badge-size-large.review-badge-style-elevated {
    padding: 0.625rem 1rem;
}

.review-badge-size-small.review-badge-style-solid,
.review-badge-size-small.review-badge-style-gradient {
    padding: 0.25rem 0.5rem;
}

.review-badge-size-medium.review-badge-style-solid,
.review-badge-size-medium.review-badge-style-gradient {
    padding: 0.375rem 0.625rem;
}

.review-badge-size-large.review-badge-style-solid,
.review-badge-size-large.review-badge-style-gradient {
    padding: 0.5rem 0.75rem;
}

/* Text color adjustments for darker backgrounds */
.review-badge-style-light .review-badge-text,
.review-badge-style-card .review-badge-text,
.review-badge-style-elevated .review-badge-text {
    color: #374151;
}

.review-badge-style-solid .review-badge-text,
.review-badge-style-gradient .review-badge-text {
    color: #374151;
}

/* Hide review badge on mobile */
@media (max-width: 768px) {
    .review-badge {
        display: none !important;
    }
}

/* ========================================
   Frontend Header Banner Styles
   ======================================== */

.frontend-header-banner {
    width: 100%;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-bottom: 1px solid #bfdbfe;
    padding: 12px 0;
    z-index: 40;
    position: relative;
}

.frontend-header-banner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.frontend-header-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.frontend-header-banner-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frontend-header-banner-icon i {
    font-size: 20px;
    color: var(--brand-primary, #113D5A);
}

.frontend-header-banner-description {
    flex-shrink: 0;
    min-width: 200px;
    text-align: center;
}

.frontend-header-banner-description p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #1f2937);
    line-height: 1.5;
}

.frontend-header-banner-cta {
    flex-shrink: 0;
}

.frontend-header-banner-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--brand-primary, #113D5A);
    color: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.frontend-header-banner-button:hover {
    background: var(--brand-primary-dark, #0a2939);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.frontend-header-banner-button:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .frontend-header-banner {
        padding: 10px 0;
    }
    
    .frontend-header-banner-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .frontend-header-banner-icon {
        order: 1;
    }
    
    .frontend-header-banner-description {
        order: 2;
        min-width: auto;
        width: 100%;
    }
    
    .frontend-header-banner-description p {
        font-size: 13px;
    }
    
    .frontend-header-banner-cta {
        order: 3;
        width: 100%;
    }
    
    .frontend-header-banner-button {
        width: 100%;
        justify-content: center;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .frontend-header-banner {
        padding: 8px 0;
    }
    
    .frontend-header-banner-icon i {
        font-size: 18px;
    }
    
    .frontend-header-banner-description p {
        font-size: 12px;
    }
    
    .frontend-header-banner-button {
        padding: 6px 16px;
        font-size: 13px;
    }
}