/* css/styles.css */
:root {
    --primary-blue: #0a2558;     /* Azul profundo corporativo */
    --accent-gold: #d4af37;      /* Dorado elegante */
    --success-green: #25d366;    /* Verde (tipo WhatsApp/Status) */
    --light-bg: #f8f9fa;         /* Blanco humo */
    --pure-white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* --- Header & Nav --- */
header {
    background: var(--pure-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
}

.logo img { height: 80px; width: auto; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-links a:hover { color: var(--accent-gold); }

/* Mobile Menu Button */
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--primary-blue); }

/* --- Hero Section --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(10, 37, 88, 0.8), rgba(10, 37, 88, 0.6)), url('../img/hero-bg.jpg'); /* Pon una imagen de fondo real si tienes */
    background-size: cover;
    background-position: center;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
    padding: 0 20px;
    margin-top: 80px;
}

.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.hero-content h1 span { color: var(--accent-gold); }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); }

/* --- Carousel --- */
.carousel-section { padding: 4rem 0; background: var(--pure-white); overflow: hidden; }
.carousel-track {
    display: flex;
    gap: 20px;
    animation: scroll 40s linear infinite;
    width: max-content;
}
.carousel-track img {
    height: 150px;
    width: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Ajustado para efecto infinito */
}

/* --- Services & Appliances --- */
.section-title { text-align: center; margin-bottom: 3rem; color: var(--primary-blue); font-size: 2rem; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--accent-gold); margin: 10px auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 4rem 20px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.service-card:hover { transform: translateY(-5px); border-bottom-color: var(--accent-gold); }
.service-icon { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 1rem; }

/* --- Lists --- */
.appliances-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.appliance-tag {
    background: rgba(10, 37, 88, 0.05);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(10, 37, 88, 0.1);
}

/* --- Footer --- */
footer { background: var(--primary-blue); color: var(--pure-white); padding: 3rem 0 1rem; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-col h4 { color: var(--accent-gold); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a { color: #ddd; text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--accent-gold); }
.social-icons a { font-size: 1.5rem; margin-right: 15px; color: var(--pure-white); }

.copyright { text-align: center; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

/* --- Components --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--pure-white);
    padding: 20px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.5s ease;
    z-index: 10000;
    border-top: 4px solid var(--accent-gold);
}
.cookie-banner.show { bottom: 0; }
.cookie-buttons button { margin: 0 10px; padding: 8px 20px; cursor: pointer; border-radius: 4px; border: none; font-weight: bold; }
.btn-accept { background: var(--success-green); color: white; }
.btn-deny { background: #ddd; color: #333; }

/* Form Styles */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}
.form-group textarea { height: 150px; resize: vertical; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; transition: var(--transition); }
.gallery-grid img:hover { transform: scale(1.03); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: var(--pure-white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { transform: translateY(0); }
    .hero-content h1 { font-size: 2rem; }
    .cookie-banner { text-align: center; }
}