/*
Theme Name: Colina MyRent by MyRent
Theme URI: https://my-rent.net
Author: MyRent
Author URI: https://my-rent.net
Description: Professional hotel and accommodation WordPress theme by MyRent. Full MyRent API integration with real-time availability, booking system, interactive maps, and property management. Features: Date picker, availability calendar, Google Maps integration, sticky menu, responsive design.
Version: 2.4.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: colina-myrent
Tags: hotel, accommodation, booking, properties, myrent, real-estate, responsive, custom-colors, custom-menu, featured-images

Colina MyRent WordPress Theme by MyRent, Copyright 2025
Colina MyRent is distributed under the terms of the GNU GPL

Developed by MyRent - Professional Property Management System
MyRent API Integration v2.3.0
*/

/* ===================================
   Theme will use original Colina CSS files
   All original styles are enqueued via functions.php
   =================================== */

/* WordPress specific styles */
.sticky {}
.bypostauthor {}
.wp-caption {}
.wp-caption-text {}
.gallery-caption {}
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { display: block; margin: 0 auto 1em; }

/* Theme Customizer Variables - Will be dynamically generated */
:root {
    --primary-color: #c8a35f;
    --secondary-color: #2c3e50;
    --text-color: #333333;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

/* MyRent Property Styles */
.myrent-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.myrent-property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.myrent-property-card:hover {
    transform: translateY(-5px);
}

.myrent-property-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.myrent-property-details {
    padding: 20px;
}

.myrent-property-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.myrent-property-meta {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    font-size: 0.9em;
    color: #666;
}

.myrent-property-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.myrent-property-price {
    font-size: 1.3em;
    color: var(--primary-color);
    font-weight: bold;
}

.myrent-book-button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.myrent-book-button:hover {
    background: var(--secondary-color);
}

/* ===================================
   Property Archive Styles
   =================================== */
.properties-archive {
    padding: 60px 0;
}

.properties-filters {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

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

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

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.property-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.property-content {
    padding: 25px;
}

.property-name {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.property-name a {
    color: var(--secondary-color);
    text-decoration: none;
}

.property-location {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.property-meta-row {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.property-meta-row .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    color: #666;
}

.property-excerpt {
    margin: 15px 0;
    color: #555;
    line-height: 1.6;
}

/* ===================================
   Breadcrumbs Styles
   =================================== */
.breadcrumbs {
    padding: 20px 0;
    margin-bottom: 20px;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #999;
}

.breadcrumbs li:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===================================
   Single Property Styles
   =================================== */
.property-detail {
    padding: 60px 0;
}

.property-header {
    margin-bottom: 30px;
}

.property-title {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.property-gallery {
    margin-bottom: 40px;
}

.property-details,
.property-description,
.property-facilities,
.property-map {
    margin-bottom: 40px;
}

.property-meta-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.meta-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.meta-item i {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.meta-label {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.meta-value {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Amenities Section - React Style */
.property-amenities {
    margin-bottom: 40px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.amenity-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.amenity-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.amenity-label {
    font-size: 0.95em;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Availability Calendar Styles */
.property-availability {
    margin-bottom: 40px;
}

.availability-subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 1em;
}

.availability-calendar-container {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.calendar-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.calendar-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.calendar-months {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.calendar-month {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.calendar-month-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.calendar-month-header h4 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

.calendar-year {
    font-size: 0.9em;
    opacity: 0.9;
    margin-top: 5px;
}

.calendar-grid {
    padding: 15px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 0.85em;
    color: #666;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.past {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.today {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    font-weight: bold;
    border: 2px solid #667eea;
}

.calendar-day.available {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.calendar-day.available:hover {
    background: #28a745;
    color: #fff;
    transform: scale(1.1);
}

.calendar-day.unavailable {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    cursor: not-allowed;
}

/* Booking Widget Enhanced */
.booking-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
    border: 1px solid #e9ecef;
}

.booking-title {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.booking-field {
    margin-bottom: 20px;
}

.booking-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 0.95em;
}

.booking-field .input-with-icon {
    position: relative;
}

.booking-field .input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1em;
}

.booking-field .form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.booking-field .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(200, 163, 95, 0.1);
    outline: none;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Loading state for buttons */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.property-sidebar {
    position: sticky;
    top: 20px;
}

.booking-card,
.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.price-display {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.price-display .price {
    font-size: 2.5em;
    color: var(--primary-color);
    font-weight: bold;
}

.price-display .period {
    color: #666;
    font-size: 1em;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* ===================================
   Booking Page Styles
   =================================== */
.booking-section {
    padding: 60px 0;
}

.booking-form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.booking-summary {
    position: sticky;
    top: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.property-preview {
    margin-bottom: 25px;
    text-align: center;
}

.property-preview img {
    border-radius: 8px;
    margin-bottom: 15px;
}

.summary-details {
    margin: 25px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.summary-price {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--primary-color);
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1em;
    font-weight: bold;
}

.booking-help {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: center;
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-section {
    padding: 60px 0;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
}

.contact-info .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info .info-item i {
    font-size: 1.5em;
    color: var(--primary-color);
}

.contact-info .info-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-map {
    margin-top: 60px;
}

/* ===================================
   Transparent Header for Homepage
   =================================== */
header.header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}

header.header-transparent nav.navigation-top {
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

header.header-transparent nav.navigation-main {
    background: transparent;
}

header.header-transparent nav.navigation-top .box,
header.header-transparent nav.navigation-main .navigation-block ul li a {
    color: #fff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 600;
    font-size: 1.05em;
}

header.header-transparent nav.navigation-top .box:hover,
header.header-transparent nav.navigation-main .navigation-block ul li a:hover {
    color: var(--primary-color) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

header.header-transparent nav.navigation-main .logo img {
    filter: brightness(0) invert(1);
}

/* Sticky Menu Styles (when enabled and scrolled) */
header.sticked {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: slideDown 0.3s ease-in-out;
    transition: all 0.3s ease;
}

/* Body padding compensation when sticky menu is active (only for non-front-page) */
body:not(.home) header.sticked ~ * {
    /* Prevent content jump - handled by JS */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

header.sticked nav.navigation-top {
    background: #f8f9fa !important;
}

header.sticked nav.navigation-main {
    background: #fff !important;
}

header.sticked nav.navigation-top .box,
header.sticked nav.navigation-main .navigation-block ul li a {
    color: #333 !important;
    text-shadow: none;
}

header.sticked nav.navigation-main .logo img {
    filter: none;
}

/* Specific styles for transparent header when sticked */
header.header-transparent.sticked {
    background: #fff !important;
}

header.header-transparent.sticked nav.navigation-top {
    background: #f8f9fa !important;
}

header.header-transparent.sticked nav.navigation-top .box,
header.header-transparent.sticked nav.navigation-main .navigation-block ul li a {
    color: #333 !important;
    text-shadow: none;
}

header.header-transparent.sticked nav.navigation-main .logo img {
    filter: none;
}

/* ===================================
   Hero Search Section Styles
   =================================== */

/* Remove all spacing after header on homepage */
body.home,
body.page-id-2 {
    padding-top: 0 !important;
}

body.home > *:first-child,
body.page-id-2 > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-search-section {
    position: relative;
    height: 550px;
    overflow: visible;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 120px;
}

.hero-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-slider .hero-slide {
    height: 550px;
    background-size: cover;
    background-position: center top;
    position: relative;
}

/* Header styling for homepage - make it float over slider */
body.home header,
body.page-id-2 header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
}

/* Non-sticky header menu items should be visible on transparent background */
body.home header:not(.sticked) .navigation a,
body.home header:not(.sticked) .navigation,
body.page-id-2 header:not(.sticked) .navigation a,
body.page-id-2 header:not(.sticked) .navigation {
    color: #fff !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

body.home header:not(.sticked) .logo,
body.page-id-2 header:not(.sticked) .logo {
    filter: brightness(0) invert(1);
    mix-blend-mode: difference;
}

/* Sticky menu styling */
header.sticked {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
    z-index: 9999;
}

header.sticked .navigation a,
header.sticked .navigation {
    color: #333 !important;
    text-shadow: none !important;
}

header.sticked .logo {
    filter: none !important;
    mix-blend-mode: normal !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 180px;
}

.hero-title {
    font-size: 3.5em;
    color: #fff;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.4em;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.search-form-wrapper {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 15px;
}

.hero-search-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    padding: 40px;
    border: 2px solid rgba(255, 255, 255, 1);
    max-width: 1200px;
    margin: 0 auto;
}

.search-form-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 0.95em;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2em;
}

.input-with-icon .form-control {
    padding-left: 40px;
}

.search-field .form-control {
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.search-field .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(200, 163, 95, 0.1);
}

.search-button button {
    margin-top: 0;
    height: 50px;
    font-size: 1.1em;
    font-weight: 600;
}

/* Date Range Picker Styling */
.search-field-daterange {
    grid-column: span 2;
}

#daterange,
#property-daterange,
#mobile-daterange {
    cursor: pointer !important;
    background-color: #fff !important;
    user-select: none;
}


/* ===================================
   Search Results Section
   =================================== */
.search-results-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.search-results-header {
    text-align: center;
    margin-bottom: 50px;
}

.search-results-header h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.search-params {
    font-size: 1.1em;
    color: #666;
    margin: 0;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
}

.no-results p {
    font-size: 1.2em;
    color: #666;
}

.property-total-price {
    margin: 20px 0;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 8px;
    text-align: center;
}

.property-total-price strong {
    font-size: 1.5em;
    color: var(--primary-color);
}

.price-breakdown {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

/* Daterangepicker custom styles */
.daterangepicker {
    font-family: var(--body-font);
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 15px;
}

.daterangepicker .calendar-table {
    background: #fff;
    border: none;
}

.daterangepicker td.active, 
.daterangepicker td.active:hover {
    background-color: var(--primary-color);
    border-color: transparent;
    color: #fff;
}

.daterangepicker td.in-range {
    background-color: rgba(200, 163, 95, 0.15);
    color: #333;
}

.daterangepicker td.available:hover {
    background-color: rgba(200, 163, 95, 0.3);
    border-color: transparent;
}

.daterangepicker .ranges li.active {
    background-color: var(--primary-color);
    color: #fff;
}

.daterangepicker .drp-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.daterangepicker .drp-buttons .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Disabled dates (occupied) in daterangepicker */
.daterangepicker td.disabled,
.daterangepicker td.off.disabled {
    color: #ccc;
    text-decoration: line-through;
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.daterangepicker td.disabled:hover {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Featured Properties Section */
.featured-properties {
    padding: 120px 0 80px;
    background: #f8f9fa;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1em;
    color: #666;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #fff;
}

.feature-box {
    padding: 40px 20px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-text {
    margin: 25px 0;
    line-height: 1.8;
    color: #555;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #fff;
}

/* ===================================
   Mobile Booking Widget (Sticky Bottom)
   =================================== */
.mobile-booking-widget {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 15px 20px;
}

.mobile-booking-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.mobile-booking-price {
    flex-shrink: 0;
}

.mobile-booking-price .price {
    font-size: 1.8em;
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    line-height: 1;
}

.mobile-booking-price .period {
    font-size: 0.85em;
    color: #666;
}

.mobile-booking-button {
    flex: 1;
}

.mobile-booking-button .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.1em;
}

/* Mobile Booking Modal */
.mobile-booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: flex-end;
    justify-content: center;
}

.mobile-modal-content {
    background: #fff;
    width: 100%;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.mobile-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.mobile-modal-header h3 {
    margin: 0;
    font-size: 1.3em;
}

.mobile-modal-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-modal-close:hover {
    background: #e9ecef;
}

.mobile-modal-body {
    padding: 20px;
}

.mobile-price-display {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 25px;
}

.mobile-price-display .price {
    font-size: 2.5em;
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    line-height: 1;
}

.mobile-price-display .period {
    font-size: 1em;
    color: #666;
    margin-top: 5px;
    display: block;
}

/* ===================================
   Modern Property Gallery Styles
   =================================== */
.property-gallery-modern {
    margin-bottom: 40px;
}

.gallery-main-image {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.gallery-fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-fullscreen-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.gallery-nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.gallery-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    pointer-events: all;
    transition: all 0.3s ease;
}

.gallery-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95em;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scroll-behavior: smooth;
}

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

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

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

.gallery-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
    border-color: var(--primary-color);
    opacity: 0.8;
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
}

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

/* Lightbox Styles */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10001;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.lightbox-arrow-prev {
    left: 30px;
}

.lightbox-arrow-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    border: 2px solid #fff;
}

/* ===================================
   Properties Map Page Styles
   =================================== */
.properties-map-page {
    padding: 0;
}

.properties-map-page .container-fluid {
    padding: 0;
}

.properties-map-page .row {
    margin: 0;
    min-height: 100vh;
}

.properties-list-column {
    padding: 0;
    height: 100vh;
    overflow-y: auto;
    background: #f8f9fa;
}

.properties-list-wrapper {
    padding: 40px 30px;
}

.properties-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.properties-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.properties-count {
    color: #666;
    font-size: 1.1em;
}

.properties-list-single-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.property-list-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.property-list-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.property-list-card.highlighted {
    box-shadow: 0 0 0 3px var(--primary-color);
}

.property-card-link {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.property-card-image {
    flex-shrink: 0;
    width: 250px;
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.property-list-card:hover .property-card-image img {
    transform: scale(1.1);
}

.property-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

.property-card-content {
    flex: 1;
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
}

.property-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.property-card-location {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.property-card-location i {
    margin-right: 5px;
    color: var(--primary-color);
}

.property-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.property-card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    color: #666;
}

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

.property-card-excerpt {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.map-column {
    padding: 0;
    height: 100vh;
    position: sticky;
    top: 0;
}

.map-wrapper {
    width: 100%;
    height: 100%;
}

#properties-map {
    width: 100%;
    height: 100%;
}

.map-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
}

.map-error p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 10px;
}

.map-info-window {
    max-width: 250px;
}

.no-properties-found {
    text-align: center;
    padding: 60px 20px;
}

.no-properties-found p {
    font-size: 1.2em;
    color: #666;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 768px) {
    .properties-grid,
    .property-meta-large,
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .property-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .property-title {
        font-size: 1.8em;
    }
    
    /* Show mobile booking widget on property page */
    .single-property .mobile-booking-widget {
        display: block;
    }
    
    /* Hide desktop booking card on mobile */
    .single-property .booking-card {
        display: none;
    }
    
    /* Add padding to body for fixed widget */
    .single-property .property-detail {
        padding-bottom: 100px;
    }
    
    .hero-search-section {
        height: 400px;
        margin-bottom: 140px;
    }
    
    .hero-slider .hero-slide {
        height: 400px;
    }
    
    .hero-content {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 1em;
    }
    
    .search-form-inner {
        grid-template-columns: 1fr;
    }
    
    .search-form-wrapper {
        bottom: -120px;
    }
    
    .hero-search-form {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    /* Transparentni header na mobilnom */
    header.header-transparent {
        background: rgba(0,0,0,0.8);
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-months {
        grid-template-columns: 1fr;
    }
    
    .booking-card {
        padding: 20px;
    }
    
    .gallery-main-image {
        height: 350px;
    }
    
    .gallery-thumbnail {
        width: 90px;
        height: 60px;
    }
    
    .gallery-arrow,
    .lightbox-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-arrow-prev {
        left: 10px;
    }
    
    .lightbox-arrow-next {
        right: 10px;
    }
    
    /* Properties Map Page Mobile */
    .properties-list-column,
    .map-column {
        height: auto;
        position: static;
    }
    
    .properties-list-column {
        order: 2;
    }
    
    .map-column {
        order: 1;
        height: 400px;
        margin-bottom: 20px;
    }
    
    .property-card-link {
        flex-direction: column;
    }
    
    .property-card-image {
        width: 100%;
        height: 200px;
    }
    
    .property-card-content {
        padding: 20px;
    }
}
