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

:root {
    --primary-color: #FF385C; /* Airbnb pink/red */
    --secondary-color: #222;
    --text-color: #484848;
    --light-bg: #f7f7f7;
    --white: #ffffff;
    --border-color: #e4e4e4;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --primary-rgb: 184, 134, 11; /* Added RGB values for primary color */
    --primary-dark: #a07000; /* Added darker shade of primary color */
    --border-radius: 8px; /* Added border-radius variable */
}

body {
    font-family: 'Playfair Display', 'Georgia', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Helvetica', sans-serif;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', 'Helvetica', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-family: 'Montserrat', 'Helvetica', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Featured Properties */
.featured-properties {
    padding: 80px 0;
    background-color: var(--white);
}

.featured-properties h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.property-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

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

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

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

.property-details {
    padding: 20px;
}

.property-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.location {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 14px;
}

.price {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.property-features span {
    display: flex;
    align-items: center;
}

.property-features span i {
    margin-right: 5px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.quote:before {
    content: '"';
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.author {
    display: flex;
    align-items: center;
}

.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-section p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

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

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}
/* Single Property Page Styles */
.property-header {
    background-color: var(--white);
    padding: 30px 0;
}

.property-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.property-meta {
    display: flex;
    gap: 20px;
    font-size: 16px;
}

.property-meta span {
    display: flex;
    align-items: center;
}

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

.property-gallery {
    padding: 30px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: 10px;
    position: relative;
}

.gallery-main {
    grid-row: span 2;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

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

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.view-all-photos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--white);
    color: var(--secondary-color);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.view-all-photos:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Fix: Added proper specificity and organization for property-details class */
.property-section {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.property-overview {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.property-highlights h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about-space, .amenities, .location-section, .host, .things-to-know {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.about-content {
    position: relative;
}

.about-full {
    margin-top: 20px;
}

.show-more, .show-all-amenities, .show-more-rules, .show-more-safety {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    padding: 5px 0;
    margin-top: 10px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.show-more:hover, .show-all-amenities:hover, .show-more-rules:hover, .show-more-safety:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

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

.amenity {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.amenity i {
    font-size: 18px;
    margin-right: 10px;
    color: #222222;
}

.map-container {
    height: 450px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.location-details h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.location-details ul {
    list-style: none;
    margin-top: 15px;
}

.location-details ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.location-details ul li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.host-info {
    display: flex;
    gap: 30px;
}

.host-image {
    flex: 0 0 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

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

.host-details {
    flex: 1;
}

.host-details h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.host-details p:first-of-type {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Fixed duplicate .contact-host styles */
.contact-host {
    background-color: #ff385c;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-host:hover {
    background-color: #e31c5f;
}

.things-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.things-list {
    list-style: none;
}

.things-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.things-list li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Gallery Modal */
.gallery-modal, .amenities-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 50px auto;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--secondary-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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

.modal-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

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

.amenities-category h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.amenities-category ul {
    list-style: none;
}

.amenities-category ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.amenities-category ul li i {
    margin-right: 10px;
    color: #222222;
}

/* Contact Page */
.contact-page {
    padding: 80px 0;
    background-color: var(--white);
}

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

.contact-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

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

.contact-method {
    margin-bottom: 30px;
}

.contact-method h3 {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-method h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-method p {
    color: var(--text-color);
    font-size: 16px;
    margin-left: 30px;
}

.contact-form {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* About Page */
.about-page {
    padding: 80px 0;
    background-color: var(--white);
}

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

.about-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.about-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.about-image {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

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

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
.mission-values {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.mission-values h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.value-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.team {
    padding: 80px 0;
    background-color: var(--white);
}

.team h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

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

.team-member h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-bg);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Properties Page */
.properties-page {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.properties-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.properties-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.properties-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover, .page-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Fullscreen Image Viewer */
.fullscreen-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.fullscreen-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-fullscreen {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.navigation-controls {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.prev-btn, .next-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.image-counter {
    position: absolute;
    bottom: -40px;
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 15px;
}

/* Make gallery images clickable */
.gallery-main img, .gallery-thumbnails img, .modal-gallery img {
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-main img:hover, .gallery-thumbnails img:hover, .modal-gallery img:hover {
    opacity: 0.8;
}

/* Gallery modal styling improvements */
.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px 0;
}

.modal-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

/* Host Details - Improved layout and consistency */
.host-section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 32px;
}

.host-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.host-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.host-info h3 {
    margin-bottom: 4px;
}

.host-details {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.host-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-host {
    background-color: #ff385c;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-host:hover {
    background-color: #e31c5f;
}

/* Enhanced Property Filters Section */
.property-filters {
    padding: 30px 0;
    background-color: #f9f9f9;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
}

.filter-group {
    flex: 1 1 200px;
    margin-bottom: 10px;
}

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

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    font-size: 14px;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23666" d="M0 0l6 6 6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

.filter-group select:hover {
    border-color: #999;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 10px;
    flex: 1 1 200px;
    justify-content: flex-end;
}

.filter-btn, .reset-btn {
    min-width: 120px;
    height: 48px;
    padding: 0 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.filter-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.reset-btn:hover {
    background-color: #f0f0f0;
    border-color: #999;
}

/* Filter Results */
.filter-results-message {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #f0f4f8;
    border-radius: 6px;
    color: #4a5568;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.no-results-message {
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
    color: #555;
    font-size: 16px;
    border: 1px dashed #ddd;
}

/* Animation for filter changes */
.property-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Active filters indication */
.filter-group select:not([value=""]) {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.05);
}

/* Single Property Page Styles - Fixed duplicate styles and improved structure */
.property-header {
    background-color: var(--white);
    padding: 30px 0;
}

.property-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 16px;
}

.property-meta span {
    display: flex;
    align-items: center;
}

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

.property-gallery {
    padding: 30px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: 10px;
    position: relative;
}

.gallery-main {
    grid-row: span 2;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

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

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.view-all-photos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--white);
    color: var(--secondary-color);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.view-all-photos:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Gallery and Modals - Fixed styling inconsistencies */
.gallery-modal, .amenities-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 50px auto;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--secondary-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive design improvements */
@media (max-width: 992px) {
    .filters {
        justify-content: flex-start;
    }
    
    .filter-group {
        flex: 1 1 calc(50% - 10px);
    }
    
    .filter-buttons {
        flex: 1 1 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-main {
        grid-row: auto;
        height: 300px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .property-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .property-filters {
        padding: 20px 0;
    }
    
    .filter-group {
        flex: 1 1 100%;
    }
    
    .filter-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-btn, .reset-btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .host-header, .host-details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .modal-gallery, .modal-amenities {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .property-header h1 {
        font-size: 28px;
    }
    
    .gallery-main {
        height: 200px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 100px;
    }
    
    .view-all-photos {
        bottom: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
    }
    
    .close-fullscreen {
        top: -30px;
        font-size: 30px;
    }
    
    .image-counter {
        bottom: -30px;
        font-size: 14px;
    }
}


.amenities-category li.unavailable {
    color: #999;
    text-decoration: line-through;
}

.amenities-category li.unavailable i {
    color: #ccc;
}


.amenity.unavailable {
    color: #999;
    text-decoration: line-through;
}

.amenity.unavailable i {
    color: #d9534f;
}











/* Booking and Contact Section Styles - Add this to your style.css file */

.booking-contact {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.booking-options {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.form-container, .direct-contact {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
}

.form-header, .direct-contact h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-header p, .direct-contact p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

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

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF385C;
}

.price-calculator {
    background-color: #f5f7fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.price-info {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 5px;
}

.price-note {
    font-size: 12px;
    color: #888;
}

.form-footer {
    text-align: center;
}

.btn-primary {
    background-color: #FF385C;
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
    width: 100%;
}

.btn-primary:hover {
    background-color: #5F5F5F;
}

/* Direct Contact Styles */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.contact-btn:hover {
    opacity: 0.9;
}

.contact-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.phone-btn {
    background-color: #FF385C;
    color: white;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.sms-btn {
    background-color: #5F5F5F;
    color: white;
}

.property-summary {
    margin: 25px 0;
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 4px;
}

.property-summary h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.property-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.property-summary li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.property-summary li i {
    margin-right: 10px;
    color: #4a90e2;
    width: 20px;
    text-align: center;
}

.availability-note {
    display: flex;
    align-items: center;
    background-color: #f5f7fa;
    padding: 15px;
    border-radius: 4px;
}

.availability-note i {
    color: #4a90e2;
    font-size: 18px;
    margin-right: 10px;
}

.availability-note p {
    margin: 0;
    font-size: 14px;
    text-align: left;
}

/* Responsive adjustments */
@media screen and (max-width: 920px) {
    .booking-options {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}






/* Fix text overflow in about-space section */
.about-space {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .about-content p {
    max-width: 100%;
  }

  /* Fix horizontal scrolling issues */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  
  /* Ensure all content fits within containers */
  img, iframe, video {
    max-width: 100%;
    height: auto;
  }
  
  /* Fix for mobile responsiveness */
  @media (max-width: 768px) {
    .property-details .container {
      padding-left: 10px;
      padding-right: 10px;
    }
    
    .about-space, .amenities, .location, .host-section, .things-to-know {
      padding: 20px 15px;
    }
  }

  /* Additional responsive fixes */
@media (max-width: 480px) {
    .gallery-grid {
      display: flex;
      flex-direction: column;
    }
    
    .gallery-main {
      height: 250px;
    }
    
    .gallery-thumbnails {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      height: auto;
    }
    
    .property-features {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
    
    .booking-options {
      flex-direction: column;
    }
    
    .form-container, .direct-contact {
      width: 100%;
    }
  }

  /* Fix map container size */
.map-container {
    width: 100%;
    height: 450px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  /* Ensure map maintains proper size on all screens */
  @media (max-width: 768px) {
    .map-container {
      height: 350px;
    }
  }
  
  @media (max-width: 480px) {
    .map-container {
      height: 300px;
    }
  }



  /* Footer contact links styling */
.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f8d07e; 
    text-decoration: underline;
}

/* Phone and WhatsApp link styling */
.footer-section .fa-phone + a,
.footer-section .fa-whatsapp {
    margin-right: 5px;
}


.footer-section .fa-whatsapp {
    color: #25D366; 
}


.footer-section p {
    margin-bottom: 12px;
    line-height: 1.5;
}


.footer-section i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
}


