/* CSS Variables for Theme */
:root {
    --primary-color: #4F9B47; /* Encome Green */
    --primary-hover: #3e7d37;
    --dark-bg: #1a1a1a;
    --darker-bg: #111111;
    --light-bg: #f4f4f4;
    --text-main: #333333;
    --text-light: #f4f4f4;
    --text-muted: #888888;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.8;
    font-size: 16px;
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

h1, h2, h3 {
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-light);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid var(--text-light);
    transition: all var(--transition-speed);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--darker-bg);
}

.btn-primary-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    transition: all var(--transition-speed);
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

.w-100 {
    width: 100%;
}

/* Header */
header {
    background-color: var(--darker-bg);
    color: var(--text-light);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: padding var(--transition-speed);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 300;
}

.logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 400;
    transition: color var(--transition-speed);
}

nav a:not(.btn-primary-outline):hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/images/hero_realistic.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0; /* Cover full screen */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.6) 50%, rgba(17,17,17,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Section Shared */
section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom-color: var(--primary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    .parts-content {
        flex-direction: column !important;
    }
    .parts-content > div {
        width: 100%;
    }
}

.service-card p {
    color: var(--text-muted);
}

/* About */
.about {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #ccc;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.about-list li i {
    color: var(--primary-color);
}

.about-image {
    flex: 1;
}

.rounded-image {
    width: 100%;
    border-radius: 8px;
}

.shadow {
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Contact */
.contact {
    background-color: #fff;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info {
    flex: 1;
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 50px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-info h2 span {
    color: var(--primary-color);
}

.contact-info > p {
    color: #ccc;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    color: #ccc;
}

.contact-form {
    flex: 1;
    padding: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    color: var(--text-muted);
    text-align: left;
    padding: 30px 0;
    border-top: 1px solid #333;
}

/* Parts Grid */
.parts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .parts-content {
        flex-direction: column !important;
    }
    .parts-content > div {
        width: 100%;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--darker-bg);
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu {
        display: block;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        padding: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .parts-grid {
        grid-template-columns: 1fr;
    }
}

/* Go to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1;
}

#scrollTopBtn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Cookie Banner */
.cookie-banner {
    display: none; /* Hidden by default until checked by JS */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 20px 0;
    border-top: 3px solid var(--primary-color);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.cookie-content p {
    color: var(--dark-bg);
    margin: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .cookie-content p {
        flex: 1;
        padding-right: 20px;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

.whatsapp-icon {
    margin: 0;
}
