:root {
    --primary: #004AAD;
    --primary-light: #0077FF;
    --secondary: #FFFFFF;
    --accent: #F0F4F8;
    --text-dark: #1A202C;
    --text-light: #4A5568;
    --white-ov: rgba(255, 255, 255, 0.9);
    --glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
}

/* Header & Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition);
}

.main-header.scrolled {
    background: var(--white-ov);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 74, 173, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-text span {
    color: var(--text-dark);
    font-style: italic;
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    filter: blur(150px);
    opacity: 0.1;
    top: -50px;
    right: -50px;
}

.hero-split {
    display: flex;
    width: 100%;
    align-items: center;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    box-shadow: 0 10px 20px rgba(0, 74, 173, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 74, 173, 0.3);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--secondary);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.mockup-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.mockup-container:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-frame {
    background: #111;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.2);
    position: relative;
}

.mockup-frame video {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Property Cards */
.grid-listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.property-card {
    background: var(--secondary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .card-image img {
    transform: scale(1.1);
}

.card-price {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--white-ov);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.main-footer {
    background: #001A3D;
    color: var(--secondary);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 5rem;
    padding-bottom: 60px;
}

.footer-info p {
    margin-top: 1.5rem;
    opacity: 0.7;
    max-width: 350px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 10px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-split {
        flex-direction: column;
        padding-top: 151px;
    }
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 50px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-visual {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}
