/*
Theme Name:   Travel O Tourism Child
Theme URI:    https://travelotourism.com
Description:  Travel O Tourism - Custom Child Theme
Author:       Superior Websoft
Author URI:   https://superiorwebsoft.com
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  travelotourism-child
*/

/* ============================================================
   IMPORT PARENT THEME
   ============================================================ */
@import url("../hello-elementor/style.css");

/* ============================================================
   CSS VARIABLES (Color Palette)
   ============================================================ */
:root {
    --primary:       #1B3A6B;   /* Navy Blue */
    --secondary:     #0E7C86;   /* Teal */
    --accent:        #D4A017;   /* Gold */
    --accent-light:  #F5A623;   /* Amber */
    --success:       #2E7D32;   /* Green */
    --danger:        #C62828;   /* Red */
    --white:         #FFFFFF;
    --light-bg:      #EAF4F7;
    --light-gold:    #FFF8E1;
    --light-green:   #E8F5E9;
    --gray-bg:       #F5F5F5;
    --text:          #1A1A2E;
    --muted:         #555555;
    --border:        #DDDDDD;
    --font-main:     'Poppins', sans-serif;
    --font-heading:  'Montserrat', sans-serif;
    --radius:        10px;
    --shadow:        0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover:  0 8px 32px rgba(0,0,0,0.15);
    --transition:    all 0.3s ease;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

ul, ol {
    list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.section-title span {
    color: var(--secondary);
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.tot-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tot-section {
    padding: 70px 0;
}

.tot-section-sm {
    padding: 40px 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-call {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-call:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.tot-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.tot-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tot-logo img {
    height: 50px;
    width: auto;
}

.tot-logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.tot-logo-text span {
    color: var(--secondary);
}

.tot-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.tot-nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    position: relative;
    padding-bottom: 4px;
}

.tot-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.tot-nav-links a:hover::after,
.tot-nav-links a.active::after {
    width: 100%;
}

.tot-nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile hamburger */
.tot-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.tot-hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.tot-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.tot-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tot-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(27, 58, 107, 0.65) 0%,
        rgba(14, 124, 134, 0.55) 100%
    );
}

.tot-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    color: var(--white);
}

.tot-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.tot-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.tot-hero p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 650px;
    margin: 0 auto 30px;
}

.tot-hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Search bar inside hero */
.tot-hero-search {
    background: var(--white);
    border-radius: 60px;
    padding: 8px 8px 8px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 700px;
    margin: 30px auto 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.tot-hero-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text);
    background: transparent;
}

.tot-hero-search button {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tot-hero-search button:hover {
    background: var(--secondary);
}

/* ============================================================
   CARDS
   ============================================================ */
.tot-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.tot-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.tot-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.tot-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tot-card:hover .tot-card-img img {
    transform: scale(1.06);
}

.tot-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tot-card-body {
    padding: 20px;
}

.tot-card-title {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tot-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tot-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tot-card-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 14px;
}

.tot-card-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--muted);
}

.tot-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    background: var(--gray-bg);
}

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.tot-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tot-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tot-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* ============================================================
   DESTINATION CARD
   ============================================================ */
.tot-dest-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 260px;
    cursor: pointer;
}

.tot-dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tot-dest-card:hover img {
    transform: scale(1.08);
}

.tot-dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,58,107,0.85) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.tot-dest-info h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.tot-dest-info span {
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.tot-filter-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
    border: 1px solid var(--border);
}

.tot-filter-bar h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
}

.tot-filter-group {
    margin-bottom: 18px;
}

.tot-filter-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tot-filter-group select,
.tot-filter-group input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: var(--transition);
}

.tot-filter-group select:focus,
.tot-filter-group input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(14,124,134,0.1);
}

.tot-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tot-filter-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.tot-filter-checkboxes input[type="checkbox"] {
    accent-color: var(--secondary);
    width: 16px;
    height: 16px;
}

/* ============================================================
   ENQUIRY FORM
   ============================================================ */
.tot-enquiry-box {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--white);
}

.tot-enquiry-box h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.tot-enquiry-box p {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.tot-form-group {
    margin-bottom: 14px;
}

.tot-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 6px;
}

.tot-form-group input,
.tot-form-group select,
.tot-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    outline: none;
    transition: var(--transition);
}

.tot-form-group input::placeholder,
.tot-form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.tot-form-group input:focus,
.tot-form-group select:focus,
.tot-form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.15);
}

.tot-form-group select option {
    color: var(--text);
    background: var(--white);
}

.tot-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ============================================================
   WHATSAPP & CALL FLOATING BUTTONS
   ============================================================ */
.tot-float-whatsapp,
.tot-float-call {
    position: fixed;
    bottom: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: var(--transition);
    text-decoration: none;
    animation: tot-pulse 2.5s infinite;
}

.tot-float-whatsapp {
    right: 24px;
    background: #25D366;
    color: var(--white);
}

.tot-float-call {
    right: 90px;
    background: var(--accent);
    color: var(--white);
}

.tot-float-whatsapp:hover,
.tot-float-call:hover {
    transform: scale(1.12);
    color: var(--white);
}

@keyframes tot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   STAR RATING
   ============================================================ */
.tot-stars {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.tot-rating-count {
    font-size: 0.8rem;
    color: var(--muted);
    margin-left: 4px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.tot-breadcrumb {
    background: var(--light-bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.tot-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tot-breadcrumb li {
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tot-breadcrumb li a {
    color: var(--secondary);
    font-weight: 500;
}

.tot-breadcrumb li:last-child {
    color: var(--text);
    font-weight: 600;
}

/* ============================================================
   NOTICE / ALERT BOXES
   ============================================================ */
.tot-notice {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tot-notice-info {
    background: var(--light-bg);
    border-left: 4px solid var(--secondary);
    color: var(--primary);
}

.tot-notice-success {
    background: var(--light-green);
    border-left: 4px solid var(--success);
    color: var(--success);
}

.tot-notice-warning {
    background: var(--light-gold);
    border-left: 4px solid var(--accent);
    color: #7a5000;
}

/* ============================================================
   FOOTER
   ============================================================ */
.tot-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.tot-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

.tot-footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.tot-footer p,
.tot-footer li {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
}

.tot-footer a {
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
}

.tot-footer a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.tot-footer li {
    margin-bottom: 6px;
}

.tot-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 20px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.tot-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.tot-pagination a,
.tot-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text);
    transition: var(--transition);
}

.tot-pagination a:hover,
.tot-pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.tot-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.tot-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-bg);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: tot-spin 0.8s linear infinite;
}

@keyframes tot-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   STICKY ENQUIRE BAR (scroll)
   ============================================================ */
.tot-sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    flex-wrap: wrap;
}

.tot-sticky-bar.is-visible {
    display: flex;
}

.tot-sticky-bar h4 {
    color: var(--white);
    font-size: 1rem;
    margin: 0;
}

.tot-sticky-bar-actions {
    display: flex;
    gap: 10px;
}

/* ============================================================
   RESPONSIVE — TABLET (max 992px)
   ============================================================ */
@media (max-width: 992px) {
    .tot-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .tot-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .tot-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

    .tot-nav-links { display: none; }
    .tot-hamburger { display: flex; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================================ */
@media (max-width: 640px) {
    .tot-grid-3,
    .tot-grid-4,
    .tot-grid-2 { grid-template-columns: 1fr; }
    .tot-footer-grid { grid-template-columns: 1fr; }
    .tot-hero { min-height: 70vh; }
    .tot-hero-search { flex-direction: column; border-radius: var(--radius); padding: 16px; }
    .tot-hero-search input { width: 100%; }
    .tot-hero-search button { width: 100%; border-radius: 8px; }
    .tot-form-row { grid-template-columns: 1fr; }
    .tot-float-call { right: 86px; }
    .tot-section { padding: 45px 0; }
    .tot-enquiry-box { padding: 20px; }
}

/* ============================================================
   MOBILE NAV (open state)
   ============================================================ */
.tot-mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    gap: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.tot-mobile-nav.is-open {
    display: flex;
}

.tot-mobile-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.tot-mobile-nav a:last-child {
    border-bottom: none;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.bg-light { background: var(--light-bg); }
.bg-primary { background: var(--primary); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.w-100 { width: 100%; }
