/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* TIPOGRAFÍA */
h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

/* NAVEGACIÓN */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: absolute;
    width: 100%;
    z-index: 100;
    color: white;
}

.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: #d4af37; /* Color Dorado */ }

nav ul { list-style: none; display: flex; gap: 20px; }
nav a { text-decoration: none; color: white; font-weight: 300; transition: color 0.3s; }
nav a:hover { color: #d4af37; }

/* HERO - EFECTO PARALLAX */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Permite hacer clic a través de las capas */
}

/* Capa Fondo */
.bg img {
    width: 110%; /* Un poco más grande para permitir movimiento */
    height: 110%;
    object-fit: cover;
    opacity: 0.6;
    filter: brightness(50%);
}

/* Capa Flotante */
.floating-obj img {
    width: 400px;
    opacity: 0.8;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* Capa Contenido Texto */
.content {
    flex-direction: column;
    text-align: center;
    color: white;
    z-index: 10;
}

.content h1 {
    font-size: 5rem;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.content p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.btn {
    padding: 15px 40px;
    border: 2px solid #d4af37;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    pointer-events: auto; /* Reactivar clicks en el botón */
}

.btn:hover {
    background: #d4af37;
    color: black;
}

/* SECCIÓN SERVICIOS */
#servicios {
    padding: 80px 20px;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

#servicios h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #222;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
    color: #111;
}

.card p {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

footer {
    background: #222;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}