/* RESET Y CONFIGURACIÓN BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TIPOGRAFÍA Y COLORES */
h1, h2, h3, .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.highlight {
    color: #D4AF37; /* Color dorado */
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #111;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.section {
    padding: 80px 0;
}

/* BOTONES */
.btn {
    display: inline-block;
    background-color: #111;
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #D4AF37;
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-hero {
    background-color: #D4AF37;
    color: #111;
    font-size: 1rem;
    padding: 16px 40px;
}

.btn-hero:hover {
    background-color: #111;
    color: #fff;
}

.btn-nav {
    background-color: transparent;
    color: #111;
    border: 2px solid #111;
    padding: 8px 20px;
    margin-left: 10px;
}

.btn-nav:hover {
    background-color: #111;
    color: #fff;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #D4AF37;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #111;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    background-image: url('assets/portada.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px; /* Compensa el header fijo */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #eee;
    font-weight: 300;
}

/* SERVICIOS */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.servicio-card {
    background: #fff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: #D4AF37;
}

.servicio-icon {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 20px;
}

.servicio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #111;
}

.servicio-card p {
    color: #666;
    font-size: 0.95rem;
}

/* NOSOTROS */
.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nosotros-text p {
    margin-bottom: 20px;
    color: white; /* Color a blanco */
}

.nosotros-image .imagen-placeholder {
    border-radius: 2px;
}

/* Sección Nosotros */
.nosotros {
    background-color: black;
    color: white;
    min-height: 100vh; /* Asegura que tenga la misma altura que otras secciones */
}

.nosotros .section-title {
    color: rgb(201, 198, 198); /* Cambiar el color del título a blanco */
}

.nosotros .btn {
    background-color: white;
    color: black;
    border: 1px solid black;
}

.nosotros .btn:hover {
    background-color: #D4AF37; /* Cambiar a color dorado */
    color: white; /* Asegurar que el texto sea visible */
}

/* FORMULARIO */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

.btn-form {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

.form-note a {
    color: #D4AF37;
    font-weight: 600;
    text-decoration: none;
}

.form-mensaje {
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    border-radius: 2px;
    display: none;
}

.form-mensaje.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-mensaje.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* FOOTER */
.footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
    
}

.footer-contacto h3,
.footer-social h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contacto p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contacto i,
.footer-social i {
    color: #D4AF37;
    margin-right: 10px;
}

.footer-contacto a,
.footer-social a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contacto a:hover,
.footer-social a:hover {
    color: #D4AF37;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* BOTÓN WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .nosotros-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .nosotros-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav.active {
        display: block;
    }
    .nav ul {
        flex-direction: column;
    }
    .nav ul li {
        margin: 10px 0;
        margin-left: 0;
    }
    .menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .servicios-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .btn {
        padding: 12px 25px;
    }
    .section {
        padding: 60px 0;
    }
}