*,
*::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.3s ease;
}

.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;
}

.cars-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf2 100%);
    overflow: hidden;
    min-height: 100vh;
}

/* ==============================================
   GALERIE DES LOCAUX
   ============================================== */

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

/* ===== ÉLÉMENTS D'ARRIÈRE-PLAN ANIMÉS ===== */
.gallery-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-frame {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 200px;
    height: 150px;
    border: 3px solid rgba(193, 154, 91, 0.1);
    border-radius: 20px;
    animation: floatFrame 15s ease-in-out infinite;
}

.floating-frame2 {
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 250px;
    height: 180px;
    border: 3px solid rgba(193, 154, 91, 0.1);
    border-radius: 30px;
    animation: floatFrame2 18s ease-in-out infinite;
}

@keyframes floatFrame {

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

    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

@keyframes floatFrame2 {

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

    33% {
        transform: translate(-30px, 30px) rotate(-5deg);
    }

    66% {
        transform: translate(20px, -20px) rotate(5deg);
    }
}

.light-beam {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 200px;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(193, 154, 91, 0.05), transparent);
    transform: rotate(45deg);
    animation: lightSweep 8s linear infinite;
}

.light-beam2 {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(193, 154, 91, 0.05), transparent);
    transform: rotate(-45deg);
    animation: lightSweep2 10s linear infinite;
}

@keyframes lightSweep {
    from {
        left: -100%;
    }

    to {
        left: 200%;
    }
}

@keyframes lightSweep2 {
    from {
        right: -100%;
    }

    to {
        right: 200%;
    }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(193, 154, 91, 0.3);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
}

.particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 8s;
}

.particles span:nth-child(2) {
    top: 50%;
    left: 30%;
    animation-duration: 12s;
}

.particles span:nth-child(3) {
    top: 80%;
    left: 70%;
    animation-duration: 10s;
}

.particles span:nth-child(4) {
    top: 30%;
    left: 80%;
    animation-duration: 14s;
}

.particles span:nth-child(5) {
    top: 70%;
    left: 20%;
    animation-duration: 9s;
}

.particles span:nth-child(6) {
    top: 40%;
    left: 50%;
    animation-duration: 11s;
}

.particles span:nth-child(7) {
    top: 90%;
    left: 40%;
    animation-duration: 13s;
}

.particles span:nth-child(8) {
    top: 15%;
    left: 60%;
    animation-duration: 15s;
}

.particles span:nth-child(9) {
    top: 60%;
    left: 90%;
    animation-duration: 10s;
}

.particles span:nth-child(10) {
    top: 85%;
    left: 15%;
    animation-duration: 12s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    50% {
        transform: translateY(-100px) scale(2);
        opacity: 1;
    }

    100% {
        transform: translateY(-200px) scale(0);
        opacity: 0;
    }
}

/* ===== VISITE VIRTUELLE 360° ===== */
.virtual-tour-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    animation: tourGlow 4s ease-in-out infinite;
}

@keyframes tourGlow {

    0%,
    100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 30px 60px rgba(193, 154, 91, 0.2);
    }
}

.virtual-tour-header {
    text-align: center;
    margin-bottom: 30px;
}

.virtual-tour-header h3 {
    font-size: 2rem;
    color: #1a3a5f;
    margin-bottom: 10px;
}

.virtual-tour-header h3 i {
    color: #c19a5b;
    margin-right: 10px;
}

.virtual-tour-header p {
    color: #666;
}

.tour-viewer {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    cursor: grab;
}

.tour-viewer:active {
    cursor: grabbing;
}

.panorama-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease;
}

.tour-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.tour-control {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #1a3a5f;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tour-control:hover {
    background: #c19a5b;
    color: white;
    transform: scale(1.1);
}

/* Points d'intérêt (hotspots) */
.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 15;
}

.hotspot-dot {
    width: 20px;
    height: 20px;
    background: #c19a5b;
    border-radius: 50%;
    display: block;
    animation: pulse 2s infinite;
    cursor: pointer;
    box-shadow: 0 0 0 5px rgba(193, 154, 91, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hotspot-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #1a3a5f;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.tour-thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tour-thumb {
    width: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tour-thumb:hover,
.tour-thumb.active {
    transform: translateY(-5px);
}

.tour-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.tour-thumb.active img {
    border-color: #c19a5b;
    box-shadow: 0 5px 15px rgba(193, 154, 91, 0.3);
}

.tour-thumb span {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    color: #666;
}

/* ===== FILTRES GALERIE ===== */
.gallery-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    background: white;
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

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

.gallery-filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

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

.gallery-view-options {
    display: flex;
    gap: 5px;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 30px;
}

.view-option {
    width: 45px;
    height: 45px;
    border: none;
    background: transparent;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.view-option:hover {
    color: #c19a5b;
}

.view-option.active {
    background: white;
    color: #c19a5b;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* ===== GRILLE GALERIE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

/* Vue Masonry */
.gallery-grid.masonry {
    display: block;
    columns: 3;
    column-gap: 30px;
}

.gallery-grid.masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 30px;
}

/* Vue Liste */
.gallery-grid.list {
    display: block;
}

.gallery-grid.list .gallery-item {
    margin-bottom: 30px;
    width: 100%;
}

.gallery-grid.list .gallery-item-inner {
    display: flex;
    flex-direction: row;
    height: 300px;
}

.gallery-grid.list .gallery-item-inner img {
    width: 400px;
    height: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: galleryItemAppear 0.6s ease-out;
}

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

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

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(193, 154, 91, 0.3);
}

.gallery-item-inner {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-item-inner img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.gallery-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.gallery-meta span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gallery-meta i {
    color: #c19a5b;
}

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

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

.gallery-zoom:hover,
.gallery-info-btn:hover {
    background: #c19a5b;
    transform: scale(1.1);
}

.gallery-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    background: rgba(193, 154, 91, 0.9);
    color: white;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    backdrop-filter: blur(5px);
    animation: badgePulse 3s infinite;
}

/* ===== 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);
}




.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);
}

/* ===== LIGHTBOX ===== */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 5000;
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 5001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #c19a5b;
    transform: rotate(90deg);
}

.lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 60px;
}

.lightbox-image-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#lightboxImage {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: grab;
}

#lightboxImage:active {
    cursor: grabbing;
}

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

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

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #c19a5b;
    transform: scale(1.1);
}

.lightbox-toolbar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.lightbox-tool {
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.lightbox-tool:hover {
    background: #c19a5b;
    border-color: #c19a5b;
    transform: scale(1.1);
}

.lightbox-info-panel {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    backdrop-filter: blur(10px);
    border-left: 4px solid #c19a5b;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

.lightbox-info-panel h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #c19a5b;
}

.lightbox-info-panel p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.6;
}

.lightbox-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lightbox-meta span {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lightbox-meta i {
    color: #c19a5b;
}

.lightbox-thumbnails {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    justify-content: center;
    overflow-x: auto;
}

.lightbox-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.lightbox-thumbnails img:hover,
.lightbox-thumbnails img.active {
    border-color: #c19a5b;
    opacity: 1;
    transform: scale(1.05);
}


/* ===== MODAL INFORMATIONS ===== */
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 4000;
}

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

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

.info-modal-close:hover {
    background: #c19a5b;
    color: white;
    transform: rotate(90deg);
}

.info-modal-body {
    padding: 40px;
}

.info-modal-body h3 {
    color: #1a3a5f;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.info-modal-body p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.info-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-detail i {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c19a5b;
    font-size: 1.2rem;
}

.info-detail div {
    flex: 1;
}

.info-detail h4 {
    color: #333;
    margin-bottom: 5px;
}

.info-detail span {
    color: #666;
    font-size: 0.9rem;
}

/* ===== NOTIFICATION ===== */
.gallery-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1a3a5f, #0a1a2f);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 9999;
    border-left: 4px solid #c19a5b;
}

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

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

.notification-content i {
    color: #27ae60;
    font-size: 1.3rem;
}

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

    .gallery-grid.masonry {
        columns: 2;
    }

    .lightbox-content {
        padding: 30px;
    }

    .lightbox-toolbar {
        flex-wrap: wrap;
        width: 90%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid.masonry {
        columns: 1;
    }

    .gallery-grid.list .gallery-item-inner {
        flex-direction: column;
        height: auto;
    }

    .gallery-grid.list .gallery-item-inner img {
        width: 100%;
        height: 250px;
    }

    .gallery-filters {
        flex-direction: column;
        border-radius: 20px;
    }

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

    .tour-viewer {
        height: 250px;
    }

    .tour-controls {
        flex-wrap: wrap;
        justify-content: center;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
    }

    .lightbox-content {
        padding: 20px;
    }

    .lightbox-controls {
        padding: 0 15px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-toolbar {
        padding: 10px;
    }

    .lightbox-tool {
        width: 35px;
        height: 35px;
    }

    .lightbox-info-panel {
        max-width: calc(100% - 60px);
        left: 30px;
        right: 30px;
    }

    .floating-frame,
    .floating-frame2 {
        display: none;
    }
}

@media (max-width: 576px) {
    .virtual-tour-container {
        padding: 20px;
    }

    .tour-thumbnails {
        gap: 10px;
    }

    .tour-thumb {
        width: 70px;
    }

    .gallery-actions {
        justify-content: center;
    }

    .lightbox-toolbar {
        flex-wrap: wrap;
        width: 95%;
    }
}


/* ==============================================
   FOOTER
   ============================================== */

.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;
    }
}

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

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

    .countries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-timeline::before {
        display: none;
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .trade-grid {
        grid-template-columns: 1fr;
    }

    .trade-filters {
        border-radius: 20px;
        flex-direction: column;
    }

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

    .filter-search {
        width: 100%;
    }

    .trade-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

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

    .shipping-container {
        display: none;
    }
}

@media (max-width: 576px) {
    .trade-header {
        flex-direction: column;
        gap: 10px;
    }

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

    .btn-inquiry,
    .btn-specs {
        width: 100%;
    }

    .btn-chat {
        width: 100%;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }
}