/* ===== VARIABLES ===== */
:root {
    --primary: #d4af37;
    --primary-light: #f5e7c8;
    --primary-dark: #b8941f;
    --dark: #0a0e14;
    --dark-soft: #1a1f2e;
    --dark-card: #141821;
    --light: #f8fafc;
    --light-gray: #eef3f7;
    --gray: #8b92a6;
    --gray-light: #a0b3c5;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 28px -8px rgba(0,0,0,0.1);
    --shadow-lg: 0 24px 42px -12px rgba(0,0,0,0.15);
    --shadow-hover: 0 30px 50px -15px rgba(212, 175, 55, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ===== BASE STYLES ===== */
body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    padding-top: 76px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--primary) !important;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--light) !important;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    background-color: #B8941F;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background-image: 
        linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(8, 0, 0, 0.65)
        ),
        url("images//images1.jpg");
    min-height: 70vh;
    margin-top: -76px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    color: var(--gray-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== PROJECT CARDS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.project-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: var(--dark-soft);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--dark);
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-content {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.project-content p {
    color: var(--gray);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: auto;
}

.project-location i {
    font-size: 1rem;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    padding: 5rem 0;
    margin: 4rem 0;
    border-radius: 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-light);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--light-gray);
    padding: 5rem 0;
    text-align: center;
    border-radius: 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-cta {
    background-color: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 40px;
    padding: 1rem 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 16px -6px rgba(212, 175, 55, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -8px rgba(212, 175, 55, 0.4);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark);
    color: var(--gray-light);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

footer h5, footer h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--gray-light) !important;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary) !important;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--dark) !important;
    transform: translateY(-3px);
}

footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

/* ===== ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--dark);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin: 0;
        padding: 0.75rem 0 !important;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        border-bottom-color: transparent;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 72px;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }

}
