/* ============================================
   ESTILOS MOBILE - Organizados por Secciones
   Solo se aplican en dispositivos móviles
   ============================================ */

/* Breakpoint: Solo se aplica en pantallas menores a 768px */
@media (max-width: 767px) {

/* ============================================
   SECTION 1 - HERO SECTION
   ============================================ */
.hero-section {
    height: 90vh;
    padding: 40px 30px;
    background-size: 130%;
    background-position: 30% center;
    align-items: flex-end;
    justify-content: center;
}

.audio-player-section {
    padding: 50px 20px;
}

.audio-player {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 30px;
}

.audio-time {
    font-size: 11px;
    min-width: 55px;
}

.audio-play-pause-btn,
.audio-volume-btn,
.audio-menu-btn {
    padding: 6px;
}

.audio-play-pause-btn svg,
.audio-volume-btn svg,
.audio-menu-btn svg {
    width: 16px;
    height: 16px;
}

.audio-progress-container {
    height: 3px;
}

.audio-progress-handle {
    width: 8px;
    height: 8px;
}

.hero-content {
    text-align: center;
}

.hero-logo {
    max-width: 90%;
    height: auto;
    max-height: 180px;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.3));
    display: block;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 0px;
}

.hero-names {
    font-size: 70px;
    margin-bottom: 8px;
    
}

.hero-date {
    font-size: 20px;
    letter-spacing: 1.5px;
}

.language-selector {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
    flex-direction: row;
    align-items: center;
}

.language-label {
    font-size: 12px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
    line-height: 1;
}

.language-btn {
    width: 36px;
    height: 36px;
}

.language-flag {
    width: 20px;
    height: 20px;
}

/* ============================================
   SECTION 2 - INVITATION TEXT & CALENDAR
   ============================================ */
.invitation-text {
    padding: 30px 30px;
}

.invitation-title {
    font-size: 36px;
    margin-bottom: 20px;
    margin-top: -20px;
}

.invitation-text .invitation-title {
    line-height: 1.0;
}

.invitation-paragraph {
    font-size: 20px;
    line-height: 1.7;
    max-width: 100%;
    margin: 0 auto 0px;
    margin-bottom: 0px;
}

/* Calendar - Mobile */
.calendar {
    padding: 20px 15px;
    width: calc(100% + 30px);
    max-width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
}

.calendar-header {
    font-size: 18px;
    margin-bottom: 15px;
}

.calendar-grid {
    gap: 6px;
}

.calendar-day {
    font-size: 12px;
}

.calendar-day.header {
    font-size: 10px;
}

/* ============================================
   SECTION 3 - COUNTDOWN
   ============================================ */
.countdown-section {
    padding: 50px 30px 0.5px 30px;
    background: #FAF8F3;
}

.countdown-label {
    font-size: 30px;
    margin-bottom: 25px;
}

.countdown-boxes {
    gap: 10px;
    margin-bottom: 55px;
    flex-wrap: wrap;
}

.countdown-box {
    padding: 12px 15px;
    flex: 1;
    min-width: calc(25% - 8px);
}

.countdown-number {
    font-size: 24px;
}

.countdown-unit {
    font-size: 9px;
    margin-top: 4px;
}

.wedding-time {
    margin: 25px 0;
}

.wedding-time-divider {
    width: 2px;
    height: 100px;
    margin: 0 15px;
}

.wedding-time-horizontal-divider {
    top: 100px;
    max-width: 280px;
}

.wedding-day {
    font-size: 20px;
    margin-bottom: 8px;
}

.wedding-hour {
    font-size: 36px;
}

/* Estilos para elementos de ubicación en countdown - Mobile */
.location-label {
    font-size: 20px;
    line-height: 1.7;
    max-width: 100%;
    margin: 10px auto;
}

.location-name {
    font-size: 36px;
    margin: 10px auto;
}

.location-address {
    font-size: 20px;
    line-height: 1.7;
    max-width: 100%;
    margin: 10px auto;
    margin-bottom: 25px;
}

.btn {
    padding: 10px 25px;
    font-size: 11px;
}

/* ============================================
   SECTION 4 - MEDIA SECTION (VIDEO)
   ============================================ */
.media-section {
    padding: 20px 20px;
    text-align: center;
}

.media-section .invitation-title {
    text-align: center;
    margin-top: -10px;
}

.media-section .invitation-paragraph {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4    0px;
}

.media-container {
    height: 250px;
}

.media-video {
    width: 170%;
    height: 170%;
    transform: translate(-50%, -50%) scale(1.5);
}

.video-play-pause {
    width: 70px;
    height: 70px;
}

.video-play-pause svg {
    width: 30px;
    height: 30px;
}

.video-label {
    margin-top: 12px;
    padding: 6px 12px;
}

.video-label-text {
    font-size: 12px;
}

/* ============================================
   SECTION 5 - EVENT INFORMATION
   ============================================ */
.event-section {
    padding: 0px 30px;
}

.itinerary-title {
    font-size: 36px;
    margin-bottom: 35px;
    white-space: nowrap;
}

.itinerary-container {
    max-width: 260px;
    padding: 0 15px;
}

.itinerary-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.itinerary-label {
    font-size: 25px;
    margin-bottom: 12px;
}

.itinerary-separator {
    max-width: 160px;
    margin-bottom: 12px;
    height: 1px;
    opacity: 1;
}

.event-section .invitation-title {
    text-align: center;
    margin-top: -10px;
}

.event-card {
    padding: 35px 25px;
    margin-bottom: 25px;
}

.event-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 18px;
}

.event-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.event-time {
    font-size: 16px;
    margin-bottom: 8px;
}

.event-location {
    font-size: 13px;
    margin-bottom: 20px;
}

.yesi-santi-logo {
    margin: 50px auto 10px;
    max-width: 250px;
}

/* ============================================
   SECTION 6 - PHOTO GALLERY
   ============================================ */
.gallery-section {
    padding: 30px 15px 80px 15px;
}

.gallery-section .invitation-title {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 50px;
}

.gallery-grid {
    gap: 12px;
}

.gallery-item {
    border-radius: 10px;
}

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

.gallery-logo-item {
    padding: 20px 0;
    background: linear-gradient(to bottom, #AE1C28 0%, #21468B 100%);
    -webkit-mask-image: url('../img/Logo_S&Y.png');
    mask-image: url('../img/Logo_S&Y.png');
    -webkit-mask-size: 250px auto;
    mask-size: 250px auto;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.gallery-logo {
    opacity: 0;
    max-width: 250px;
}

/* Modal de imágenes - Mobile */
.image-modal-content {
    max-width: 95%;
    max-height: 95%;
}

.image-modal-close {
    top: 15px;
    right: 20px;
    font-size: 35px;
    width: 45px;
    height: 45px;
}

.image-modal-nav {
    width: 45px;
    height: 45px;
}

.image-modal-prev {
    left: 15px;
}

.image-modal-next {
    right: 15px;
}

.image-modal-nav svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   SECTION 7 - DRESS CODE
   ============================================ */
.dress-code-section {
    padding: 50px 30px;
}

.dress-code-image {
    width: 200px;
    height: 50px;
    object-fit: contain;
    margin: 0 auto 0px auto;
    display: block;
    margin-bottom: 10px;

}

.dress-code-title {
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: 'MonteCarlo', cursive;
}

.dress-code-subtitle {
    font-size: 25px;
    color: var(--sage-green);
    margin-top: 20px;
    margin-bottom: 20px;
}

.dress-icons {
    gap: 40px;
    margin-bottom: 25px;
}

.dress-icon {
    width: 50px;
    height: 50px;
}

.color-palette {
    gap: 15px;
    margin-top: 25px;
}

.color-dot {
    width: 35px;
    height: 35px;
    border: 2px solid white;
}

/* ============================================
   SECTION - LLUVIA DE SOBRES
   ============================================ */
.sobres-section {
    padding: 70px 30px 20px 30px;
}

.sobres-container {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
}

.sobres-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin: 0 auto 0px auto;
    display: block;
    margin-bottom: 10px;
}

.sobres-title {
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: 'MonteCarlo', cursive;
}

.sobres-paragraph {
    font-size: 20px;
    line-height: 1.7;
    max-width: 100%;
    margin: 0 auto 15px;
}

/* ============================================
   SECTION 8 - PHOTO UPLOAD
   ============================================ */
.photo-upload-section {
    padding: 45px 30px;
}

.upload-icon {
    width: 50px;
    height: 50px;
    margin: 25px auto 25px;
}

.upload-title {
    font-size: 32px;
    margin-bottom: 25px;
}

.btn-white {
    margin: 8px;
    padding: 10px 20px;
    font-size: 11px;
    display: block;
    width: calc(100% - 16px);
    margin-left: auto;
    margin-right: auto;
}

.btn-white:first-of-type {
    margin-bottom: 20px;
    margin-top: 50px;
}

.photo-upload-section .invitation-paragraph {
    color: white;
    opacity: 0.95;
}

/* ============================================
   SECTION 9 - RSVP FORM
   ============================================ */
.rsvp-section {
    padding: 50px 30px;
}

.rsvp-title {
    font-size: 32px;
    margin-bottom: 35px;
    white-space: nowrap;
}

.rsvp-section .invitation-paragraph {
    text-align: center;
    margin: 20px auto;
    max-width: 100%;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-size: 15px;
    margin-bottom: 6px;
}

.form-input {
    padding: 11px 13px;
    font-size: 14px;
}

.form-input.textarea {
    min-height: 90px;
}

.checkbox-group {
    margin-top: 25px;
    padding-top: 25px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 0;
    font-size: 11px;
}

.footer-link {
    display: block;
    padding: 25px 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-link p {
    margin: 0;
}

/* ============================================
   UTILIDADES Y AJUSTES GENERALES MOBILE
   ============================================ */
.invitation-container {
    max-width: 100%;
}

/* Ajustes de espaciado general */
/* Los estilos específicos de cada sección están definidos arriba */

/* Ajustes de tipografía general */
body {
    font-size: 15px;
}

} /* Fin del media query @media (max-width: 767px) */

