:root {
    --color-primary: #103C4A; /* Azul Petróleo */
    --color-secondary: #8BA88E; /* Verde Salvia */
    --color-accent: #FF6B57; /* Naranja Coral */
    --color-accent-hover: #e55c4a;
    --color-bg: #F7F9FA;
    --color-text: #2c3e50;
    --color-light: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    
    --radius-md: 12px;
    --radius-lg: 24px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-light);
    box-shadow: 0 4px 15px rgba(255, 107, 87, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 87, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    /* Navbar doesn't follow anymore, so we don't need to change background on scroll */
}

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

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-light);
    transition: color 0.3s;
}

.navbar.scrolled .navbar-brand {
    color: var(--color-primary);
}

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

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

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

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

.navbar.scrolled .nav-link:hover {
    color: var(--color-primary);
}

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

.navbar.scrolled .mobile-toggle {
    color: var(--color-primary);
}

/* Interior Pages Navbar (Solid separated menu) */
.navbar-interior {
    position: static !important;
    background: white !important;
    padding: 1.5rem 0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}
.navbar-interior .navbar-brand { color: var(--color-primary) !important; }
.navbar-interior .nav-link { color: var(--color-text) !important; font-weight: 600; }
.navbar-interior .nav-link:hover, .navbar-interior .nav-link.active { color: var(--color-primary) !important; }
.navbar-interior .mobile-toggle { color: var(--color-primary) !important; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Sections Common */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

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

/* Updated overlay to be darker so the background image is visible but text is readable */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 60, 74, 0.85) 0%, rgba(139, 168, 142, 0.6) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.05); /* Slight zoom for image */
}

/* For animating the background */
@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-bg.animated {
    animation: kenburns 20s ease-out forwards;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Interior Pages Hero */
.hero-small {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}
.hero-small::before { display: none; }
.hero-small .hero-title { font-size: 3rem; margin-bottom: 0; }


/* Cards & Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--color-accent);
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(139, 168, 142, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--color-primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background-color: var(--color-primary);
    color: var(--color-light);
    transform: scale(1.15) rotate(5deg);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    font-size: 0.95rem;
}

/* About Section */
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-primary);
    color: var(--color-light);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 5px solid var(--color-bg);
    animation: floatAnim 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); box-shadow: 0 25px 25px -5px rgba(0,0,0,0.2); }
    100% { transform: translateY(0px); }
}

.about-badge span:first-child {
    font-size: 2rem;
    color: var(--color-accent);
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem 0;
}

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

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-light);
    margin-bottom: 1rem;
    display: block;
}

.footer-desc {
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: var(--color-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

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

/* Mobile Responsive */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-small .hero-title { font-size: 2.5rem; }
    .about-badge {
        width: 90px;
        height: 90px;
        bottom: -15px;
        right: -10px;
    }
    .about-badge span:first-child { font-size: 1.5rem; }
    .about-badge span:last-child { font-size: 0.8rem; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; } /* Reduce huge white space on mobile */
    .grid-3 { grid-template-columns: 1fr; }
    .navbar-brand { font-size: 1.5rem; }
    
    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-light);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        z-index: 1000;
    }
    
    .navbar-nav.active { right: 0; }
    
    .nav-link { color: var(--color-text) !important; font-size: 1.2rem; margin-bottom: 1rem; display: block; }
    .nav-link::after { display: none; } /* Disable underline anim on mobile menu */
    
    .mobile-toggle { display: block; z-index: 1001; position: relative; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .hero-small { height: 30vh; min-height: 250px; }
    .hero-small .hero-title { font-size: 2.2rem; }
    
    .section-title { font-size: 2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-desc { margin: 0 auto 1.5rem auto; }
    
    .contact-form {
        grid-template-columns: 1fr; /* Stack form inputs vertically on mobile */
    }
    .form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .section { padding: 3rem 0; }
    .btn { width: 100%; padding: 1rem; } /* Full width buttons on very small screens */
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Contact Form Components */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: var(--color-primary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 1rem;
    border: 2px solid #eaeaea;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fafafa;
    transition: all 0.3s ease;
    color: var(--color-text);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-light);
    box-shadow: 0 0 0 4px rgba(255, 107, 87, 0.1);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}
