 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--primary-color);
    overflow-x: hidden;
    min-width: 320px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* ===============================================
   2. CSS VARIABLES
   =============================================== */
:root {
    --primary-color: #7b8227;
    --secondary-color: #DCC5B2;
    --accent-color: #f4efdf;
    --light-accent: #FAF7F3;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --border-light: #e0e0e0;
    --border-gray: #ddd;
    
    /* Responsive sizing variables */
    --container-padding: clamp(1rem, 3vw, 2rem);
    --section-padding: clamp(3rem, 8vh, 5rem);
    --hero-title-size: clamp(2rem, 3vw, 4.5rem);
    --section-title-size: clamp(2rem, 6vw, 3rem);
    --nav-height: clamp(60px, 8vh, 80px);
    --timeline-icon-size: clamp(60px, 8vw, 80px);
    --countdown-gap: clamp(1rem, 3vw, 1.5rem);
}

/* ===============================================
   3. TYPOGRAPHY CLASSES
   =============================================== */
.tipo_1 {
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: clamp(0.5rem, 1.5vw, 0.7rem);
    color: var(--primary-color);
}

.tipo_2 {
    font-family: 'Montserrat';
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: var(--primary-color);
}

.tipo_3 {
    font-family: 'Montserrat';
    font-size: clamp(0.8rem, 2.2vw, 1rem);
    color: var(--primary-color);
}

.section-title {
    font-family: 'Playfair Display';
    font-style: italic;
    font-size: var(--section-title-size);
    text-align: center;
    margin-top  : clamp(2rem, 5vh, 3rem);
    margin-bottom: clamp(2rem, 5vh, 3rem);
    color: var(--primary-color);
    font-weight: 300;
}

/* ===============================================
   4. NAVIGATION
   =============================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--light-accent);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(217, 162, 153, 0.1);
}

.navbar.scrolled {
    background: var(--light-accent);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 200px;
    overflow: hidden;
}

.nav-logo .couple-names {
    font-family: 'Playfair Display';
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-logo-img {
    height: clamp(35px, 5vh, 50px);
    width: auto;
    transition: all 0.3s ease;
    border-radius: 8px;
    object-fit: contain;
    max-width: 180px;
    display: flex;
    align-items: center;
    max-height: calc(var(--nav-height) - 20px);
}

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

.nav-logo a:hover .couple-names {
    color: var(--secondary-color);
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    gap: clamp(1rem, 3vw, 1.5rem);
    list-style: none;
    align-items: center;
    height: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    padding: clamp(0.3rem, 0.8vw, 0.5rem) clamp(0.6rem, 1.5vw, 0.9rem);
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: clamp(0.4rem, 1.2vw, 0.6rem);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--light-accent);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===============================================
   5. HERO SECTION
   =============================================== */
.hero {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--accent-color);
    color: var(--primary-color);
    text-align: center;
    padding-top: calc(var(--nav-height) * 3);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/textura_papel.png') center/cover no-repeat;
    filter: grayscale(100%) contrast(1.2);
    opacity: 0.3;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display';
    font-size: var(--hero-title-size);
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    font-weight: 400;
    font-style: italic;
}

.bride-name,
.groom-name {
    display: block;
    animation: fadeInUp 0.75s ease 0.5s both;
}

.ampersand {
    display: block;
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin: clamp(0.3rem, 1vh, 0.5rem) 0;
    opacity: 0.8;
    animation: fadeInUp 1s ease 1s both;
}

.hero-subtitle {
    opacity: 0.9;
    animation: fadeInUp 0.75s ease 0.5s both;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.wedding-date {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: clamp(2rem, 4vh, 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: fadeInUp 0.75s ease 0.5s both;
}

/* Scroll Down Button */
.scroll-down {
    margin-top: clamp(3rem, 10vh, 7rem);
    margin-bottom: clamp(2rem, 4vh, 3rem);
}

.scroll-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.arrow-icon {
    width: clamp(30px, 5vw, 45px);
    height: clamp(50px, 8vh, 75px);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.arrow-icon i {
    font-size: clamp(0.5rem, 1.2vw, 0.7rem);
    animation: bounce 2s infinite;
}

.scroll-arrow:hover .arrow-icon {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 105, 62, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: var(--countdown-gap);
    margin: clamp(2rem, 5vh, 3rem) 0 clamp(1.5rem, 3vh, 2rem) 0;
    animation: fadeInUp 1s ease 1.5s both;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: clamp(0.8rem, 2.5vw, 1.3rem) clamp(0.4rem, 1.5vw, 0.8rem);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-width: clamp(50px, 7vw, 70px);
    border: 1px solid rgba(123, 130, 39, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.countdown-number {
    display: block;
    font-size: clamp(1rem, 3.5vw, 1.8rem);
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: clamp(0.3rem, 1vh, 0.5rem);
}

.countdown-label {
    font-size: clamp(0.4rem, 1.2vw, 0.65rem);
    opacity: 0.8;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===============================================
   6. PROGRAM SECTION
   =============================================== */
.program {
    padding: var(--section-padding) 0;
}

.program-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-timeline::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    height: 0.5px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.timeline-items-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    margin: 0 clamp(0.5rem, 2vw, 1rem);
}

.timeline-icon {
    width: var(--timeline-icon-size);
    height: var(--timeline-icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    z-index: 3;
    position: relative;
}

.timeline-content {
    text-align: center;
    max-width: 200px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 300;
}

.timeline-time {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    white-space: nowrap;
}

/* ===============================================
   7. LOCATION SECTION
   =============================================== */
.location {
    padding: var(--section-padding) 0;
    background: var(--light-accent);
}

.location-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 5vh, 3rem);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.location-image {
    position: relative;
    display:inline-block;
}

.venue-photo {
    width: 100%;
    max-width: 500px;
    height: clamp(250px, 35vh, 350px);
    object-fit: contain;
    border-radius: 15px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    /* background-color: #F0E8D2;*/ 
}

.location-info h3 {
    color: var(--primary-color);
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    font-family: 'Playfair Display';
    font-style: italic;
}

.venue-details {
    padding: 0;
    width: 100%;
}

.venue-name {
    font-size: var(--section-title-size);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.venue-address {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

.venue-description {
    color: var(--text-dark);
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    line-height: 1.8;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
}

.btn-map {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: clamp(0.5rem, 1.8vw, 0.7rem) clamp(0.8rem, 2.5vw, 1.2rem);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
}

.btn-map:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===============================================
   8. PARA TI SECTION
   =============================================== */
.para-ti {
    padding: var(--section-padding) 0;
    background: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.para-ti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1.2);
    opacity: 0.03;
    z-index: 1;
}

.para-ti .container {
    position: relative;
    z-index: 2;
}

.para-ti-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.para-ti-intro h3 {
    color: var(--primary-color);
    font-size: clamp(1.3rem, 3.5vw, 1.6rem);
    margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
}

.para-ti-intro p {
    color: var(--text-dark);
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    line-height: 1.8;
    margin-bottom: clamp(2rem, 4vh, 3rem);
}

.para-ti-cta {
    padding: 0;
    text-align: center;
    margin-bottom  : clamp(2rem, 5vh, 3rem);
}

.btn-para-ti {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: clamp(0.5rem, 1.5vw, 0.7rem) clamp(0.8rem, 2.5vw, 1.1rem);
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    margin-top: clamp(1.5rem, 4vh, 2.5rem);
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
}

.btn-para-ti:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 162, 153, 0.3);
}

.para-ti-note {
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.para-ti-note p {
    font-style: normal;
}
.para-ti-subtitle {
    text-align: center;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.para-ti-separator {
    width: clamp(200px, 50vw, 320px);
    height: 2px;
    background: var(--primary-color);
    margin: clamp(1.5rem, 3vh, 2rem) auto;
    border-radius: 1px;
}

/* ===============================================
   9. CONFIRMATION SECTION
   =============================================== */
.confirmation {
    padding: clamp(3rem, 6vh, 5rem) 0;
    background: var(--light-accent);
}

.confirmation-subtitle {
    text-align: center;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.confirmation-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-intro p {
    line-height: 1.8;
    margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
}

.deadline {
    margin-bottom: clamp(2rem, 4vh, 3rem) !important;
}

.confirmation-cta {
    margin-top: clamp(1.5rem, 3vh, 2rem);
}

.para-confirmar {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(2rem, 5vw, 3rem);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-confirmar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: clamp(0.5rem, 1.5vw, 0.7rem) clamp(0.8rem, 2.5vw, 1.2rem);
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
}

.btn-confirmar:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 162, 153, 0.3);
}

/* Hotels Gallery */
.hotels-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
    gap: clamp(1.2rem, 3vw, 2rem);
    margin-top: clamp(2rem, 4vh, 3rem);
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.hotel-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.hotel-card:hover {
    transform: translateY(-3px);
}

.hotel-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: clamp(0.8rem, 2vh, 1.2rem);
    transition: all 0.3s ease;
}

.hotel-card:hover .hotel-image {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.hotel-info {
    padding: 0;
}

.hotel-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: clamp(0.2rem, 0.5vh, 0.4rem);
    line-height: 1.3;
}

.hotel-address {
    margin-bottom: clamp(0.1rem, 0.3vh, 0.3rem);
    opacity: 0.8;
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
}

.hotel-code {
    color: var(--primary-color);
    font-weight: 500;
    font-size: clamp(0.65rem, 1.6vw, 0.85rem);
    opacity: 0.9;
}

/* ===============================================
   10. RSVP SECTION
   =============================================== */
.rsvp {
    padding: clamp(3rem, 6vh, 5rem) 0;
    background: var(--accent-color);
}

.rsvp-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: clamp(2rem, 4vh, 3rem);
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-top: clamp(2.5rem, 5vh, 4rem);
}

.form-group label {
    font-family: 'Montserrat';
    color: var(--primary-color);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.form-group>label {
    font-family: 'Montserrat';
    color: var(--primary-color);
    font-weight:500;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Montserrat';
    color: var(--primary-color);
    width: 100%;
    padding: clamp(0.8rem, 2vw, 1rem);
    border: 1px solid var(--primary-color);
    border-radius: 100px;
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    transition: border-color 0.3s ease;
    background: var(--light-accent);
    margin-top: clamp(0.8rem, 2vh, 1rem);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    height: clamp(120px, 20vh, 150px);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 2vh, 1rem);
    margin-top: clamp(0.8rem, 2vh, 1rem);
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: clamp(18px, 4vw, 20px);
    height: clamp(18px, 4vw, 20px);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    margin-right: clamp(0.8rem, 2vw, 1rem);
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(8px, 2vw, 10px);
    height: clamp(8px, 2vw, 10px);
    background: var(--primary-color);
    border-radius: 50%;
}

.btn-submit {
    margin-top: clamp(2.5rem, 5vh, 4rem);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: clamp(0.5rem, 1.8vw, 0.8rem) clamp(0.8rem, 2.5vw, 1.5rem);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.7rem, 1.8vw, 1rem);
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===============================================
   11. GALLERY SECTION
   =============================================== */
.gallery {
    padding: clamp(3rem, 6vh, 5rem) 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 35vw, 280px), 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: clamp(1.5rem, 4vw, 2rem);
}

/* ===============================================
   12. MODAL
   =============================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: clamp(1rem, 3vw, 20px);
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: clamp(10px, 2vh, 15px);
    right: clamp(25px, 5vw, 35px);
    color: var(--white);
    font-size: clamp(30px, 6vw, 40px);
    font-weight: bold;
    cursor: pointer;
}

.modal-nav {
    margin-top: clamp(1rem, 3vh, 20px);
}

.modal-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: clamp(0.8rem, 2vw, 1rem);
    border-radius: 50%;
    cursor: pointer;
    margin: 0 clamp(0.8rem, 2vw, 1rem);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    transition: background 0.3s ease;
}

.modal-btn:hover {
    background: var(--secondary-color);
}

/* ===============================================
   13. BUS SERVICE SECTION
   =============================================== */
.bus-service {
    padding: clamp(3rem, 6vh, 5rem) 0;
    background: var(--white);
}

.bus-service-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bus-service-info {
    margin-bottom: clamp(2rem, 4vh, 3rem);
}

.bus-service-description {
    margin-bottom: 1rem;
}

.bus-map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bus-map iframe {
    border-radius: 15px;
}

.ceremonia-content,
.celebracion-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vh, 4rem);
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.ceremonia-info,
.celebracion-info {
    order: 1;
    text-align: center;
}

.ceremonia-info h3,
.celebracion-info h3 {
    color: var(--primary-color);
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.8rem, 4.5vw, 2rem); 
    margin-bottom: clamp(0.8rem, 2vh, 1rem);
}

.ceremonia-address,
.celebracion-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.ceremonia-description h4,
.celebracion-description h4 {
    margin-bottom: clamp(0.4rem, 1vh, 0.5rem);
}

.ceremonia-highlight,
.celebracion-highlight {
    margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
}

.ceremonia-description p,
.celebracion-description p {
    line-height: 1.8;
    margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
}

/* ===============================================
   15. REGALO SECTION
   =============================================== */
.regalo {
    padding: clamp(3rem, 6vh, 5rem) 0;
    background: var(--white);
}

.regalo-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.regalo-intro {
    margin-bottom: clamp(2rem, 4vh, 3rem);
}

.regalo-main {
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
}

.regalo-intro p {
    color: var(--primary-color);
    line-height: 1.8;
}

.regalo-bank {
    background: var(--light-accent);
    padding: clamp(1.8rem, 4vw, 2.5rem);
    border-radius: 15px;
    margin: clamp(2rem, 4vh, 3rem) 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.regalo-bank h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
    letter-spacing: 1px;
}

.regalo-bank-details h3{
    letter-spacing: 1px;
    font-weight: 500;
}

.iban-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.8rem, 2vw, 1rem);
    flex-wrap: wrap;
}

.iban-number {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    font-weight: 600;
    background: var(--white);
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
    border-radius: 8px;
    border: 2px solid var(--secondary-color);
    letter-spacing: 1px;
}

.btn-copy {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: clamp(0.5rem, 2vw, 0.6rem) clamp(1rem, 2.5vw, 1.1rem);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: clamp(0.8rem, 2vh, 1rem);
    gap: 0.5rem;
}

.regalo-thanks {
    margin-top: clamp(1.5rem, 3vh, 2rem);
}

.btn-copy:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===============================================
   16. CONFIRMATION PAGE STYLES
   =============================================== */
.confirmation-page,
.para-ti-page {
    padding: clamp(5rem, 10vh, 8rem) 0 clamp(3rem, 6vh, 5rem) 0;
    background: var(--light-accent);
    min-height: 100vh;
}

.confirmation-form-wrapper,
.para-ti-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.confirmation-form-wrapper .confirmation-intro {
    text-align: center;
    margin-bottom: clamp(2rem, 4vh, 3rem);
}

.confirmation-form-wrapper .confirmation-intro h3 {
    color: var(--primary-color);
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    margin-bottom: clamp(0.8rem, 2vh, 1rem);
}

.confirmation-form-wrapper .confirmation-intro p {
    color: var(--text-dark);
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    line-height: 1.8;
}

.confirmation-form {
    padding: 0;
    margin-top: clamp(3rem, 6vh, 5rem);
}

/* Field Error Messages */
.field-error-message {
    color: #e74c3c !important;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    margin-top: clamp(6px, 1.5vh, 8px);
    display: flex;
    align-items: center;
    font-weight: 500;
    animation: fadeInUp 0.3s ease;
}

.field-error-message i {
    margin-right: clamp(4px, 1vw, 6px);
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
}

/* Radio group error styling */
.radio-group.error {
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: clamp(10px, 2vw, 12px);
}

/* Input error styling */
input.error,
textarea.error {
    border: 2px solid #e74c3c !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes slideOutScale {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

/* Error message styling */
.error-message {
    box-shadow: 0 5px 15px rgba(217, 162, 153, 0.2);
}

.error-message ul {
    list-style: none;
    padding: 0;
}

.error-message li {
    padding: clamp(4px, 1vh, 5px) 0;
    position: relative;
    padding-left: clamp(16px, 3vw, 20px);
}

.error-message li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.confirmation-form{
    margin-top: clamp(3rem, 6vh, 5rem);
}

.program-subtitle {
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(0.8rem, 2vw, 1rem);
    margin-bottom: 1rem;
}

.timeline-svg {
    width: 100%;
    height: 100%;
    margin-bottom: 3rem;
}

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

@media (min-width: 769px) {
    .program-timeline {
        max-width: 1000px;
        margin: 0 auto;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .program-timeline::before {
        content: '';
        position: absolute;
        top: 40%;
        left: 0;
        right: 0;
        height: 0.5px;
        width: auto;
        background: var(--primary-color);
        transform: translateY(-50%);
    }

    .timeline-items-container {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: flex-start;
        position: relative;
        z-index: 2;
    }

    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        position: relative;
        margin: 0 clamp(0.5rem, 2vw, 1rem);
        padding-left: 0;
    }

    .timeline-item:after {
        content: none;
    }

    .timeline-icon {
        width: var(--timeline-icon-size);
        height: var(--timeline-icon-size);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: clamp(1.5rem, 3vh, 2rem);
        z-index: 3;
        position: relative;
        top: auto;
        left: auto;
        border: none;
        background-color: transparent;
        border-radius: 0;
    }

    .timeline-svg {
        width: 100%;
        height: 100%;
        margin-bottom: 3rem;
    }

    .timeline-content {
        text-align: center;
        max-width: 200px;
        margin-left: 0;
        position: static;
        padding-top: 0;
    }

    .timeline-content h3 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        font-size: clamp(0.8rem, 2vw, 1rem);
        font-weight: 300;
    }

    .timeline-time {
        color: var(--primary-color);
        font-weight: 500;
        margin: 0;
        font-size: clamp(0.7rem, 1.8vw, 0.9rem);
        white-space: nowrap;
        padding-top: 0;
        text-align: center;
    }
}

/* Responsive Design */
/* Tablets */

/* Media query for max-width: 1280px */
@media (max-width: 1280px) {
    .nav-container {
        justify-content: space-between;
    }

    .nav-logo {
        justify-content: flex-start;
    }
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: clamp(0.8rem, 2.5vw, 1.5rem);
    }
    
    .nav-link {
        font-size: clamp(0.45rem, 1.3vw, 0.65rem);
        padding: clamp(0.35rem, 0.9vw, 0.5rem) clamp(0.7rem, 1.8vw, 1rem);
    }
}

@media (max-width: 1110px) {
    .hamburger {
        display: flex !important;
    }

    .nav-container{
        max-width: none !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background-color: var(--light-accent);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
        height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: clamp(1rem, 3vw, 1.5rem) clamp(2rem, 5vw, 3rem);
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        border-radius: 0;
        border-bottom: 1px solid rgba(123, 130, 39, 0.1);
        width: 100%;
        text-align: center;
        display: block;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .nav-link:hover {
        background: rgba(123, 130, 39, 0.1);
    }
}

@media (max-width: 1024px){
    .hotels-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: clamp(1.2rem, 2.5vw, 1.5rem);
    }
    
    .hotel-name {
        font-size: clamp(1rem, 2vw, 1.15rem);
    }

    .timeline-items-container {
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }
}


@media (max-width: 1000px) {
    .nav-menu {
        gap: clamp(0.6rem, 2vw, 1.2rem);
    }
    
    .nav-link {
        font-size: clamp(0.4rem, 1.2vw, 0.6rem);
        padding: clamp(0.3rem, 0.8vw, 0.45rem) clamp(0.6rem, 1.6vw, 0.9rem);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: clamp(0.5rem, 2vw, 1rem);
        --section-padding: clamp(2rem, 6vh, 4rem);
        --countdown-gap: clamp(0.8rem, 2.5vw, 1.2rem);
        --timeline-icon-size: clamp(50px, 10vw, 70px);
    }

    /* Navigation is already handled by 900px media query */

    /* Hotels Gallery Mobile */
    .hotels-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: clamp(1rem, 2.5vw, 1.2rem);
        padding: 0;
        margin-top: clamp(1.5rem, 3vh, 2rem);
    }

    .hotel-card {
        margin: 0;
    }

    .hotel-image {
        margin-bottom: clamp(0.6rem, 1.5vh, 0.8rem);
    }

    .hotel-info {
        padding: 0;
    }

    .hotel-name {
        font-size: clamp(0.85rem, 2vw, 1rem);
    }

    .hotel-address {
        font-size: clamp(0.65rem, 1.6vw, 0.8rem);
    }

    .hotel-code {
        font-size: clamp(0.6rem, 1.4vw, 0.75rem);
    }
/* 
    .hero {
        height: clamp(130vh, 150vh, 160vh);
    } */

    .timeline-items-container {
        gap: clamp(2rem, 4vw, 3rem);
    }

    .venue-photo {
        height: clamp(200px, 30vh, 280px);
    }
/* 
    .program {
        margin-bottom: 20rem;
    } */

    /* Mobile Timeline - Vertical Style with Left/Right Alternation */
    .program-timeline {
        margin-left: 0;
        max-width: none;
        display: block;
        align-items: center;
        position: relative;
    }

    .program-timeline::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        margin-left: -1px;
        width: 2px;
        height: calc(100% - 20px);
        background-color: var(--primary-color);
        transform: none;
        right: auto;
    }

    .timeline-items-container {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        gap: 0;
        justify-items: center;
        align-items: center;
    }

    .timeline-item {
        position: relative;
        margin-top: clamp(2rem, 4vh, 2.5rem);
        margin-bottom: clamp(2rem, 4vh, 2.5rem);
        padding-left: 0;
        flex: none;
        max-width: none;
        width: 100%;
        display: block;
        flex-direction: row;
        align-items: flex-start;
    }

    .timeline-item:last-child {
        margin-bottom: 3em;
    }

    .timeline-item:after {
        content: "";
        display: table;
        clear: both;
    }

    /* Small dot on the center line for reference */
        /* .timeline-item:before {
        content: '';
        position: absolute;
        top: 20px;
        left: 50%;
        margin-left: -5px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border-width: thin;
        border-style: solid;
        border-color: var(--primary-color);
        background-color: var(--accent-color);
        z-index: 4;
    } */

    /* Timeline icon positioning - opposite side of text */
    .timeline-icon {
        position: absolute;
        top: 6px;
        width: clamp(40px, 8vw, 50px);
        height: clamp(40px, 8vw, 50px);
        margin-bottom: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Left side icon (for odd items where text is on the right) - ICON ON LEFT */
    .timeline-item:nth-child(odd) .timeline-icon {
        right: calc(40% + 40px)
    }

    /* Right side icon (for even items where text is on the left) - ICON ON RIGHT */
    .timeline-item:nth-child(even) .timeline-icon {
        left: calc(40% + 40px);
    }

    .timeline-svg {
        margin-bottom: 0;
    }

    /* Content positioning - alternating left and right */
    .timeline-content {
        position: relative;
        width: 50%;
        text-align: left;
        max-width: none;
        padding-top: 0;
    }

    /* Left side content (odd items: 1st, 3rd, 5th) - TEXT ON RIGHT */
    .timeline-item:nth-child(odd) .timeline-content {
        float: right;
        margin-left: 6%;
        margin-right: 0;
        text-align: left;
        padding-left: 15px;
        left: 5%;
    }

    /* Right side content (even items: 2nd, 4th, 6th) - TEXT ON LEFT */
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 6%;
        text-align: right;
        padding-right: 15px;
        right: 5%;
    }

    .timeline-content h3 {
        margin-bottom: clamp(0.3rem, 1vh, 0.4rem);
        line-height: 1.2;
    }

    .timeline-time {
        margin: 0;
        padding-top: 6px;
    }

        /* Fin Ultima Actualización */

    .iban-container {
        flex-direction: column;
    }

    .iban-number {
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        word-break: break-all;
    }

    .bus-service-content {
        margin: 0 clamp(0.5rem, 2vw, 1rem);
    }

    .regalo-bank {
        margin: clamp(1.5rem, 3vh, 2rem) clamp(0.5rem, 2vw, 1rem);
        padding: clamp(1.5rem, 3vw, 2rem);
    }
}

/* Extra small devices */
@media (max-width: 600px) {
    :root {
        --container-padding: clamp(0.3rem, 1.5vw, 0.8rem);
        --section-padding: clamp(1.5rem, 5vh, 3rem);
        --countdown-gap: clamp(0.5rem, 2vw, 0.8rem);
        --timeline-icon-size: clamp(40px, 12vw, 60px);
        --nav-height: clamp(55px, 7vh, 65px);
    }

    .hamburger {
        display: flex !important;
    }

    /* .hero {
        height: clamp(120vh, 140vh, 150vh);
    } */

    .venue-photo {
        height: clamp(180px, 25vh, 220px);
    }

    .hotels-gallery {
        grid-template-columns: 1fr !important;
        gap: clamp(1.2rem, 3vh, 1.5rem);
    }
    
    .hotel-image {
        margin-bottom: clamp(0.8rem, 2vh, 1rem);
    }

    /* Override any conflicting nav-link styles for very small screens */
    .nav-link {
        font-size: clamp(0.8rem, 2.2vw, 1rem) !important;
        padding: clamp(0.8rem, 2.5vw, 1.2rem) clamp(1.5rem, 4vw, 2.5rem) !important;
    }
}

@media (max-width: 360px) {
    :root {
        --container-padding: clamp(0.25rem, 1vw, 0.5rem);
        --section-padding: clamp(1rem, 4vh, 2.5rem);
        --countdown-gap: clamp(0.3rem, 1.5vw, 0.5rem);
        --timeline-icon-size: clamp(35px, 14vw, 50px);
        --nav-height: clamp(50px, 6vh, 60px);
    }

    /* .hero {
        height: clamp(80vh, 90vh, 100vh);
    } */

    .venue-photo {
        height: clamp(150px, 20vh, 180px);
    }
}

.nav-container {
    max-width: fit-content;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    position: relative;
}