/*
Theme Name: Togo Child
Theme URI: https://togo.uxper.co/
Author: Uxper
Author URI: http://uxper.co/
Description: This is a child theme of Togo customized for Morocco Trip Lines (Alo Khaldi Saida Tours)
Template: togo
Version: 1.0.1
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License URI: https://choosealicense.com/licenses/gpl-2.0/
Text Domain: togo-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* ==========================================================================
   MOROCCO TRIP LINES – BRAND DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Brand Palette */
    --brand-aubergine: #3B2346;
    --brand-aubergine-dark: #2A1732;
    --brand-turquoise: #18A6A6;
    --brand-turquoise-hover: #128080;
    --brand-coral: #E66A4E;
    --brand-coral-hover: #D45336;
    --brand-ivory: #F5F0E6;
    --brand-sand: #E8D3B0;
    --brand-sand-light: #F7EFE1;

    /* Togo Theme System Overrides */
    --togo-primary-color: #3B2346 !important;
    --togo-secondary-color: #18A6A6 !important;
    --togo-accent-color: #E66A4E !important;
    --togo-accent-color-unrgb: 230, 106, 78 !important;

    /* Typography */
    --togo-heading-font-family: 'Playfair Display', Georgia, serif !important;
    --togo-body-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}


/* Base Typography */
body, p, input, select, textarea, button, .site-header, .main-menu, .mobile-menu-wrapper {
    font-family: var(--togo-body-font-family);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.trip-title,
.heading-title,
.elementor-heading-title {
    font-family: var(--togo-heading-font-family);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   LOGO STYLING
   ========================================================================== */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo a {
    display: inline-flex;
    align-items: center;
}

.site-logo img,
.site-main-logo,
.site-dark-logo {
    max-width: 230px !important;
    width: auto !important;
    height: 52px !important;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 767px) {
    .site-logo img,
    .site-main-logo,
    .site-dark-logo {
        max-width: 175px !important;
        height: 42px !important;
    }
}

/* In dark-background headers, switch to the white/light logo cleanly */
.header-transparent:not(.is-sticky) .site-main-logo {
    display: none !important;
}
.header-transparent:not(.is-sticky) .site-dark-logo {
    display: inline-block !important;
}

/* ==========================================================================
   BUTTONS & CALL-TO-ACTIONS
   ========================================================================== */
.togo-button.full-filled,
.elementor-button,
a.togo-button.full-filled,
button.togo-button.full-filled,
.trip-card .trip-booking-btn,
.search-form-submit .togo-button {
    background-color: var(--brand-coral) !important;
    border-color: var(--brand-coral) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.togo-button.full-filled:hover,
.elementor-button:hover,
a.togo-button.full-filled:hover,
button.togo-button.full-filled:hover,
.search-form-submit .togo-button:hover {
    background-color: var(--brand-turquoise) !important;
    border-color: var(--brand-turquoise) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(24, 166, 166, 0.35);
}

/* Secondary Button / Outline */
.togo-button.border-line {
    border-color: var(--brand-aubergine) !important;
    color: var(--brand-aubergine) !important;
}

.togo-button.border-line:hover {
    background-color: var(--brand-aubergine) !important;
    border-color: var(--brand-aubergine) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   HIGHLIGHT BADGES & ACCENTS
   ========================================================================== */
.badge-featured,
.trip-ribbon,
.price-prefix,
.togo-badge {
    background-color: var(--brand-turquoise) !important;
    color: #ffffff !important;
}

.trip-card .trip-price .price-amount,
.price .amount {
    color: var(--brand-coral) !important;
    font-weight: 700;
}

/* Section Subtitles */
.elementor-widget-heading .sub-title,
.section-subtitle {
    color: var(--brand-turquoise) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   HEADER & TOP BAR POLISH
   ========================================================================== */

/* Header Phone Button in Header 01 */
.site-header .elementor-widget-button a.elementor-button {
    background-color: var(--brand-coral) !important;
    border-radius: 999px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
}

.site-header .elementor-widget-button a.elementor-button:hover {
    background-color: var(--brand-turquoise) !important;
}

/* Navigation Menu */
.main-menu > ul > li > a {
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.main-menu > ul > li:hover > a,
.main-menu > ul > li.current-menu-item > a {
    color: var(--brand-turquoise) !important;
}

/* Mobile Canvas Menu Enhancements */
.canvas-menu-icon {
    cursor: pointer !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    position: relative;
    z-index: 100;
}

.canvas-menu-icon .togo-svg-icon {
    pointer-events: none;
}

.mobile-menu-wrapper {
    touch-action: pan-y;
}

.mobile-menu-wrapper.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

.mobile-menu-wrapper.is-active .mobile-menu-overlay {
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu-wrapper.is-active .mobile-menu-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* ==========================================================================
   MOROCCO TRANSFER & CHAUFFEUR QUOTE WIDGET
   ========================================================================== */
.morocco-transfer-card {
    background: #ffffff;
    border: 1px solid rgba(232, 211, 176, 0.4);
    box-shadow: 0 12px 36px rgba(59, 35, 70, 0.08);
    padding: 2rem;
    border-radius: 18px;
    font-family: var(--togo-body-font-family);
}

.mtl-card-header {
    margin-bottom: 1.5rem;
}

.mtl-badge {
    display: inline-block;
    background: rgba(24, 166, 166, 0.12);
    color: var(--brand-turquoise);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.mtl-title {
    font-family: var(--togo-heading-font-family);
    color: var(--brand-aubergine);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    line-height: 1.25;
}

.mtl-description {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.mtl-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--brand-ivory);
    padding: 0.35rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(232, 211, 176, 0.5);
}

.mtl-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--brand-aubergine);
    cursor: pointer;
    transition: all 0.25s ease;
}

.mtl-tab-btn.is-active {
    background: #ffffff;
    color: var(--brand-aubergine);
    box-shadow: 0 4px 12px rgba(59, 35, 70, 0.08);
}

.mtl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    .mtl-grid {
        grid-template-columns: 1fr;
    }
    .morocco-transfer-card {
        padding: 1.25rem;
    }
    .mtl-title {
        font-size: 1.35rem;
    }
}

.mtl-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mtl-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-aubergine);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mtl-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dcd3c3;
    background: #faf8f5;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #222222;
    transition: all 0.2s ease;
}

.mtl-input:focus {
    border-color: var(--brand-turquoise);
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 166, 166, 0.15);
}

.mtl-form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.mtl-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: var(--brand-coral);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(230, 106, 78, 0.25);
}

.mtl-submit-btn:hover {
    background: var(--brand-turquoise);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24, 166, 166, 0.3);
}

.mtl-disclaimer {
    font-size: 0.82rem;
    color: #777777;
    text-align: center;
    margin-bottom: 0;
}

/* ==========================================================================
   GLOBAL TURQUOISE SVG & ICON STYLING
   ========================================================================== */
.togo-svg-icon:not(.togo-button *):not(.site-logo *) svg,
.elementor-widget-icon svg,
.elementor-widget-icon-box .elementor-icon svg,
.togo-icon-box:not(.togo-button *) svg,
.togo-icon-box-carousel svg,
.feature-box-icon svg,
.icon-box-wrapper svg {
    color: var(--brand-turquoise) !important;
    fill: var(--brand-turquoise) !important;
}

.togo-svg-icon:not(.togo-button *):not(.site-logo *) svg path[fill]:not([fill="none"]):not([fill="white"]):not([fill="#ffffff"]):not([fill="#fff"]),
.togo-svg-icon:not(.togo-button *):not(.site-logo *) svg path:not([fill]) {
    fill: var(--brand-turquoise) !important;
}

.togo-svg-icon:not(.togo-button *):not(.site-logo *) svg path[stroke]:not([stroke="none"]) {
    stroke: var(--brand-turquoise) !important;
}


