@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;&display=swap');

:root {
    --primary: #004825;
    --primary-light: #006b37;
    --accent: #C4B800;
    --accent-light: #e6d800;
    --dark: #0a0a0a;
    --gray-dark: #1a1a1a;
    --gray-light: #f5f5f5;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 400;
}

.header-top .contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.header-top .contact-info a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top .contact-info a:hover {
    opacity: 0.8;
}

header.scrolled .header-top {
    margin-top: -40px;
}

header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.navbar {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    transition: var(--transition);
}

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

.logo img {
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

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

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

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

/* --- Hero Section --- */
.hero {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/auto2.png');
    background-size: cover;
    background-position: center -194px;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
    padding-top: 160px;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 72, 37, 0.3);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

/* --- Page Banners --- */
.page-banner {
    padding: 160px 0 100px;
    background-size: cover !important;
    background-position: center -194px !important;
    text-align: center;
    color: var(--white);
    width: 100%;
    overflow: hidden;
}

.page-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-banner p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Sections --- */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-icon-abs {
    position: absolute;
    bottom: -25px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.service-info {
    padding: 40px 30px 30px;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* --- Features --- */
.features {
    background: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* --- Contact Action Cards --- */
.contact-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.action-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.action-card:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: var(--white);
}

.action-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.action-card:hover i {
    color: var(--white);
}

.action-card h3 {
    margin-bottom: 8px;
}

.action-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* --- Footer --- */
footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 24px;
}

.footer-brand p {
    opacity: 0.7;
    margin-bottom: 24px;
}

.footer-links h4 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
}

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

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.5;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    /* Hero mobile fixes */
    .hero {
        text-align: center;
        height: 100vh;
        min-height: 500px;
        background-attachment: scroll;
        background-position: center top;
        padding-top: 120px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-banner {
        background-attachment: scroll !important;
        background-position: center top !important;
        padding: 140px 16px 80px;
    }

    .page-banner h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero p {
        font-size: 1.05rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* WhatsApp button smaller on mobile */
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }

    /* Container adjustments */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    /* Section spacing */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Service cards mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card {
        max-width: 100%;
    }

    .service-img {
        height: 200px;
    }

    /* Features mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer {
        padding: 60px 0 30px;
    }

    /* Contact actions mobile */
    .contact-actions {
        grid-template-columns: 1fr;
    }

    /* About page grid fix */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .about-gallery {
        grid-template-columns: 1fr !important;
    }

    .about-gallery>div {
        grid-column: span 1 !important;
    }
}