/* --- Variables y Estilos Globales --- */
:root {
    --color-negro: #0A0A0A;
    --color-gris-oscuro: #1A1A1A;
    --color-dorado: #D4AF37;
    --color-texto: #F5F5F5;
    --fuente-titulos: 'Exo 2', sans-serif;
    --fuente-cuerpo: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--fuente-cuerpo);
    line-height: 1.7;
    background-color: var(--color-negro);
    color: var(--color-texto);
    margin: 0;
    padding-top: 75px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section-title {
    font-family: var(--fuente-titulos);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-dorado);
}

.btn-cta {
    display: inline-block;
    background-color: var(--color-dorado);
    color: #000;
    padding: 15px 40px;
    font-family: var(--fuente-cuerpo);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 5px;
    border: 2px solid var(--color-dorado);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.btn-cta:hover { background-color: transparent; color: var(--color-dorado); transform: translateY(-3px); }

/* --- Header y Navegación --- */
.header {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    position: fixed; width: 100%; top: 0; z-index: 1000;
}
.navbar { display: flex; justify-content: space-between; align-items: center; height: 75px; }
.logo { font-family: var(--fuente-titulos); font-size: 1.5rem; font-weight: 700; color: var(--color-texto); display:flex; align-items:center; gap: 10px; }
.logo-img { height: 40px; /* Adjust as needed */ }
.nav-links { list-style: none; display: flex; gap: 40px; }
.nav-links a { font-weight: 600; text-transform: uppercase; color: var(--color-texto); text-decoration: none; }
.nav-links a:hover { color: var(--color-dorado); }

/* --- Secciones --- */
section { padding: 80px 0; }

/* Hero */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.hero-split-left {
    position: absolute; left: 0; top: 0; width: 50%; height: 100%;
    background: url('../material/1.jpg') no-repeat center center/cover;
}
.hero-split-right {
    position: absolute; right: 0; top: 0; width: 50%; height: 100%;
    background: url('../material/2.jpg') no-repeat center center/cover;
}
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(0,0,0,0.7); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-family: var(--fuente-titulos); font-size: 4.5rem; margin-bottom: 20px; text-transform:uppercase; color: var(--color-texto); }
.hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 30px auto; }

/* Servicios */
.services { background-color: var(--color-gris-oscuro); }
.service-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.service-panel {
    padding: 40px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #333;
}
.service-panel::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(0,0,0,0.7); }
.service-panel h3, .service-panel ul { position: relative; z-index: 2; }
.service-panel.vehicle { background-image: url('../material/3.jpg'); }
.service-panel.home { background-image: url('../material/4.jpg'); }
.service-panel h3 { font-family: var(--fuente-titulos); font-size: 2.5rem; color: var(--color-dorado); margin-bottom: 20px; }
.service-panel ul { list-style: none; padding: 0; font-size: 1.1rem; }
.service-panel ul li { padding: 5px 0; border-bottom: 1px solid #444; }

/* Galería */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.gallery-item img { width: 100%; height: auto; display: block; border-radius: 5px; border: 2px solid #333; }

/* Garantía */
.guarantee { background-color: var(--color-gris-oscuro); }
.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.guarantee-item i { font-size: 3.5rem; color: var(--color-dorado); margin-bottom: 20px; }
.guarantee-item h4 { font-family: var(--fuente-titulos); font-size: 1.5rem; }

/* Contacto */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.contact-info a { color: var(--color-dorado); text-decoration: none; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 15px;
    background: var(--color-gris-oscuro); border: 1px solid #444;
    border-radius: 5px; color: var(--color-texto); font-family: var(--fuente-cuerpo);
}

/* Footer */
.footer { background-color: #000; color: #777; text-align: center; padding: 30px 0; border-top: 1px solid #222; }
.footer a { color: #ccc; }

/* WhatsApp Fancy Button */
.whatsapp-fancy{position:fixed;bottom:20px;left:20px;background:#25d366;color:#fff;padding:12px 20px;font-family:var(--fuente-cuerpo);font-weight:bold;border-radius:50px;box-shadow:0 8px 16px rgba(0,0,0,.3);display:flex;gap:10px;align-items:center;z-index:9999;transition:background .3s, transform .2s}
.whatsapp-fancy:hover{background:#1ebe5d;transform:scale(1.05)}
.whatsapp-fancy i{font-size:1.5rem}

/* Responsividad */
@media (max-width: 768px) {
    .hero-split-left, .hero-split-right { width: 100%; height: 50%; }
    .hero-split-right { top: 50%; }
    .hero h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .service-paths, .guarantee-grid, .contact-wrapper { grid-template-columns: 1fr; }
}