/* Additive styles for Tamil Travels. Template stylesheets are not modified. */

:root {
    --primary-color: #d0d2d6;
    --primary-color-rgb: 208, 210, 214;
    --secondary-color: #0f1116;
    --secondary-color-rgb: 15, 17, 22;
}

.wow {
    visibility: visible !important;
}

.jarallax {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.jarallax > .jarallax-img {
    position: absolute;
    object-fit: cover;
    object-position: center center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

.tt-map-hero > .jarallax-img {
    transform: none !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
}

#section-hero,
#subheader {
    background: #0f1116 center/cover no-repeat;
    overflow: hidden;
}

#section-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 48px;
    display: flex;
    align-items: center;
}

#section-hero > .container {
    width: 100%;
}

.tt-shade::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 18, 0.78) 0%, rgba(8, 12, 18, 0.58) 45%, rgba(8, 12, 18, 0.74) 100%);
    z-index: 1;
    pointer-events: none;
}

.tt-map-hero.tt-shade::before {
    background:
        linear-gradient(180deg, rgba(12, 16, 22, 0.72) 0%, rgba(12, 16, 22, 0.55) 40%, rgba(12, 16, 22, 0.78) 100%),
        rgba(18, 24, 32, 0.18);
}

.tt-shade > .container,
.tt-shade .center-y {
    position: relative;
    z-index: 2;
}

.tt-lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 14px;
    vertical-align: middle;
}

.tt-lang-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #f4f6f8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 2px;
}

.tt-lang-btn.is-active,
.tt-lang-btn[aria-pressed="true"] {
    background: #f4f6f8;
    color: #0f1116;
    border-color: #f4f6f8;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

#logo a {
    text-decoration: none;
}

#logo .tt-logo {
    display: block;
    height: 72px;
    width: auto;
    max-width: min(240px, 58vw);
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

header.smaller #logo .tt-logo {
    height: 56px;
}

header .menu_side_area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

header .menu_side_area .btn-main {
    white-space: nowrap;
    padding: 8px 18px;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 17, 22, 0.88);
    color: #f4f6f8;
}

header.smaller .menu_side_area .btn-main,
header.header-mobile .menu_side_area .btn-main {
    background: #0f1116;
    border-color: #0f1116;
    color: #f4f6f8;
}

header .logo,
header .logo-2,
header .logo-mobile {
    font-family: var(--title-font);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.1;
    white-space: nowrap;
}

header .logo-mobile {
    display: none;
    color: #ffffff;
}

#mainmenu > li.active > a.menu-item {
    color: #d0d2d6;
}

header.smaller #mainmenu > li.active > a.menu-item,
header.header-mobile #mainmenu > li.active > a.menu-item {
    color: #0f1116;
}

a.btn-main,
.btn-main,
input[type="button"].btn-main,
#menu-btn,
#back-to-top {
    background: #0f1116;
    color: #f4f6f8;
}

a.btn-main:hover,
.btn-main:hover,
#back-to-top:hover {
    background: #2a3038;
    color: #ffffff;
}

.subtitle:not(.text-white) {
    color: #0f1116;
}

.id-color {
    color: #3a424e;
}

.text-light .id-color,
footer .id-color,
#section-hero .id-color,
#subheader .id-color {
    color: #d0d2d6;
}

.de-item .d-price span {
    color: #0f1116;
}

#section-cars .owl-thumbs {
    display: none;
}

footer {
    background: #0f1116;
}

.tt-badges {
    margin: 18px 0 8px;
}

.tt-badges span {
    display: inline-block;
    background: #0f1116;
    color: #f4f6f8;
    border-radius: 30px;
    padding: 7px 14px;
    margin: 0 8px 8px 0;
    font-size: 13px;
    font-weight: 700;
}

#booking-section.tt-booking-section {
    position: relative;
    padding: 64px 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(208, 210, 214, 0.35), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(15, 17, 22, 0.06), transparent 40%),
        linear-gradient(180deg, #eef1f4 0%, #f7f8fa 100%);
}

.tt-booking-card {
    position: relative;
    z-index: 1;
    padding: 30px 28px 26px;
    border-radius: 24px;
    color: #1a2230;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(24, 39, 66, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.tt-booking-head {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e4ebf3;
}

.tt-booking-kicker {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6b737c;
}

.tt-booking-title {
    margin: 0;
    color: #101820;
    font-size: 28px;
    font-weight: 800;
}

.tt-booking-card h5,
.tt-booking-card label,
.tt-booking-card p,
.tt-booking-card .tt-note {
    color: #1a2230;
}

.tt-booking-card h5 {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5b6777;
}

.tt-booking-card .form-control,
.tt-booking-card input[type="text"],
.tt-booking-card input[type="number"],
.tt-booking-card input[type="tel"],
.tt-booking-card input[type="date"],
.tt-booking-card select {
    background: linear-gradient(180deg, #f5f8fb 0%, #eef3f8 100%) !important;
    border: 1px solid #d7e0ea !important;
    border-radius: 14px !important;
    color: #152033 !important;
    box-shadow: inset 0 1px 2px rgba(20, 40, 70, 0.04);
    height: 48px;
    padding: 10px 14px;
}

.tt-booking-card .form-control::placeholder,
.tt-booking-card input::placeholder {
    color: #8a97a8 !important;
}

.tt-booking-card .form-control:focus,
.tt-booking-card input:focus,
.tt-booking-card select:focus {
    border-color: #9aa3ae !important;
    box-shadow: 0 0 0 3px rgba(15, 17, 22, 0.12);
    outline: none;
}

.tt-booking-card .date-time-field {
    display: flex;
    gap: 0;
}

.tt-booking-card .date-time-field input[type="date"] {
    width: 62%;
    float: none;
    border-radius: 14px 0 0 14px !important;
    height: 48px;
    padding: 10px 14px;
}

.tt-booking-card .date-time-field select {
    width: 38%;
    border-radius: 0 14px 14px 0 !important;
    border-left: 0 !important;
}

.tt-trip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tt-trip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tt-trip label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-width: 110px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #eef2f6;
    border: 1px solid transparent;
    color: #2a3442;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tt-trip input:checked + label,
.tt-trip input:focus + label {
    background: #101820;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(16, 24, 32, 0.2);
}

#contact_form .radio-img {
    margin-bottom: 8px;
}

#contact_form .radio-img input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#contact_form .radio-img label.tt-vcard,
#contact_form .radio-img input[type="radio"] + label.tt-vcard,
#contact_form .tt-vcard {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e4ebf3 !important;
    border-radius: 20px !important;
    color: #152033 !important;
    text-align: left !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 28px rgba(24, 39, 66, 0.08) !important;
    outline: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#contact_form .tt-vcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(24, 39, 66, 0.14) !important;
}

#contact_form .radio-img input[type="radio"]:checked + label.tt-vcard {
    outline: none !important;
    background: #ffffff !important;
    border-color: #0f1116 !important;
    color: #152033 !important;
    box-shadow: 0 0 0 2px rgba(15, 17, 22, 0.18), 0 16px 34px rgba(24, 39, 66, 0.14) !important;
}

.tt-vcard-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 22px 16px 12px;
    background: linear-gradient(180deg, #f1f3f5 0%, #fafbfc 100%);
    border-bottom: 1px dashed #d0d5db;
}

.tt-vcard-media img,
#contact_form .radio-img label img {
    display: block;
    width: auto;
    max-width: 92%;
    height: 92px;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(20, 40, 70, 0.18));
}

.tt-vcard-badge,
.tt-fleet-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: #101820;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.tt-vcard-badge strong,
.tt-fleet-badge strong {
    color: #d0d2d6;
    font-weight: 800;
}

.tt-vcard-body {
    display: block;
    padding: 14px 16px 16px;
}

.tt-vcard-type,
.tt-fleet-type {
    display: block;
    margin: 0 0 2px;
    color: #101820;
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tt-vcard-name,
.tt-fleet-models {
    display: block;
    margin: 0 0 12px;
    color: #6b7788;
    font-size: 13px;
    font-weight: 600;
}

.tt-vcard-meta,
.tt-fleet-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tt-vcard-meta span,
.tt-fleet-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef1f4;
    color: #243041;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.tt-vcard-meta i,
.tt-fleet-meta i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    line-height: 1;
    font-size: 12px;
    color: #0f1116;
}

.tt-booking-card .tt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.tt-booking-card .tt-actions .btn-main {
    margin: 0;
    border: 0;
    background: #101820;
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(16, 24, 32, 0.18);
}

.tt-booking-card .tt-actions .btn-main:hover {
    background: #1c2733;
    color: #ffffff;
}

.tt-booking-card .tt-note {
    margin-top: 16px;
    color: #6b7788 !important;
    font-size: 13px;
}

.tt-booking-card .tt-fare {
    background: #f3f7fb;
    border: 1px solid #d9e4ef;
    border-radius: 14px;
    color: #152033;
}

.tt-booking-card .tt-fare h4,
.tt-booking-card .tt-fare p,
.tt-booking-card .tt-fare .tt-note {
    color: #152033 !important;
}

#section-cars {
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.tt-fleet-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e4ebf3;
    border-radius: 22px;
    padding: 0 0 16px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(24, 39, 66, 0.08);
}

.tt-fleet-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 28px 18px 18px;
    background: linear-gradient(180deg, #f1f3f5 0%, #fafbfc 100%);
    border-bottom: 1px dashed #d0d5db;
}

.tt-fleet-media img {
    width: auto;
    max-width: 92%;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 12px 16px rgba(20, 40, 70, 0.18));
}

.tt-fleet-type {
    margin: 16px 18px 2px;
}

.tt-fleet-models {
    margin: 0 18px 12px;
}

.tt-fleet-meta {
    margin: 0 18px 14px;
}

.tt-fleet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 18px 10px;
}

.tt-btn-phone,
.tt-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.tt-btn-phone {
    background: #101820;
    color: #ffffff !important;
}

.tt-btn-wa {
    background: #25d366;
    color: #ffffff !important;
}

.tt-btn-phone:hover,
.tt-btn-wa:hover {
    opacity: 0.92;
    color: #ffffff !important;
}

.tt-fleet-note {
    margin: 0 18px;
    color: #8a97a8;
    font-size: 12px;
}

/* Why Us icon sizes */
.box-icon.s2 i.fa,
.box-icon.s2 i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 54px !important;
    height: 54px !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 22px !important;
    text-align: center;
    border-radius: 50% !important;
    background: #0f1116 !important;
    color: #d0d2d6 !important;
}

/* Services equal height + centered icons */
.de-icon-box {
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tt-svc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 0 20px;
    border-radius: 50%;
    background: #0f1116;
    color: #d0d2d6;
    flex-shrink: 0;
}

.tt-svc-icon i.fa {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 22px !important;
    color: #d0d2d6 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.tt-svc-icon i.fa::before {
    display: block;
    line-height: 1;
}

.de-icon-box .de-icon,
.de-icon-box i.de-icon,
i.de-icon.fa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px;
    min-height: 58px;
    padding: 0 !important;
    margin-bottom: 20px;
    line-height: 1 !important;
    font-size: 22px !important;
    text-align: center !important;
    border-radius: 50% !important;
    background: #0f1116 !important;
    color: #d0d2d6 !important;
    box-sizing: border-box !important;
}

.de-icon-box .btn-main {
    margin-top: auto;
}

#section-cars .d-atr img {
    filter: grayscale(1) brightness(0.28);
}

.tt-about-stat {
    background: linear-gradient(180deg, #f4f6f8 0%, #e8ebf0 100%);
    border: 1px solid #d7dbe3;
    border-radius: 12px;
    padding: 28px 16px;
    color: #0f1116;
}

#subheader.tt-map-hero {
    min-height: 280px;
}

.tt-round-only {
    display: none;
}

.tt-round-only.is-on {
    display: block;
}

.date-time-field input[type="date"] {
    width: 70%;
    height: 33px;
    float: left;
    padding: 3px 5px;
    border: solid 1px rgba(3, 27, 78, 0.5);
    border-radius: 5px 0 0 5px;
    background: #ffffff;
}

.tt-actions .btn-main {
    margin: 0 8px 8px 0;
}

.tt-fare {
    margin-top: 18px;
    padding: 22px 24px;
    border-radius: 10px;
    background: rgba(var(--secondary-color-rgb), 0.08);
    border: solid 1px rgba(var(--secondary-color-rgb), 0.25);
}

.tt-fare h4 {
    margin-bottom: 8px;
}

.tt-card-actions {
    margin-top: 14px;
}

.tt-card-actions .btn-main {
    margin: 0 8px 8px 0;
}

.tt-highlights {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.tt-highlights li {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
}

.tt-highlights i {
    margin-right: 10px;
}

.de-image-text {
    min-height: 380px;
    background: #121212;
}

.de-image-text img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.tt-float {
    position: fixed;
    left: 18px;
    z-index: 1100;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.tt-float-call {
    bottom: 24px;
    background: #0f1116;
}

.tt-float-wa {
    bottom: 86px;
    background: #25d366;
}

.tt-float:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

@media only screen and (max-width: 992px) {
    #booking-section.tt-booking-section {
        padding: 40px 0;
    }

    .tt-booking-card {
        padding: 22px 16px 18px;
        border-radius: 18px;
    }

    .tt-booking-title {
        font-size: 22px;
    }

    .tt-vcard-media img,
    #contact_form .radio-img label img {
        height: 78px;
    }

    .tt-booking-card .tt-actions .btn-main {
        width: 100%;
        text-align: center;
    }

    .tt-fleet-actions {
        grid-template-columns: 1fr;
    }

    #section-hero {
        min-height: 100svh;
        min-height: 100vh;
    }

    header .menu_side_area .btn-main {
        display: inline-block !important;
        padding: 7px 12px;
        font-size: 13px;
    }

    #section-hero.jarallax > .jarallax-img,
    #subheader.jarallax > .jarallax-img {
        transform: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        min-height: 100% !important;
    }

    #logo .tt-logo {
        height: 52px;
        max-width: 46vw;
    }

    header .logo-1 {
        display: none !important;
    }

    header .logo-2 {
        display: none !important;
    }

    header .logo-mobile {
        display: inline-block !important;
        color: #ffffff;
    }

    header.header-mobile {
        overflow: visible !important;
        z-index: 400;
    }

    #mainmenu,
    header.header-mobile #mainmenu {
        display: none;
        background: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100% !important;
        height: auto !important;
        max-height: 70vh;
        overflow: auto;
        margin: 0;
        padding: 8px 20px 24px !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        z-index: 400;
    }

    header.header-mobile #mainmenu {
        display: block;
    }

    header.header-mobile {
        background: #0f1116;
    }

    #mainmenu li,
    header.header-mobile #mainmenu li {
        float: none;
        width: 100%;
        display: block;
    }

    header.header-mobile #mainmenu a.menu-item {
        color: #1c1c1c;
        padding: 12px 0;
    }

    #mainmenu > li.active > a.menu-item {
        color: #0f1116;
    }
}
