/* 
   L&R Consultants - Luxury Real Estate
   Theme: Black (#000000) & Luxury Gold (#D4AF37)
   Refined Luxury Aesthetic
*/

:root {
    --primary-black: #000000;
    --secondary-black: #0a0a0a;
    --primary-gold: #D4AF37;
    --light-gold: #F4C430;
    --dark-gold: #AA8C2C;
    --text-white: #F5F5F5;
    --text-gray: #CCCCCC;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --bg-gradient: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    /* Lighter weight for elegance */
    color: var(--primary-gold);
    letter-spacing: 1px;
}

h1 {
    letter-spacing: 2px;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

/* Metallic Gold Text Effect */
.gold-text,
.section-title,
.logo span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary-gold);
    /* Fallback */
    font-weight: 700;
}

.italic-gold {
    font-style: italic;
    color: #F4C430;
    /* Gradient doesn't work well with italic sometimes, solid light gold is cleaner */
}

.section-padding {
    padding: 100px 0;
}

.bg-dark-2 {
    background-color: var(--secondary-black);
}

.max-w-800 {
    max-width: 800px;
}

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

.mt-2 {
    margin-top: 2rem;
}

/* Separator - Animated Shine */
.separator-gold {
    width: 80px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 20px auto 50px;
    position: relative;
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Gold Button */
.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-black);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 20px;
}

.btn-secondary:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(0, 0, 0, 0.5);
}

.btn-outline-gold {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 10px 25px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-outline-gold:hover {
    background: var(--gold-gradient);
    color: var(--primary-black);
    border-color: transparent;
}

.btn-black-gold {
    background-color: var(--primary-black);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: 16px 45px;
}

.btn-black-gold:hover {
    background: var(--gold-gradient);
    color: var(--primary-black);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: var(--primary-black);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
    gap: 30px;
    max-width: 900px;
    /* Limit width to keep boxes looking good */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-white);
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.nav-links .btn-nav {
    border: 1px solid var(--primary-gold);
    padding: 10px 25px;
    color: var(--primary-gold);
}

.nav-links .btn-nav:hover {
    background: var(--gold-gradient);
    color: var(--primary-black);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Use a rich dark gradient placeholder since we don't have the image yet */
    background: radial-gradient(circle at center, #1F1F1F 0%, #000000 100%);
}

/* Simulated "Luxury Image" via CSS Pattern */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.03) 0, rgba(212, 175, 55, 0.03) 1px, transparent 0, transparent 50%),
        repeating-linear-gradient(-45deg, rgba(212, 175, 55, 0.03) 0, rgba(212, 175, 55, 0.03) 1px, transparent 0, transparent 50%);
    background-size: 30px 30px;
    z-index: 0;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 90%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-bottom: 50px;
    font-weight: 300;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services */
.service-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px 30px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.icon-box {
    font-size: 3rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal columns */
    gap: 40px;
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.project-card {
    background-color: #050505;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.project-img {
    height: 300px;
    width: 100%;
    /* Elegant Dark Gradient Placeholder */
    background: linear-gradient(to bottom right, #2c2c2c, #111);
    position: relative;
    overflow: hidden;
}

.project-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.project-card:hover .project-img::after {
    background: rgba(0, 0, 0, 0);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.project-info .price {
    color: var(--primary-gold);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 equal columns */
    gap: 30px;
    text-align: center;
    max-width: 800px;
    /* Limit width for better appearance */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary-gold);
    background: #000;
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
    /* Fallback */
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* CTA */
.cta-section {
    background: var(--gold-gradient);
    color: var(--primary-black);
    position: relative;
    overflow: hidden;
}

/* Pattern overlay for CTA */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--secondary-black) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
}

.cta-title {
    font-weight: 700;
    color: #000;
    text-shadow: none;
}

.cta-subtitle {
    color: #333;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    padding: 60px 0 0;
    border-top: 2px solid var(--primary-gold);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-col h4 {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
}

.footer-logo .gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: #999;
    line-height: 1.7;
    font-size: 0.95rem;
}

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

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #aaa;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

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

.footer-info li {
    color: #aaa;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: var(--primary-gold);
    width: 18px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-gradient);
    color: #000;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-info li {
        justify-content: center;
    }

    .footer-cta-btn {
        display: inline-flex;
    }
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    border: 2px solid #fff;
    z-index: 2000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        text-align: center;
        border-bottom: 1px solid var(--primary-gold);
        display: none;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger .bar {
        background: var(--gold-gradient);
        height: 2px;
        width: 30px;
        border-radius: 2px;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}
