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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a3a5f;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c19a5b;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 20px auto 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: #c19a5b;
    color: white;
}

.btn-primary:hover {
    background-color: #a88447;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(193, 154, 91, 0.2);
}

/* ==============================================
   HEADER & NAVIGATION
   ============================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3a5f;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: #c19a5b;
}

.logo img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        height: 35px;
        margin-right: 8px;
    }
}

/* Navigation Desktop */
.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop li {
    margin-left: 30px;
}

.nav-desktop a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: #c19a5b;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c19a5b;
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #1a3a5f;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Mobile */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.4s ease;
    padding: 80px 30px 30px;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile li {
    margin-bottom: 20px;
}

.nav-mobile a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.nav-mobile a:hover,
.nav-mobile a.active {
    color: #c19a5b;
}

.terrains-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.terrains-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(193, 154, 91, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.section-header .highlight {
    color: #c19a5b;
    position: relative;
    display: inline-block;
}

.section-header .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c19a5b, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ===== FILTRES ===== */
.filters-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.filters-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(193, 154, 91, 0.1);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-group.primary {
    flex: 2;
}

.filter-group.secondary {
    flex: 1;
    min-width: 300px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: transparent;
    border-radius: 30px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(193, 154, 91, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.filter-btn:hover {
    border-color: #c19a5b;
    color: #c19a5b;
}

.filter-btn.active {
    background: #c19a5b;
    border-color: #c19a5b;
    color: white;
    box-shadow: 0 5px 15px rgba(193, 154, 91, 0.3);
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

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

.filter-select:focus {
    outline: none;
    border-color: #c19a5b;
    box-shadow: 0 0 0 3px rgba(193, 154, 91, 0.1);
}

/* ===== GRILLE DES TERRAINS ===== */
.terrains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.terrain-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardAppear 0.6s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terrain-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(193, 154, 91, 0.15);
}

.terrain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #c19a5b, #e4c9a7, #c19a5b);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: 2;
}

.terrain-card:hover::before {
    transform: translateX(0);
}

/* ===== MEDIA CARD (VIDEO) ===== */
.card-media {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    cursor: pointer;
}

.terrain-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.terrain-card:hover .terrain-video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.video-overlay i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ===== CONTROLES VIDEO PERSONNALISES ===== */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.video-container:hover .video-controls {
    transform: translateY(0);
}

.video-play-pause {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-pause:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-progress {
    flex: 1;
}

.progress-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.progress-filled {
    height: 100%;
    background: #c19a5b;
    border-radius: 5px;
    width: 0;
    position: relative;
}

.progress-filled::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 12px;
    height: 12px;
    background: #c19a5b;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar:hover .progress-filled::after {
    opacity: 1;
}

.video-time {
    color: white;
    font-size: 0.8rem;
    font-family: monospace;
}

/* ===== PARAMETRES VIDEO ===== */
.video-settings {
    position: relative;
}

.settings-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.settings-btn:hover {
    transform: rotate(90deg);
}

.settings-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    padding: 15px;
    width: 250px;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.video-settings:hover .settings-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-group {
    margin-bottom: 15px;
}

.settings-group h4 {
    color: #c19a5b;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.speed-options {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.speed-option {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.speed-option:hover,
.speed-option.active {
    background: #c19a5b;
    border-color: #c19a5b;
}

.brightness-control,
.contrast-control,
.volume-control {
    width: 100%;
    height: 5px;
    background: #444;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.brightness-control::-webkit-slider-thumb,
.contrast-control::-webkit-slider-thumb,
.volume-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #c19a5b;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brightness-control::-webkit-slider-thumb:hover,
.contrast-control::-webkit-slider-thumb:hover,
.volume-control::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.video-fullscreen {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-fullscreen:hover {
    transform: scale(1.2);
}

/* ===== BADGES ===== */
.region-badge,
.status-badge {
    position: absolute;
    top: 15px;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.region-badge {
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #1a3a5f;
    backdrop-filter: blur(5px);
}

.region-badge.centre {
    background: rgba(26, 58, 95, 0.9);
    color: white;
}

.region-badge.littoral {
    background: rgba(0, 128, 128, 0.9);
    color: white;
}

.region-badge.ouest {
    background: rgba(193, 154, 91, 0.9);
    color: white;
}

.region-badge.sud {
    background: rgba(46, 125, 50, 0.9);
    color: white;
}

.status-badge {
    right: 15px;
}

.status-badge.disponible {
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.status-badge.reserve {
    background: rgba(255, 152, 0, 0.9);
    color: white;
}

/* ===== CONTENU CARTE ===== */
.card-content {
    padding: 25px;
}

.terrain-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    margin: 10px 0;
}

.terrain-location i {
    color: #c19a5b;
}

.terrain-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #555;
}

.feature i {
    color: #c19a5b;
    font-size: 1rem;
}

.terrain-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.terrain-price {
    margin: 15px 0;
    text-align: right;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a3a5f;
}

.price-details {
    display: block;
    font-size: 0.85rem;
    color: #888;
}

.terrain-actions {
    display: flex;
    gap: 10px;
}

.btn-contact,
.btn-whatsapp,
.btn-details {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    flex: 0 0 50px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-contact {
    background: #c19a5b;
    color: white;
    flex: 2;
}

.btn-contact:hover {
    background: #a88447;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 154, 91, 0.3);
}

.btn-details {
    background: #f0f0f0;
    color: #333;
    flex: 1.5;
}

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

/* Styles pour la Galerie du Modal */
.gallery-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    overflow: hidden;
}

.gallery-media-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img,
.gallery-item video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 5;
}

.gallery-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.gallery-btn:hover {
    background: #c19a5b;
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 5;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    background: #f9f9f9;
}

.thumb-item {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumb-item.active {
    border-color: #c19a5b;
    opacity: 1;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== BOUTON VOIR PLUS ===== */
.view-more-container {
    text-align: center;
    margin-top: 50px;
}

.btn-load-more {
    background: white;
    border: 2px solid #c19a5b;
    color: #c19a5b;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-load-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(193, 154, 91, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-load-more:hover::before {
    width: 300px;
    height: 300px;
}

.btn-load-more:hover {
    background: #c19a5b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(193, 154, 91, 0.3);
}

.btn-load-more i {
    transition: transform 0.3s ease;
}

.btn-load-more:hover i {
    transform: translateY(5px);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 20px;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(193, 154, 91, 0.8);
    transform: rotate(90deg);
}

.modal-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f0f0f0;
    border-top-color: #c19a5b;
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

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

/* ===== TOAST NOTIFICATION ===== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-content i {
    font-size: 1.5rem;
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .terrains-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: center;
    }

    .filter-group.secondary {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .terrains-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .filter-group {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }

    .card-media {
        height: 200px;
    }

    .terrain-actions {
        flex-direction: column;
    }

    .video-controls {
        flex-wrap: wrap;
    }

    .settings-menu {
        width: 200px;
    }

    .toast-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .filters-container {
        padding: 20px;
    }

    .terrain-features {
        justify-content: center;
    }

    .modal-content {
        width: 95%;
        margin: 30px auto;
    }
}

.footer {
    background-color: #1a3a5f;
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin: 15px 0 20px;
    color: #b0c4d9;
    line-height: 1.6;
}

.footer-brand a {
    color: wheat;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-brand a:hover {
    color: goldenrod;
}

.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: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #c19a5b;
}

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

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

.footer-links a {
    color: #b0c4d9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #b0c4d9;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* ==============================================
   RESPONSIVE STYLES
   ============================================== */

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 15px 20px;
    }

    .nav-desktop {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .hero {
        min-height: 600px;
        margin-top: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 15px;
    }

    .carousel-btn.next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
    }

    .contact-form-container,
    .contact-info,
    .map-container {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}