/* Base Styles */
:root {
    --gold: #D4AF37;
    --dark: #252525;
    --light: #f8f8f8;
    --gray: #777777;
    --border: #e5e5e5;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* Header Styles */
header {
    background-color: var(--dark);
    color: var(--light);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--gold);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--white);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb ul li {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.breadcrumb ul li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #ccc;
}

.breadcrumb ul li a {
    color: var(--gray);
    transition: var(--transition);
}

.breadcrumb ul li a:hover {
    color: var(--gold);
}

/* Main Content */
.property-detail {
    padding: 2rem 0 4rem;
}

/* Property Header */
.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    /* Mobilde en üstte görünmesi için order değeri */
    order: -10;
}

.property-info h1 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.property-info address {
    font-style: normal;
    color: var(--gray);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.property-info address i {
    margin-right: 0.5rem;
    color: var(--gold);
}

.property-meta {
    text-align: right;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.property-id, .property-date {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.3rem;
}

/* Gallery */
.gallery {
    margin-bottom: 2.5rem;
    /* Mobilde fotoğrafların üstte olması için */
    order: -9;
}

.main-gallery {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 0.8rem;
}

.gallery-slider {
    width: 100%;
    height: 500px;
    position: relative;
}

.gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item.active {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 30px;
    padding: 8px 15px;
}

.gallery-prev, .gallery-next {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
}

.gallery-counter {
    color: var(--white);
    margin: 0 15px;
    font-size: 0.9rem;
}

.gallery-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.action-btn {
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.action-btn i {
    margin-right: 5px;
}

.action-btn:hover {
    background-color: var(--gold);
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail {
    width: 100px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.thumbnail.active::after {
    background-color: rgba(212, 175, 55, 0.3);
    border: 2px solid var(--gold);
}

.thumbnail:hover::after {
    background-color: rgba(0, 0, 0, 0.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-more {
    width: 100px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.thumbnail-more:hover {
    background-color: var(--gold);
}

/* Property Content Layout */
.property-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Content Main - İlan detayları */
.content-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Her section'a spesifik order değerleri mobil için */
.property-section.overview {
    order: -8;
}

.property-section.description {
    order: -7;
}

.property-section.features {
    order: -6;
}

.property-section.floor-plans {
    order: -5;
}

.property-section.location {
    order: -4;
}

.property-section.video-tour {
    order: -3;
}

/* Sidebar - En sonda görünmesi için */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    order: 10;
}

/* Responsive Mobil Düzenlemeler */
@media (max-width: 992px) {
    .property-content {
        grid-template-columns: 1fr;
        gap: 30px;
        /* Mobilde flex yaparak order kontolünü sağlayalım */
        display: flex;
        flex-direction: column;
    }
    
    /* Ana içerik bölümlerinin mobilde sırası */
    .property-header {
        order: 1;
    }
    
    .gallery {
        order: 2;
    }
    
    .property-section.overview {
        order: 3;
    }
    
    .property-section.description {
        order: 4;
    }
    
    .property-section.features {
        order: 5;
    }
    
    .property-section.floor-plans {
        order: 6;
    }
    
    .property-section.location {
        order: 7;
    }
    
    .property-section.video-tour {
        order: 8;
    }
    
    /* Sidebar en sonda */
    .content-sidebar {
        order: 20;
    }
    
    /* Content main'in order'ını kaldır */
    .content-main {
        order: unset;
        display: contents; /* İçeriğin direkt parent'a taşınması için */
    }
    
    /* Ensure features maintain 2-column layout */
    .features-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Ensure overview items maintain 2-column layout */
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* For smaller mobile devices, ensure property features maintain 2-column layout */
@media (max-width: 768px) {
    /* Maintain 2-column layout for features */
    .features-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Keep nearby grid as 2-column */
    .nearby-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Maintain 2-column for feature list */
    .feature-list {
        columns: 2;
    }
}

/* Very small devices adjustments */
@media (max-width: 576px) {
    /* Even on smallest screens, maintain 2-column layout for the most important features */
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Keep feature list as 2-column */
    .feature-list {
        columns: 2;
    }
    
    /* Keep features content as 2-column */
    .features-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem; /* Reduce gap for very small screens */
    }
}

/* Sidebar section */
.sidebar-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px var(--shadow);
    padding: 1.5rem;
}

/* Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.overview-item {
    text-align: center;
}

.overview-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.3rem;
}

.overview-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}
/* Description Section */
.description-content {
    padding: 1.5rem;
}

.description-content p {
    margin-bottom: 1rem;
    color: #444;
    line-height: 1.8;
}

.description-content h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
    columns: 2;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--gold);
    margin-right: 0.8rem;
}

/* Features Section */
.features-content {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.features-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.features-list li i {
    color: var(--gold);
    margin-right: 0.8rem;
    font-size: 0.9rem;
    min-width: 16px;
}

/* Floor Plans Section */
.floor-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
}

.floor-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    color: var(--gray);
}

.floor-tab.active {
    color: var(--dark);
    font-weight: 600;
}

.floor-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--gold);
}

.floor-content {
    display: none;
    padding: 1.5rem;
}

.floor-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.floor-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.floor-info {
    display: flex;
    flex-direction: column;
}

.floor-table {
    width: 100%;
    border-collapse: collapse;
}

.floor-table th,
.floor-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.floor-table th {
    width: 30%;
    color: var(--gray);
    font-weight: 600;
    font-size: 0.9rem;
}

.floor-table td {
    font-size: 0.95rem;
}

/* Location Section */
.location-map {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-btn {
    background-color: var(--white);
    color: var(--dark);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-btn i {
    margin-right: 0.5rem;
    color: var(--gold);
}

.map-btn:hover {
    background-color: var(--gold);
    color: var(--white);
}

.map-btn:hover i {
    color: var(--white);
}

.location-details {
    padding: 1.5rem;
}

.location-details h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.nearby-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.nearby-item {
    display: flex;
    flex-direction: column;
}

.nearby-item i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.nearby-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.nearby-distance {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Video Tour Section */
.video-container {
    position: relative;
    height: 400px;
    margin: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-btn:hover {
    background-color: var(--gold);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Agent Contact Section */
.agent-info {
    display: flex;
    margin-bottom: 1.5rem;
}

.agent-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--gold);
}

.agent-details {
    flex: 1;
}

.agent-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.agent-title {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.agent-rating {
    display: flex;
    align-items: center;
}

.agent-rating i {
    color: var(--gold);
    font-size: 0.9rem;
}

.agent-rating span {
    font-size: 0.8rem;
    color: var(--gray);
    margin-left: 0.5rem;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-btn.primary {
    background-color: var(--gold);
    color: var(--white);
}

.contact-btn.secondary {
    background-color: #25D366;
    color: var(--white);
}

.contact-btn i {
    margin-right: 0.5rem;
}

.contact-btn:hover {
    transform: translateY(-3px);
}

.contact-form h3 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox label {
    display: flex;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--gray);
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.submit-btn {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--dark);
}

/* Mortgage Calculator */
.mortgage-calc h3 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.mortgage-calc h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

.calculator {
    margin-bottom: 1.5rem;
}

.calculator label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.calculator input {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.calculator input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

input[type="range"] {
    -webkit-appearance: none;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    margin: 0.8rem 0;
    padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
}

.calc-btn {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.calc-btn:hover {
    background-color: var(--dark);
}

.calculation-result {
    background-color: var(--light);
    padding: 1.2rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    font-weight: 500;
    font-size: 0.95rem;
}

.result-value {
    font-weight: 600;
    color: var(--dark);
}

.calculator-note {
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-button {
    padding: 0.9rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.action-button.favorite {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
}

.action-button.favorite.active {
    background-color: #e74c3c;
    color: var(--white);
    border-color: #e74c3c;
}

.action-button.favorite.active i {
    color: var(--white);
}

.action-button.share {
    background-color: var(--light);
    color: var(--dark);
    border: 1px solid var(--border);
}

.action-button i {
    margin-right: 0.5rem;
}

.action-button.favorite i {
    color: #e74c3c;
}

.action-button:hover {
    transform: translateY(-3px);
}

.share-options {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.share-options.active {
    display: grid;
}

.share-option {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 4px;
    color: var(--white);
    transition: var(--transition);
}

.share-option:hover {
    transform: translateY(-3px);
}

.share-option.facebook {
    background-color: #3b5998;
}

.share-option.twitter {
    background-color: #1da1f2;
}

.share-option.whatsapp {
    background-color: #25d366;
}

.share-option.email {
    background-color: #555;
}

.share-option.copy {
    background-color: var(--dark);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .property-card {
        flex: 0 0 calc(50% - 12px);
    }
    
    .features-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .property-content {
        grid-template-columns: 1fr;
        gap: 30px;
        /* Mobilde flex yaparak order kontolünü sağlayalım */
        display: flex;
        flex-direction: column;
    }
    
    /* Ana içerik bölümlerinin mobilde sırası */
    .property-header {
        order: 1;
    }
    
    .gallery {
        order: 2;
    }
    
    .property-section.overview {
        order: 3;
    }
    
    .property-section.description {
        order: 4;
    }
    
    .property-section.features {
        order: 5;
    }
    
    .property-section.floor-plans {
        order: 6;
    }
    
    .property-section.location {
        order: 7;
    }
    
    .property-section.video-tour {
        order: 8;
    }
    
    /* Sidebar en sonda */
    .content-sidebar {
        order: 20;
    }
    
    /* Content main'in order'ını kaldır */
    .content-main {
        order: unset;
        display: contents; /* İçeriğin direkt parent'a taşınması için */
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floor-content.active {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: var(--dark);
        width: 100%;
        height: calc(100vh - 70px);
        transition: 0.3s;
        padding: 2rem;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    
    .property-meta {
        text-align: left;
        width: 100%;
    }

    
    
    .gallery-slider {
        height: 350px;
    }
    
    .features-content {
        grid-template-columns: 1fr;
    }
    
    .nearby-grid {
        grid-template-columns: 1fr;
    }
    
    .property-card {
        flex: 0 0 calc(100% - 25px);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gallery-slider {
        height: 280px;
    }
    
    .gallery-actions {
        display: none;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-list {
        columns: 1;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
}

/* Similar Properties */
.similar-properties {
    padding: 4rem 0;
    background-color: var(--light);
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.property-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 0.5rem 0.5rem 1rem;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.property-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.property-card {
    flex: 0 0 calc(33.333% - 17px);
    min-width: 280px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.property-image {
    height: 200px;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--gold);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-content {
    padding: 1.2rem;
}

.property-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.property-location i {
    color: var(--gold);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    font-size: 0.9rem;
}

.property-features span {
    display: flex;
    align-items: center;
}

.property-features i {
    margin-right: 0.5rem;
    color: var(--gold);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.slider-prev, .slider-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 10px var(--shadow);
}

.slider-prev:hover, .slider-next:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.footer-logo span {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    margin-bottom: 1rem;
}

.contact-list i {
    color: var(--gold);
    margin-right: 1rem;
    margin-top: 4px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-section,
.sidebar-section,
.property-card {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Print Styles */
@media print {
    header, footer, .similar-properties, .breadcrumb, 
    .contact-form, .action-buttons, .video-tour {
        display: none !important;
    }
    
    .property-content {
        grid-template-columns: 1fr;
    }
    
    .property-section, .sidebar-section {
        box-shadow: none;
        border: 1px solid #eee;
        page-break-inside: avoid;
    }
    
    .gallery-slider {
        height: 300px;
    }
    
    .gallery-controls, .gallery-actions, .thumbnail-gallery {
        display: none;
    }
}