* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --color-matrimonios: rgb(203, 182, 196);
    --color-comidas: rgb(227, 186, 186);
    --color-eventos: rgb(198, 211, 206);
    --color-coffe: rgb(227, 190, 170);
    --color-text: #1a1a1a;
    --color-background: #ffffff;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-background);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--color-text);
    text-decoration: none;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--color-matrimonios);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

section {
    min-height: 100vh;
    padding: 8rem 6rem 4rem;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: 100px;
}

.hero h2, .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--color-text);
}

.hero h2 {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.subtitle {
    color: #aaa;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.learn-more {
    display: inline-block;
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.learn-more:hover {
    color: #000000;
    transform: translateY(-2px);
}

.learn-more::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.learn-more:hover::before {
    width: 100%;
    background-color: #000000;
}

/* Ajuste específico para el enlace en la sección principal */
.hero .learn-more {
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 400px;
}

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

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

.about-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 0;
    height: calc(100vh - 370px);
    overflow: hidden;
}

.about-text {
    flex: 1;
    max-width: 60%;
    padding: 1rem;
    text-align: justify;
}

.about-text p {
    line-height: 1.6;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
    height: 450px;
    overflow: hidden;
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 2px;
    background-color: var(--color-matrimonios);
}

.section-description {
    max-width: 800px;
    margin: 0 0 3rem;
    text-align: left;
}

.section-description p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--color-text);
}

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

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-size: 1.1rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    padding: 0.8rem 3rem;
    background-color: var(--color-matrimonios);
    color: var(--color-text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--color-text);
    color: white;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .contact-form {
        padding: 0 1rem;
        margin: 0;
    }
    
    input, textarea {
        font-size: 16px; /* Evita el zoom en iOS */
    }

    .learn-more {
        display: none; /* Oculta todos los enlaces de Instagram */
    }

    /* Mantener visible solo el Instagram del título principal */
    .hero h2 + .learn-more {
        display: none; /* También oculta el Instagram del título principal */
    }

    section {
        padding: 6rem 2rem 2rem; /* Ajustar el padding en móvil */
    }

    .section-title {
        font-size: 2.5rem; /* Reducir tamaño del título en móvil */
        margin-bottom: 1.5rem;
    }
}

.interior-slides {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.interior-slide {
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.interior-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dot-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.logo-center {
    width: 180px;
    height: auto;
}

/* Para dispositivos móviles */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(26, 23, 23, 0.95);
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    nav.active {
        display: flex;
    }
    
    nav a {
        color: white;
        padding: 0.8rem 1rem;
        border-radius: 4px;
    }
    
    nav a:hover, nav a.active {
        background-color: var(--color-matrimonios);
        color: white;
    }
    
    .menu-toggle {
        display: block;
    }
    
    section {
        padding: 6rem 2rem 3rem;
    }
    
    .hero h2 {
        font-size: 3.5rem;
    }
    
    .about-content {
        flex-direction: column;
        height: auto;
        gap: 2rem;
    }
    
    .about-text {
        max-width: 100%;
        text-align: justify;
    }
    
    .about-image {
        width: 100%;
        height: 600px;
        order: 1;
    }
    
    .interior-slides {
        grid-template-columns: 1fr;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .section-title {
        font-size: 2.8rem;
    }

    .logo-center-container {
        margin-top: 2rem;
    }

    .section-description {
        margin: 0 0 2rem;
        padding: 0 1rem;
    }

    .section-description p {
        font-size: 1.1rem;
    }
}

/* Secciones específicas */
#matrimonios {
    background-color: var(--color-matrimonios);
}

#comidas {
    background-color: var(--color-comidas);
}

#eventos {
    background-color: var(--color-eventos);
}

#coffe {
    background-color: var(--color-coffe);
}

/* Modificar el color de la línea según la sección */
#matrimonios .section-title::after {
    background-color: var(--color-text);
}

#comidas .section-title::after {
    background-color: var(--color-text);
}

#eventos .section-title::after {
    background-color: var(--color-text);
}

#coffe .section-title::after {
    background-color: var(--color-text);
}

/* Para la sección home/hero que tiene fondo blanco */
.hero .section-title::after {
    background-color: var(--color-matrimonios);
}

footer {
    padding: 4rem 6rem 2rem;
    background-color: var(--color-background);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-logo {
    text-align: left;
}

.footer-logo-img {
    height: 250px;
    width: auto;
}

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

.footer-info p {
    color: var(--color-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-link {
    display: flex;
    flex-direction: column;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link span:first-child {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.footer-link:hover {
    color: var(--color-matrimonios);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    color: var(--color-text);
}

.footer-bottom a {
    color: var(--color-matrimonios);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-text);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-link {
        align-items: center;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 25px;
        height: 25px;
    }
}

.carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    z-index: 2;
    width: auto;
}

.carousel-arrow {
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    background-color: transparent;
    color: var(--color-matrimonios);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    line-height: 1;
}

.carousel-arrow:hover {
    background-color: transparent;
    color: var(--color-text);
    transform: scale(1.2);
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .carousel {
        overflow: visible;
        height: auto;
        position: relative;
    }

    .carousel-slide {
        position: absolute;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
        height: 0;
        overflow: hidden;
    }

    .carousel-slide.active {
        position: relative;
        height: auto;
        overflow: visible;
        padding-bottom: 4rem;
    }

    .carousel-controls {
        position: relative;
        bottom: 0;
        margin-top: -3rem;
    }

    .logo-center-container {
        margin-bottom: 3rem;
    }

    .about-text {
        margin-bottom: 1rem;
    }

    .carousel-arrow {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }

    .about-content {
        flex-direction: column;
        height: auto;
        gap: 2rem;
    }

    .about-text {
        max-width: 100%;
        padding: 1rem;
        order: 2;
    }

    .about-image {
        width: 100%;
        height: 600px;
        order: 1;
    }
}

/* Estilizar la barra de desplazamiento */
.about-text::-webkit-scrollbar {
    width: 6px;
}

.about-text::-webkit-scrollbar-track {
    background: transparent;
}

.about-text::-webkit-scrollbar-thumb {
    background: var(--color-matrimonios);
    border-radius: 3px;
}

/* Campo oculto para protección contra spam */
.honeypot-field {
    display: none;
    position: absolute;
    left: -9999px;
}