/* PrimeEstate - Modern Real Estate */
:root {
    --primary: #1a1a2e;
    --secondary: #0f3460;
    --accent: #e94560;
    --gold: #c9a227;
    --white: #ffffff;
    --light: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--primary); line-height: 1.7; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; background: transparent; transition: all 0.4s; }
.navbar.scrolled { background: var(--white); box-shadow: 0 2px 30px rgba(0,0,0,0.08); }
.navbar.scrolled .logo, .navbar.scrolled .nav-link { color: var(--primary); }
.navbar.scrolled .lang-btn { border-color: var(--primary); color: var(--primary); }
.navbar.scrolled .mobile-toggle span { background: var(--primary); }
.nav-container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--white); text-decoration: none; letter-spacing: 1px; }
.logo span { color: var(--accent); }
.nav-menu { display: flex; list-style: none; gap: 2.5rem; }
.nav-link { color: var(--white); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.nav-link:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.language-selector { position: relative; }
.lang-btn { padding: 0.5rem 1rem; background: transparent; border: 1px solid rgba(255,255,255,0.5); color: var(--white); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.lang-btn:hover { background: var(--white); color: var(--primary); }
.lang-dropdown { position: absolute; top: calc(100% + 10px); right: 0; background: var(--white); min-width: 130px; opacity: 0; visibility: hidden; transition: all 0.3s; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border-radius: 8px; overflow: hidden; }
.language-selector.active .lang-dropdown { opacity: 1; visibility: visible; }
.lang-option { display: block; width: 100%; padding: 0.75rem 1rem; background: transparent; border: none; text-align: left; cursor: pointer; font-size: 0.9rem; transition: all 0.3s; }
.lang-option:hover, .lang-option.active { background: var(--light); color: var(--accent); }
.cta-btn { padding: 0.75rem 1.75rem; background: var(--accent); color: var(--white); font-size: 0.85rem; font-weight: 600; text-decoration: none; border-radius: 50px; transition: all 0.3s; }
.cta-btn:hover { background: var(--gold); transform: translateY(-2px); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 2px; background: var(--white); transition: all 0.3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #533483 100%); }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 900px; padding: 0 2rem; }
.hero-tag { display: inline-block; padding: 0.5rem 1.5rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; font-size: 0.85rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5rem); font-weight: 600; line-height: 1.15; margin-bottom: 1.5rem; }
.hero-text { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Search Box */
.hero-search { margin-top: 2rem; }
.search-box { display: flex; background: var(--white); padding: 0.5rem; border-radius: 60px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-width: 800px; margin: 0 auto; }
.search-box select { flex: 1; padding: 1rem 1.5rem; border: none; background: transparent; font-family: var(--font-body); font-size: 0.95rem; color: var(--primary); cursor: pointer; appearance: none; }
.search-box select:focus { outline: none; }
.search-btn { padding: 1rem 2.5rem; background: var(--accent); color: var(--white); border: none; border-radius: 50px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.search-btn:hover { background: var(--primary); }

/* Hero Stats */
.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 5rem; padding: 2rem; background: var(--white); z-index: 2; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--primary); display: inline; }
.hero-stats .stat-suffix { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.hero-stats .stat-label { display: block; font-size: 0.85rem; color: var(--gray); margin-top: 0.25rem; }

/* Scroll Indicator */
.scroll-indicator { position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 2; color: var(--white); }
.scroll-indicator span { font-size: 0.75rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.5); animation: scrollPulse 1.5s infinite; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.5); opacity: 0.5; } }

/* Sections */
section { padding: 100px 0; }
.section-tag { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 600; line-height: 1.2; color: var(--primary); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.section-header.centered { display: block; text-align: center; margin-bottom: 4rem; }
.view-all { font-size: 0.9rem; font-weight: 600; color: var(--accent); text-decoration: none; transition: color 0.3s; }
.view-all:hover { color: var(--primary); }

/* Properties Grid */
.properties-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.property-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 30px rgba(0,0,0,0.08); transition: all 0.4s; }
.property-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.property-card.featured-card { grid-column: span 2; grid-row: span 2; }
.property-image { position: relative; height: 200px; overflow: hidden; }
.property-card.featured-card .property-image { height: 350px; }
.property-badge { position: absolute; top: 1rem; left: 1rem; padding: 0.4rem 1rem; background: var(--accent); color: var(--white); font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-radius: 50px; }
.property-badge.new { background: var(--gold); }
.property-actions { position: absolute; top: 1rem; right: 1rem; display: flex; gap: 0.5rem; opacity: 0; transform: translateY(-10px); transition: all 0.3s; }
.property-card:hover .property-actions { opacity: 1; transform: translateY(0); }
.action-btn { width: 36px; height: 36px; background: var(--white); border: none; border-radius: 50%; cursor: pointer; font-size: 0.9rem; transition: all 0.3s; }
.action-btn:hover { background: var(--accent); color: var(--white); }
.property-info { padding: 1.5rem; }
.property-card.featured-card .property-info { padding: 2rem; }
.property-location { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--gray); margin-bottom: 0.5rem; }
.property-location .icon { color: var(--accent); }
.property-info h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.property-card.featured-card .property-info h3 { font-size: 1.5rem; }
.property-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 1rem; }
.property-features { display: flex; gap: 1.5rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #eee; }
.property-features span { font-size: 0.8rem; color: var(--gray); display: flex; align-items: center; gap: 0.3rem; }
.property-features i { font-style: normal; color: var(--accent); }
.property-footer { display: flex; justify-content: space-between; align-items: center; }
.property-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--primary); }
.property-btn { font-size: 0.8rem; font-weight: 600; color: var(--accent); text-decoration: none; transition: color 0.3s; }
.property-btn:hover { color: var(--primary); }

/* Services */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: var(--white); padding: 2.5rem; border-radius: 16px; text-align: center; transition: all 0.3s; border: 1px solid transparent; }
.service-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.service-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* CTA Section */
.cta-section { position: relative; padding: 120px 0; overflow: hidden; }
.cta-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }
.cta-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-content { position: relative; z-index: 1; text-align: center; color: var(--white); max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.2; margin-bottom: 1.5rem; }
.cta-content p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; }
.cta-button { display: inline-block; padding: 1.25rem 3rem; background: var(--accent); color: var(--white); font-size: 0.9rem; font-weight: 600; text-decoration: none; border-radius: 50px; transition: all 0.3s; }
.cta-button:hover { background: var(--white); color: var(--primary); transform: translateY(-3px); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-content p { color: var(--gray); margin: 1.5rem 0 2rem; line-height: 1.9; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; }
.feature-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--white); font-size: 0.7rem; border-radius: 50%; }
.about-images { position: relative; height: 500px; }
.about-img { position: absolute; border-radius: 16px; }
.about-img.img-1 { width: 60%; height: 70%; top: 0; left: 0; }
.about-img.img-2 { width: 55%; height: 55%; bottom: 0; right: 0; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }

/* Team */
.team { background: var(--light); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.team-card { background: var(--white); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.team-image { position: relative; height: 280px; overflow: hidden; }
.team-social { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; opacity: 0; transition: all 0.3s; }
.team-card:hover .team-social { opacity: 1; }
.team-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 50%; color: var(--primary); text-decoration: none; font-size: 0.8rem; font-weight: 600; transition: all 0.3s; }
.team-social a:hover { background: var(--accent); color: var(--white); }
.team-info { padding: 1.5rem; text-align: center; }
.team-info h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.25rem; }
.team-info p { font-size: 0.85rem; color: var(--accent); }

/* Testimonials */
.testimonials-slider { max-width: 700px; margin: 0 auto; position: relative; }
.testimonial-card { display: none; }
.testimonial-card.active { display: block; }
.testimonial-content { text-align: center; padding: 2rem; }
.quote { font-family: var(--font-display); font-size: 5rem; color: var(--accent); line-height: 1; margin-bottom: -1rem; }
.testimonial-content p { font-size: 1.1rem; color: var(--gray); line-height: 1.9; margin-bottom: 2rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.author-avatar { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%); color: var(--white); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; border-radius: 50%; }
.author-info h4 { font-size: 1rem; font-weight: 600; }
.author-info span { font-size: 0.85rem; color: var(--gray); }
.testimonial-dots { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.testimonial-dots .dot { width: 10px; height: 10px; background: #ddd; border-radius: 50%; cursor: pointer; transition: all 0.3s; }
.testimonial-dots .dot.active { background: var(--accent); transform: scale(1.2); }

/* Contact */
.contact { background: var(--primary); color: var(--white); }
.contact .section-tag { color: var(--accent); }
.contact .section-title { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.contact-info p { color: rgba(255,255,255,0.7); margin: 1.5rem 0 2.5rem; }
.info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.info-item { display: flex; gap: 1.25rem; }
.info-item .icon { font-size: 1.25rem; color: var(--accent); }
.info-item strong { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }
.info-item p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 0; }
.contact-form { background: var(--white); padding: 3rem; border-radius: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { position: relative; margin-bottom: 1.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; background: var(--light); border: 1px solid #e0e0e0; border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; color: var(--primary); transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group label { position: absolute; left: 1rem; top: 1rem; color: var(--gray); font-size: 0.9rem; pointer-events: none; transition: all 0.3s; background: var(--light); }
.form-group label.active, .form-group input:focus + label, .form-group input:valid + label, .form-group textarea:focus + label, .form-group textarea:valid + label, .form-group select:focus + label, .form-group select:valid + label { top: -0.5rem; left: 0.75rem; font-size: 0.75rem; padding: 0 0.5rem; color: var(--accent); }
.submit-btn { width: 100%; padding: 1.25rem; background: var(--accent); border: none; color: var(--white); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s; }
.submit-btn:hover { background: var(--primary); }

/* Map */
.map-section { padding: 0; }
.map-placeholder { height: 400px; background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%); position: relative; }
.map-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.map-card { background: var(--white); padding: 2rem; border-radius: 16px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.map-card h4 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.map-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 1rem; }
.directions-btn { display: inline-block; padding: 0.75rem 1.5rem; background: var(--accent); color: var(--white); font-size: 0.85rem; font-weight: 600; text-decoration: none; border-radius: 50px; transition: all 0.3s; }
.directions-btn:hover { background: var(--primary); }

/* Footer */
.footer { background: #0f0f1a; color: var(--white); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand .logo { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); text-decoration: none; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 1rem; font-size: 0.95rem; line-height: 1.7; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-links a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; color: var(--white); font-size: 0.8rem; font-weight: 600; text-decoration: none; transition: all 0.3s; }
.social-links a:hover { background: var(--accent); }
.footer-links h4, .footer-contact h4 { font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; padding: 0.4rem 0; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* Responsive */
@media (max-width: 1200px) {
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .property-card.featured-card { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 1024px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-images { height: 400px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--primary); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transition: right 0.4s; }
    .nav-menu.active { right: 0; }
    .nav-menu .nav-link { color: var(--white); font-size: 1.25rem; }
    .mobile-toggle { display: flex; z-index: 1001; }
    .cta-btn { display: none; }
    .search-box { flex-direction: column; border-radius: 16px; }
    .search-box select { padding: 1rem; border-bottom: 1px solid #eee; }
    .search-btn { border-radius: 50px; margin: 0.5rem; }
    .hero-stats { flex-wrap: wrap; gap: 2rem; padding: 2rem 1rem; }
    .hero-stats .stat { width: 45%; }
    .properties-grid { grid-template-columns: 1fr; }
    .property-card.featured-card { grid-column: auto; }
    .services-grid, .team-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .scroll-indicator { display: none; }
    .form-row { grid-template-columns: 1fr; }
}
