/* ==========================================
   FONT DECLARATIONS
   ========================================== */

@font-face {
    font-family: 'Poppins';
    src: url('font/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('font/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('font/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Simple Serenity Script';
    src: url('font/Simple Serenity Script.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Simple Serenity Serif';
    src: url('font/Simple Serenity Serif.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */

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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #FAF8F3;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   MUTE BUTTON
   ========================================== */

.mute-button {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.mute-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.mute-button:active {
    transform: scale(0.98);
}

.mute-icon {
    font-size: 0;
    color: white;
}

.mute-button.muted .mute-icon::after {
    content: '▶';
    font-size: 0.75rem;
    color: white;
    display: block;
}

.mute-button:not(.muted) .mute-icon::after {
    content: '⏸';
    font-size: 0.75rem;
    color: white;
    display: block;
}

h1, h2, h4, h5, h6 {
    font-family: 'Simple Serenity Serif', serif;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
}

.container{
    max-width: 95% !important;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 2;
}

.hero-content-top {
    text-align: center;
    padding-top: 8vh;
    z-index: 10;
    width: 1000px;
}

.hero-content-bottom {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    left: 0;
    right: 0;
    color: #fff;
    z-index: 10;
    pointer-events: none;
}

.hero-rsvp-button {
    position: absolute !important;
    bottom: 4vh;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 11;
    text-align: center;
}

.couple-names {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateX(-6%);
}

.couple-names-image {
    text-align: center;
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.4));
}

.wedding-date {
    position: absolute;
    bottom: 0;
    left: 4vw;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 600;
    line-height: 1 !important;
}

.wedding-location {
    position: absolute;
    bottom: 0;
    right: 4vw;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 600;
    line-height: 1 !important;
}

.btn-rsvp {
    display: inline-block;
    color: white;
    font-size: 1.6rem;
}

.btn-rsvp:hover {
    color: white;
}

/* ==========================================
   SECTION TITLES
   ========================================== */

.section-title {
    font-family: 'Simple Serenity Serif', serif;
    font-size: 4.2rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: #ff5b51;
    margin-bottom: 2rem;
}

.black{
    color: #000000 !important;
}

/* ==========================================
   LOCATION SECTION
   ========================================== */

.location-section {

    background-color: #FAF8F3;
    padding: 15rem 0;
}

.location-section h2{
    width: 100%;
    text-align: center;
}

.location-section .row {
    align-items: stretch !important;
}

.location-section .col-lg-3:first-child {
    display: flex;
    align-items: flex-start;
}

.location-section .col-lg-3:last-child {
    display: flex;
    align-items: flex-end;
}

.location-image-wrapper {
    padding: 50px;
    margin-left: 30px;
    margin-right: 30px;
    background: white;
    text-align: center;
}

.location-photo {
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-info {
    text-align: left;
    width: 100%;
}

.venue-name {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #333;
    text-decoration: underline;
    text-align: center;
}

.venue-address {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #666;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */

.gallery-section {
    background-color: white;
    padding: 4rem 0;
}

.gallery-section .container{
    max-width: 95%;
}

.gallery-section .col-md-4{
    padding: 30px;
}

.gallery-item {
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   ITINERARY SECTION
   ========================================== */

.itinerary-section {
    background-color: #FAF8F3;
    padding: 12rem 0;
}

.itinerary-section h2 {
    margin-bottom:5rem;
}
.itinerary-item {
    padding: 2rem 1rem;
}

.itinerary-icon {
    margin-bottom: 3.5rem;
    height: 230px;
}

.itinerary-icon img {
    max-width: 200px;
    margin: 0 auto;
}

.itinerary-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #ff5b51;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.itinerary-time {
    font-size: 2rem;
    color: #ff5b51;
    letter-spacing: 1px;
}

.chica{
    max-width: 315px !important;
    width: 315px;
}

/* ==========================================
   PHOTOS SECTION 2
   ========================================== */

.photos-section-2 {
    background-color: white;
    padding: 0;
}

.photos-section-2 .photo1, .photos-section-2 .photo2 {
    float: left;
}

.photos-section-2 .photo1{
    width: 45%;
}

.photos-section-2 .photo1 .photo-wrapper{
    padding: 40px;
}



.photos-section-2 .photo2{
    width: 55%;
}


.photos-section-2 .container{
    max-width: 100% !important;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.col-md-8{
    padding: 0;
}

/* ==========================================
   INFORMATION SECTION
   ========================================== */

.info-section {
    background-color: #FAF8F3;
    padding: 5rem 0;
    text-transform: uppercase;
    color: #ff5b51;

}

.info-section .left, .info-section .right {
    float: left;
}

.info-section h2{
    font-size: 3rem;
}
.info-left img{
    width: 90%;
}

.info-section .info-left {
    width: 45%;
}

.info-section .info-right {
    width: 55%;
    padding-top: 6rem;
}

.couple-illustration {
    padding: 2rem;
}

.couple-illustration img {
    margin: 0 auto;
}

.info-subtitle {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ff5b51;
    margin-bottom: 1rem;
    line-height: 2;
}

.dresscode{
    margin-top: 4rem;
    font-size: 2.3rem;
}

.info-text {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    line-height: 2;
}

.info-note {
    font-size: 2em;
}

.color-palette {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.color-box {
    width: 80px;
    height: 80px;
    display: inline-block;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   FINAL PHOTO SECTION
   ========================================== */

.final-photo-section {
    width: 100%;
}

.final-photo-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   FAMILIA AND HORIZONTE SECTIONS
   ========================================== */

.familia-section,
.horizonte-section {
    display: none; /* Hidden on desktop */
    width: 100%;
    padding: 0;
    margin: 0;
}

.familia-section img,
.horizonte-section img {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    margin: 0;
}

/* ==========================================
   GIFT SECTION
   ========================================== */

.gift-section {
    background-color: white;
    padding: 4rem 0;
    color: #ff5b51;
}


.gift-section .container{
    max-width: 75% !important;
}

.gift-text {
    font-size: 1.1vw;
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin: 0 auto 2rem;
    text-align: center;
}

.gift-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 1rem;
    margin-left: 3rem;
}

.bank-info {
    margin-left: 3rem;
    text-align: left;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

/* ==========================================
   RSVP SECTION
   ========================================== */

.rsvp-section {
    background-color: #FAF8F3;
    padding: 6rem 0;
}

.rsvp-section .section-title {
    color: #ff5b51;
}

.rsvp-form {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.rsvp-form .form-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.rsvp-form .form-control {
    font-family: 'Poppins', sans-serif;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #E8E4DC;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rsvp-form .form-control:focus {
    border-color: #ff5b51;
    box-shadow: 0 0 0 0.2rem rgba(255, 91, 81, 0.15);
    outline: none;
}

.rsvp-form textarea.form-control {
    resize: vertical;
}

.attendance-options {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.attendance-options .form-check {
    margin: 0;
}

.attendance-options .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #E8E4DC;
    cursor: pointer;
}

.attendance-options .form-check-input:checked {
    background-color: #ff5b51;
    border-color: #ff5b51;
}

.attendance-options .form-check-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    margin-left: 0.5rem;
    cursor: pointer;
}

.btn-submit-rsvp {
    background-color: #ff5b51;
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

.btn-submit-rsvp:hover {
    background-color: #e54942;
    transform: translateY(-2px);
}

.btn-submit-rsvp:active {
    transform: translateY(0);
}

.btn-submit-rsvp:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.response-message {
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

.response-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.response-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* RSVP Responsive Styles */
@media (max-width: 768px) {
    .rsvp-form {
        padding: 2rem 1.5rem;
    }

    .attendance-options {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-submit-rsvp {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

@media (max-width: 768px) {
    /* Mute Button Mobile */
    .mute-button {
        position: fixed !important;
        bottom: 15px !important;
        right: 15px !important;
        width: 32px;
        height: 32px;
        z-index: 9999 !important;
    }

    .mute-button.muted .mute-icon::after,
    .mute-button:not(.muted) .mute-icon::after {
        font-size: 0.7rem;
    }

    /* Hero Section - Mobile Layout */
    .hero-section {
        min-height: 100vh;
        position: relative;
    }

    .hero-image {
        position: absolute;
        height: 100vh;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .hero-image img {
        height: 100vh !important;
        width: 100%;
        object-fit: cover;
    }

    .hero-overlay {
        position: absolute;
        background: rgba(0, 0, 0, 0.15);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 3rem 1.5rem 2rem 1.5rem;
        z-index: 2;
    }

    .hero-content-top {
        padding-top: 80px;
        position: relative;
        width: 100%;
        text-align: center;
        margin-bottom: auto;
    }

    .couple-names-image {
        max-width: 400px;
        width: 100%;
    }

    .hero-content-bottom {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
        width: 100%;
        padding: 0 0.5rem;
        margin: 0;
        pointer-events: auto;
        margin-top: auto;
        margin-bottom: 3rem;

    }

    .wedding-date,
    .wedding-location {
        position: static;
        font-size: 0.7rem;
        letter-spacing: 1px;
        text-align: left;
        color: white;
        margin: 0;
    }

    .wedding-date {
        text-align: left;
    }

    .wedding-location {
        text-align: right;
    }

    .hero-rsvp-button {
        position: relative;
        transform: none;
        margin: 0;
        text-align: center;
    }

    .btn-rsvp {
        font-size: 0.7rem;
        padding: 0;
        letter-spacing: 1.5px;
        border: none;
        text-decoration: underline;
        display: inline-block;
        background: transparent;
    }

    /* Section Titles */
    .section-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    /* Location Section */
    .location-section {
        padding: 4rem 0;
    }

    .location-section h2 {
        margin-bottom: 2rem;
    }

    .location-image-wrapper {
        padding: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .location-info {
        text-align: center;
        margin-top: 2rem;
    }

    .venue-name {
        font-size: 1rem;
    }

    .venue-address {
        font-size: 0.75rem;
    }

    /* Gallery Section */
    .gallery-section {
        display: none;
    }

    /* Itinerary Section */
    .itinerary-section {
        padding: 4rem 0;
    }

    .itinerary-section h2 {
        margin-bottom: 3rem;
        font-size: 2.5rem;
    }

    .itinerary-section .row {
        display: flex;
        justify-content: space-between;
    }

    .itinerary-section .col-md-4 {
        flex: 1;
        max-width: 33.33%;
    }

    .itinerary-item {
        padding: 1rem 0.5rem;
    }

    .itinerary-icon {
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .itinerary-icon img {
        max-width: 80px;
    }

    .itinerary-title {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .itinerary-time {
        font-size: 0.85rem;
    }

    .chica {
        max-width: 120px !important;
        width: 120px;
    }

    /* Photos Section 2 */
    .photos-section-2 {
        padding: 0 !important;
        margin: 0 !important;
    }

    .photos-section-2 .photo1 {
        display: none;
    }

    .photos-section-2 .photo2 {
        width: 100% !important;
        float: none;
        padding: 0 !important;
        margin: 0 !important;
    }

    .photos-section-2 .photo2 .photo-wrapper {
        padding: 0 !important;
        margin: 0 !important;
    }

    .photos-section-2 .photo-wrapper {
        padding: 0 !important;
        margin: 0 !important;
    }

    .photos-section-2 .photo-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        padding: 0 !important;
        margin: 0 !important;
    }

    .photos-section-2 .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .photos-section-2 .row {
        margin: 0 !important;
        padding: 0 !important;
    }

    .photos-section-2 .g-4 {
        gap: 0 !important;
    }

    /* Familia and Horizonte Images - Show on Mobile */
    .familia-section,
    .horizonte-section {
        display: block;
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    .familia-section .container-fluid,
    .horizonte-section .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
    }

    .familia-section img,
    .horizonte-section img {
        width: 100%;
        height: auto;
        display: block;
        padding: 0;
        margin: 0;
    }

    /* Info Section */
    .info-section {
        padding: 3rem 0;
    }

    .info-section .info-left {
        width: 55%;
        float: left;
    }

    .info-section .info-right {
        width: 45%;
        float: left;
        padding-top: 0;
        padding-left: 0.5rem;
    }

    .info-section h2 {
        font-size: 0.9rem;
        text-align: left;
        margin-bottom: 0.8rem;
    }

    .dresscode {
        font-size: 0.6rem;
        margin-top: 0.4rem;
    }

    .info-text {
        font-size: 0.5rem;
        line-height: 1.3;
    }

    .info-subtitle {
        font-size: 0.55rem;
        line-height: 1.3;
    }

    .info-note {
        font-size: 0.5rem;
    }

    .color-palette {
        justify-content: flex-start;
        gap: 3px;
        flex-wrap: wrap;
    }

    .color-box {
        width: 22px;
        height: 22px;
    }

    .couple-illustration {
        text-align: center;
        padding: 0;
    }

    .info-left img {
        width: 100%;
        max-width: 100%;
    }

    /* Gift Section */
    .gift-section {
        padding: 3rem 0;
    }

    .gift-section .container {
        max-width: 90% !important;
    }

    .gift-text {
        font-size: 0.85rem;
    }

    .gift-title {
        font-size: 1.2rem;
        margin-left: 0;
        text-align: center;
    }

    .bank-info {
        margin-left: 0;
        text-align: center;
        font-size: 1rem;
    }

    /* RSVP Section Mobile */
    .rsvp-section {
        padding: 3rem 0;
    }

    .rsvp-form {
        padding: 2rem 1.5rem;
    }

    .attendance-options {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-submit-rsvp {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    /* Hero Section Small Mobile */
    .hero-overlay {
        min-height: 100vh;
        padding: 2rem 1rem 1.5rem 1rem;
    }

    .couple-names-image {
        width: 100%;
    }

    .wedding-date,
    .wedding-location {
        font-size: 0.65rem;
        letter-spacing: 0.8px;
    }

    .btn-rsvp {
        font-size: 0.65rem;
        padding: 0;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    /* Location Section */
    .location-section {
        padding: 3rem 0;
    }

    .location-section h2 {
        font-size: 2rem;
    }

    .venue-name {
        font-size: 0.9rem;
    }

    .venue-address {
        font-size: 0.65rem;
    }

    /* Itinerary Section */
    .itinerary-section {
        padding: 3rem 0;
    }

    .itinerary-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .itinerary-item {
        padding: 1rem 0.25rem;
        padding-bottom: 0;
    }

    .itinerary-title {
        font-size: 0.75rem;
    }

    .itinerary-time {
        font-size: 0.6rem;
        margin-bottom: 0;
    }

    .mb-4{
        margin-bottom: 0!important;
    }

    .itinerary-icon {
        height: 100px;
        margin-bottom: 1rem;
    }

    .itinerary-icon img {
        max-width: 70px;
    }

    .chica {
        max-width: 100px !important;
        width: 100px;
    }

    /* Info Section */
    .info-section h2 {
        font-size: 1.2rem;
    }

    .dresscode {
        font-size: 0.5rem;
    }

    .info-text {
        font-size: 0.42rem;
        line-height: 1.2;
    }

    .info-subtitle {
        font-size: 0.48rem;
    }

    .info-note {
        font-size: 0.42rem;
    }

    .color-box {
        width: 18px;
        height: 18px;
    }

    /* Gift Section */
    .gift-text {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .gift-title {
        font-size: 1rem;
    }

    .bank-info {
        font-size: 0.9rem;
    }

    /* RSVP Section */
    .rsvp-form {
        padding: 1.5rem 1rem;
    }

    .btn-submit-rsvp {
        font-size: 0.85rem;
    }
}

/* ==========================================
   SMOOTH SCROLLING
   ========================================== */

html {
    scroll-behavior: smooth;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
