﻿@font-face {
    font-family: 'Felixti';
    src: url('Felixti.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

:root {
    --primary: #1a1a2e;
    --accent: #c9a962;
    --text: #333;
    --text-light: #666;
    --bg: #fff;
    --bg-dark: #f8f8f8;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 54px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 50%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-address {
    font-family: 'Felixti', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-location {
    font-family: 'Felixti', sans-serif;
    font-size: 1.3rem;
    opacity: 0.9;
    letter-spacing: 2px;
}

.hero-details {
    font-family: 'Felixti', sans-serif;
    font-size: 1.1rem;
    opacity: 0.8;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-dark);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

/* Gallery */
.gallery-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    cursor: pointer;
}

.gallery-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.gallery-nav:hover {
    background: var(--accent);
    color: #fff;
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-counter {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.gallery-count {
    text-align: center;
    margin-top: 25px;
}

.gallery-count a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    transition: color 0.3s;
}

.gallery-count a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s;
}

.lightbox-close { top: 20px; right: 30px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--accent);
}

/* Showcase (Video + Tour tabs) */
.showcase-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.showcase-tab {
    background: none;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.3s;
}

.showcase-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
}

/* Video */
.video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.property-video {
    width: 100%;
    display: block;
    background: #000;
}

.video-placeholder,
.video-iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

.video-placeholder {
    background: linear-gradient(135deg, var(--primary), #2d2d4e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    gap: 15px;
}

.video-placeholder i {
    font-size: 5rem;
    transition: transform 0.3s;
}

.video-placeholder:hover i {
    transform: scale(1.1);
}

/* Tour */
.tour-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.tour-iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.tour-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    gap: 15px;
}

.tour-placeholder i {
    font-size: 4rem;
}

/* Floor Plan */
.floorplan-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.floorplan-img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.floorplan-img:hover {
    transform: scale(1.02);
}

/* Map */
.map-address {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.map-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Contact */
.contact-section {
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cpath d='M0 200 Q100 150 200 200 T400 200' fill='none' stroke='%23e0e0e0' stroke-width='1'/%3E%3Cpath d='M0 150 Q100 100 200 150 T400 150' fill='none' stroke='%23e0e0e0' stroke-width='1'/%3E%3Cpath d='M0 250 Q100 200 200 250 T400 250' fill='none' stroke='%23e0e0e0' stroke-width='1'/%3E%3Cpath d='M0 100 Q100 50 200 100 T400 100' fill='none' stroke='%23e0e0e0' stroke-width='1'/%3E%3Cpath d='M0 300 Q100 250 200 300 T400 300' fill='none' stroke='%23e0e0e0' stroke-width='1'/%3E%3Cpath d='M0 50 Q100 0 200 50 T400 50' fill='none' stroke='%23e0e0e0' stroke-width='1'/%3E%3Cpath d='M0 350 Q100 300 200 350 T400 350' fill='none' stroke='%23e0e0e0' stroke-width='1'/%3E%3C/svg%3E");
    color: #333;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contact-agents {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.agent-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.agent-photo img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.agent-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.agent-name { color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}

.agent-title {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.agent-company { color: #666;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.agent-phone { color: #333;
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}

.agent-email { color: #333;
    font-size: 0.9rem;
    color: #333;
    margin: 0;
}

.agent-license { color: #666;
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.agent-social { color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 5px 0 0 0;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.contact-title { color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 30px 0;
    color: #1a1a1a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #999;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
}

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

/* Footer */
.footer {
    background: #111;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 30px 20px;
}

.footer-small {
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 25px;
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        min-height: 100vh;
        height: 100vh;
        height: 100dvh;
    }
    
    .hero-video {
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }
    
    .hero-address {
        font-family: 'Felixti', sans-serif;
        font-size: 1.4rem;
        text-align: center;
        padding: 0 15px;
        word-break: break-word;
    }
    
    .hero-location {
        font-family: 'Felixti', sans-serif;
        font-size: 0.9rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-details {
        font-size: 0.8rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .gallery-slide img {
        height: 300px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-nav.prev {
        left: 10px;
    }
    
    .gallery-nav.next {
        right: 10px;
    }
    
    .gallery-counter {
        font-size: 0.9rem;
    }
    
    .gallery-count a {
        font-size: 0.85rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .showcase-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .showcase-tab {
        width: 100%;
    }
    
    .tour-iframe {
        height: 250px;
    }
    
    .floorplan-wrapper {
        max-width: 100%;
    }
    
    .floorplan-img {
        width: 100%;
    }
    
    .map-iframe {
        height: 300px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-agents {
        order: 2;
    }
    
    .contact-form-wrapper {
        order: 1;
        padding: 25px;
    }
    
    .contact-title { color: #1a1a1a;
        font-size: 1.6rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .agent-photo img {
        width: 150px;
        height: 150px;
    }
    
    .agent-name { color: #1a1a1a;
        font-size: 1.3rem;
    }
    
    .footer {
        padding: 25px 15px;
    }
    
    .footer-small {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-address { font-family: 'Felixti', sans-serif;
        font-size: 1.6rem;
    }
    
    .hero-location {
    font-family: 'Felixti', sans-serif;
        font-size: 0.9rem;
    }
    
    .hero-details {
        font-size: 0.85rem;
    }
    
    .gallery-slide img {
        height: 220px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .contact-title { color: #1a1a1a;
        font-size: 1.4rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}