/* Variables de Couleurs */
:root {
    --primary-color: #E74C3C; /* Rouge vif */
    --secondary-color: #3498DB; /* Bleu */
    --accent-color: #F7DC6F; /* Jaune/doré pour un petit accent si besoin */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-dark: #2c3e50; /* Bleu foncé pour le footer */
}

/* Général */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif; /* J'ai ajouté Roboto, vous pouvez le lier via Google Fonts */
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Boutons */
.btn {
    display: inline-block;
    color: var(--text-light);
    background: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin-top: 15px;
}

.btn:hover {
    background: #c0392b; /* Rouge plus foncé */
}

.btn-small {
    background: var(--secondary-color);
    padding: 8px 15px;
    font-size: 0.9em;
}

.btn-small:hover {
    background: #2980b9; /* Bleu plus foncé */
}

/* Header */
header {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 100px 0;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 25px;
}

/* Sections Générales */
section {
    padding: 40px 0;
    margin-bottom: 30px;
}

section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-color);
}

/* Featured Properties */
.featured-properties {
    background: #f9f9f9;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--bg-light);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.property-card p {
    margin-bottom: 8px;
    font-size: 0.95em;
}

/* About Short Section */
.about-short {
    text-align: center;
    background: var(--bg-light);
}

.about-short p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

footer p {
    margin-bottom: 10px;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Pages spécifiques */
.page-title {
    text-align: center;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 30px;
    font-size: 3em;
}

.content-section {
    padding: 30px 0;
    line-height: 1.8;
}

.content-section p {
    margin-bottom: 15px;
}

/* Formulaires */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--secondary-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #c0392b;
}

/* Enhanced Form Styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
    outline: none;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}

.error-message {
    display: none;
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 5px;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95em;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    transform: scale(1.2);
}

.checkmark {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

#submitBtn {
    position: relative;
    overflow: hidden;
}

.btn-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Placeholder styling */
input::placeholder,
textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Responsive form adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
        margin: 0 10px;
    }
    
    .checkbox-label {
        font-size: 0.9em;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}


/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 15px;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    section h2 {
        font-size: 2em;
    }
}

/* Intégration Google Fonts */
/* Vous devrez ajouter ceci dans le <head> de votre HTML ou l'importer ici si vous préférez */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap'); */
/* Properties Directory Page Styles */
.page-header {
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

/* Property Filters */
.property-filters {
    background: #f9f9f9;
    padding: 30px 0;
    margin-bottom: 40px;
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    margin-bottom: 25px;
    max-width: 500px;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
}

.search-bar button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1.1em;
}

.search-bar button:hover {
    background: #c0392b;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    background: white;
}

.filter-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #c0392b;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-secondary-small {
    padding: 8px 15px;
    font-size: 0.9em;
    margin: 5px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary-small:hover {
    background: #7f8c8d;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.results-count {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-dark);
}

.view-controls {
    display: flex;
    gap: 10px;
}

.view-btn {
    background: #f1f1f1;
    border: 2px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Property Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.properties-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.properties-list .property-card {
    display: flex;
    align-items: stretch;
    min-height: 200px;
}

.properties-list .property-image {
    width: 300px;
    flex-shrink: 0;
}

.properties-list .property-content {
    flex: 1;
}

/* Property Cards */
.property-card {
    background: var(--bg-light);
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.property-card.sold {
    opacity: 0.7;
}

.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.05);
}

.property-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.property-status.available {
    background: #27ae60;
    color: white;
}

.property-status.sold {
    background: #e74c3c;
    color: white;
}

.property-type {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
}

.property-content {
    padding: 20px;
}

.property-title {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.property-location {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.property-price {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-color);
}

.property-specs {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #666;
}

.property-specs .spec {
    position: relative;
}

.property-specs .spec:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -10px;
    color: #ccc;
}

.property-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    color: #666;
    border: 1px solid #e0e0e0;
}

.property-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination-btn {
    background: var(--bg-light);
    border: 2px solid #ddd;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    background: var(--bg-light);
    border: 2px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    min-width: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: #f0f0f0;
}

.page-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-ellipsis {
    padding: 8px 12px;
    color: #999;
}

/* Active nav state */
nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design for Properties Page */
@media (max-width: 1024px) {
    .filter-row {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .properties-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5em;
    }
    
    .search-bar {
        max-width: 100%;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .properties-list .property-card {
        flex-direction: column;
    }
    
    .properties-list .property-image {
        width: 100%;
        height: 250px;
    }
    
    .property-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
    
    .property-content {
        padding: 15px;
    }
    
    .property-actions {
        flex-direction: column;
    }
    
    .property-actions .btn-small {
        margin: 2px 0;
    }
}
/* Services Page Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.service-card ul li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Service Process */
.service-process {
    background: #f9f9f9;
    padding: 60px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 20px;
}

.step h3 {
    color: var(--secondary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Service Areas */
.service-areas {
    padding: 60px 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.area-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.area-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.area-card h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.area-card:hover h4 {
    color: white;
}

.area-card p {
    color: #666;
    font-size: 0.95em;
}

.area-card:hover p {
    color: #f0f0f0;
}

/* Service Testimonials */
.service-testimonials {
    background: #f9f9f9;
    padding: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.testimonial-card p {
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.testimonial-author strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9em;
}

/* CTA Section */
.cta-section {
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--secondary-color);
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-secondary {
        width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .service-icon {
        font-size: 2.5em;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.3em;
    }
    
    .cta-content h2 {
        font-size: 1.8em;
    }
    
    .cta-content p {
        font-size: 1.1em;
    }
}
/* Property Detail Page Styles */
.breadcrumb {
    background: #f5f5f5;
    padding: 15px 0;
    font-size: 0.9em;
    color: #666;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.property-hero {
    position: relative;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 20px 0;
}

.property-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.property-status.available {
    background: #27ae60;
    color: white;
}

.property-status.sold {
    background: #e74c3c;
    color: white;
}

.property-type-badge {
    background: rgba(0,0,0,0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    margin-top: 30px;
    display: inline-block;
}

.property-main {
    padding: 40px 0;
}

.property-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Property Gallery */
.property-gallery {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.main-image {
    height: 400px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.02);
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #f9f9f9;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Property Details */
.property-details {
    position: sticky;
    top: 20px;
}

.property-header {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.property-header h1 {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.property-location {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.property-price {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-specs {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: #666;
    font-weight: 500;
}

.spec-value {
    color: var(--text-dark);
    font-weight: 600;
}

.property-description,
.property-features,
.property-financial {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.property-description h2,
.property-features h2,
.property-financial h2 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.property-description p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.2em;
}

/* Financial Information */
.financial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.financial-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.financial-label {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.financial-value {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1em;
}

/* Property Actions */
.property-actions {
    background: #f9f9f9;
    padding: 40px 0;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.action-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.action-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.similar-properties {
    padding: 60px 0;
}

.similar-properties h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 40px;
}

/* Responsive Design for Property Detail */
@media (max-width: 1024px) {
    .property-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .property-details {
        position: static;
    }
}

@media (max-width: 768px) {
    .property-header h1 {
        font-size: 1.8em;
    }
    
    .property-price {
        font-size: 2em;
    }
    
    .main-image {
        height: 300px;
    }
    
    .image-thumbnails {
        overflow-x: auto;
        padding: 10px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .property-header,
    .property-specs,
    .property-description,
    .property-features,
    .property-financial {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .financial-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .property-header h1 {
        font-size: 1.5em;
    }
    
    .property-price {
        font-size: 1.8em;
    }
    
    .main-image {
        height: 250px;
    }
    
    .property-header,
    .property-specs,
    .property-description,
    .property-features,
    .property-financial {
        padding: 15px;
    }
    
    .property-description h2,
    .property-features h2,
    .property-financial h2 {
        font-size: 1.3em;
    }
}