/* ==========================================================================
   Customised Trips Navigation Active State
   ========================================================================== */

.nav-links li a.active {
    color: #C9A961;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 12%;
    text-underline-offset: 24%;
    text-underline-position: from-font;
}

.nav-links li a.active svg {
    color: #C9A961;
}

/* ==========================================================================
   Customised Trips Hero Section
   ========================================================================== */

.custom-hero {
    position: relative;
    width: 100%;
    height: 541px;
    background-image: url('Assets/CustomisedTripsPage/CustomisedTripsPageHeroBgImg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}

.custom-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.50) 50%, rgba(0, 0, 0, 0.30) 100%);
    z-index: 1;
}

.custom-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Breadcrumb Styling */
.custom-breadcrumb {
    margin-bottom: 24px;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    line-height: 20px;
}

.custom-breadcrumb a {
    color: #FFF;
    font-weight: 300;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.custom-breadcrumb a:hover {
    opacity: 1;
}

.custom-breadcrumb .current {
    font-weight: 500;
}

/* Hero Title Styling */
.custom-hero-title {
    margin-bottom: 24px;
}

.custom-hero-title .light-text {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 300;
    line-height: 75px;
    letter-spacing: 0.264px;
}

.custom-hero-title .bold-text {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.264px;
}

/* Hero Description Styling */
.custom-hero-desc {
    width: 100%;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.90);
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 32.5px;
    letter-spacing: -0.449px;
}

/* ==========================================================================
   Responsive Design for Customised Trips Hero
   ========================================================================== */

/* Laptops & Tablets */
@media (max-width: 1024px) {
    .custom-hero {
        height: auto;
        min-height: 500px;
        align-items: flex-end;
        padding: 120px 20px 60px 20px;
    }

    .custom-hero-content {
        padding-top: 60px;
    }

    .custom-hero-title .light-text,
    .custom-hero-title .bold-text {
        font-size: 32px;
        line-height: 1.4;
    }

    .custom-hero-desc {
        font-size: 18px;
        line-height: 1.6;
        padding: 0 20px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .custom-hero {
        min-height: 500px;
        height: auto;
        align-items: flex-end;
        padding: 280px 16px 40px 16px;
        /* Huge top padding to clear the stacked mobile menu */
    }

    .custom-hero-content {
        padding-top: 40px;
    }

    .custom-hero-title {
        margin-bottom: 12px;
    }

    .custom-hero-title br {
        display: none;
        /* Let text wrap naturally on small screens */
    }

    .custom-hero-title .light-text,
    .custom-hero-title .bold-text {
        display: block;
        /* Stack them beautifully */
        font-size: 22px;
        line-height: 32px;
    }

    .custom-hero-title .bold-text {
        margin-top: 4px;
    }

    .custom-hero-desc {
        font-size: 14px;
        line-height: 24px;
        padding: 0 4px;
    }

    .custom-breadcrumb {
        margin-bottom: 16px;
        font-size: 12px;
    }
}

/* ==========================================================================
   Plan Your Trip Form Section
   ========================================================================== */

.custom-plan-section {
    padding: 80px 0;
    background-color: #FAF9F6;
}

.custom-plan-header {
    text-align: center;
    margin-bottom: 48px;
}

.custom-plan-title {
    color: #2A2A2A;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 0.369px;
    margin-bottom: 16px;
}

.custom-plan-subtitle {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.439px;
    padding: 0 20px;
}

.custom-form-card {
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    background: #F5F2ED;
    padding: 48px;
}

.custom-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.custom-form-group {
    display: flex;
    flex-direction: column;
}

.custom-form-group.full-width {
    margin-bottom: 24px;
}

.custom-form-group label {
    color: #2A2A2A;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -0.15px;
    margin-bottom: 8px;
}

.custom-form-group input,
.custom-form-group textarea {
    border-radius: 8px;
    border: 1px solid rgba(26, 77, 46, 0.16);
    background: #FFF;
    padding: 16px;
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.312px;
    width: 100%;
}

.custom-form-group input::placeholder,
.custom-form-group textarea::placeholder {
    color: #9CA3AF;
}

.custom-form-group textarea {
    height: 140px;
    resize: vertical;
}

/* Icons inside inputs */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input {
    padding-right: 48px;
}

.input-wrapper .input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Budget Pills */
.budget-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.budget-pill {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.312px;
    display: flex;
    padding: 13px 26px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    border: 1px solid rgba(26, 77, 46, 0.16);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.budget-pill.active,
.budget-pill:hover {
    background: #1A4D2E;
    color: #FFF;
    border-color: #1A4D2E;
}

/* Checkboxes */
.preferences-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.custom-checkbox .checkbox-box {
    position: relative;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid #C9A961;
    background: #F5F2ED;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.custom-checkbox input:checked~.checkmark {
    background: #C9A961;
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 0px;
    left: 3px;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

/* Submit Button */
.custom-form-submit {
    text-align: center;
    margin-top: 40px;
}

.custom-submit-btn {
    color: #FFF;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.312px;
    display: inline-flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #1A4D2E;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.custom-submit-btn:hover {
    background: #11331e;
}

/* Form Responsive */
@media (max-width: 1024px) {
    .custom-form-card {
        padding: 32px;
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .custom-plan-section {
        padding: 60px 16px;
    }

    .custom-plan-title {
        font-size: 28px;
        line-height: 36px;
    }

    .custom-form-card {
        padding: 24px;
        margin: 0;
    }

    .custom-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .custom-form-group input,
    .custom-form-group textarea {
        font-size: 15px; /* slightly smaller font for narrow screens */
        padding: 14px;
    }

    /* Make budget pills a nice grid on mobile */
    .budget-pills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .budget-pill {
        padding: 12px 10px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    /* Stack checkboxes nicely with more tap area */
    .preferences-checkboxes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
    }
    
    .custom-checkbox {
        padding: 4px 0; /* Easier to tap */
    }

    .custom-submit-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .budget-pills {
        grid-template-columns: 1fr;
    }

    .preferences-checkboxes {
        grid-template-columns: 1fr;
    }
}