/* Bungalov PMS - Sapanca Nature Theme */
/* Inspired by: Sapanca's forests, lake, and peaceful landscapes */

:root {
    --primary: #2d6a4f;
    --primary-dark: #1a4d2e;
    --primary-light: #52b788;
    --secondary: #d4a373;
    --accent-gradient: linear-gradient(135deg, var(--primary) 0%, #40916c 50%, var(--primary-light) 100%);
    --warm-gradient: linear-gradient(135deg, #d4a373 0%, #faedcd 100%);
    
    --bg-primary: #f8faf6;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5ef;
    --bg-card: rgba(255,255,255,0.7);
    --bg-glass: rgba(255,255,255,0.85);
    --bg-glass-dark: rgba(26,77,46,0.08);
    
    --text-primary: #1a2e1a;
    --text-secondary: #4a6b4a;
    --text-tertiary: #6b8f6b;
    --text-muted: #8fa88f;
    
    --border-glass: rgba(26,77,46,0.1);
    --border-hover: rgba(26,77,46,0.2);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(26,77,46,0.08);
    --shadow-md: 0 4px 20px rgba(26,77,46,0.1);
    --shadow-lg: 0 8px 40px rgba(26,77,46,0.12);
    --shadow-glow: 0 0 30px rgba(45,106,79,0.15);
    --danger: #dc3545;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-sans);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(45,106,79,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45,106,79,0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(45,106,79,0.08);
    border-color: var(--border-hover);
}

.btn-white {
    background: #fff;
    color: var(--primary-dark);
}

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

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

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

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-success {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

/* Loader */
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.navbar .nav-item > a,
.navbar .logo-text {
    color: #fff;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
}

.navbar.scrolled .nav-item > a {
    color: var(--text-secondary);
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo img { height: 40px; width: auto; }

.logo-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item { position: relative; }

.nav-item > a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item > a i { font-size: 10px; transition: var(--transition); }
.nav-item > a:hover { color: var(--primary); }
.nav-item:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown a:hover { background: var(--bg-glass-dark); color: var(--primary); }

.navbar-actions { display: flex; align-items: center; gap: 16px; }

/* Language Switcher */
.navbar-lang { position: relative; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lang-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
}
.lang-btn i { font-size: 10px; transition: transform 0.2s ease; }
.lang-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.lang-btn .current-lang-flag { font-size: 16px; line-height: 1; }
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
}
.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}
.lang-option:hover { background: var(--bg-tertiary); }
.lang-option.active { background: var(--primary-light); color: var(--primary); }
.lang-flag { font-size: 18px; line-height: 1; }
.lang-name { flex: 1; }

/* Mobile Menu Language Switcher */
.mobile-lang { padding: 16px 20px 8px; border-top: 1px solid var(--border-glass); }
.mobile-lang-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.mobile-lang-dropdown {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}
.mobile-lang-dropdown.active { display: flex; }
.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    width: 100%;
}
.mobile-lang-option:hover,
.mobile-lang-option.active { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.mobile-lang-option .flag { width: 28px; height: 18px; border-radius: 3px; object-fit: cover; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--text-primary);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: 320px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--border-glass);
    z-index: 2000;
    padding: 24px;
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.mobile-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.mobile-close {
    font-size: 32px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-nav { display: flex; flex-direction: column; gap: 8px; }

.mobile-nav-item {
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-item:hover { background: var(--bg-tertiary); color: var(--primary); }

.mobile-menu-footer {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
}

/* Hero Section - Sapanca Nature */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(26,77,46,0.6) 0%,
        rgba(45,106,79,0.3) 40%,
        rgba(26,77,46,0.5) 100%
    );
}

/* hero-particles removed for performance */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
}

.hero-badge i { color: var(--secondary); }

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(38px, 7vw, 76px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 24px;
    color: #fff;
}

.hero-title .highlight {
    color: var(--secondary);
    font-style: italic;
}

.hero-text {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.hero-actions .btn-secondary {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

.hero-actions .btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

/* Hero Wave Divider */
.hero-wave-svg {
    width: 100%;
    height: 80px;
    display: block;
}
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Hero Search Box */
.hero-search {
    position: relative;
    z-index: 2;
    margin-top: -55px;
}

.search-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-lg);
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.search-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-sans);
    outline: none;
    transition: var(--transition);
}

.search-field input:focus,
.search-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

/* Decorative Leaf Elements */
.leaf-decor {
    position: absolute;
    opacity: 0.04;
    pointer-events: none;
    font-size: 120px;
    color: var(--primary);
    z-index: 0;
}

.leaf-decor-1 { top: 5%; right: 3%; transform: rotate(30deg); }
.leaf-decor-2 { bottom: 10%; left: 2%; transform: rotate(-20deg); font-size: 80px; }

/* Villas Section */
.villas-section { background: var(--bg-primary); }

.villas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.villas-grid .villa-card {
    display: flex;
    flex-direction: row;
}

.villas-grid .villa-card-image {
    width: 320px;
    min-height: 240px;
    flex-shrink: 0;
}

.villas-grid .villa-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.villas-grid .villa-card-footer {
    margin-top: auto;
}

.villa-card {
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.villa-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.villa-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.villa-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.villa-card:hover .villa-card-image img { transform: scale(1.08); }

.villa-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
}

.villa-badge {
    padding: 4px 12px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.villa-badge.featured { background: var(--accent-gradient); }

.villa-card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    pointer-events: none;
}

.villa-card-actions {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.villa-card:hover .villa-card-actions {
    opacity: 1;
}

.villa-card-content { padding: 24px; }

.villa-card-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.villa-card-title a { color: var(--text-primary); text-decoration: none; }

.villa-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.villa-card-features {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.villa-card-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.villa-card-feature i { color: var(--primary); }

.villa-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.villa-footer-buttons {
    display: flex;
    gap: 8px;
}

.villa-card-price { display: flex; flex-direction: column; }

.villa-card-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.villa-card-price .period {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Features Section */
.features-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45,106,79,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(45,106,79,0.08) 0%, rgba(82,183,136,0.08) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--accent-gradient);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item { text-align: center; color: #fff; }

.stat-number {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-serif);
}

.stat-number small { font-size: 24px; opacity: 0.8; }

.stat-label { font-size: 14px; opacity: 0.85; font-weight: 500; letter-spacing: 0.02em; }

/* Testimonials */
.testimonials-section { background: #fff; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.testimonial-stars { color: #d4a373; font-size: 14px; margin-bottom: 16px; }

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-date { font-size: 12px; color: var(--text-tertiary); }

/* Gallery Section */
.gallery-section { background: var(--bg-primary); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

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

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }

.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26,77,46,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i { font-size: 32px; color: #fff; }

/* Blog */
.blog-section { background: #fff; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.blog-card-image { height: 220px; overflow: hidden; }

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-content { padding: 24px; }

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.blog-card-meta i { color: var(--primary); }

.blog-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a { color: var(--text-primary); text-decoration: none; }

.blog-card-title a:hover { color: var(--primary); }

.blog-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.blog-card-link:hover { gap: 12px; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 100px auto;
    max-width: 1100px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: ctaGlow 12s ease infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(3%, -3%); }
}

.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }

.cta-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image { position: relative; border-radius: var(--radius-lg); }

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

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-sm);
    z-index: -1;
}

.about-experience {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    color: #fff;
}

.about-experience .number {
    font-size: 36px;
    font-weight: 800;
    display: block;
}

.about-experience .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* FAQ */
.faq-section { background: var(--bg-primary); }

.faq-contact-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    max-width: 400px;
    margin: 0 auto;
}
.faq-headset-icon {
    font-size: 36px;
    color: var(--primary-light);
    margin-bottom: 12px;
    display: block;
}
.faq-contact-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.faq-contact-text {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question i {
    transition: var(--transition);
    font-size: 14px;
    color: var(--primary);
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.faq-answer p,
.faq-answer-inner {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact */
.contact-section { background: #fff; }

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

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item { display: flex; align-items: flex-start; gap: 16px; }

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(45,106,79,0.08) 0%, rgba(82,183,136,0.08) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }

.contact-item p,
.contact-item a { font-size: 14px; color: var(--text-tertiary); text-decoration: none; }

.contact-item a:hover { color: var(--primary); }

.contact-form {
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-sans);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

textarea.form-control { min-height: 120px; resize: vertical; }

/* 404 Error */
.error-404-number {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary-light);
    opacity: 0.2;
    line-height: 1;
}
.error-404-actions {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-hero,
.page-header {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.page-hero h1,
.page-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: #fff;
}

.page-hero p,
.page-header p { color: rgba(255,255,255,0.75); font-size: 16px; margin-top: 12px; }

.page-hero .section-label { color: #fff; }

/* Villa Detail */
.villa-detail-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
}

.villa-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.villa-detail-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 50%, rgba(26,77,46,0.3) 100%);
}

.villa-detail-content { position: relative; margin-top: -60px; z-index: 2; }

.villa-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.villa-detail-sidebar { position: sticky; top: 100px; }

.villa-price-card {
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.villa-price-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
}

.villa-price-amount { font-size: 36px; font-weight: 800; color: var(--primary-dark); }
.villa-price-period { font-size: 14px; color: var(--text-tertiary); }

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.feature-item i { color: var(--primary); font-size: 16px; }

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 80px 0 0;
    color: rgba(255,255,255,0.85);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 16px 0 24px;
    line-height: 1.6;
}

.footer-logo { height: 40px; }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.footer-col h4 { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: #fff; }

.footer-col ul { list-style: none; }

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

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover { color: #fff; }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-contact li i { width: 16px; color: var(--secondary); }

.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact a:hover { color: #fff; }

.newsletter-form {
    display: flex;
    margin-top: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form button {
    padding: 12px 20px;
    background: var(--secondary);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover { background: #c4956a; }

.newsletter-success {
    color: #a8e6a1;
    font-size: 13px;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(168,230,161,0.1);
    border-radius: 6px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover { color: #fff; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

.back-to-top:hover { background: var(--primary); color: #fff; border-color: transparent; }

/* Utility classes */
.blog-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
}

.price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 8px;
}

.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-tertiary);
}

.empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 20px;
}

.form-divider {
    height: 1px;
    background: var(--border-glass);
    margin: 16px 0;
}

.required {
    color: var(--danger);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img { max-width: 90%; max-height: 90%; border-radius: var(--radius-md); }

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    padding: 4px 14px;
    border-radius: 20px;
}

/* Blog Sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.blog-sidebar-widget {
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.blog-sidebar-widget h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.blog-sidebar-widget ul { list-style: none; }

.blog-sidebar-widget ul li { margin-bottom: 10px; }

.blog-sidebar-widget ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
}

.blog-sidebar-widget ul li a:hover { color: var(--primary); }

/* Blog Detail */
.blog-detail-cover {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-top: 80px;
    margin-bottom: 40px;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.blog-detail-meta i { color: var(--primary); }

.blog-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-detail-content h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--text-primary);
    margin: 40px 0 16px;
}

.blog-detail-content h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 32px 0 12px;
}

.blog-detail-content p { margin-bottom: 20px; }

.blog-detail-content ul,
.blog-detail-content ol { margin: 16px 0; padding-left: 24px; }

.blog-detail-content li { margin-bottom: 8px; }

/* File Attachment */
.file-attachment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}
.file-attachment:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}
.file-attachment-icon {
    color: var(--primary);
}

/* Page Detail Container */
.page-detail-container {
    padding: 0 24px 80px;
    max-width: 900px;
}

/* Page Content */
.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--text-primary);
    margin: 40px 0 16px;
}

.page-content h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 32px 0 12px;
}

.page-content p { margin-bottom: 20px; }
.page-content ul, .page-content ol { margin: 16px 0; padding-left: 24px; }
.page-content li { margin-bottom: 8px; }

/* Villa Listing Filters */
.villa-list-layout {
    display: flex;
    gap: 32px;
    align-items: start;
}
.villa-list-layout .filter-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.villa-list-layout .villa-listing-main {
    flex: 1;
    min-width: 0;
}

.seo-content-section {
    padding: 40px 0 80px;
}
.seo-content-section .seo-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.filter-sidebar {
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-sidebar h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.filter-group { margin-bottom: 20px; }

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    outline: none;
}

.checkbox-group { display: flex; flex-direction: column; gap: 8px; }

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--primary);
    width: auto;
}

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 14px;
    border: 1px solid var(--border-glass);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.team-card {
    background: #fff;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-serif);
}

.team-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--text-tertiary); }

/* Villa Category Badge */
.villa-category-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-glass-dark);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gallery-item:nth-child(5) { grid-column: span 1; }
    .villa-detail-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .villa-list-layout { flex-direction: column; }
    .villa-list-layout .filter-sidebar { width: 100%; }
    .blog-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .navbar-menu { display: none; }
    .navbar-actions .btn span { display: none; }
    .hamburger { display: flex; }
    .villas-grid .villa-card { flex-direction: column; }
    .villas-grid .villa-card-image { width: 100%; min-height: 220px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:nth-child(1) { grid-column: span 1; }
    .gallery-item:nth-child(5) { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .cta-section { padding: 40px 24px; border-radius: var(--radius-lg); margin: 60px 16px; }
    .search-grid { grid-template-columns: 1fr; }
    .hero-search { margin-top: -30px; }
    .about-experience { bottom: 16px; right: 16px; padding: 16px; }
    .about-experience .number { font-size: 24px; }
    .about-experience .label { font-size: 10px; }
    .hero-particles { display: none; }
    .page-hero,
    .page-header { padding: 120px 0 60px; }
    .villa-card-footer { flex-wrap: wrap; gap: 8px; }
    .villa-card-footer .btn,
    .villa-footer-buttons .btn { flex: 1; text-align: center; justify-content: center; }
    .villa-footer-buttons { flex: 1; }
    .villa-card-price { width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .villa-gallery-grid img { height: 200px; }
    .villa-gallery-grid img:first-child { height: 250px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .blog-detail-cover { height: 250px; }
}

/* Animations - content always visible; JS enhances */
[data-animate] { opacity: 1; transform: none; }

/* Parallax */
.parallax { will-change: transform; }

/* Loading Screen */
.loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-content {
    text-align: center;
}
.loader-logo span {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 4px;
}
.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin: 24px auto 0;
    overflow: hidden;
}
.loader-bar-fill {
    width: 0;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
    animation: loaderFill 0.6s ease-in-out forwards;
}
@keyframes loaderFill {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Villa Card Tags */
.villa-card-tags {
    padding: 0 20px 12px;
}
.villa-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}
.villa-tag i { margin-right: 4px; font-size: 10px; }

/* Info Grid Cards */
.info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    transition: var(--transition);
}
.info-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}
.info-card-icon {
    color: var(--success);
    font-size: 18px;
    flex-shrink: 0;
}
.info-card-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}
.info-card-text {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Stat Number Cards */
.stat-num-card {
    text-align: center;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}
.stat-num-card .number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.stat-num-card .label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Distance Items */
.distance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    transition: var(--transition);
}
.distance-item:hover {
    border-color: var(--border-hover);
}
.distance-item-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}
.distance-item-name i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}
.distance-item-value {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

/* Capacity Items */
.capacity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
}
.capacity-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}
.capacity-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.capacity-item-text {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Rule Items */
.rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
}
.rule-item i {
    color: var(--danger);
    font-size: 14px;
    width: 20px;
    text-align: center;
}
.rule-item span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Empty State */
.empty-state.grid-wide {
    grid-column: 1/-1;
}

/* Villa Notes Card */
.villa-notes-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
}
.villa-notes-card h4 {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-primary);
}
.villa-notes-card p {
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.villa-notes-card strong {
    color: var(--text-primary);
}

/* Price Card Header */
.villa-price-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-glass);
}
.villa-price-amount {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}
.villa-price-period {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-left: 4px;
}

/* Price Row */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px 16px;
    font-size: 13px;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--border-glass);
}
.price-row span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}
.price-row span.highlight {
    color: var(--primary);
}

/* Villa Detail Quick Info */
.villa-quick-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
    margin: 24px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

/* Section Heading with Icon */
.section-heading {
    font-size: 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-heading i {
    color: var(--primary);
}

/* Villa Gallery Grid */
.villa-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 8px;
    border-radius: var(--radius-md);
    overflow: clip;
    margin-bottom: 32px;
}
.villa-gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}
.villa-gallery-grid img:first-child {
    height: 408px;
    grid-row: span 2;
}
.villa-gallery-grid img:hover {
    opacity: 0.9;
}
@keyframes galleryFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.villa-gallery-grid img.gallery-new {
    animation: galleryFadeIn 0.3s ease;
}
.gallery-more-btn {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    height: 200px;
}
.gallery-more-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Spacing Utilities */
.mt-48 { margin-top: 48px; }
.mt-32 { margin-top: 32px; }
.mt-24 { margin-top: 24px; }
.mt-16 { margin-top: 16px; }
.mt-12 { margin-top: 12px; }
.mt-8 { margin-top: 8px; }
.mb-32 { margin-bottom: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-20 { margin-bottom: 20px; }
.mb-16 { margin-bottom: 16px; }
.mb-12 { margin-bottom: 12px; }
.mb-8 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 4px; }
.py-80 { padding: 80px 0; }
.py-60 { padding: 60px 0; }
.pt-24 { padding-top: 24px; }
.pt-60 { padding-top: 60px; }

/* Text Utilities */
.text-tertiary { color: var(--text-tertiary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-primary-color { color: var(--primary); }
.fw-600 { font-weight: 600; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-28 { font-size: 28px; }
.ttu { text-transform: uppercase; }
.ls-01 { letter-spacing: 0.1em; }

/* Flex Helpers */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* Grid Helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-single { display: grid; gap: 12px; }
.grid-center { display: grid; gap: 12px; }

/* Recent Post Date */
.rp-date {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* Tag Style */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    margin: 4px;
}
.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Social Circle Icon */
.social-circle {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}
.social-circle:hover {
    background: var(--primary);
    color: #fff;
}

/* Social Share Buttons */
.share-btn {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0a66c2; }

/* Prev/Next Post Navigation */
.post-nav {
    padding: 20px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}
.post-nav:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.post-nav-label {
    font-size: 12px;
    color: var(--text-tertiary);
}
.post-nav-title {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.post-nav-right { text-align: right; }

/* Section with border top */
.section-with-border {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

/* Villa Detail Sections */
.villa-section {
    padding: 48px 0 0;
}
.villa-section-lg {
    padding: 80px 0 0;
}

/* Villa Feature Grids */
.villa-grid-180 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.villa-grid-200 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.villa-grid-220 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.villa-grid-220-gap12 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.villa-grid-250 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}
.villa-grid-single {
    display: grid;
    gap: 10px;
}

/* Villa Feature Text */
.villa-feature-text {
    font-size: 14px;
}

/* Spacing Helpers */
.villa-mt-8 {
    margin-top: 8px;
}
.villa-mb-16 {
    margin-bottom: 16px;
}
.villa-mt-20 {
    margin-top: 20px;
}
.villa-ml-8 {
    margin-left: 8px;
}


/* Booking Form Padding */
.booking-form-pad {
    padding: 16px 20px;
}

/* Price Footer */
.villa-price-footer {
    padding: 0 20px 16px;
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
}

/* Icon Primary Color */
.icon-primary {
    color: var(--primary);
}

/* Cancellation Policy Box */
.cancellation-box {
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .villa-detail-grid { grid-template-columns: 1fr; }
    .villa-detail-grid > * { min-width: 0; width: 100%; }
    .villa-detail-main, .villa-detail-sidebar { overflow-x: hidden; }
    .villa-detail-sidebar { position: static; margin-top: 32px; }
}

@media (max-width: 768px) {
    .villa-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .villa-gallery-grid img {
        height: 180px;
    }
    .villa-gallery-grid img:first-child {
        grid-column: span 2;
        height: 260px;
    }
    .villa-gallery-grid img:nth-child(2) {
        grid-column: span 2;
    }
    .gallery-more-btn {
        height: 180px;
    }
    .villa-quick-info {
        gap: 12px;
    }
    .villa-grid-180,
    .villa-grid-200,
    .villa-grid-220,
    .villa-grid-220-gap12,
    .villa-grid-250 {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .villa-grid-180 > *,
    .villa-grid-200 > *,
    .villa-grid-220 > *,
    .villa-grid-220-gap12 > *,
    .villa-grid-250 > * { min-width: 0; }
    .villa-detail-content img { max-width: 100%; }
    .villa-price-card { padding: 24px; }
    .booking-form-pad { padding: 16px; }
    .villa-detail-hero { height: 50vh; min-height: 320px; }
}

@media (max-width: 480px) {
    .villa-gallery-grid img { height: 180px !important; }
    .villa-gallery-grid img:first-child { height: 220px !important; }
    .villa-price-card { padding: 18px; }
    .section-heading { font-size: 22px; }
    .form-row-2 { grid-template-columns: 1fr !important; }
}

/* Review Form */
.review-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.review-form .form-group {
    margin-bottom: 16px;
}
.review-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}
.review-form .required { color: #e74c3c; }
.review-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
    background: #fff;
}
.review-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}
.review-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}
.star-rating .fa-star {
    transition: color 0.15s;
    margin-right: 2px;
}
.star-rating .fa-star:hover,
.star-rating .fa-star.star-active {
    color: #d4a373 !important;
    transform: scale(1.1);
}
.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* ============================================
   PAGE TITLE (used in 10+ frontend files)
   ============================================ */
.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: var(--font-serif);
}
.page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}
.page-header-content {
    text-align: center;
    padding: 60px 0 40px;
}

/* ============================================
   ALERT BASE
   ============================================ */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* ============================================
   PAGINATION
   ============================================ */
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.page-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.page-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}

/* ============================================
   VILLA LISTING (villas/index.php)
   ============================================ */
.villa-listing {
    padding: 60px 0;
}
.villa-listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.villa-listing-main {
    flex: 1;
    min-width: 0;
}
.listing-count {
    font-size: 14px;
    color: var(--text-secondary);
}
.discount {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--danger);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

/* Filter sidebar */
.filter-form {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}
.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

/* ============================================
   GALLERY LIGHTBOX (pages/gallery.php)
   ============================================ */
.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.gallery-overlay-content {
    position: absolute;
    inset: 0;
    background: rgba(26,77,46,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    padding: 16px;
}
.gallery-overlay-content:hover {
    opacity: 1;
}
.gallery-zoom {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid #fff;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}
.gallery-zoom:hover {
    background: rgba(255,255,255,0.3);
}

/* Lightbox */
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: #000;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 14px;
    text-align: center;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ============================================
   BLOG LISTING (blog/index.php)
   ============================================ */
.blog-listing {
    display: flex;
    gap: 24px;
    padding: 60px 0;
}
.blog-listing-main {
    flex: 1;
    min-width: 0;
}
.blog-sidebar {
    width: 300px;
    flex-shrink: 0;
}
.blog-detail {
    max-width: 800px;
    margin: 0 auto;
}
.related-posts-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-glass);
}

/* ============================================
   REVIEWS PAGE (reviews/index.php)
   ============================================ */
.reviews-section {
    margin-bottom: 40px;
}
.review-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

/* ============================================
   CONTACT PAGE (pages/contact.php)
   ============================================ */
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 24px;
}
.contact-map iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: var(--radius-lg);
}

/* ============================================
   VILLA MAP (villas/show.php)
   ============================================ */
.villa-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.villa-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

/* ============================================
   FAQ PAGE (pages/faq.php)
   ============================================ */
.faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(45,106,79,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   ABOUT PAGE (pages/about.php)
   ============================================ */

/* ============================================
   GENERIC PAGE (pages/show.php)
   ============================================ */
.page-detail {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   SUCCESS PAGE (reservations/success.php)
   ============================================ */
.page-header-content {
    text-align: center;
    padding: 60px 0 40px;
}
.page-header-content h1 {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-serif);
    margin-bottom: 12px;
}
.page-header-content p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ============================================
   VILLA SPACING UTILITIES
   ============================================ */
.villa-mt-12 { margin-top: 12px; }
.villa-mb-24 { margin-bottom: 24px; }
.villa-mb-32 { margin-bottom: 32px; }

/* ============================================
   NAVBAR EXTRAS (layouts/main.php)
   ============================================ */
.current-lang {
    font-weight: 700;
    color: var(--primary);
}
.logo-light,
.logo-dark {
    height: 36px;
    width: auto;
}

/* ============================================
   CAMPAIGNS SECTION
   ============================================ */
.campaigns-section {
    padding: 80px 0;
}
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.campaign-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}
.campaign-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.campaign-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.campaign-content {
    padding: 24px;
    position: relative;
}
.campaign-badge {
    position: absolute;
    top: -32px;
    right: 20px;
    background: var(--secondary);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
.campaign-title {
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.campaign-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 768px) {
    .blog-listing { flex-direction: column; }
    .blog-sidebar { width: 100%; }
    .page-title { font-size: 28px; }
    .gallery-manage-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}

/* ============================================
   FILTER TOGGLE
   ============================================ */
.filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.filter-sidebar-header h3 {
    margin: 0;
    padding: 0;
    border: none;
}
.filter-close {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

@media (max-width: 1024px) {
    .filter-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        background: var(--bg-primary);
        border-radius: 0;
        overflow-y: auto;
        padding: 20px;
    }
    .filter-sidebar.filter-open {
        display: block;
    }
    .filter-close {
        display: block;
    }
    .filter-sidebar-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border-glass);
    }
    #filterToggleBtn.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
}

/* ============================================
   TABLE STYLING
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    margin: 16px 0;
}
.table-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}
.table-wrapper th {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border-glass);
    white-space: nowrap;
}
.table-wrapper td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-primary);
}
.table-wrapper tbody tr:hover {
    background: var(--bg-glass);
}
.table-wrapper tbody tr:last-child td {
    border-bottom: none;
}
.table-wrapper .empty-state {
    padding: 40px 20px;
}

/* ============================================
   ALERT / TOAST MODERN
   ============================================ */
.alert-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
}
.alert-toast-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    animation: slideInRight 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}
.alert-toast-item.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.alert-toast-item.alert-error,
.alert-toast-item.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.alert-toast-item.alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
.alert-toast-item.alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}
.alert-toast-item .alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}
.alert-toast-item .alert-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.5;
    padding: 0;
    color: inherit;
}
.alert-toast-item .alert-close:hover { opacity: 1; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   BADGE PILLS
   ============================================ */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.badge-pill-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.badge-pill-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}
.badge-pill-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.badge-pill-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state-modern {
    text-align: center;
    padding: 60px 20px;
}
.empty-state-modern i {
    font-size: 48px;
    color: var(--text-tertiary);
    opacity: 0.4;
    margin-bottom: 16px;
}
.empty-state-modern h3 {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.empty-state-modern p {
    font-size: 14px;
    color: var(--text-tertiary);
    max-width: 400px;
    margin: 0 auto 20px;
}

/* ============================================
   NAV PILLS / TABS
   ============================================ */
.nav-pills {
    display: flex;
    gap: 4px;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: var(--radius-lg);
    overflow-x: auto;
}
.nav-pills .nav-pill {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-pills .nav-pill.active {
    background: #fff;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-pills .nav-pill:hover:not(.active) {
    color: var(--text-primary);
}


