/* ===== VARIABLES ===== */
:root {
    --primary: #d4af37;
    --primary-light: #f5e7c8;
    --primary-dark: #b8941f;
    --dark: #1e2b37;
    --dark-soft: #2c3e50;
    --light: #f8fafc;
    --light-gray: #eef3f7;
    --gray: #5d6d7e;
    --gray-light: #a0b3c5;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 12px 28px -8px rgba(0,0,0,0.06);
    --shadow-lg: 0 24px 42px -12px rgba(0,0,0,0.12);
    --shadow-hover: 0 30px 50px -15px rgba(0,0,0,0.15);
    --transition: all 0.25s ease;
    --border-radius: 20px;
    --border-radius-sm: 12px;
}

/* ===== 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 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-section .lead {
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SECTION TITLE ===== */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-light);
}

.service-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(0.3);
    transition: var(--transition);
}

.service-card:hover .service-icon img {
    filter: brightness(1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: var(--dark-soft);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--primary);
    font-size: 1rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--light-gray);
    padding: 5rem 0;
    text-align: center;
}

.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(--dark);
    color: var(--white);
    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(30,43,55,0.15);
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -8px rgba(212, 175, 55, 0.3);
}

/* ===== 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;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== FOOTER ===== */
footer {
    background-color: #13202b;
    color: var(--gray-light);
}

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: #2a3a48;
    opacity: 0.5;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem;
        border-radius: var(--border-radius-sm);
        box-shadow: var(--shadow-md);
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(0,0,0,0.05);
        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) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .section-title-wrapper {
        margin-bottom: 2.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

/* ===== UTILITY CLASSES ===== */
.bg-light {
    background-color: var(--light) !important;
}

.text-warning {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--gray) !important;
}