:root {
    --primary-color: #F98126;
    --secondary-color: #4DDEF9;
    --secondary-dark: #2ab8d1;
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-height: 160px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: calc(var(--header-height) + 40px);
    /* Offset for fixed header + topbar */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(249, 129, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 129, 38, 0.6);
}

.btn-block {
    display: block;
    width: 100%;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    font-size: 0.9rem;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 40px;
    /* Below top-bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo img {
    height: auto;
    max-height: 140px;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

.nav-btn {
    padding: 0.5rem 1.5rem;
    /* Slightly smaller than default btn */
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    /* Reduced height for mobile/tablet optimization or preference */
    min-height: 500px;
    overflow: hidden;
    margin-top: -1px;
    /* Fix gap */
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* "difuminado" effect */
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--white);
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Contact Section & Map */
.contact-layout {
    display: flex;
    flex-wrap: wrap;
}

.map-container,
.form-container {
    flex: 1;
    min-width: 300px;
}

.map-container {
    min-height: 500px;
}

.form-container {
    background: var(--light-bg);
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper {
    width: 100%;
    max-width: 500px;
}

.form-wrapper h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-wrapper p {
    margin-bottom: 2rem;
    color: #666;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(77, 222, 249, 0.2);
}

/* Footer */
.site-footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-nav ul {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

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

.social-links {
    font-size: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 1rem;
}

/* Floating Buttons */
.float-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-left {
    left: 30px;
    background-color: var(--secondary-dark);
    /* or generic grey, or secondary brand color */
    opacity: 0;
    visibility: hidden;
}

.float-left.visible {
    opacity: 1;
    visibility: visible;
}

.float-right {
    right: 30px;
    background-color: #25D366;
    /* WhatsApp Green */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --header-height: 90px;
    }

    .logo img {
        height: auto;
        max-height: 70px;
    }

    .site-header .container {
        padding: 0 1.5rem;
    }

    .mobile-menu-toggle {
        display: block;
        /* Ensure vertical alignment */
        margin-top: 5px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .contact-layout {
        flex-direction: column;
    }

    .map-container {
        height: 300px;
        min-height: 300px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
    }

    .float-left {
        left: 20px;
    }

    .float-right {
        right: 20px;
    }
}