/* =========================================================
 * FRONTEND CSS – Tour & Rent a Car Manager
 * Primary Accent: Golden
 * File: assets/css/front.css
 * ======================================================= */

/* Global utility */
body.trcm-no-scroll {
    overflow: hidden;
	    font-family: 'Outfit';
}

/* =========================================
 * CARD GRID (Cars & Tours)
 * ======================================= */

.trcm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.trcm-card {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 12px 30px rgba(15,23,42,0.13),
        0 0 0 1px rgba(148,163,184,0.18);
    display: flex;
    flex-direction: column;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    border: 1px solid rgba(148,163,184,0.3);
}

.trcm-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 45px rgba(15,23,42,0.16),
        0 0 0 1px rgba(212,160,23,0.4);
    border-color: rgba(212,160,23,0.7);
}

.trcm-card-image img,
.trcm-card-image-link img {
    width: 100%;
    display: block;
    height: 190px;
    object-fit: cover;
}

.trcm-card-body {
    padding: 14px 16px 16px;
}

.trcm-card-title {
    margin: 0 0 6px;
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
}

.trcm-card-title a {
    color: inherit;
    text-decoration: none;
}

.trcm-card-title a:hover {
    color: #b48c12;
}

/* Price text */
.trcm-car-price,
.trcm-tour-price {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #fff;
}

.trcm-car-price span,
.trcm-tour-price span,
.trcm-tour-price-main span {
    font-size: 1.8rem;
    color:#c98720;
}
.trcm-card-image img{
	height: 250px !important;
}
/* Car specs list */
.trcm-car-specs {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    font-size: 0.88rem;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}
.trcm-car-specs li{
    list-style: none !important;
        margin: 0px 0 0 0px !important;
}
.trcm-car-specs li::before {
    content: "• ";
    color: #d4a017;
}

.trcm-car-unavailable {
    color: #b91c1c;
    font-weight: 600;
}

/* Tour small meta in grid */
.trcm-tour-duration {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.trcm-tour-destination {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 4px;
}

.trcm-tour-type-badge {
    display: none;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #fff7e6;
    color: #92400e;
    border: 1px solid #facc15;
    margin-bottom: 8px;
	display:none;
}

/* =========================================
 * BUTTONS & FILTER FORMS
 * ======================================= */

.trcm-btn {
      display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 50px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    background: #ae7a28;
    font-weight: 500;
    color: white !important;
    text-decoration: none;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, color 0.18s ease;
}

.trcm-btn-primary {
  background: linear-gradient(241deg, #f5f5f5, #ffb900);
    color: #111827 !important;
    border: none ! IMPORTANT;
    border-radius: 29px !important;
}

.trcm-btn-primary:hover {
    background: linear-gradient(135deg, #f2c95c, #c1900e);
    box-shadow: 0 8px 18px rgba(193,144,14,0.45);
    transform: translateY(-1px);
}

.trcm-btn-secondary {
    background: #f9fafb;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.trcm-btn-secondary:hover {
    background: #f3f4f6;
}

/* Filter forms (cars & tours) */

.trcm-filter-form {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7e6, #f9fafb);
    box-shadow: 0 12px 24px rgba(148,163,184,0.18);
    border: 1px solid rgba(212,160,23,0.4);
    display: none;
}

.trcm-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: flex-end;
}

.trcm-filter-field {
    min-width: 140px;
    flex: 1 1 160px;
}

.trcm-filter-field--small {
    max-width: 140px;
    flex: 0 0 120px;
}

.trcm-filter-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
    color: #4b5563;
}

.trcm-filter-field input,
.trcm-filter-field select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 6px 10px;
    font-size: 0.88rem;
    background: #ffffff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.trcm-filter-field input:focus,
.trcm-filter-field select:focus {
    outline: none;
    border-color: #d4a017;
    box-shadow: 0 0 0 1px rgba(212,160,23,0.35);
}

.trcm-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

/* =========================================
 * CAR BOOKING MODAL
 * ======================================= */

.trcm-modal {
      position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

}

.trcm-modal.is-open {
   display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px; /* space for mobile scroll */
}
.trcm-modal-overlay {
 position: absolute; /* ✅ KEY FIX */
    inset: 0;
    background: radial-gradient(circle at top left, rgba(212, 160, 23, 0.55), transparent 55%),
                rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.trcm-modal-dialog {
    position: relative;
    z-index: 2; /* ✅ ABOVE overlay */
    max-width: 850px;
    width: 100%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 20px;
    background: #0b0f19;
    box-shadow: 0 24px 64px rgba(0,0,0,.7),
                0 0 0 1px rgba(248,250,252,.04);
}
.trcm-car-actions {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
a.trcm-btn.trcm-btn-secondary.trcm-car-view-details {
    background: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 30px;
    color: black !important;
}
.trcm-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.07);
    color: #f9fafb;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.18s ease, transform 0.12s ease;
}

.trcm-modal-close:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
}

.trcm-modal-content {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    min-height: 360px;
}

/* Left side – car details */
.trcm-modal-car-details {
    position: relative;
    padding: 0;
    background:
        radial-gradient(circle at top, rgba(249,250,251,0.08), transparent 65%),
        #020617;
    color: #f9fafb;
}

.trcm-modal-car-header {
    padding: 22px 24px 16px;
    align-items: center;
}

.trcm-modal-car-header img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.6);
}

.trcm-modal-car-header h2 {
    margin: 0 0 6px;
    font-size: 2.4rem;
    letter-spacing: 0.01em;
    color: #ffffff;
	text-align: center;
}
button.trcm-modal-close {
    border-radius: 100px;
    padding: 1px 8px;
    color: #ffffff;
    border: 1px solid #000000;
    font-size: 27px;
    background: #c91e1ea6;
}
.trcm-modal-car-header p {
    margin: 0 0 10px;
    color: #e5e7eb;
    font-size: 0.9rem;
	    text-align: center;
}
.trcm-modal-car-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
	    text-align: center;
    justify-content: center;
}

.trcm-modal-pill {
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(250,204,21,0.6);
    font-size: 0.78rem;
    color: #fefce8;
    background: rgba(15,23,42,0.7);
}
.trcm-modal-price {
    margin: 2px 0;
    font-weight: 500;
    font-size: 0.95rem;
}

.trcm-modal-price strong {
    font-size: 1.05rem;
    color: #facc15;
}

/* Specs */
.trcm-modal-car-specs {
    padding: 0 24px 16px;
}

.trcm-modal-car-specs h4 {
    margin: 4px 0 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(248,250,252,0.82);
}

.trcm-modal-car-specs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 4px 14px;
    font-size: 0.88rem;
    color: #e5e7eb;
}

.trcm-modal-car-specs li::before {
    content: "• ";
    margin-right: 4px;
    color: #facc15;
}

/* Gallery */
.trcm-modal-car-gallery {
    padding: 10px 24px 16px;
    border-top: 1px solid rgba(148,163,184,0.25);
}

.trcm-modal-car-gallery h4 {
    margin: 0 0 8px;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(248,250,252,0.8);
}

.trcm-modal-car-gallery .trcm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 6px;
}

.trcm-modal-car-gallery figure {
    margin: 0;
}

.trcm-modal-car-gallery img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.5);
}

/* Right side – booking form */
.trcm-modal-booking-form {
    padding: 20px 22px 18px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.trcm-modal-booking-form h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
}

.trcm-modal-booking-form form p {
    margin: 0 0 8px;
}

.trcm-modal-booking-form label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 3px;
}

.trcm-modal-booking-form input,
.trcm-modal-booking-form textarea {
    width: 100%;
    padding: 7px 9px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.trcm-modal-booking-form textarea {
    resize: vertical;
    min-height: 68px;
}

.trcm-modal-booking-form input:focus,
.trcm-modal-booking-form textarea:focus {
    outline: none;
    border-color: #d4a017;
    box-shadow: 0 0 0 1px rgba(212,160,23,0.35);
    background-color: #fffbeb;
}

/* Car booking response */
#trcm-car-booking-response {
    margin-top: 6px;
    font-size: 0.85rem;
}

/* Modal responsiveness */
@media (max-width: 960px) {
    .trcm-modal-dialog {
        max-width: 94%;
        margin: 24px auto;
    }
    .trcm-modal-content {
        grid-template-columns: 1fr;
    }
    .trcm-modal-car-header {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 10px;
    }
    .trcm-modal-car-header img {
        height: 180px;
    }
}

/* =========================================
 * SINGLE TOUR PAGE
 * ======================================= */

.trcm-single-tour {
    max-width: 1280px;
    margin: 30px auto 50px;
    padding: 0 16px;
    font-family: inherit;
}

/* HERO SECTION */

.trcm-tour-hero {
 text-align: center;
    padding: 26px 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(212,160,23,0.7), transparent 60%),
        radial-gradient(circle at bottom right, rgba(15,23,42,0.9), #020617);
    color: #f9fafb;
    box-shadow:
        0 30px 80px rgba(15,23,42,0.7),
        0 0 0 1px rgba(248,250,252,0.08);
    position: relative;
    overflow: hidden;
	    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.trcm-tour-hero::before {
    content: "";
    position: absolute;
    inset: -60px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.12), transparent 60%),
        radial-gradient(circle at top right, rgba(250,204,21,0.35), transparent 55%);
    opacity: 0.25;
    pointer-events: none;
}

.trcm-tour-hero-image,
.trcm-tour-hero-content {
    position: relative;
    z-index: 1;
}

.trcm-tour-hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(0,0,0,0.75);
}

/* Hero content */
.trcm-tour-title {
    margin: 0 0 6px;
    font-size: 1.9rem;
    letter-spacing: 0.01em;
}

.trcm-tour-duration {
    margin: 0 0 12px;
    font-size: 0.98rem;
    font-weight: 500;
    color: #fef3c7;
}

.trcm-tour-hero-meta,
.trcm-tour-hero-pricing,
.trcm-tour-availability {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.trcm-tour-hero-meta > div,
.trcm-tour-availability > div {
    margin-bottom: 4px;
    color: #e5e7eb;
}

.trcm-tour-hero-meta strong,
.trcm-tour-availability strong {
    color: #fef3c7;
    font-weight: 600;
}

/* Pricing panel */
.trcm-tour-hero-pricing {
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(15,23,42,0.85);
    border: 1px solid rgba(250,204,21,0.5);
}

.trcm-tour-price-main {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.trcm-tour-price-main span {
    font-size: 1.2rem;
    color: #facc15;
}

/* MAIN LAYOUT */
.trcm-tour-main {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
    gap: 34px;
    margin-top: 28px;
}

/* Content column */
.trcm-tour-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 14px 40px rgba(15,23,42,0.15);
}

.trcm-tour-section {
    margin-bottom: 28px;
}

.trcm-tour-section h2,
.trcm-tour-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.trcm-tour-overview h2 {
    font-size: 1.2rem;
}

/* Itinerary */
.trcm-tour-itinerary h2 {
    font-size: 1.2rem;
}

.trcm-itinerary-list {
    margin: 0;
    padding-left: 20px;
}

.trcm-itinerary-day {
    margin-bottom: 18px;
	    list-style: none;
}

.trcm-itinerary-day h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.trcm-itinerary-description {
    font-size: 0.95rem;
    color: #4b5563;
}

.trcm-itinerary-meta {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    font-size: 0.86rem;
    color: #6b7280;
}

/* Includes/Excludes */
.trcm-two-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px 24px;
}

.trcm-two-cols h2 {
    font-size: 1.05rem;
}

.trcm-two-cols ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.95rem;
    color: #4b5563;
}

/* FAQs / Accordion */
.trcm-tour-faqs h2 {
    font-size: 1.1rem;
}

.trcm-accordion {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    overflow: hidden;
}

.trcm-accordion-item + .trcm-accordion-item {
    border-top: 1px solid #e5e7eb;
}

.trcm-accordion-header {
    width: 100%;
    text-align: left;
    padding: 11px 14px;
    background: transparent;
    border: none;
    font-size: 0.96rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #111827;
}

.trcm-accordion-header::after {
    content: "+";
    font-weight: 700;
    color: #9ca3af;
    transition: transform 0.18s ease, color 0.18s ease;
}

.trcm-accordion-item.is-open .trcm-accordion-header::after {
    content: "−";
    transform: rotate(180deg);
    color: #d4a017;
}

.trcm-accordion-body {
    display: none;
    padding: 0 14px 12px;
    font-size: 0.92rem;
    color: #4b5563;
}

/* Sidebar */
.trcm-tour-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

@media (min-width: 992px) {
    .trcm-tour-sidebar {
        position: sticky;
        top: 90px;
        align-self: flex-start;
    }
}

.trcm-tour-sidebar .trcm-tour-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 16px 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.18);
}

.trcm-tour-gallery h3,
.trcm-tour-video h3,
.trcm-tour-contact h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

/* Gallery grid */
.trcm-tour-gallery .trcm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.trcm-tour-gallery figure {
    margin: 0;
}

.trcm-tour-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

/* Video */
.trcm-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15,23,42,0.3);
}

.trcm-video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact */
.trcm-tour-contact ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    font-size: 0.94rem;
    color: #4b5563;
}

.trcm-tour-contact li + li {
    margin-top: 4px;
}

.trcm-tour-contact a {
    color: #b48c12;
    text-decoration: none;
}

.trcm-tour-contact a:hover {
    text-decoration: underline;
}

/* Booking card in sidebar */
.trcm-tour-booking {
    background: linear-gradient(145deg, #f5d580, #d4a017);
    border-radius: 20px;
    padding: 18px 18px 16px;
    color: #111827;
    box-shadow: 0 20px 40px rgba(212,160,23,0.5);
}

.trcm-tour-booking h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.trcm-tour-booking form p {
    margin: 0 0 8px;
}

.trcm-tour-booking label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
    color: #4b5563;
}

.trcm-tour-booking input,
.trcm-tour-booking textarea {
    width: 100%;
    padding: 7px 9px;
    border-radius: 10px;
    border: none;
    font-size: 0.92rem;
    color: #111827;
    background: rgba(255,255,255,0.96);
    transition: box-shadow 0.18s ease, transform 0.12s ease, background 0.18s ease;
}

.trcm-tour-booking input:focus,
.trcm-tour-booking textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(15,23,42,0.35);
    transform: translateY(-0.5px);
    background: #ffffff;
}

.trcm-tour-booking .trcm-btn-primary {
      width: 100%;
    margin-top: 4px;
    background: #946f33;
    color: #fef3c7 !IMPORTANT;
    box-shadow: none;
    BORDER: NONE !IMPORTANT;
    BORDER-RADIUS: 20PX !IMPORTANT;
    FONT-SIZE: 19PX !IMPORTANT;
    FONT-WEIGHT: 500 !IMPORTANT;
    TEXT-TRANSFORM: CAPITALIZE;
}

.trcm-tour-booking .trcm-btn-primary:hover {
    background: #020617;
    box-shadow: 0 10px 26px rgba(15,23,42,0.6);
}

#trcm-tour-booking-response {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #78350f;
}

/* =========================================
 * RESPONSIVE ADJUSTMENTS
 * ======================================= */

@media (max-width: 960px) {
    .trcm-tour-hero {
        grid-template-columns: 1fr;
        padding: 20px 18px;
        border-radius: 18px;
    }

    .trcm-tour-hero-image img {
        height: 230px;
    }

    .trcm-tour-main {
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .trcm-tour-content {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .trcm-tour-sidebar {
        position: static;
    }

    .trcm-filter-form {
        padding: 10px 10px;
    }
}

@media (max-width: 600px) {
    .trcm-single-tour {
        margin-top: 20px;
    }

    .trcm-tour-title {
        font-size: 1.6rem;
    }

    .trcm-tour-hero {
        padding: 16px 14px;
    }

    .trcm-tour-booking {
        padding: 14px 14px 12px;
    }

    .trcm-grid {
        gap: 18px;
    }

    .trcm-card-body {
        padding: 12px 12px 14px;
    }
}