/* =========================================
   Variables & Reset
========================================= */
:root {
    --color-bg-dark: #121212;
    --color-bg-light: #1e1e1e;
    --color-text-main: #f5f5f5;
    --color-text-muted: #aaaaaa;
    --color-gold: #d4af37;
    --color-gold-hover: #b5952f;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
}

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

/* =========================================
   Tipografía & Utilidades
========================================= */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-gold);
    margin-bottom: 15px;
}

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

.bg-dark {
    background-color: var(--color-bg-light);
}

/* =========================================
   Botones
========================================= */
.btn-gold {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--color-gold);
    color: #000;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid var(--color-gold);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--color-gold);
}

.btn-primary {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--color-gold);
    color: #000;
}

/* =========================================
   Navegación
========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-gold);
}

/* =========================================
   Hero Section
========================================= */
.hero {
    height: 100vh;
    background-image: url('../assets/images/hero.png'); /* Creado por IA */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(18,18,18,0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 5rem;
    color: var(--color-gold);
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 30px;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ddd;
}

/* =========================================
   Servicios
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--color-bg-light);
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

/* =========================================
   Galería
========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.loader-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-gold);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   Ubicación (Mapa)
========================================= */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: #0a0a0a;
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    color: #fff;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-gold);
    color: #000;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* =========================================
   Botón Flotante WhatsApp
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    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: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

/* =========================================
   Responsive Design
========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* En celular se ocultaría o se haría un menú hamburguesa */
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}
