/* --- VARIABLES Y ESTILOS GLOBALES --- */
:root {
    --color-black: #0A0A0A;
    --color-rose-gold: #B76E79;
    --color-white: #F5F5F5;
    --font-title: 'Cormorant Garamond', serif;
    --font-text: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 16px;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-white);
}

a {
    color: var(--color-rose-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- HEADER Y NAVEGACIÓN --- */
.main-header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(183, 110, 121, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--color-white);
    font-weight: 400;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-rose-gold);
    transition: width 0.4s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION (PÁGINA DE INICIO) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../img/hero-background.jpg') no-repeat center center/cover; /* CAMBIA 'hero-background.jpg' POR TU IMAGEN */
    position: relative;
    padding-top: 80px; /* Para compensar el header fijo */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    font-family: var(--font-title);
    font-style: italic;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-rose-gold);
    color: var(--color-white);
    padding: 15px 35px;
    font-weight: 500;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #a15f69;
    transform: translateY(-3px);
    color: var(--color-white);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ESTILOS GENERALES DE PÁGINAS --- */
.page-header {
    padding: 150px 0 70px;
    text-align: center;
    background-color: #111;
}

.page-header h1 {
    font-size: 3rem;
}

.content-section {
    padding: 80px 0;
}

/* --- SERVICIOS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    background-color: #141414;
    padding: 30px;
    border: 1px solid rgba(183, 110, 121, 0.2);
    border-radius: 5px;
    text-align: center;
}

.service-item i {
    font-size: 2.5rem;
    color: var(--color-rose-gold);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-item .price {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-rose-gold);
    margin-top: 20px;
}

/* --- GALERÍA --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- SOBRE MÍ --- */
.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
    border-radius: 5px;
}

.about-text {
    flex: 1 1 500px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- CONTACTO --- */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}
.contact-info, .contact-map {
    flex: 1 1 400px;
}
.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.contact-info i {
    color: var(--color-rose-gold);
    margin-right: 15px;
    width: 20px;
}
.map-responsive iframe {
    border-radius: 5px;
    width: 100%;
    height: 400px;
}


/* --- FOOTER --- */
.main-footer {
    background-color: #000;
    padding: 60px 0;
    border-top: 1px solid rgba(183, 110, 121, 0.2);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-column p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem !important;
    color: #888 !important;
}

.social-icons a {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-right: 20px;
}

.social-icons a:last-child {
    margin-right: 0;
}

.social-icons a:hover {
    color: var(--color-rose-gold);
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-black);
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 0;
    }
    .main-nav li {
        width: 100%;
        text-align: center;
    }
    .main-nav a {
        display: block;
        padding: 15px 0;
    }
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero {
        /* Hacemos que la imagen se ajuste al ancho del móvil y la altura sea automática */
        background-size: auto 100%;

        /* Opcional: Si la imagen sigue sin verse bien, prueba esta otra línea en su lugar */
        /* background-size: 100% auto; */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
}