/* ================================================
   JEEP / BUGGY SINGLE TEMPLATE STYLES
   Matches the visual system used by single-snowmobile.php
   ================================================ */

.jeep-tour-single {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* ================================================
   MAIN CONTAINER - TWO COLUMNS
   ================================================ */

.jeep-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ================================================
   LEFT COLUMN - IMAGES
   ================================================ */

.jeep-images {
    position: sticky;
    top: 100px;
}

.featured-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
}

.jeep-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.jeep-featured-image:hover {
    transform: scale(1.02);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #adb5bd;
}

.no-image-placeholder i {
    font-size: 64px;
    margin-bottom: 12px;
}

.no-image-placeholder p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.gallery-thumb:hover {
    border-color: #10304A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 48, 74, 0.2);
}

.gallery-thumb.active {
    border-color: #10304A;
    box-shadow: 0 4px 12px rgba(16, 48, 74, 0.3);
}

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

/* ================================================
   RIGHT COLUMN - INFO & CONTACT FORM
   ================================================ */

.jeep-info-booking {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header Section */
.jeep-header {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.jeep-title {
    margin: 0 0 20px;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Alk Sanet';
}

/* "From" price badge */
.jeep-from-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
}

.jeep-from-price span {
    color: #1565c0;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jeep-from-price strong {
    color: #0d47a1;
    font-size: 24px;
    font-weight: 700;
}

/* Specs Grid (reuses the same tokens as .spec-item elsewhere on the site) */
.jeep-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.spec-item i {
    font-size: 24px;
    color: #10304A;
    flex-shrink: 0;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    font-weight: 500;
    word-break: break-word;
}

.spec-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ================================================
   CONTACT FORM CARD
   ================================================ */

.jeep-contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
}

.contact-form-title {
    margin: 0 0 24px;
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-title i {
    color: #10304A;
}

/* ---------- Model Selector ---------- */

.form-group {
    margin-bottom: 20px;
}

.form-group > label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.form-group > label i {
    color: #10304A;
    font-size: 16px;
}

.model-selector {
    display: grid;
    /* auto-fit (not auto-fill) so 2 cards stretch to fill the row side by side */
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.model-card {
    border: 3px solid transparent;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.model-card:hover {
    background: #e9ecef;
    border-color: #10304A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 48, 74, 0.15);
}

.model-card.active {
    background: #ffffff;
    border-color: #10304A;
    box-shadow: 0 4px 12px rgba(16, 48, 74, 0.3);
}

.model-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

/* Shown when a vehicle has no gallery image */
.model-card-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #adb5bd;
}

.model-card-image-placeholder i {
    font-size: 28px;
}

.model-card-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.model-card-description {
    font-size: 11px;
    color: #6c757d;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.model-card-price {
    font-size: 13px;
    font-weight: 700;
    color: #10304A;
}

.model-card.active .model-card-price {
    color: #0d47a1;
}

/* ---------- Per-Card Quantity Stepper ---------- */

.model-card-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.model-qty-btn {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border: 1px solid #dee2e6;
    background: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #495057;
    transition: all 0.2s ease;
}

.model-qty-btn:hover {
    background: #10304A;
    border-color: #10304A;
    color: #ffffff;
}

.model-qty-btn:active {
    transform: scale(0.92);
}

.model-qty-value {
    min-width: 18px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
}

/* ---------- Vehicle Selection Summary ---------- */

.vehicle-selection-summary {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #dee2e6;
}

.vehicle-summary-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.vehicle-summary-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #eef2f6;
    border: 1px solid #d8e0e8;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #10304A;
}

.vehicle-summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.vehicle-summary-total strong {
    font-size: 18px;
    color: #10304A;
}

/* ---------- Radio Group (Preferred Language) ---------- */

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    transition: all 0.3s ease;
    margin: 0;
    flex: 1;
    justify-content: center;
}

.radio-option:hover {
    border-color: #10304A;
    background: #f8f9fa;
}

.radio-option input[type="radio"] {
    accent-color: #10304A;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.radio-option:has(input:checked) {
    border-color: #10304A;
    background: #f8f9fa;
    color: #10304A;
    font-weight: 600;
}

/* ---------- Optional Contact Toggles (WhatsApp / Telegram) ---------- */

.optional-contact-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.add-contact-btn {
    flex: 1;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px dashed #dee2e6;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    transition: all 0.3s ease;
    font-family: inherit;
}

.add-contact-btn:hover {
    border-color: #10304A;
    background: #eef2f6;
    color: #10304A;
    transform: translateY(-2px);
}

.add-contact-btn i {
    font-size: 16px;
}

/* Small "×" that lets the user collapse an optional field again */
.remove-contact-btn {
    margin-left: auto;
    border: none;
    background: transparent;
    color: #adb5bd;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 13px;
    line-height: 1;
    transition: color 0.2s ease;
}

.remove-contact-btn:hover {
    color: #dc3545;
}

/* ---------- Inputs ---------- */

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-sizing: border-box;
    font-family: inherit;
    color: #1a1a1a;
}

.form-control:focus {
    outline: none;
    border-color: #10304A;
    box-shadow: 0 0 0 4px rgba(16, 48, 74, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

select.form-control {
    cursor: pointer;
}

/* ---------- Submit ---------- */

.booking-actions {
    margin-bottom: 4px;
}

.btn-book-now {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #10304A 0%, #1a4060 100%);
    color: #ffffff;
}

.btn-book-now:hover:not(:disabled) {
    background: linear-gradient(135deg, #0a1f30 0%, #10304A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 48, 74, 0.3);
}

.btn-book-now:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Message ---------- */

.booking-message {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 10px;
}

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

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

.booking-message i {
    font-size: 16px;
}

/* ================================================
   FULL WIDTH DESCRIPTION SECTION
   ================================================ */

.jeep-description-full {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.jeep-description-full .description-content {
    padding: 40px;
}

.jeep-description-full h2 {
    margin: 0 0 24px;
    font-size: 1.75rem;
    color: #1a1a1a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.jeep-description-full h2 i {
    color: #10304A;
    font-size: 1.5rem;
}

.jeep-description-full .description-text {
    line-height: 1.8;
    color: #495057;
    font-size: 15px;
}

.jeep-description-full .description-text p {
    margin-bottom: 16px;
}

.jeep-description-full .description-text p:last-child {
    margin-bottom: 0;
}

.jeep-description-full .description-text ul,
.jeep-description-full .description-text ol {
    margin: 16px 0;
    padding-left: 24px;
}

.jeep-description-full .description-text li {
    margin-bottom: 8px;
}

.jeep-description-full .description-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

.jeep-description-full .description-text a {
    color: #10304A;
    text-decoration: underline;
}

.jeep-description-full .description-text a:hover {
    color: #1a4060;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
    .jeep-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .jeep-images {
        position: static;
    }

    .jeep-title {
        font-size: 2rem;
    }

    .jeep-description-full .description-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .jeep-tour-single {
        padding: 20px 15px;
    }

    .jeep-header,
    .jeep-contact-form {
        padding: 20px;
    }

    .jeep-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .jeep-specs {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .model-selector {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }

    .jeep-description-full .description-content {
        padding: 24px;
    }

    .jeep-description-full h2 {
        font-size: 1.5rem;
    }

    .add-contact-btn {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .jeep-title {
        font-size: 1.5rem;
    }

    .contact-form-title {
        font-size: 1.25rem;
    }

    .spec-item {
        padding: 12px;
    }

    .spec-item i {
        font-size: 20px;
    }

    .spec-value {
        font-size: 16px;
    }

    .jeep-from-price strong {
        font-size: 20px;
    }

    .model-selector {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 8px;
    }

    .model-qty-btn {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }

    .jeep-description-full .description-content {
        padding: 20px;
    }

    .jeep-description-full h2 {
        font-size: 1.25rem;
    }
}