/*
Theme Name: La Madriguera de la Coneja
Theme URI: https://lamadrigueradelaconeja.com
Author: Mobile Butterfly
Description: Custom wedding decoration theme for La Madriguera de la Coneja
Version: 1.0
License: Private
Text Domain: coneja-theme
*/

@font-face {
    font-family: Aurora;
    src:
        url("fonts/Aurora.woff2") format("woff2"),
        url("fonts/Aurora.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    overflow-x: hidden; /* safe on html — doesn't break position:fixed */
}

body {
    position: relative;
    max-width: 100%;
    overflow-x: clip; /* clip (not hidden) so position:fixed navbar works in Safari */
}

.navbar {
    background-color: rgb(0, 0, 0, 0.3);
}

.nav-item {
    font-family: Baskervville, serif;
    font-size: 18px;
    font-optical-sizing: auto;
    text-transform: uppercase;
    padding: 0 18px;
}

.navbar-nav .nav-link {
    color: #e4e0d5;
}

.navbar-nav .nav-link:hover {
    color: #e4e0d5;
}

.navbar-nav .nav-link.active {
    text-decoration: underline;
    text-underline-offset: 10px;
    color: #e4e0d5;
}

#btnAgenda a {
    font-family: Baskervville, serif;
    font-size: 18px;
    font-optical-sizing: auto;
    text-transform: uppercase;
    color: #e4e0d5;
    border: 2px solid #e4e0d5;
    border-radius: 50%;
    text-decoration: none;
}

#header {
    background-image: url("img/header.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#home {
    padding: 150px 0;
    background-color: #e4e0d5;
}

#home .dots {
    width: 41px;
    height: 42px;
    background-image: none;
}

#home .dots::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #173c4a;
    top: -1px;
    left: 32px;
    box-shadow:
        -18px 0 0 -2px #173c4a,
        -35px 0 0 -2px #173c4a,
        0px 18px 0 -1px #173c4a,
        0px 35px 0 -2px #173c4a;
}

#home .dots.tl {
    transform: rotate(-90deg);
}

#home .dots.bl {
    transform: rotate(-180deg);
}

#home .dots.br {
    transform: rotate(90deg);
}

/* CSS separator dots — crisp on retina, replaces separator PNGs */
.dot-sep {
    display: inline-block;
    width: 92px;
    height: 11px;
    position: relative;
}

.dot-sep::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: 2.5px;
    left: 0;
}

.dot-sep--dark::before {
    background-color: #173c4a;
    box-shadow:
        20px 0 0 1.5px #173c4a,
        42px 0 0 2.5px #173c4a,
        64px 0 0 1.5px #173c4a,
        85px 0 0 0 #173c4a;
}

.dot-sep--light::before {
    background-color: #e4e0d5;
    box-shadow:
        20px 0 0 1.5px #e4e0d5,
        42px 0 0 2.5px #e4e0d5,
        64px 0 0 1.5px #e4e0d5,
        85px 0 0 0 #e4e0d5;
}

#home .titulo {
    font-family: Aurora, sans-serif;
    font-size: 23px;
    letter-spacing: 5px;
    color: #9e7749;
}

#home .texto {
    font-family: Baskervville, serif;
    font-size: 18px;
    color: #173c4a;
    text-align: justify;
    text-justify: inter-character;
}

#home .bienvenidos {
    font-family: "Romantic Lovely", sans-serif;
    font-size: 40px;
    color: #663e2c;
}

#details {
    font-family: Aurora, sans-serif;
    background-color: #e4e0d5;
}

#details .col-12 {
    background-image: url("img/deco.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#details .col-12 .ratio {
    background-color: rgb(0, 0, 0, 0.6);
}

#details .col-12 p {
    color: #e4e0d5;
    font-family: Aurora, sans-serif;
    font-size: 30px;
    letter-spacing: 5px;
    padding-top: 80px;
    left: -120px;
}

#details .col-12 p::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #e4e0d5;
    top: 35px;
    left: 0;
    box-shadow:
        20px 0 0 1.5px #e4e0d5,
        42px 0 0 2.5px #e4e0d5,
        64px 0 0 1.5px #e4e0d5,
        85px 0 0 0 #e4e0d5;
}

#details .col-12 p::after {
    content: "story";
    font-family: "Romantic Lovely", sans-serif;
    font-size: 60px;
    margin-left: 20px;
    position: absolute;
}

#galeria {
    background-color: #e4e0d5;
}

#galeria .title {
    color: #173c4a;
    font-family: Aurora, sans-serif;
    font-size: 30px;
    letter-spacing: 5px;
}

#galeria p.description {
    font-family: Baskervville, serif;
    font-size: 24px;
    color: #173c4a;
}

#galeria .items {
    color: #663e2c;
    text-align: center;
}

#galeria .items .number {
    font-family: Aurora, sans-serif;
    font-size: 30px;
}

#galeria .items .description {
    font-family: Baskervville, serif;
    font-size: 20px;
}

/* Only Deco */
#decoracion {
    background-color: #000;
}

.only-deco-bg {
    background-image: url("img/only-deco-bg.jpg");
    background-size: cover;
    background-position: 30% center;
    background-repeat: no-repeat;
    min-height: 90vh;
}

.only-deco-overlay {
    min-height: 90vh;
    background-color: rgb(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.only-deco-title {
    font-family: Baskervville, serif;
    font-size: 2.5rem;
    color: #e4e0d5;
    letter-spacing: 0.1em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.only-deco-dots {
    color: #e4e0d5;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

.only-deco-text {
    font-family: Baskervville, serif;
    font-size: 1.1rem;
    color: #e4e0d5;
    line-height: 1.4;
    text-align: left;
}

.only-deco-content {
    padding: 2rem 2rem 0;
}

@media (width >= 992px) {
    .only-deco-content {
        padding: 7rem 7rem 0;
    }
}

.only-deco-bullets {
    font-family: Baskervville, serif;
    font-size: 1rem;
    color: #e4e0d5;
    line-height: 1.4;
    padding-left: 2rem;
    padding-bottom: 2rem;
    padding-top: 0;
}

@media (width >= 992px) {
    .only-deco-bullets {
        padding-left: 7rem;
        padding-bottom: 7rem;
    }
}

.only-deco-bullets ul {
    list-style: disc;
    padding-left: 1rem;
    margin: 0;
}

.only-deco-bullets ul li {
    margin-bottom: 1rem;
}

/* Swiper */
.swiper-outer-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.swiper-outer-wrapper .swiper-button-prev,
.swiper-outer-wrapper .swiper-button-next {
    position: static;
    margin-top: 0;
    flex-shrink: 0;

    --swiper-navigation-size: 18px;
    --swiper-navigation-color: #000;

    padding: 0 3rem;
}

@media (width >= 992px) {
    .servicios-swiper {
        width: 50vw;
        margin: 0 auto;
    }
}

.servicios-swiper .swiper-slide {
    transform: scale(0.75);
    opacity: 0.5;
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

.servicios-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

/* Marquee */
.marquee-wrapper {
    overflow: hidden;
    background-color: #e4e0d5;
    margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    font-family: Aurora, sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9e7749;
}

.marquee-separator {
    font-size: 0.8rem;
    color: #9e7749;
    margin-right: 1.2rem;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (width <= 992px) {
    #details .col-12 .ratio {
        padding-bottom: 0;
        height: auto;
        min-height: 56.25vw;
        overflow: visible;
    }

    #details .col-12 p {
        font-size: 20px;
        padding-top: 40px;
        left: 0;
    }

    #details .col-12 p::before {
        top: 15px;
    }

    #details .col-12 p::after {
        font-size: 40px;
    }

    #galeria .items .description {
        text-align: start;
    }
}

@media (width <= 575px) {
    #details .col-12 .ratio {
        min-height: 85vw;
    }

    #details .col-12 p {
        width: 75% !important;
    }
}

.coneja-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-right: 2rem;
}

@media (width >= 992px) {
    .coneja-circle {
        justify-content: flex-end;
        padding-right: 7rem;
    }
}

/* Servicios */
#servicios {
    background-color: #e4e0d5;
}

.paquete-text {
    background-color: #e4e0d5;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.paquete-title {
    font-family: Aurora, sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    color: #9e7749;
    margin-bottom: 1rem;
}

.paquete-desc {
    font-family: Baskervville, serif;
    font-size: 1.1rem;
    color: #173c4a;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
}

.paquete-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.paquete-chevron {
    font-size: 1.4rem;
    color: #173c4a;
}

.paquete-cotizar {
    font-family: Baskervville, serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #173c4a;
    border: 1.5px solid #173c4a;
    padding: 0.6rem 2rem;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.paquete-cotizar:hover {
    background-color: #173c4a;
    color: #e4e0d5;
}

.paquete-text--left .paquete-title,
.paquete-text--left .paquete-desc {
    text-align: left;
}

.paquete-text--left .paquete-actions {
    justify-content: flex-start;
}

.paquete-text--right .paquete-title,
.paquete-text--right .paquete-desc {
    text-align: right;
}

.paquete-text--right .paquete-actions {
    justify-content: flex-end;
}

.paquete-img-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (width >= 992px) {
    .paquete-text {
        padding: 4rem 5rem;
    }
}

/* Contacto */
#agenda {
    background-color: #e4e0d5;
}

.contacto-header {
    padding: 4rem 1rem 2rem;
}

.contacto-title {
    font-family: Baskervville, serif;
    font-size: clamp(1.8rem, 8vw, 3rem);
    letter-spacing: clamp(0.1em, 1.5vw, 0.3em);
    color: #173c4a;
    margin-bottom: 0.5rem;
}

.contacto-dots {
    color: #173c4a;
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    margin-bottom: 0;
}

.contacto-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.contacto-logo {
    max-width: 260px;
    margin-bottom: 2rem;
}

.contacto-tagline {
    font-family: Aurora, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    color: #9e7749;
    line-height: 1.8;
    text-align: center;
}

.contacto-right {
    padding: 2rem 1.5rem 4rem;
}

.contacto-radios {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    align-items: center;
}

.contacto-radios label {
    font-family: Baskervville, serif;
    font-size: 1rem;
    color: #173c4a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.contacto-radios input[type="radio"] {
    appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #173c4a;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: background-color 0.2s ease;
}

.contacto-radios input[type="radio"]:checked {
    background-color: #173c4a;
    box-shadow: inset 0 0 0 3px #e4e0d5;
}

.contacto-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    border: 1.5px solid #173c4a;
    border-radius: 0;
    padding: 0.9rem 1rem;
    font-family: Baskervville, serif;
    font-size: 1rem;
    color: #173c4a;
    margin-bottom: 0.75rem;
    outline: none;
    appearance: none;
    appearance: none;
}

.contacto-input::placeholder {
    color: #173c4a;
    opacity: 0.8;
}

.contacto-date {
    color: #173c4a;
    text-align: left;
}

.flatpickr-wrapper {
    display: block;
    width: 100%;
}

.contacto-date + input.flatpickr-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    border: 1.5px solid #173c4a;
    border-radius: 0;
    padding: 0.9rem 1rem;
    font-family: Baskervville, serif;
    font-size: 1rem;
    color: #173c4a;
    margin-bottom: 0.75rem;
    outline: none;
    appearance: none;
    appearance: none;
}

.contacto-date + input.flatpickr-input::placeholder {
    color: #173c4a;
    opacity: 0.8;
}

.contacto-textarea {
    height: 140px;
    resize: none;
}

.contacto-feedback {
    font-family: Baskervville, serif;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.contacto-feedback--success {
    color: #4a7c59;
}

.contacto-feedback--error {
    color: #a63c2c;
}

.contacto-enviar {
    font-family: Baskervville, serif;
    font-size: 1rem;
    color: #173c4a;
    background: transparent;
    border: 1.5px solid #173c4a;
    padding: 0.6rem 2.5rem;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
    margin-top: 0.5rem;
}

.contacto-enviar:hover {
    background-color: #173c4a;
    color: #e4e0d5;
}

@media (width >= 992px) {
    .contacto-right {
        padding: 2rem 4rem 4rem 2rem;
    }
}

/* Flatpickr custom theme */
.flatpickr-calendar {
    background: #e4e0d5;
    border: 1.5px solid #173c4a;
    border-radius: 0;
    font-family: Baskervville, serif;
}

.flatpickr-months .flatpickr-month,
.flatpickr-weekdays,
span.flatpickr-weekday {
    background: #173c4a;
    color: #e4e0d5;
    fill: #e4e0d5;
}

.flatpickr-day {
    color: #173c4a;
    border-radius: 0;
}

.flatpickr-day:hover,
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #173c4a;
    border-color: #173c4a;
    color: #e4e0d5;
    border-radius: 0;
}

.flatpickr-day.today {
    border-color: #9e7749;
    color: #9e7749;
}

.flatpickr-day.today:hover {
    background: #9e7749;
    border-color: #9e7749;
    color: #e4e0d5;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: #e4e0d5;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: #9e7749;
}


/* Mobile padding fixes (client corrections) */
@media (max-width: 991px) {
    #galeria p.description {
        padding-bottom: 1rem;
    }

    .swiper-outer-wrapper .swiper-button-prev,
    .swiper-outer-wrapper .swiper-button-next {
        padding: 0 0.75rem;
    }

    #home {
        padding-top: 3rem;
        padding-bottom: 3rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .coneja-circle {
        padding: 1.5rem;
    }

    .paquete-text {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Footer */
.site-footer {
    background-color: #173c4a;
    padding: 2rem 1rem;
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1.5px solid #e4e0d5;
    border-radius: 50%;
    color: #e4e0d5;
    font-size: 1rem;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.footer-icon:hover {
    background-color: #e4e0d5;
    color: #173c4a;
}
