/* 
    Lavvin Gems - Luxury Real Estate Template
    Inspired by Lodha Group Aesthetic
*/

:root {
    --bg-primary: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --bg-dark: #121212;
    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --accent-gold: #C5A059;
    --accent-gold-dark: #A68341;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
}

.bg-light {
    background-color: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.title-separator {
    height: 2px;
    width: 60px;
    background-color: var(--accent-gold);
    margin: 1.5rem 0 2.5rem;
}

.mx-auto.title-separator {
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    color: #FFFFFF;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 75px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-btn {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #FFFFFF !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: currentColor;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-video, .hero-img-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

.hero-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;
    color: #FFFFFF;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent-gold);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-gold);
}

/* About Section */
.about-grid {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.section-body {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Core Businesses */
.section-header {
    margin-bottom: 4rem;
}

.business-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6rem;
}

.business-row.reverse {
    flex-direction: row-reverse;
}

.business-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 1s ease;
}

.business-image:hover img {
    transform: scale(1.05);
}

.business-content {
    flex: 1;
}

.business-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold-dark);
}

.business-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.business-list {
    list-style: none;
    margin-top: 1rem;
}

.business-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.business-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

/* Approach Section */
.approach-grid {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.approach-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.capabilities-banner {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid #EAEAEA;
    border-bottom: 1px solid #EAEAEA;
    overflow: hidden;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-anim 20s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-gold-dark);
}

.marquee-content span {
    display: inline-block;
    padding: 0 1rem;
}

.marquee-content .dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-primary);
    border-radius: 50%;
    vertical-align: middle;
}

@keyframes marquee-anim {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #FFFFFF;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 90px;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: #FFFFFF;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 1rem;
    color: #A0A0A0;
    font-size: 0.95rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.disclaimer-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #A0A0A0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer-text {
    font-size: 0.8rem;
    color: #777777;
    margin-bottom: 2rem;
    max-width: 800px;
}

.copyright {
    font-size: 0.85rem;
    color: #555555;
    text-align: center;
}

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(40px); }
.fade-in-left { opacity: 0; transform: translateX(-40px); }
.fade-in-right { opacity: 0; transform: translateX(40px); }

.animate {
    animation: fade-in-anim 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fade-in-anim {
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* Approach Features Grid */
.approach-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: #FFFFFF;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid #EAEAEA;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold-dark);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    background: #FFFFFF;
    padding: 4rem;
    border: 1px solid #EAEAEA;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

.contact-details-list {
    margin-top: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #DDDDDD;
    background: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #FFFFFF;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 2px 5px 10px rgba(0,0,0,0.3);
    color: #FFF;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 992px) {
    .business-row, .business-row.reverse {
        flex-direction: column;
        gap: 3rem;
    }
    
    .business-image img {
        height: 400px;
    }

    .footer-grid, .contact-wrapper, .approach-features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section {
        padding: 4rem 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        color: var(--text-primary);
        font-size: 1.5rem;
    }
    
    .nav-btn {
        color: var(--text-primary);
        border-color: var(--text-primary);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--text-primary);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--text-primary);
    }
    
    .navbar.scrolled .mobile-menu-btn span {
        background-color: var(--text-primary);
    }
}
