/* Gen 3 page-specific styles: Trip Planning */
/* Canonical source for Trip Planning page CSS.
     Note: this file intentionally contains all Trip Planning-only rules to avoid
     duplication/conflicts with the legacy trip-planning-extra.css. */

.tp-contact {
    margin: 40px auto 0 auto;
    text-align: center;
    max-width: 600px;
}
.tp-contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--tp-text);
}
.tp-contact-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.tp-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 22px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, box-shadow .18s, transform .18s;
    box-shadow: 0 2px 8px rgba(39,174,96,0.08);
    flex-wrap: wrap;
    word-break: break-word;
}
.tp-btn-green {
    background: #27ae60;
    color: #fff;
}
.tp-btn-green:hover,
.tp-btn-green:focus {
    background: #219150;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(39,174,96,0.14);
}
.tp-btn svg {
    flex-shrink: 0;
    min-width: 20px;
    min-height: 20px;
}
.tp-contact-phone,
.tp-contact-email {
    font-weight: 500;
    margin-left: 4px;
    word-break: break-all;
}
@media (max-width: 575.98px) {
    .tp-contact-btns { flex-direction: column; gap: 12px; }
    .tp-btn { width: 100%; font-size: 0.98rem; padding: 12px 10px; }
    .tp-btn svg { margin-right: 6px !important; }
    .tp-contact-phone, .tp-contact-email { display: block; margin-left: 0; margin-top: 2px; }
}
.tp-video-large {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 991.98px) {
    .tp-video-large { max-width: 100%; }
}
/* Trip Planning extra sections (scoped to page to avoid CSS conflicts) */
main.tripplanningpage {
    --tp-bg: #f8f9fa;
    --tp-primary: #27ae60; /* brand green */
    --tp-text: #2f2f2f;
    --tp-muted: #6c757d;
    --tp-card-bg: #ffffff;
    --tp-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    --tp-shadow-hover: 0 14px 32px rgba(16, 24, 40, 0.10);
    --tp-radius: 0;
}

/* Trip Planning (merged for single-file maintenance) */
main.tripplanningpage .tripplanning-textarea {
    height: 120px;
}

main.tripplanningpage .tripplanning-submit {
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

/* Trip Planning hero copy hooks */
.tripplanningpage .hero-slider .hero-subtitle {
    color: #ffffff;
}

/* Make hero text more proportional on this page */
main.tripplanningpage .hero-title {
    font-size: 2.35rem;
    line-height: 1.12;
}

@media (min-width: 768px) {
    main.tripplanningpage .hero-title {
        font-size: 3.1rem;
    }
}

@media (min-width: 1024px) {
    main.tripplanningpage .hero-title {
        font-size: 3.6rem;
    }
}

main.tripplanningpage .hero-slider .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    main.tripplanningpage .hero-slider .hero-subtitle {
        font-size: 1.15rem;
    }
}

@media (min-width: 1024px) {
    main.tripplanningpage .hero-slider .hero-subtitle {
        font-size: 1.25rem;
    }
}

.tripplanningpage .tp-hero-kicker {
    margin-top: 10px;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.tripplanningpage .tp-hero-subline {
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: 0.06em;
}

main.tripplanningpage .tp-heading--xl {
    font-size: 2rem;
}

main.tripplanningpage .tp-lead--md {
    font-size: 1rem;
}

main.tripplanningpage .video-embed.tp-video-large {
    margin-top: 32px;
}

/* Hide children fields by default; JS toggles class on <main> */
main.tripplanningpage .tch {
    display: none;
}

main.tripplanningpage.tp-children-open .tch {
    display: block;
}

.tp-extra {
    background: var(--tp-bg);
    border-radius: 0;
    padding: 48px 28px;
    margin-top: 32px;
}

.tp-extra.tp-why {
    background: transparent;
    padding-top: 8px;
}

/* Why choose us (hero-style) */
.tp-extra.tp-why {
    padding: 0;
}

.tp-why-hero {
    position: relative;
    background-image: var(--tp-why-bg);
    background-size: cover;
    background-position: center calc(50% + var(--tp-why-parallax-y, 0px));
    background-repeat: no-repeat;
    margin-left: -28px;
    margin-right: -28px;
    overflow: hidden;
    will-change: background-position;
}

.tp-why-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.60), rgba(0,0,0,0.62));
}

.tp-why-hero-inner {
    position: relative;
    z-index: 1;
    padding: 64px 28px 56px;
    text-align: center;
    color: #ffffff;
}

.tp-why-header {
    margin: 0 0 34px;
}

.tp-why-kicker {
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
}

.tp-why-hero .tp-heading,
.tp-why-heading {
    color: #ffffff;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.75), 0 0 18px rgba(0,0,0,0.45);
}

.tp-why-rule {
    display: block;
    width: 78px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--tp-primary);
}

.tp-why-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tp-why-hero .tp-contact {
    margin: 44px auto 0;
    max-width: 640px;
}

.tp-why-hero .tp-contact-title {
    color: #ffffff;
    text-shadow: 2px 3px 6px rgba(0,0,0,0.55);
}

.tp-why-hero .tp-contact-btns {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.tp-why-hero .tp-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tp-why-hero .tp-hero-cta .tp-btn-icon {
    display: inline-flex;
    align-items: center;
}

.tp-why-hero .tp-hero-cta .tp-btn-icon svg {
    display: block;
    width: 28px;
    height: 28px;
    filter: none;
    shape-rendering: geometricPrecision;
}

@media (max-width: 575.98px) {
    .tp-why-hero .tp-contact-btns { flex-direction: column; }
    .tp-why-hero .tp-hero-cta { width: 100%; }
}

.tp-why-col-title {
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0 0 14px;
    color: #ffffff;
    text-shadow: 2px 3px 6px rgba(0,0,0,0.55);
}

.tp-why-col-text {
    margin: 0;
    line-height: 1.85;
    color: rgba(255,255,255,0.90);
    text-shadow: 2px 3px 6px rgba(0,0,0,0.45);
}

@media (max-width: 991.98px) {
    .tp-why-cols { grid-template-columns: 1fr; }
    .tp-why-hero-inner { padding: 52px 22px 44px; }
}

@media (max-width: 575.98px) {
    .tp-why-hero { margin-left: -18px; margin-right: -18px; }
    .tp-why-hero-inner { padding-left: 18px; padding-right: 18px; }
}

/* Typography */
.tp-heading {
    font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
    line-height: 1.25;
    color: var(--tp-text);
    margin: 0 0 14px;
}
.tp-heading-desc {
    border-radius: 0;
    color: var(--tp-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Bullets */
.tp-bullets {
    color: #27ae60; /* brand green */
    list-style: none;
    padding: 0;
    margin: 0;
}
.tp-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: var(--tp-text);
}
.tp-icon {
    color: var(--tp-primary);
    display: inline-flex;
}

/* Video */
.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    background: #000;
}
.video-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Section 2 */
.tp-header-center {
    text-align: center;
    margin: 32px 0 18px;
}
.tp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.tp-card {
    background: var(--tp-card-bg);
    border-radius: var(--tp-radius);
    padding: 24px 22px;
    box-shadow: var(--tp-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform, box-shadow;
}
.tp-card:hover,
.tp-card.is-hover {
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-hover);
}
.tp-card-icon { color: var(--tp-primary); margin-bottom: 10px; }
.tp-card-title { font-weight: 700; font-size: 1.05rem; margin: 6px 0 8px; color: var(--tp-text); }
.tp-card-text { color: var(--tp-muted); margin: 0; }

/* Responsive */
@media (max-width: 991.98px) {
    .tp-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .tp-extra { padding: 28px 18px; }
    .tp-cards { grid-template-columns: 1fr; }
}

/* Trip Planning form — match Contact Us form styling (scoped) */
main.tripplanningpage .contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

main.tripplanningpage .form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

main.tripplanningpage .form-input,
main.tripplanningpage .form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d4d4d4;
    border-radius: 0 !important;
    font-family: 'Lora', serif;
    font-size: 15px;
    color: #2c2c2c;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
}

/* Legacy override: style.css forces pill radius on .client-question-form */
main.tripplanningpage .client-question-form form input:not([type="checkbox"]),
main.tripplanningpage .client-question-form form select,
main.tripplanningpage .client-question-form form textarea {
    border-radius: 0 !important;
}

/* Luxury / Tailwind-like polish (scoped) */
main.tripplanningpage .client-question-form .control-label {
    text-align: left;
    padding-top: 0;
    margin: 14px 0 8px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: 0.01em;
}

main.tripplanningpage .client-question-form form label {
    color: #2c2c2c;
}

main.tripplanningpage .client-question-form .checkbox {
    margin-top: 10px;
}

main.tripplanningpage .client-question-form .checkbox label {
    font-size: 14px;
    color: #2c2c2c;
}

main.tripplanningpage .tp-call-time-group {
    margin-top: 6px;
}

main.tripplanningpage .tp-mini-label {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--tp-muted);
}

main.tripplanningpage .client-question-form form textarea {
    width: 100% !important;
    min-height: 140px;
    resize: vertical;
}

main.tripplanningpage .client-question-form form input:not([type="checkbox"]):focus,
main.tripplanningpage .client-question-form form select:focus,
main.tripplanningpage .client-question-form form textarea:focus {
    outline: none;
    border-color: #00a652;
    box-shadow: 0 0 0 3px rgba(0, 166, 82, 0.18);
}

main.tripplanningpage .client-question-form form select {
    background-position: right 16px center;
    padding-right: 40px;
}

main.tripplanningpage .client-question-form form button,
main.tripplanningpage .client-question-form .submit-btn {
    border-radius: 0 !important;
}

main.tripplanningpage .dashed_border {
    border-bottom-color: #e5e7eb;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

main.tripplanningpage .contact-form .form-control {
    border-radius: 0 !important;
    box-shadow: none;
}

main.tripplanningpage .form-input::placeholder,
main.tripplanningpage .form-textarea::placeholder {
    color: #999;
}

main.tripplanningpage select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    /* Bootstrap sets `.form-control` height via calc(...). On Chrome, increasing
       vertical padding can clip select text. Override height for this page only. */
    height: auto !important;
    min-height: 48px;
    padding-top: 16px;
    padding-bottom: 16px;
    line-height: 1.2;
    cursor: pointer;
}

/* Ensure placeholder option text is visible (fixes blank-looking selects) */
main.tripplanningpage select.form-input {
    color: #2c2c2c !important;
    -webkit-text-fill-color: #2c2c2c !important;
    opacity: 1;
    text-shadow: 0 0 0 #2c2c2c;
}

main.tripplanningpage select.form-input:required:invalid {
    color: #6c757d !important;
    -webkit-text-fill-color: #6c757d !important;
    text-shadow: 0 0 0 #6c757d;
}

main.tripplanningpage select.form-input option {
    color: #1a1a1a;
}

main.tripplanningpage select.form-input option[value=""] {
    color: #6c757d;
}

main.tripplanningpage .recaptcha-wrapper {
    margin: 8px 0;
}

main.tripplanningpage .submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

main.tripplanningpage .submit-btn:hover {
    background: #00a652;
    transform: translateY(-2px);
}

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

main.tripplanningpage .alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 0;
    border-left: 4px solid;
}

main.tripplanningpage .alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: #dc2626;
}

main.tripplanningpage .alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left-color: #00a652;
}

/* Datepicker (bootstrap-datepicker) — visual redesign only (page CSS only) */
.datepicker,
.datepicker.dropdown-menu {
    font-family: 'Lora', serif;
    border-radius: 0;
}

.datepicker.dropdown-menu {
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    padding: 10px;
    z-index: 1060;
}

.datepicker-dropdown:before,
.datepicker-dropdown:after {
    border-bottom-color: #e5e7eb;
}

.datepicker table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px;
}

.datepicker table tr td,
.datepicker table tr th {
    border-radius: 0;
}

.datepicker thead tr:first-child th {
    color: #1a1a1a;
    font-weight: 700;
}

.datepicker .datepicker-switch {
    font-size: 15px;
    letter-spacing: 0.02em;
}

.datepicker th.dow {
    font-weight: 600;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
}

.datepicker td,
.datepicker th {
    width: 34px;
    height: 34px;
    line-height: 34px;
}

.datepicker td.day {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #1a1a1a;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.datepicker td.day:hover {
    background: #f8f9fa;
    border-color: #d4d4d4;
}

.datepicker td.old,
.datepicker td.new {
    color: #9ca3af;
}

.datepicker td.disabled,
.datepicker td.disabled:hover {
    color: #cbd5e1;
    background: #ffffff;
    border-color: #f1f5f9;
    cursor: not-allowed;
}

.datepicker td.today,
.datepicker td.today:hover {
    background: #f0fdf4;
    border-color: rgba(0, 166, 82, 0.35);
    color: #166534;
}

.datepicker td.active,
.datepicker td.active:hover,
.datepicker td.active.active,
.datepicker td.active:hover.active {
    background: #00a652;
    border-color: #00a652;
    color: #ffffff;
    text-shadow: none;
}

.datepicker td.day.focused {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 166, 82, 0.18);
}

.datepicker .prev,
.datepicker .next {
    color: #1a1a1a;
}

.datepicker .prev:hover,
.datepicker .next:hover,
.datepicker .datepicker-switch:hover {
    background: #f8f9fa;
}
