:root {
    --primary: #6b21a8;
    --primary-light: #9333ea;
    --primary-dark: #581c87;
    --accent: #d8b4fe;
    --dark: #0f0f0f;
    --darker: #050505;
    --light: #f8f5ff;
    --gray: #6b7280;
    --glass: rgba(107, 33, 168, 0.15);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--darker);
    color: #fff;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(107, 33, 168, 0.2);
    padding: 0.8rem 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.5));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.video-gallery {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.video-gallery video {
    width: 100%;
    border-radius: 8px;
    max-height: 400px;
    object-fit: cover;
}

.video-gallery iframe {
    border-radius: 8px;
    width: 100%;
    height: 400px;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, #1a0b2e 100%);
    z-index: -2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: float 15s infinite;
    box-shadow: 0 0 10px var(--primary-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(147, 51, 234, 0.6));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.1rem;
    color: #a1a1aa;
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.image-scroll {
    display: flex;
    overflow-x: auto;  /* <-- Makes it horizontally scrollable */
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 10px;
}

.image-scroll img {
    min-width: 100%;   /* Each image takes full width */
    height: 250px;
    object-fit: cover;
    scroll-snap-align: start;
    border-radius: 10px;
}

/* Hide scrollbar but keep functionality */
.image-scroll::-webkit-scrollbar {
    display: none;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.6);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

/* Section Styles */
section { padding: 6rem 5%; position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #fff;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Properties Section */
.properties {
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.property-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(147, 51, 234, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(107, 33, 168, 0.2);
}

.property-image {
    height: 250px;
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0b2e 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-image i {
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.property-info { padding: 1.5rem; }
.property-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.property-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.feature i { color: var(--primary-light); }

/* Services Section */
.services { background: var(--darker); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.1) 0%, rgba(147, 51, 234, 0.05) 100%);
    border: 1px solid rgba(147, 51, 234, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card:hover::before { opacity: 1; }
.service-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
}

.service-card > * { position: relative; z-index: 1; }
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon { color: #fff; }

.service-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    transition: color 0.4s;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
    transition: color 0.4s;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.4s;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 4rem 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about { background: var(--dark); }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0b2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 60%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(147, 51, 234, 0.4));
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #e4e4e7;
}

.about-features i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(107, 33, 168, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.contact-item div strong {
    display: block;
    color: #fff;
    margin-bottom: 0.2rem;
}

.contact-item div span {
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(147, 51, 234, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e4e4e7;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.1);
}

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

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

/* Footer */
footer {
    background: var(--darker);
    border-top: 1px solid rgba(147, 51, 234, 0.1);
    padding: 3rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.3));
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--primary-light); }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(107, 33, 168, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.85rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active { display: flex; }

.modal-content {
    background: var(--dark);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    animation: slideUp 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover { color: #fff; }

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.4);
    transform: translateX(150%);
    transition: transform 0.4s ease;
    z-index: 3000;
    font-weight: 500;
}

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

/* Search Bar */
.search-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    display: flex;
    gap: 1rem;
}

.search-container input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 50px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.1);
}

.search-container input::placeholder { color: var(--gray); }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .about-content,
    .contact-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .search-container { flex-direction: column; }
}

@media (max-width: 640px) {
    .property-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
