/*
Theme Name: AV LOPES TRANSITARIO
Theme URI: https://avlopes.com
Author: Antigravity
Author URI: https://google.com
Description: A modern international logistics theme.
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: av-lopes
*/

/* Variables */
:root {
    --primary-color: #0a2e22;
    /* Rich Dark Green */
    --primary-light: #144534;
    --accent-color: #d4af37;
    /* Metallic Gold */
    --accent-light: #eacda3;
    --text-color: #1a1a1a;
    --text-light: #555555;
    --bg-color: #ffffff;
    --bg-light: #f4f6f8;
    /* Cool Gray */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 2px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.4s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    color: var(--white);
}

.parallax-hero {
    background-image: url('assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 46, 34, 0.9) 0%, rgba(10, 46, 34, 0.6) 60%, rgba(10, 46, 34, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 80px;
}

.hero-text {
    max-width: 700px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Sections General */
.section {
    padding: 140px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 80px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 60px 40px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-color);
}

.icon-wrapper {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* Process Section */
.bg-light {
    background-color: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    counter-reset: process-counter;
}

.step-card {
    background: var(--white);
    padding: 50px;
    position: relative;
    box-shadow: var(--shadow-sm);
    border-radius: 4px;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(10, 46, 34, 0.05);
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Montserrat', sans-serif;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
}

.step-card p {
    color: var(--text-light);
    position: relative;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0;
    position: relative;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Detailed Section */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 80px;
    align-items: center;
}

.detail-block {
    padding: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-block h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.detail-block p {
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.highlight-gold {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.cta-wrapper {
    text-align: center;
    margin-top: 80px;
}

/* Why Us Section */
.why-us-section {
    background-color: var(--white);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.feature-item {
    text-align: left;
    padding: 0;
}

.check-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text strong {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Final CTA */
.parallax-cta {
    background-image: url('assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 180px 0;
}

.overlay-cta {
    background: rgba(10, 46, 34, 0.92);
}

.cta-box {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--white);
}

.cta-box p {
    font-size: 1.3rem;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: #051a13;
    color: #888;
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-info p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-highlight {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    display: block;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Montserrat', sans-serif;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
}

.step-card p {
    color: var(--text-light);
    position: relative;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0;
    position: relative;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Detailed Section */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 80px;
    align-items: center;
}

.detail-block {
    padding: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-block h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.detail-block p {
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.highlight-gold {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.cta-wrapper {
    text-align: center;
    margin-top: 80px;
}

/* Why Us Section */
.why-us-section {
    background-color: var(--white);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.feature-item {
    text-align: left;
    padding: 0;
}

.check-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text strong {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Final CTA */
.parallax-cta {
    background-image: url('assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 180px 0;
}

.overlay-cta {
    background: rgba(10, 46, 34, 0.92);
}

.cta-box {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--white);
}

.cta-box p {
    font-size: 1.3rem;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: #051a13;
    color: #888;
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-info p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-highlight {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    display: block;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive Design */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section {
        padding: 100px 0;
    }

    .services-grid,
    .process-steps,
    .stats-container,
    .features-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .detail-block h3 {
        font-size: 1.8rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        display: none;
        text-align: center;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 10px;
    }

    .hamburger {
        display: block;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-text {
        padding: 30px;
        border-left: none;
        border-top: 4px solid var(--accent-color);
        border-radius: 0 0 8px 8px;
        background: rgba(10, 46, 34, 0.85);
        /* Darker for readability */
        backdrop-filter: none;
        /* Better performance on mobile */
        -webkit-backdrop-filter: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-grid,
    .process-steps,
    .stats-container,
    .features-list,
    .details-grid,
    .footer-content {
        grid-template-columns: 1fr;
        /* Force single column */
        gap: 40px;
    }

    .detail-block {
        padding: 20px 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .stat-number {
        font-size: 3rem;
    }

    .cta-box h2 {
        font-size: 2.5rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .step-number {
        font-size: 3rem;
        top: 10px;
        right: 20px;
    }

    .service-card,
    .step-card {
        padding: 30px 20px;
    }
}