/* Professional Real Estate Website Styles - Dark Mode */

:root {
    --primary: #3b8f6;
    --primary-dark: #2563eb;
    --secondary: #60a5fa;
    --accent: #93c5fd;
    --dark: #000000;
    --dark-card: #0a0a0a;
    --dark-elevated: #141414;
    --text-light: #0b0b76;
    --text-muted: #a3a3a3;
    --border: #1f1f1f;
    --shadow: 0 2px 12px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.7);
    --glow: 0 0 20px rgba(59,130,246,0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%) !important;
    -webkit-font-smoothing: antialiased;
}

html {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #3b82f6 100%) !important;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background: var(--dark-card);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:not([style])::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:not([style]):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 72px;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(14,165,233,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    color: var(--text-muted);
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

/* Properties Section */
.properties-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* Filter Tabs */
.property-type-tabs,
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.type-tab,
.filter-btn {
    padding: 10px 24px;
    background: var(--dark-card);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
}

.type-tab:hover,
.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.type-tab.active,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #c92525;
    box-shadow: var(--glow);
}

/* Property Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

/* Property Card */
.property-card {
    background: #10275e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.property-media {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #0a0a0a;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-type-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(14,165,233,0.9);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.media-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.media-btn {
    background: rgba(17,17,17,0.9);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}

.media-btn:hover {
    background: var(--dark-elevated);
    border-color: var(--primary);
}

/* Property Details */
.property-details {
    padding: 24px;
    background: #f4f7f9
}

.property-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--dark-elevated);
    color: var(--text-muted);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.property-details h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.3;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.property-features {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.icon-small {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.inquire-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.inquire-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--glow);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.embassy-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.embassy-logo-link {
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    padding: 20px;
    cursor: pointer;
}

.embassy-logo-link:hover {
    transform: translateY(-8px);
}

.embassy-logo {
    width: 400px;
    height: 400px;
    object-fit: contain;
    transition: all 0.3s;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.embassy-logo-link:hover .embassy-logo {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-section > p {
    font-size: 18px;
    color: #e5e7eb;
    margin-bottom: 48px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    background: #ffffff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-item .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contact-item p {
    color: #666666;
    font-size: 15px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 14, 199, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--dark-card);
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    max-width: 600px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--border);
}

.modal-body {
    padding: 32px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 24px 32px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-content h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.close:hover {
    background: rgba(255,255,255,0.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--dark-elevated);
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: var(--dark-card);
    color: var(--text-muted);
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

footer p {
    margin: 0;
    font-size: 14px;
}

/* Media Gallery Modal */
.media-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
}

.media-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    margin: 5% auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-modal img,
.media-modal video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-card);
    color: var(--text-light);
    border: 1px solid var(--border);
    font-size: 32px;
    padding: 16px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.media-nav:hover {
    background: var(--dark-elevated);
    border-color: var(--primary);
}

.media-nav.prev {
    left: 20px;
}

.media-nav.next {
    right: 20px;
}

.media-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-card);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 16px;
        font-size: 14px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background: #fff;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:not([style])::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:not([style]):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 72px;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="60" height="60" fill="none"/><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(201,169,97,0.4);
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,169,97,0.5);
}

/* Properties Section */
.properties-section {
    padding: 80px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Filter Tabs */
.property-type-tabs,
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.type-tab,
.filter-btn {
    padding: 10px 24px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
}

.type-tab:hover,
.filter-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.type-tab.active,
.filter-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

/* Property Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

/* Property Card */
.property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.property-media {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f0f0f0;
}

.property-image-slider {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f0f0f0;
}

.property-image-slider img,
.property-image-slider video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.property-type-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.media-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.media-btn {
    background: rgba(255,255,255,0.95);
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}

.media-btn:hover {
    background: #fff;
}

/* Property Details */
.property-details {
    padding: 24px;
}

.property-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light);
    color: var(--text-light);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.property-details h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.property-features {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-dark);
}

.icon-small {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.inquire-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.inquire-btn:hover {
    background: var(--secondary);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--light);
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-section > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 48px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    background: #ffffff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-item .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contact-item p {
    color: #666666;
    font-size: 18px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    max-width: 600px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-body {
    padding: 32px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-header {
    background: var(--primary);
    color: #fff;
    padding: 24px 32px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-content h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.close:hover {
    background: rgba(255,255,255,0.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: var(--accent);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 32px 0;
}

footer p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

/* Media Gallery Modal */
.media-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
}

.media-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    margin: 5% auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-modal img,
.media-modal video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    border: none;
    font-size: 32px;
    padding: 16px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.media-nav:hover {
    background: #fff;
}

.media-nav.prev {
    left: 20px;
}

.media-nav.next {
    right: 20px;
}

.media-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 16px;
        font-size: 14px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
