/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #4d7b40;
    --primary-ultra-light-color: #78a96a;
    --secondary-color: #c2ba95;
    --secondary-medium-color: #d3caaf;
    --secondary-light-color: #e0d8c0;
    --background-color: #f5f5f0;
    --error-color: #c40000;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* Scroll behavior improvements */
html {
    scroll-behavior: smooth;
}

/* Text selection improvements */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* Performance optimizations */
.hero,
.hero-letter,
.proposal-background {
    will-change: transform;
    transform: translateZ(0);
}

/* ===== NAVIGATION STYLES ===== */
.navbar {
    position: relative;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
    height: 5vw;
    background-color: var(--background-color);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar-letter {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
    height: 5vw;
    background-color: var(--background-color);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar.closed {
    opacity: 0;
    transform: translateY(-100px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        transform 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        visibility 0s linear 3.3s;
}

.navbar.opened {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.logo {
    padding: .5rem;
    width: 5vw;
    height: 5vw;
    border-radius: 50%;
    object-fit: contain;
}

.logo-letter {
    width: 2.5vw;
    height: 2.5vw;
    border-radius: 50%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5vw;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #777;
    font-size: 28px;
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(77, 123, 64, 0.1);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    background-color: rgba(77, 123, 64, 0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5%;
    width: 110%;
    height: 1.5px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.nav-links-letter {
    display: flex;
    gap: 1.5vw;
    align-items: center;
}

.nav-links-letter a {
    text-decoration: none;
    color: #777;
    font-size: 14px;
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
}

.nav-links-letter a:hover {
    color: var(--primary-color);
    background-color: rgba(77, 123, 64, 0.1);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(245, 245, 240, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 1000;
}

.mobile-nav-menu.active {
    left: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 0;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(77, 123, 64, 0.1);
    transform: scale(1.1);
}

.mobile-menu-close span {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 300;
    line-height: 1;
}

.mobile-nav-menu a {
    text-decoration: none;
    color: #777;
    font-size: 2rem;
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 600;
    margin: 1rem 0;
    padding: 1rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    color: var(--primary-color);
    background-color: rgba(77, 123, 64, 0.1);
    transform: scale(1.05);
}

/* ===== LAYOUT UTILITIES ===== */
.main-wrapper {
    display: flex;
    justify-content: center;
}

.main-wrapper-letter {
    display: flex;
    justify-content: center;
}

.main-wrapper.closed {
    opacity: 0;
    transform: translateY(150px) scale(0.85);
    filter: blur(12px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: opacity 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        transform 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        filter 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        height 0s linear 3s,
        visibility 0s linear 3s;
}

.main-wrapper.opened {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    position: relative;
    height: auto;
    overflow-y: visible;
    visibility: visible;
}

.d-flex-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.d-flex {
    display: flex;
}

.d-flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-fixed {
    left: 0;
    z-index: 1000;
}

.right-fixed {
    right: 0;
    z-index: 1000;
}

.left-fixed,
.right-fixed {
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    top: 5vw;
    height: 95vh;
    width: 5vw;
    margin: 0 -.5vw;
    position: sticky;
}

.left-fixed-letter,
.right-fixed-letter {
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    height: 60vh;
    width: 5vw;
    position: sticky;
}

.centered-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90vw;
}

.centered-content-letter {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.two-column {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.details-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 50%;
}

.space-around {
    justify-content: space-around;
}

.space-evenly {
    justify-content: space-evenly;
}

.space-between {
    justify-content: space-between;
}

.full-container {
    width: 100%;
    height: 100vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auto-height {
    height: auto !important;
}

/* ===== HERO SECTION ===== */

.hero {
    background: url('/assets/hero_img.jpg');
    background-size: cover;
    width: 90vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-letter {
    background: url('/assets/hero_img.jpg');
    background-size: cover;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    margin-top: -5vh;
    height: 45vh;
    width: 45vw;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.hero-content-letter {
    height: 50%;
    width: 65%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* ===== TYPOGRAPHY ===== */
.nombres {
    text-align: center;
    font-size: 72pt;
    line-height: 1;
    font-family: "Philosopher", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.nombres-letter {
    text-align: center;
    font-size: 55pt;
    line-height: 1;
    color: #000;
    font-family: "Philosopher", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.section-title {
    text-align: center;
    font-size: 65pt;
    line-height: 1;
    font-family: "Philosopher", sans-serif;
    font-weight: 400;
    font-style: italic;
    margin-top: 2vh;
}

.section-subtitle {
    text-align: center;
    font-size: 42pt;
    line-height: 1;
    font-family: "Philosopher", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.philosopher-font {
    font-family: "Philosopher", sans-serif;
    font-weight: 400;
}

.alumni-font {
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 600;
}

.number-detail {
    font-size: clamp(2.875rem, 2.5633rem + 0.6494vw, 3.375rem);
}

.text-detail {
    font-size: clamp(1.5rem, 1.1883rem + 0.6494vw, 2rem);
}

.text-detail-confirm {
    font-size: clamp(1.5rem, 1.1883rem + 0.6494vw, 1.75rem);
    text-align: center;
}

.text-detail-kids {
    font-size: clamp(1.25rem, 1.1883rem + 0.6494vw, 1.5rem);
    text-align: center;
}

.location-detail {
    font-size: clamp(1.125rem, 0.8912rem + 0.487vw, 1.5rem);
}

.detail-header {
    font-size: clamp(3rem, 2.8442rem + 0.3247vw, 3.25rem);
    letter-spacing: 2px;
}

.hero-date {
    font-family: "Philosopher", sans-serif;
    font-weight: 600;
    font-size: clamp(3rem, 2.8442rem + 0.3247vw, 3.25rem);
}

.hero-text {
    font-weight: 600;
    font-size: clamp(1rem, 0.8442rem + 0.3247vw, 1.25rem);
}

.rot270 {
    transform: rotate(270deg);
    width: 100vh;
    text-align: center;
    font-size: 22pt;
}

.rot90 {
    transform: rotate(90deg);
    width: 100vh;
    text-align: center;
    font-size: 22pt;
}

.bold-no {
    font-family: "lato", sans-serif;
    font-weight: 600;
    /* font-weight: bold; */
    /* color: var(--error-color); */
}

/* ===== COLOR UTILITIES ===== */
.green-primary {
    color: var(--primary-color);
}

.beige-primary {
    color: var(--secondary-color);
}

.white-color {
    color: #fff;
}

.background-primary {
    background-color: var(--background-color);
}

.green-background {
    background-color: var(--primary-color);
}

.beige-background {
    background-color: var(--secondary-color);
}

.white-background {
    background-image: url('/assets/paper_background.png');
    background-size: cover;
}

.terracota-background {
    background-color: var(--tertiary-color);
}

.background-color {
    background-color: var(--background-color);
}

.proposal-background {
    background: url('/assets/proposal_img.jpg');
    background-size: cover;
}

/* ===== DOTS & VISUAL ELEMENTS ===== */
.dot {
    background-color: #777777;
    height: 8px;
    width: 8px;
    border-radius: 50%;
}

.dresscode-dot {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    margin-right: 1rem;
    border: #000 solid 1px;
}

.black-dot {
    background-color: #191919;
}

.blue-dot {
    background-color: #101077b9;
}

.gray-dot {
    background-color: #8b8b8b;
}

.white-dot {
    background-color: #ffffff;
}

.beige-dot {
    background-color: var(--secondary-medium-color);
}

.cream-dot {
    background-color: #ebe9e0;
}

.green-dot {
    background-color: #427c37;
}

/* ===== BUTTONS & INTERACTIVE ELEMENTS ===== */
.close_envelope_btn {
    padding: 4px 12px;
    border: none;
    border-radius: 0 !important;
    font-size: 16pt;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
}

.action-btn,
.map_btn {
    padding: 12px 24px;
    border: none;
    border-radius: 0 !important;
    font-size: 18pt;
    cursor: pointer;
    margin-top: 2vh;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map_btn {
    margin-top: 3vh;
}

.action-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.action-btn:active,
.map_btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.registry_btn_amazon,
.registry_btn_liverpool,
.registry_btn_cantia {
    padding: .5rem 2.5rem;
    border: none;
    font-size: 18pt;
    cursor: pointer;
    margin: 2vh 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.registry_btn_liverpool:hover {
    background-color: #e10098;
    color: #fff;
}

.registry_btn_amazon:hover {
    background-color: #161d26;
    color: #fff;
}

.registry_btn_cantia:hover {
    background-color: #ea4d00;
    color: #fff;
}

.logo_container {
    padding: 0 1rem;
    border-radius: 12px;
}

.map_btn:hover {
    color: var(--primary-color) !important;
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.countdown-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== IMAGES & MEDIA ===== */
.presents_logo {
    object-fit: cover;
    width: 15vw;
    height: 15vh;
    border-radius: 12px;
}

.dress-code-image {
    width: 75%;
    height: auto;
}

.thanks-image {
    position: absolute;
    bottom: 5vw;
    width: 55%;
    height: auto;
    z-index: 1;
}

.thanks-text {
    position: absolute;
    top: 10vh;
    font-style: italic;
    align-self: center;
    margin: 0 12%;
    z-index: 2;
}

.image-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
    gap: 0;
}

.image-divider img {
    flex: 1;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Hide some images on mobile */
.image-divider img:nth-child(4),
.image-divider img:nth-child(5) {
    display: block;
}


.full-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.proposal-background {
    background: url('/assets/proposal_img.jpg');
    background-size: cover;
}

/* ===== ENVELOPE COMPONENT ===== */
/* Envelope Wrapper - Full screen overlay */
.envlope-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--background-color) url('/assets/vines.png');
    background-size: cover;
    background-position: center;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        z-index 0s linear 1.5s;
}

/* Background rotado solo en móviles */
@media (max-width: 480px) {
    .envlope-wrapper {
        background: var(--background-color);
    }

    .envlope-wrapper::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 110vh;
        height: 100vw;
        background: url('/assets/vines.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transform: translate(-50%, -50%) rotate(90deg);
        z-index: 1;
    }
}

.envlope-wrapper.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -9999;
}

/* Add a subtle instruction text */
.envlope-wrapper::before {
    content: "Haz click en el sobre para abrir tu invitación";
    position: absolute;
    top: calc(50% + 35vh);
    left: 50%;
    transform: translateX(-50%);
    font-family: "Philosopher", sans-serif;
    font-size: 22px;
    color: var(--primary-color);
    opacity: 0.7;
    animation: pulse 2s infinite;
    transition: opacity 1s ease;
    z-index: 100000;
    text-align: center;
    white-space: nowrap;
}

.envlope-wrapper.opened::before {
    opacity: 0;
}

/* Media queries para posicionamiento responsivo del texto */
@media (max-width: 768px) {
    .envlope-wrapper::before {
        top: calc(50% + 30vh);
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .envlope-wrapper::before {
        top: calc(50% + 22vh);
        font-size: 16px;
        white-space: normal;
        width: 100vw;
        line-height: 1.3;
    }
}

@media (max-height: 600px) {
    .envlope-wrapper::before {
        top: calc(50% + 25vh);
        font-size: 16px;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Main content hidden initially */
.main-wrapper.closed {
    opacity: 0;
    transform: translateY(150px) scale(0.85);
    filter: blur(12px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: opacity 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        transform 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        filter 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        height 0s linear 3s,
        visibility 0s linear 3s;
}

.main-wrapper.opened {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    position: relative;
    height: auto;
    overflow-y: visible;
    visibility: visible;
}

.navbar.closed {
    opacity: 0;
    transform: translateY(-100px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        transform 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s,
        visibility 0s linear 3.3s;
}

.navbar.opened {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

/* Carta */
#envelope {
    position: relative;
    width: 65vw;
    height: 65vh;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
}

#invitacion-personal {
    margin-top: -5%;
}

.envelope-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15vw;
    height: 15vw;
    border-radius: 50%;
    object-fit: contain;
    z-index: 10000;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: pulse-logo 2s infinite;
    transition: transform 0.3s ease;
}

.envelope-logo:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulse-logo {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(194, 186, 149, 0.7);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 15px rgba(194, 186, 149, 0.3);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(194, 186, 149, 0);
    }
}

.front {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 3;
}

.flap {
    border-left: 32.5vw solid transparent;
    border-right: 32.5vw solid transparent;
    border-bottom: 32.5vh solid transparent;
    /* a little smaller */
    border-top: 32.5vh solid var(--secondary-color);
    /* a little larger */
    transform-origin: top;
    pointer-events: none;
}

.pocket {
    border-left: 32.5vw solid var(--secondary-light-color);
    border-right: 32.5vw solid var(--secondary-light-color);
    border-bottom: 32.5vh solid var(--secondary-medium-color);
    border-top: 32.5vh solid transparent;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.letter {
    position: relative;
    background-color: #fff;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    height: 60vh;
    top: 5%;
    border-radius: 6px;
    box-shadow: 0 2px 26px rgba(0, 0, 0, 0.12);
}

.letter:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
}

.letter-content {
    height: 100%;
    z-index: 11000;
}

.open .flap {
    transform: rotateX(180deg);
    transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.close .flap {
    transform: rotateX(0deg);
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
}

.close .letter {
    transform: translateY(0px) scale(1);
    transition: transform .75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    opacity: 1;
}

.open .letter {
    transform: translateY(-80px) scale(1.1);
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
    opacity: 0.95;
}

/* ===== FOOTER ===== */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 5vw;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #777;
    z-index: 999;
}

/* Gallery Styles */
#galeria {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* ===== COUNTDOWN SECTION ===== */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background-color: var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 125px;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.countdown-label {
    font-size: 1rem;
    color: #fff;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-message {
    text-align: center;
    margin-top: 1rem;
}

/* Mobile Responsive for Countdown */
/* Tablet (768px and below) */
@media (max-width: 768px) {
    .countdown-container {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 100px;
        padding: 0.8rem;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
    .countdown-container {
        gap: 0.3rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.6rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }
}

/* ===== PARENTS SECTION ===== */
.parents-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 400px;
}

.parents-names {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.parent-name {
    font-size: clamp(1.5rem, 1.3rem + 0.5vw, 2rem);
    color: var(--primary-color);
    line-height: 1.4;
    font-weight: 600;
}

.parents-label {
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive for Parents Section */
/* Tablet (768px and below) */
@media (max-width: 768px) {
    .parents-column {
        max-width: 300px;
        gap: 1.5rem;
    }

    .parent-name {
        font-size: 1.3rem;
    }

    .parents-names {
        gap: 0.8rem;
    }
}

/* ===== GALLERY SECTION ===== */
#galeria {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

#galeria .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.gallery-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.gallery-title {
    font-weight: 400;
}

.gallery-line {
    width: 1px;
    height: 10vh;
    background-color: white;
    margin: 1rem 0;
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.3s ease;
}

.gallery-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Gallery Hover Effects */
#galeria:hover .gallery-line {
    opacity: 1;
    transform: scaleY(1);
}

#galeria:hover .gallery-text {
    opacity: 1;
    transform: translateY(0);
}

.auto-height {
    height: auto !important;
}

/* ===== WEDDING PATH SECTION ===== */
/* Wedding Path Styles - Zigzag Fun Timeline */
.wedding-path {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    min-height: 600px;
}

.timeline-step {
    display: flex;
    align-items: center;
    z-index: 2;
    animation: bounce-in 0.8s ease-out forwards;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
}

.timeline-step.step-1 {
    margin-left: 15%;
    animation-delay: 0.2s;
}

.timeline-step.step-2 {
    margin-right: 15%;
    flex-direction: row-reverse;
    animation-delay: 0.4s;
}

.timeline-step.step-3 {
    margin-left: 15%;
    animation-delay: 0.6s;
}

.timeline-step.step-4 {
    margin-right: 15%;
    flex-direction: row-reverse;
    animation-delay: 0.8s;
}

.timeline-step.step-5 {
    margin-left: 15%;
    animation-delay: 1s;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px) rotate(-10deg);
    }

    60% {
        opacity: 1;
        transform: scale(1.1) translateY(-5px) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.step-icon {
    width: 20vw;
    height: 20vw;
    object-fit: cover;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.step-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.4));
}

.step-content {
    min-width: 300px;
    transition: all 0.3s ease;
}

.left-aligned {
    text-align: left;
}

.right-aligned {
    text-align: right;
}

.step-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.step-time {
    margin-bottom: 0.3rem;
    font-weight: 700;
    color: #fff;
}

.step-location {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 3vh;
}

/* ===== RESPONSIVE DESIGN - MEDIA QUERIES ===== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .wedding-path {
        padding: 1rem;
        min-height: 500px;
    }

    .timeline-step.step-1,
    .timeline-step.step-2,
    .timeline-step.step-3,
    .timeline-step.step-4,
    .timeline-step.step-5 {
        margin-left: 0;
        margin-right: 0;
        animation-delay: 1s;
    }

    .step-icon {
        width: 25vw;
        height: 25vw;
    }

    .presents_logo {
        object-fit: cover;
        width: 15vw;
        height: 5vh;
        border-radius: 12px;
    }

    .thanks-container {
        height: 50vh;
    }

    .section-title {
        font-size: 4rem;
    }

    .nombres {
        font-size: 5rem;
    }

    .hero-content {
        margin-top: -20vh;
        height: 30vh;
        width: 60vw;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .hero {
        background-size: cover;
        background-position: center;
        width: 90vw;
        height: 100vh;
    }
}

@media (max-width: 768px) {
    .wedding-path {
        padding: 1rem;
        min-height: 300px;
    }

    .timeline-step {
        position: relative;
        text-align: center;
        gap: 1rem;
    }

    .step-content {
        min-width: auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}


@media (max-width: 480px) {

    .timeline-step.step-1,
    .timeline-step.step-2,
    .timeline-step.step-3,
    .timeline-step.step-4,
    .timeline-step.step-5 {
        margin-left: 0;
        margin-right: 0;
        animation-delay: 1s;
        margin-bottom: 5vh;
    }

    .step-title {
        font-size: 2.25rem;
        text-shadow: unset;
    }

    .step-time {
        color: #fff;
    }

    .step-location {
        font-size: 1.5rem;
        margin-bottom: 3vh;
    }

    .step-icon {
        width: 35vw;
        height: 35vw;
    }

    .step-content {
        max-width: unset;
    }

    .map_btn,
    .action-btn,
    .swal-cancel-btn,
    .swal-deny-btn {
        padding: 4px 16px !important;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 3vw;
        height: 7vw;
    }

    .nav-links {
        gap: 1.5vw;
    }

    .nav-links a {
        font-size: 20px;
        padding: 0.4rem 0.8rem;
    }

    .logo {
        width: 7vw;
        height: 7vw;
    }

    .left-fixed,
    .right-fixed {
        width: 3vw;
        top: 7vw;
        height: 93vh;
    }

    .rot270,
    .rot90 {
        font-size: 18pt;
    }

    .centered-content {
        width: 94vw;
    }

    .hero {
        width: 94vw;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .navbar {
        padding: 0 2vw;
        height: 10vw;
        justify-content: center;
        gap: 1rem;
    }

    .nav-links {
        gap: 1vw;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 16px;
        padding: 0.5rem;
    }

    .logo {
        width: 10vw;
        height: 10vw;
    }

    /* Layout adjustments */
    .left-fixed,
    .right-fixed {
        width: 2vw;
        top: 10vw;
        height: 90vh;
    }

    .rot270,
    .rot90 {
        font-size: 12pt;
    }

    .centered-content {
        width: 100vw;
    }

    .main-wrapper {
        width: 100vw;
    }

    /* Hero section */
    .hero {
        background: url('/assets/hero_img.jpg');
        background-size: cover;
        background-position: center;
        width: 96vw;
        height: 50vh;
    }

    .hero-content {
        margin-top: -5vh;
        height: 30vh;
        width: 70vw;
        padding: 1rem;
    }

    .nombres {
        font-size: 48pt;
    }

    .section-title {
        font-size: 42pt;
    }

    .section-subtitle {
        font-size: 28pt;
    }

    /* Two column layout */
    .two-column {
        flex-direction: column;
    }

    .details-content {
        width: 100%;
        height: 50vh;
        padding: 2rem;
    }

    /* Map adjustments */
    .map-iframe {
        height: 100px;
        max-width: 100%;
    }

    /* Image divider */
    .image-divider {
        height: 20vh;
        max-width: 96vw;
    }

    /* Hide last 2 images on mobile to show only 3 */
    .image-divider img:nth-child(4),
    .image-divider img:nth-child(5) {
        display: none;
    }

    .image-divider img {
        flex: 1;
        min-width: 0;
    }

    /* Envelope */
    .envlope-wrapper {
        padding: 20px;
    }

    #envelope {
        width: 85vw;
        height: 40vh;
    }

    #invitacion-personal {
        margin-top: -10%;
    }

    .envelope-logo {
        width: 25vw;
        height: 25vw;
    }

    .flap {
        border-left: 42.5vw solid transparent;
        border-right: 42.5vw solid transparent;
        border-bottom: 20vh solid transparent;
        border-top: 20vh solid var(--secondary-color);
    }

    .pocket {
        border-left: 42.5vw solid var(--secondary-light-color);
        border-right: 42.5vw solid var(--secondary-light-color);
        border-bottom: 20vh solid var(--secondary-medium-color);
        border-top: 20vh solid transparent;
    }

    .letter {
        height: 100%;
    }

    /* Dress code */
    .dress-code-image {
        width: 80%;
    }

    /* Parents section */
    .parents-column {
        max-width: 100%;
        gap: 1.5rem;
        margin: 1rem 0;
    }

    .parent-name {
        font-size: 1.3rem;
    }

    .parents-names {
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {

    /* Navigation */
    .navbar {
        height: 15vw;
        padding: 0 1vw;
    }

    .nav-links {
        gap: 0.5vw;
    }

    .nav-links a {
        font-size: 12px;
        padding: 0.3rem;
    }

    .logo {
        width: 15vw;
        height: 15vw;
    }

    /* Layout */
    .left-fixed,
    .right-fixed,
    .left-fixed-letter,
    .right-fixed-letter {
        display: none;
    }

    .rot270,
    .rot90 {
        font-size: 10pt;
    }

    .centered-content {
        width: 100vw;
    }

    /* Hero */
    .hero {
        width: 100vw;
        height: 100vh;
    }

    .hero-content {
        margin-top: -20vh;
        height: 25vh;
        width: 85vw;
        padding: 0.5rem;
    }

    .nombres {
        font-size: 36pt;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .section-subtitle {
        font-size: 2.5rem;
    }

    .hero-date {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    /* Details */
    .details-content {
        min-height: 50vh;
        padding: 1rem;
    }

    .number-detail {
        font-size: 2rem;
    }

    .text-detail {
        font-size: 2rem;
    }

    .text-detail-confirm {
        font-size: 1.75rem;
    }

    .text-detail-kids {
        font-size: 1.5rem;
    }

    .location-detail {
        font-size: 1rem;
    }

    .detail-header {
        font-size: 2rem;
    }

    /* Map */
    .map-iframe {
        height: 150px;
    }

    /* Envelope */
    #envelope {
        width: 90vw;
        height: 35vh;
    }

    #invitacion-personal {
        margin-top: -15%;
    }

    .envelope-logo {
        width: 30vw;
        height: 30vw;
    }

    .flap {
        border-left: 45vw solid transparent;
        border-right: 45vw solid transparent;
        border-bottom: 17.5vh solid transparent;
        border-top: 17.5vh solid var(--secondary-color);
    }

    .pocket {
        border-left: 45vw solid var(--secondary-light-color);
        border-right: 45vw solid var(--secondary-light-color);
        border-bottom: 17.5vh solid var(--secondary-medium-color);
        border-top: 17.5vh solid transparent;
    }

    .letter {
        height: 85%;
    }

    .main-wrapper-letter {
        height: 30vh;
    }

    .hero-content_letter {
        height: 10vh;
        width: 50%;
    }

    /* Dress code */
    .dress-code-image {
        width: 95%;
    }

    .dresscode-dot {
        height: 20px;
        width: 20px;
        margin-right: 0.5rem;
    }

    /* Action button */
    .action-btn {
        border-radius: 0;
        font-size: 14pt;
        padding: 8px 16px;
    }

    /* Parents */
    .parent-name {
        font-size: 1.3rem;
    }

    /* Gallery */
    .gallery-text {
        opacity: 1;
        transform: scaleY(1);
        font-size: 1.2rem;
    }

    .gallery-line {
        opacity: 1;
        transform: scaleY(1);
        height: 5vh;
    }

    /* PRESENTS */
    .presents_logo {
        width: 50vw;
        height: 12vh;
    }

    /* THANKS */
    .thanks-image {
        width: 100%;
        height: auto;
        bottom: 15vw;
        z-index: 1;
    }

    .present_table {
        width: 95% !important;
    }

    .thanks-container {
        height: 100vh !important;
        padding: 0 !important;
    }

    .thanks-text {
        position: absolute;
        top: 2.5vh;
        font-style: italic;
        align-self: center;
        margin: 0 5%;
        z-index: 5;
    }

    .footer {
        height: 15vw;
    }
}

@media (max-width: 360px) {

    /* Navigation */
    .navbar {
        height: 15vw;
        padding: 0 0.5vw;
    }

    .nav-links a {
        font-size: 10px;
        padding: 0.2rem;
    }

    .logo {
        width: 15vw;
        height: 15vw;
    }

    /* Layout */
    .left-fixed,
    .right-fixed {
        display: none;
        /* Hide side elements on very small screens */
    }

    .centered-content {
        width: 100vw;
    }

    /* Hero */
    .hero {
        width: 100vw;
        height: 35vh;
    }

    .hero-content {
        height: 20vh;
        width: 90vw;
        padding: 1rem;
    }

    .nombres {
        font-size: 28pt;
    }

    .section-title {
        font-size: 22pt;
    }

    .section-subtitle {
        font-size: 16pt;
    }

    .hero-date {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 0.8rem;
    }

    /* Details */
    .details-content {
        height: 35vh;
        padding: 0.5rem;
    }

    .number-detail {
        font-size: 1.5rem;
    }

    .text-detail {
        font-size: 1rem;
    }

    .text-detail-confirm {
        font-size: .85rem;        
    }

    .text-detail-kids {
        font-size: .65rem;
    }

    .location-detail {
        font-size: 0.9rem;
    }

    .detail-header {
        font-size: 1.5rem;
    }

    /* Map */
    .map-iframe {
        height: 120px;
    }

    /* Envelope */
    #envelope {
        width: 95vw;
        height: 30vh;
    }

    #invitacion-personal {
        margin-top: -15%;
    }

    .envelope-logo {
        width: 35vw;
        height: 35vw;
    }

    .letter {
        height: 60vh;
    }

    /* Dress code */
    .dresscode-dot {
        height: 15px;
        width: 15px;
        margin-right: 0.3rem;
    }

    /* Action button */
    .action-btn {
        font-size: 12pt;
        padding: 6px 12px;
    }

    /* Parents */
    .parent-name {
        font-size: 1rem;
    }

    /* Gallery */
    .gallery-text {
        font-size: 1rem;
    }

    .gallery-line {
        height: 3vh;
    }

    /* Image divider */
    .image-divider {
        height: 15vh;
    }

    /* Show only 2 images on very small screens */
    .image-divider img:nth-child(3),
    .image-divider img:nth-child(4),
    .image-divider img:nth-child(5) {
        display: none;
    }
}

/* Responsive Navigation Adjustments */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5vw;
    }

    .nav-links a {
        font-size: 20px;
        padding: 0.4rem 0.8rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    /* Show mobile menu toggle, hide desktop nav */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .navbar {
        justify-content: space-between;
        padding: 0 3vw;
    }

    /* Adjust mobile nav menu */
    .mobile-nav-menu a {
        font-size: 1.5rem;
        margin: 0.8rem 0;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .mobile-nav-menu a {
        font-size: 1.2rem;
        margin: 0.6rem 0;
        padding: 0.8rem 1.5rem;
    }

    .mobile-menu-toggle span {
        width: 30px;
        height: 2px;
    }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
    .mobile-nav-menu a {
        font-size: 1rem;
        margin: 0.5rem 0;
        padding: 0.6rem 1rem;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
}

/* Touch Device Improvements */
/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {

    .nav-links a,
    .mobile-nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .action-btn {
        min-height: 44px;
        padding: 12px 24px;
    }

    .countdown-item {
        min-height: 44px;
        padding: 1.5rem;
    }
}

/* Additional responsive fixes */
@media (max-width: 768px) {
    .envlope-wrapper::before {
        font-size: 16px;
        bottom: 15%;
    }

    .full-container {
        padding: 2rem 1rem;
    }

    .two-column.space-around {
        gap: 2rem;
    }
}

/* Envelope responsive improvements */
@media (max-width: 768px) {
    .envlope-wrapper {
        padding: 1rem;
    }

    .envlope-wrapper::before {
        font-size: 14px;
        bottom: 10%;
        text-align: center;
        padding: 0 2rem;
    }

    .nombres-letter {
        font-size: 40pt;
    }

    .nav-links-letter {
        gap: 1vw;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links-letter a {
        font-size: 10px;
        padding: 0.2rem 0.4rem;
    }

    .left-fixed,
    .right-fixed {
        display: none;
    }
}

@media (max-width: 480px) {
    .nombres-letter {
        font-size: 16pt;
    }

    .nav-links-letter a {
        font-size: 8px;
        padding: 0.1rem 0.3rem;
    }

    .logo-letter {
        width: 4vw;
        height: 4vw;
    }

    .left-fixed,
    .right-fixed {
        display: none;
    }
}

/* Improved button styles */
.action-btn,
.map_btn {
    padding: 12px 24px;
    border: none;
    font-size: 18pt;
    cursor: pointer;
    margin-top: 2vh;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map_btn {
    margin-top: 3vh;
}

.action-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.action-btn:active,
.map_btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.map_btn:hover {
    color: var(--primary-color) !important;
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.present_table {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 33%;
    max-height: 100%;
}

/* Gallery improvements */
.gallery-content {
    padding: 2rem;
}

.gallery-overlay {
    transition: background-color 0.3s ease;
}

#galeria:hover .gallery-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Scroll behavior improvements */
html {
    scroll-behavior: smooth;
}

/* Accessibility improvements */
.countdown-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Performance optimizations */
.hero,
.hero-letter,
.proposal-background {
    will-change: transform;
    transform: translateZ(0);
}

/* Text selection improvements */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* Very Small Mobile (320px and below) */
/* Fix for very small screens */
@media (max-width: 320px) {
    .section-title {
        font-size: 18pt;
    }

    .section-subtitle {
        font-size: 14pt;
    }

    .nombres {
        font-size: 24pt;
    }

    .countdown-item {
        min-width: 50px;
        padding: 0.5rem;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.6rem;
    }

    .left-fixed,
    .right-fixed {
        display: none;
    }
}

/* ===== SWEETALERT2 CUSTOM STYLES ===== */
/* SweetAlert2 Custom Styles */
.swal-title {
    font-family: "Philosopher", sans-serif !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: var(--primary-color) !important;
    font-size: 2.25rem !important;
}

.swal2-container {
    font-family: "Alumni Sans Pinstripe", sans-serif !important;
    font-weight: 600 !important;
    color: #191919 !important;
    font-size: 1.5rem !important;
}

.swal2-html-container {
    font-size: 1.8rem;
    font-weight: 600;
}


div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    border-radius: 0;
    font-family: "Alumni Sans Pinstripe", sans-serif !important;
    font-weight: 600 !important;
}

.swal-deny-btn {
    font-family: "Alumni Sans Pinstripe", sans-serif !important;
    font-weight: 600 !important;
    background-color: var(--error-color) !important;
    border-radius: 0;
    padding: 12px 24px;
    border: none;
    font-size: 18pt;
    cursor: pointer;
    margin-top: 2vh;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swal-deny-btn:hover {
    background-color: #e33d3d !important;
    transform: translateY(-2px) !important;
}

.swal-cancel-btn {
    font-family: "Alumni Sans Pinstripe", sans-serif !important;
    font-weight: 600 !important;
    background-color: var(--secondary-color) !important;
    border-radius: 0;
    padding: 12px 24px;
    border: none;
    font-size: 18pt;
    cursor: pointer;
    margin-top: 2vh;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swal-cancel-btn:hover {
    background-color: var(--secondary-light-color);
    transform: translateY(-2px) !important;
}

/* Custom SweetAlert2 popup styling */
.swal2-popup {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: 2px solid var(--secondary-light-color) !important;
}

.swal2-icon.swal2-question {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.swal2-icon.swal2-success {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: var(--primary-color) !important;
}

.swal2-icon.swal2-success .swal2-success-fix {
    background-color: var(--background-color) !important;
}

.swal2-icon.swal2-success [class^="swal2-success-line"] {
    background-color: var(--primary-color) !important;
}

/* SweetAlert2 Input Styles */
.swal2-input {
    font-family: "Alumni Sans Pinstripe", sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--secondary-light-color) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    margin-left: 15% !important;
    margin-right: 15% !important;
}

.swal2-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(77, 123, 64, 0.1) !important;
    outline: none !important;
}

.swal2-input::placeholder {
    color: #8b8b8b !important;
    font-weight: 600 !important;
}

.swal2-validation-message {
    font-family: "Alumni Sans Pinstripe", sans-serif !important;
    font-weight: 600 !important;
    color: var(--error-color) !important;
    font-size: 1.125rem !important;
    background-color: rgba(196, 0, 0, 0.1) !important;
    border: 1px solid var(--error-color) !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    margin-top: 8px !important;
    margin-left: 15% !important;
    margin-right: 15% !important;
}

/* ===== DRESS CODE SECTION ===== */
.dress-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
    margin: 0 auto;
}

.dress-code-subtitle {
    text-align: center;
    line-height: 1.6;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1rem 0;
    font-weight: 400;
}

.dress-code-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

.dress-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.color-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive for dress code */
@media (max-width: 768px) {
    .dress-code-container {
        padding: 2rem 1rem;
    }

    .dress-code-subtitle {
        font-size: 1rem;
    }

    .color-circle {
        width: 50px;
        height: 50px;
    }

    .color-palette {
        gap: 1rem;
    }

    .dress-code-sections {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .dress-code-sections {
        gap: 1.5rem;
    }

    .color-circle {
        width: 45px;
        height: 45px;
    }

    .color-palette {
        gap: 0.8rem;
    }
}

/* ===== SCROLL OFFSET FOR SECTIONS ===== */
/* Adjust scroll position to account for fixed navbar */
section[id] {
    scroll-margin-top: 8vh;
    /* Adjust this value as needed */
}

/* Alternative: specific sections if you need different offsets */
#inicio {
    scroll-margin-top: 6vh;
}

#itinerario {
    scroll-margin-top: 8vh;
}

#vestimenta {
    scroll-margin-top: 8vh;
}

#regalos {
    scroll-margin-top: 8vh;
}

#confirmar-asistencia {
    scroll-margin-top: 8vh;
}

/* Alternative method using pseudo-elements for scroll anchors */
section[id]::before {
    content: '';
    display: block;
    height: 8vh;
    /* Adjust this value */
    margin-top: -8vh;
    /* Negative margin to offset the height */
    visibility: hidden;
    pointer-events: none;
}

/* Override for hero section if needed */
#inicio::before {
    height: 6vh;
    margin-top: -6vh;
}