/* --------------------------------------------------
   GLOBAL
-------------------------------------------------- */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #3c2459;
    color: #f2f2f2;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------
   INTRO
-------------------------------------------------- */
.intro-wrapper {
    padding: 30px 20px;
    text-align: left;
}

.intro-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #ff4081;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
}

/* --------------------------------------------------
   SECTION WRAPPERS
-------------------------------------------------- */
.section-wrapper {
    margin: 30px 0;
    padding: 20px;
    border: 3px solid #ff4081;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.section-wrapper:hover {
    border-color: #ffdd00;
    box-shadow: 0 0 25px rgba(255, 221, 0, 0.45);
    transform: translateY(-3px);
}

/* --------------------------------------------------
   MAJOR HEADERS
-------------------------------------------------- */
.major-header {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: #ff4081;
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chevron-major {
    width: 24px;
    height: 24px;
    transition: transform 0.25s ease;
}

.chevron-open {
    transform: rotate(90deg);
}

.major-content {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 3px solid transparent;
    transition: border-color 0.35s ease;
}

.major-content.open {
    display: block;
    border-color: #ff4081;
}

/* --------------------------------------------------
   SUB HEADERS
-------------------------------------------------- */
.sub-header {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: #ffdd00;
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chevron-sub {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.sub-content {
    display: none;
    padding: 10px 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.12);
}

.sub-content.open {
    display: block;
}

/* --------------------------------------------------
   CARDS
-------------------------------------------------- */
.card {
    background: #4a2e6e;
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    border: 1px solid #6a4a9b;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #ffddff;
}

/* --------------------------------------------------
   PROGRESS BAR
-------------------------------------------------- */
.progress-bar {
    width: 100%;
    height: 12px;
    background: #2a1740;
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0 15px;
}

.progress-fill {
    height: 100%;
    background: #ff4081;
    width: 0%;
    transition: width 0.4s ease;
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */
.contribute-btn,
.toggle-contrib-btn,
.reserve-btn-small,
.unreserve-btn {
    background: #ff4081;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.reserve-btn-small {
    background: #007bff;
}

.unreserve-btn {
    background: #dc3545;
}

.contrib-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

/* --------------------------------------------------
   CONTRIBUTIONS LIST
-------------------------------------------------- */
.contrib-list {
    margin-top: 12px;
    padding: 12px;
    background: #3c2459;
    border-radius: 6px;
    border: 1px solid #6a4a9b;
}

.contrib-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0;
    font-size: 14px;
}

.remove-contrib-btn {
    background: transparent;
    border: none;
    color: #ff4081;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.remove-contrib-btn .trash-icon {
    font-size: 14px;
}

/* --------------------------------------------------
   PRICE
-------------------------------------------------- */
.price {
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0;
    color: #ffddff;
}

/* --------------------------------------------------
   TOAST
-------------------------------------------------- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #4a2e6e;
    border-radius: 10px;
    padding: 20px 25px 25px 25px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    opacity: 0;
    transition: all 0.45s ease;
    z-index: 999999;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffdd00;
}

.toast-body {
    font-size: 14px;
    line-height: 1.45;
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------
   MOBILE — DOUBLE TEXT SIZES
-------------------------------------------------- */
@media (max-width: 600px) {

    .intro-title { font-size: 72px; }
    .intro-text { font-size: 32px; }

    .major-header { font-size: 56px; }
    .sub-header { font-size: 40px; }

    .card { font-size: 32px; }
    .card h3 { font-size: 48px; }

    .price { font-size: 36px; }

    .contrib-entry { font-size: 28px; }

    .contribute-btn,
    .toggle-contrib-btn,
    .reserve-btn-small,
    .unreserve-btn {
        font-size: 32px;
        padding: 20px;
        width: 100%;
        margin-top: 10px;
    }

    .toast-title { font-size: 44px; }
    .toast-body { font-size: 28px; }
}

/* --------------------------------------------------
   FINAL OVERRIDE — MAKE INTRO TEXT 16PT EVERYWHERE
-------------------------------------------------- */
.intro-title,
.intro-text {
    font-size: 16pt !important;
    line-height: 1.4 !important;
}

/* --------------------------------------------------
   MOBILE — REDUCE EXPANDABLE SECTION FONT SIZES
-------------------------------------------------- */
@media (max-width: 600px) {

    .major-header {
        font-size: 24px;
    }

    .sub-header {
        font-size: 18px;
    }

    .card h3 {
        font-size: 20px;
    }
}

/* --------------------------------------------------
   MOBILE — REDUCE ITEM & GIFT CARD FONT SIZES
-------------------------------------------------- */
@media (max-width: 600px) {

    /* Card container text */
    .card {
        font-size: 16px;
    }

    /* Card titles */
    .card h3 {
        font-size: 20px;
    }

    /* Price text */
    .price {
        font-size: 18px;
    }

    /* Contribution entries inside cards */
    .contrib-entry {
        font-size: 14px;
    }
}

/* Honeymoon item buttons — clean layout */
.honeymoon-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.honeymoon-buttons button {
    flex: 1 1 auto;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* Specific styles for each button */
.honeymoon-buttons .contribute-btn {
    background: #ff4081;
    color: white;
}

.honeymoon-buttons .toggle-contrib-btn {
    background: #6a4a9b;
    color: white;
}
/* Honeymoon card buttons — clean layout */
.contrib-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.contrib-buttons button {
    flex: 1 1 auto;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}
/* --------------------------------------------------
   MOBILE — REDUCE RESERVE GIFT BUTTON SIZE
-------------------------------------------------- */
@media (max-width: 600px) {
    .reserve-btn-small {
        font-size: 18px !important;
        padding: 10px 14px !important;
        width: auto !important;
    }
}