/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #87ceeb;
    --primary-dark: #468d94;
    --secondary-color: #455a64;
    --text-color: #1b1b1b;
    --text-light: #5e5e5e;
    --bg-light: #f6f6f6;
    --white: #ffffff;
    --black: #000000;
    --gray: #a9a9a9;
    --border-color: #dadada;
    --shadow: 0 2px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Righteous', serif, system-ui;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border: none;
    border-radius: 48px;
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.063em;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 56px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--black);
}

.btn-primary:hover {
    background-color: #c6e5f4;
}

.btn-whatsapp {
    background-color: var(--secondary-color);
    color: var(--white);
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #4f6672;
}

.btn-directions {
    background-color: var(--primary-color);
    color: var(--black);
    gap: 8px;
    position: absolute;
    top: 8px;
    left: 56px;
    padding: 8px 16px;
    font-size: 12px;
    min-height: 40px;
}

/* Header Actualizado - Logo arriba del menú centrado */
.header {
    background-color: var(--black);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.logo {
    text-align: center;
}

.logo-img {
    height: 100px;
    width: auto;
    max-width: 300px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Navegación centrada */
.nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-list a {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--primary-color);
}

.nav-list a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 500px;
}

.hero-image {
    position: relative;
}

.image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

.hero-content {
    padding: 40px 0;
	text-align: center;	
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 1.5;
}

.hero-actions {
    margin-bottom: 2rem;
}

.hero-phone {
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-phone a {
    color: var(--primary-dark);
    transition: var(--transition);
}

.hero-phone a:hover {
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.section-title.white {
    color: var(--white);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-item.reverse {
    direction: rtl;
}

.about-item.reverse > * {
    direction: ltr;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.cta-content {
    margin-top: 2rem;
}

/* Reviews Section */
.reviews {
    position: relative;
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.reviews-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.24) 100%), url('../images/reviews-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.reviews-content {
    max-width: 800px;
    margin: 0 auto;
}

.placeholder-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact {
    padding: 80px 0 0;
    background-color: var(--white);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-info h4 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
}

.hours {
    margin-top: 2rem;
    text-align: center;
}

.hours-info {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
}

.map-container {
    margin-top: 40px;
    position: relative;
    height: 400px;
    background-color: var(--bg-light);
}

.map-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subscribe Section */
.subscribe {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-form {
    margin-top: 2rem;
}

.form-group {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(135, 206, 235, 0.2);
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-copyright {
    margin-bottom: 2rem;
}

.footer hr {
    border: none;
    border-top: 1px solid #333;
    margin: 2rem 0;
}

.footer-powered {
    color: var(--gray);
    font-size: 14px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 24px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-content h4 {
    margin-bottom: 0;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 65px;
    height: 65px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.fab:hover {
    transform: scale(1.1);
}

.fab-icon {
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-grid {
        gap: 40px;
    }
    
    .about-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-list {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    /* Navegación móvil */
    .nav {
        position: relative;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--black);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Logo más pequeño en móviles */
    .logo-img {
        height: 80px;
    }
    
    /* Hero responsive para móviles */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-img {
        height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .about-image img {
        height: 250px;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 24px;
        min-height: 48px;
        font-size: 13px;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .hero-img {
        height: 250px;
    }
    
    .nav-list {
        gap: 12px;
    }
    
    .nav-list a {
        font-size: 14px;
    }
}
/*
.map-responsive {
    overflow: hidden;
    * Establece la proporción (ej. 75% para una relación 4:3) *
    * Puedes usar 56.25% para una relación 16:9 si prefieres un mapa más ancho *
    padding-bottom: 75%; 
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 75%;
    width: 75%;
    position: absolute;
}
*/

/* Estilos para hacer el mapa responsive */
.map-responsive {
    overflow: hidden;
    padding-bottom: 75%; /* Ajusta la altura del mapa. 75% = relación 4:3 */
    position: relative;
    height: 0;
    
    /* ESTILOS PARA CENTRAR HORIZONTALMENTE */
    max-width: 800px; /* Define el ancho máximo del mapa. Ajusta este valor según tu diseño. */
    margin: 0 auto; /* Centra el div en la página */
}

/* El resto de los estilos del iframe permanecen igual para la responsividad */
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 75%;
    width: 100%;
    position: absolute;
}
