/*/////////////////////////////////////////////////////////////////////
 // 
 // Custom theme code styles
 // Written by Themelize.me (http://themelize.me)
 // 
 // This is an empty starter template for overriding styles
 // set by Bootstrap & the theme
 // 
 // ----------------------------------------------------
 // 
 // Remove unused code for better performances
 // 
 // ----------------------------------------------------
 // 
 // $see - Usefuls tools online for editing
 // 1. http://charliepark.org/bootstrap_buttons/ - Button style generator
 // 2. http://www.colorzilla.com/gradient-editor/ - CSS3 gradient maker
 // 
 // $note
 // To ensure custom styles are picked up
 // wrap definitions in body tag
 // ie.
 // body .navbar-inner {
 //   background: #ff0000;
 // }
 // 
 /////////////////////////////////////////////////////////////////////*/
/*******************************************************
 * Custom theme code styles
 * Written by Themelize.me (http://themelize.me)
 *
 * Includes the base variables & mixins needed for all
 * scss files
 *******************************************************/
/*
 * --------------------------------------------------
 * 1. General Elements
 *--------------------------------------------------
 */
#header {
    /* 1. Header wrapper */
}

#highlighted {
    /* 2. Highlighted (below header) wrapper */
}

#content {
    /* 3. Content wrapper */
}

#content-below {
    /* 4. Content Below wrapper */
}

#footer {
    /* 5. Footer wrapper */
}

/*
 * --------------------------------------------------
 * 2. Colours
 *-------------------------------------------------- 
 */
/*
 * --------------------------------------------------
 * 3. Responsiveness/media queries
 *--------------------------------------------------
 */
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
@media (min-width: 576px) {
    /* Small devices (576px and up). Mixin: media-breakpoint-up(sm) */
}

@media (min-width: 768px) {
    /* Medium devices (768px and up). Mixin: media-breakpoint-up(md) */
}

@media (min-width: 992px) {
    /* Large devices (992px and up). Mixin: media-breakpoint-up(lg) */
}

@media (min-width: 1200px) {
    /* X-Large devices (1200px and up). Mixin: media-breakpoint-up(xl) */
}

/* max-width */
@media (max-width: 575.98px) {
    /* Small devices (575px and down). Mixin: media-breakpoint-down(xs) */
}

@media (max-width: 767.98px) {
    /* Medium devices (767px and down). Mixin: media-breakpoint-down(sm) */

    /* Fix banner image on mobile - ensure both people are visible */
    .bg-img {
        background-size: cover !important;
        -webkit-background-size: cover !important;
        background-position: 25% center !important;
        background-attachment: scroll !important;
        background-color: transparent !important;
    }
}

@media (max-width: 991.98px) {
    /* Large devices (992px and down). Mixin: media-breakpoint-down(md) */
}

@media (max-width: 1199.98px) {
    /* X-Large devices (1200px and down). Mixin: media-breakpoint-down(lg) */
}

/* target one breakpoint */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Small devices (between 576px and 767px). Mixin: media-breakpoint-only(sm) */
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* Medium devices (tablets, between 768px and 991px). Mixin: media-breakpoint-only(md) */
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Large devices (desktops, between 992px and 1199px). Mixin: media-breakpoint-only(lg) */
}

@media (min-width: 1200px) {
    /* Extra large devices (large desktops, 1200px and up). Mixin: media-breakpoint-only(xl) */
}

/* span multiple screenwidths */
@media (min-width: 768px) {
    /* From medium to large (between 768px and 1199px). Mixin: media-breakpoint-between(md, xl)  */
}

/*
 * --------------------------------------------------
 * 4. Misc
 * Other stuff
 *--------------------------------------------------
 */

.navbar-main,
.navbar-offcanvas {
    background-color: white !important;
    padding: 0;
}


.navbar-offcanvas .navbar-main .navbar-nav,
.navbar-offcanvas.navbar-main .navbar-nav {
    margin-bottom: 0;
    margin-top: 0;
    display: block;
    background-color: #292b2c !important;
}

.txt-h1-josys {
    font-size: 3.125rem;
}

.txt-h5-josys {
    font-size: 2.187rem;
}

.txt-h4-josys {
    font-size: 1.562rem;
}

.txt-h2-josys {
    font-size: 6.25rem;
}

.txt-h2-description-josys {
    font-size: 2.5rem;
}

.txt-h6-date-josys {
    font-size: 1.25rem;
}

/* ========================================
   MODERN RSVP FORM DESIGN
   ======================================== */

/* Card Container - Wedding Theme */
.rsvp-card {
    background: linear-gradient(135deg, #fff 0%, #fef5f9 100%);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(136, 106, 181, 0.25), 0 0 0 1px rgba(136, 106, 181, 0.1);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
}

.rsvp-card::before {
    content: '♥';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #886ab5;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(136, 106, 181, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Guest Name Display - Elegant Wedding Style */
.guest-name-display {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(135deg, #886ab5 0%, #d4a5c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0e6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Rufina', serif;
}

.guest-name-display i {
    font-size: 2.2rem;
    color: #886ab5;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.section-label i {
    font-size: 1.3rem;
    color: #886ab5;
}

/* Attendance Buttons */
.attendance-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.btn-attendance {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 600;
    font-size: 1rem;
}

.btn-attendance i {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.btn-attendance:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-yes {
    color: #d4a5c7;
}

.btn-yes i {
    color: #d4a5c7;
}

.btn-yes:hover {
    border-color: #d4a5c7;
    background: linear-gradient(135deg, #fef5f9 0%, #fff 100%);
}

input[type="radio"]:checked+.btn-yes {
    border-color: #d4a5c7;
    background: linear-gradient(135deg, #d4a5c7 0%, #e8c4d8 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(212, 165, 199, 0.4);
}

input[type="radio"]:checked+.btn-yes i {
    color: white;
    transform: scale(1.2);
    animation: pulse 0.5s ease-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1.4);
    }
}

.btn-no {
    color: #b8a0c7;
}

.btn-no i {
    color: #b8a0c7;
}

.btn-no:hover {
    border-color: #b8a0c7;
    background: #faf8fc;
}

input[type="radio"]:checked+.btn-no {
    border-color: #b8a0c7;
    background: linear-gradient(135deg, #b8a0c7 0%, #c9b5d6 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(184, 160, 199, 0.4);
}

input[type="radio"]:checked+.btn-no i {
    color: white;
    transform: scale(1.2);
}

/* Guest Count Options */
.guest-count-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.guest-count-options input[type="radio"] {
    display: none;
}

.btn-guest-count {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    background: white;
    transition: all 0.3s ease;
}

.btn-guest-count:hover {
    border-color: #886ab5;
    box-shadow: 0 4px 12px rgba(136, 106, 181, 0.2);
}

input[type="radio"]:checked+.btn-guest-count::after {
    opacity: 1;
    color: white;
}

/* Reserved Places Message */
.reserved-places-message {
    background: linear-gradient(135deg, #fef5f9 0%, #fff 100%);
    border: 2px solid #f0e6f6;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    color: #5a4a6a;
    line-height: 1.6;
}

.reserved-places-message strong {
    color: #886ab5;
    font-size: 1.3rem;
    font-weight: 700;
}

.reserved-places-message .breakdown {
    color: #7a6a8a;
    font-size: 0.95rem;
    font-weight: 500;
}

input[type="radio"]:checked+.btn-guest-count {
    border-color: #886ab5;
    background: linear-gradient(135deg, #886ab5 0%, #a78bbd 100%);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(136, 106, 181, 0.4);
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-input:focus {
    outline: none;
    border-color: #886ab5;
    background: white;
    box-shadow: 0 4px 12px rgba(136, 106, 181, 0.15);
}

.form-input::placeholder {
    color: #999;
}

/* Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #886ab5 0%, #a78bbd 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(136, 106, 181, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(136, 106, 181, 0.4);
    color: white;
    text-decoration: none;
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit i {
    font-size: 1.3rem;
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .rsvp-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .guest-name-display {
        font-size: 1.3rem;
    }

    .attendance-buttons {
        grid-template-columns: 1fr;
    }

    .btn-attendance {
        padding: 1.25rem 1rem;
    }

    .btn-guest-count {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .btn-submit {
        padding: 1.1rem 2.5rem;
        font-size: 1.1rem;
        width: 100%;
    }
}