* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    /* Primärfarben */
    --primary-color: #011c2f;
    /* Dunkles Blau */
    --secondary-color: #fbf0d9;
    /* Helles Creme/Beige */
    --tertiary-color: #808b84;
    /* Grau */

    /* Variationen */
    --primary-dark: #000a14;
    /* Dunkler - Primär */
    --primary-light: #1a3a52;
    /* Heller - Primär */
    --primary-lighter: #334d66;
    /* Noch heller - Primär */

    --secondary-dark: #d9c9a8;
    /* Dunkler - Sekundär */
    --secondary-light: #fef7eb;
    /* Heller - Sekundär */

    --tertiary-dark: #5f6a61;
    /* Dunkler - Tertiar */
    --tertiary-light: #a5ada6;
    /* Heller - Tertiar */
    --tertiary-lighter: #c4cac4;
    /* Noch heller - Tertiar */

    /* Neutrale Farben */
    --dark-color: #000000;
    /* Schwarz */

    --text-color: #011c2f;
    --text-light: #666666;
    --border-color: #ddd;
    --success-color: #4caf50;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Merriweather', serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #faf8f3;
    padding-top: 80px; /* Höhe der Navbar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 20px 0;  /* oben und unten je 15px */
}
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}




.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #faf8f3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo img {
    height: 50px;
    width: auto;
    border-radius: 50px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-item .navbar-link {
    color: #faf8f3;
    text-decoration: none;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.navbar-item .navbar-link:hover {
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #faf8f3;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    .navbar-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .navbar-item {
        width: 100%;
    }

    .navbar-item .navbar-link {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    .navbar-toggle {
    display: block;
    z-index: 2000;
}
}

/* ========== Section Titles ========== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--tertiary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #faf8f3;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 28, 47, 0.3);
}

.btn-secondary {
    background: #faf8f3;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: #fef7eb;
    transform: translateY(-2px);
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(rgba(1, 28, 47, 0.5), rgba(1, 28, 47, 0.5)),
        url('hero-bg.jpg') center/cover;
    color: var(--secondary-light);
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #faf8f3;
}

.hero-slogan {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-style: italic;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

}

/* ========== Stats Section ========== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 20px;
    background: #faf8f3;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: #faf8f3;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: #666;
    font-size: 1.1rem;
}

.about {
    padding: 4rem 20px;
    text-align: center;
    background: var(--primary-light);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-light);
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: var(--secondary-light);
}

/* ========== Features Section ========== */
.features {
    padding: 4rem 20px;
    background: #faf8f3;
}

.features h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature {
    background: #faf8f3;
    padding: 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}
/* ========== About Us ========== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr; /* Eine Spalte für die Reihen */
    gap: 2rem;
    margin-top: 2rem;
}

/* Einzelne Reihe/Kachel */
.team-row {
    display: grid;
    grid-template-columns: 2fr 2fr; /* Zwei Spalten: Text und Bild */
    gap: 3rem;
    background: var(--secondary-light); /* Heller Creme/Beige Hintergrund für die Kachel */
    padding: 2rem;
    border-radius: 50px; /* Rundung wie in deinem Design */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s; /* Hover-Effekt */
    align-items: center; /* Vertikale Ausrichtung */
}

.team-row:hover {
    transform: translateY(-5px); /* Leichter Lift-Effekt */
}

/* Text-Bereich der Kachel */
.team-text {
    padding: 1rem;
}

.team-text h3 {
    color: var(--primary-color); /* Dunkles Blau */
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-text p {
    color: var(--text-light); /* Grau */
    line-height: 1.6;
    font-size: 1rem;
}

/* Bild-Bereich der Kachel */
.team-image {
    width: 300px;
    height: 300px;
    border-radius: 10%; /* Rundes Bild */
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%); /* Platzhalter-Hintergrund */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Zentriert in der Spalte */
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    height: auto;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Platzhalter für Bilder (falls kein Bild vorhanden) */
.team-image .placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Anpassungen (für Mobile) */
@media (max-width: 768px) {
    .team-row {
        grid-template-columns: 1fr; /* Einzelne Spalte auf kleinen Bildschirmen */
        text-align: center; /* Text zentrieren */
    }
    
    .team-image {
        margin-bottom: 1rem; /* Abstand unter dem Bild */
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========== CTA Section ========== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #faf8f3;
    padding: 4rem;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ========== Gallery Section ========== */
.gallery-section {
    padding: 4rem 20px;
    background: #faf8f3;
}

.gallery-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-item .placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item .placeholder:hover {
    transform: scale(1.05);
}

/* ========== Apartments Section ========== */
.apartments {
    padding: 2rem 20px;
    background: #faf8f3;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.apartment-card {
    background: #faf8f3;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.apartment-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
    flex-shrink: 0;
}

.apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apartment-image .placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0.95rem;
}

.apartment-info {
    padding: 1.5rem;
    background: var(--primary-color);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.apartment-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.apartment-type {
    color: var(--secondary-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.apartment-price {
    color: var(--tertiary-color);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.apartment-specs {
    display: flex;
    gap: 1.5rem;
    color: var(--secondary-light);
}

.apartment-detail {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #faf8f3;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-content {
    background: #faf8f3;
    border-radius: 50px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
    overflow-y: auto;
}

.detail-image .placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== Gallery Modal ========== */
.gallery-modal {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #faf8f3;
}

.gallery-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background: #faf8f3;
    border-top: 1px solid var(--border-color);
}

.gallery-nav-btn {
    background: var(--primary-color);
    color: #faf8f3;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.gallery-nav-btn:hover {
    background: var(--primary-light);
}

.gallery-counter {
    font-weight: bold;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #faf8f3;
    border-top: 1px solid var(--border-color);
    overflow-x: auto;
}

.thumbnail {
    width: 60px;
    height: 60px;
    background: #fef7eb;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--primary-color);
    background: var(--primary-lighter);
    color: white;
}

.thumbnail.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #faf8f3;
}

.floorplan-upload {
    padding: 1rem;
    background: #fef7eb;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.upload-label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: #faf8f3;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
}

.upload-label:hover {
    background: var(--primary-light);
}

.detail-info {
    padding: 2rem;
    overflow-y: auto;
}

.detail-info h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.detail-info .price {
    color: var(--tertiary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fef7eb;
    border-radius: 50px;
}

.spec {
    text-align: center;
}

.spec h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.spec p {
    font-size: 1.2rem;
    font-weight: bold;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    color: #555;
}

@media (max-width: 768px) {
    .detail-content {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .specs {
        grid-template-columns: 1fr;
    }
}
/* Filter Styles */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    background-color: var(--primary-light);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter-group label {
    font-weight: bold;
    color: var(--secondary-light);
    margin-bottom: 0.5rem;
}

.filter-group input,
.filter-group select {
    padding: 0.5rem;
    border: 1px solid var(--tertiary-color);
    border-radius: 4px;
    background-color: var(--primary-light);
    color: var(--secondary-color);  /* Geändert zu hellem Creme für besseren Kontrast */
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}
/* ========== Amenities Section ========== */
.amenities {
    padding: 4rem 20px;
    background: #faf8f3;
}

.amenities h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.amenity {
    background: #faf8f3;
    padding: 2rem;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.amenity h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.amenity p {
    color: #666;
}

/* ========== Contact Section ========== */
.contact {
    padding: 2rem 20px;
    background: #faf8f3;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.map-placeholder {
    margin-top: 2rem;
    width: 100%;
    height: 300px;
}

.map-placeholder .placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* ========== Contact Form ========== */
.contact-form-container {
    position: relative;
}

.success-message {
    background: #e8f5e9;
    color: var(--success-color);
    padding: 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 28, 47, 0.1);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== FAQ Section ========== */
.faq {
    padding: 4rem 20px;
    background: #faf8f3;
}

.faq h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: #faf8f3;
    padding: 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* ========== Footer ========== */
.footer {
    background: var(--dark-color);
    color: #faf8f3;
    padding: 3rem 20px 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    text-align: center;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #faf8f3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #faf8f3;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

/* ========== Legal Pages ========== */
.legal-content {
    padding: 2rem 20px;
    background: #faf8f3;
}

.legal-content .container {
    max-width: 900px;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--tertiary-light);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* ========== Fullscreen Lightbox ========== */
.fullscreen-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #faf8f3;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-nav.lightbox-prev {
    left: 10px;
}

.lightbox-nav.lightbox-next {
    right: 10px;
}

.lightbox-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.lightbox-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    overflow-x: auto;
    justify-content: center;
}

.lightbox-thumbnail {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.3s;
}

.lightbox-thumbnail:hover {
    border-color: white;
}

.lightbox-thumbnail.active {
    border-color: var(--primary-color);
}

.lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Page Header ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #faf8f3;
    padding: 4rem 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.team-row,
.apartment-card,
.gallery-item,
.feature,
.stat-box {
    max-width: 100%;
    overflow: hidden;
}