/* Root Variables */
@import url('base.css');
@import url('typography.css');
@import url('menu.css');
@import url('components.css');
@import url('sections.css');
@import url('footer.css');
@import url('utilities.css');
@import url('responsive.css');
@import url('reviews.css');
@import url('services-section.css');
@import url('booking-section.css');
@import url('errors.css');
@import url('fonts.css');
@import url('excursions.css');
@import url('language.css');
@import url('blog.css');
@import url('blog-post.css');
@import url('gdpr.css');
@import url('booking-guide.css');

/* Improved Footer Styles with Moroccan-inspired design */
.site-footer {
    background-color: #2c3e50; /* Dark blue-slate background */
    color: #f5f0e6; /* Light sand text color */
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, #e67e22, #f1c40f, #27ae60, #3498db);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column h3 {
    color: #f1c40f; /* Golden yellow */
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #e67e22; /* Terra cotta accent */
    border-radius: 1.5px;
}

.contact-list, .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li, .footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.contact-list i {
    margin-right: 10px;
    color: #e67e22; /* Terra cotta */
    min-width: 16px;
    margin-top: 4px;
}

.contact-list a, .footer-links a {
    color: #f5f0e6; /* Light sand */
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-list a:hover, .footer-links a:hover {
    color: #f1c40f; /* Golden yellow */
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #f5f0e6; /* Light sand */
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #e67e22; /* Terra cotta */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.payment-methods {
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #f5f0e6; /* Light sand */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #f1c40f; /* Golden yellow */
}

.floating-social {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.floating-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-social a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.floating-social img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Address tag styles in footer */
.contact-list address {
    font-style: normal;
    margin: 0;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-column h3 {
        margin-bottom: 15px;
    }
    
    .floating-social {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-social a {
        width: 45px;
        height: 45px;
    }
    
    .floating-social img {
        width: 25px;
        height: 25px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Location Search Autocomplete Styles */
.location-suggestions {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    z-index: 1000 !important;
    display: none !important;
    margin-top: 2px !important;
}

.suggestion-item {
    padding: 12px 16px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #eee !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
}

.suggestion-item:last-child {
    border-bottom: none !important;
}

.suggestion-item:hover {
    background-color: #f8f9fa !important;
    border-left: 3px solid #f7b731 !important;
    padding-left: 13px !important;
}

.suggestion-item .location-name {
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 4px !important;
}

.suggestion-item .location-hint {
    font-size: 12px !important;
    color: #666 !important;
}

/* Custom Map Markers */
.custom-marker {
    background: none !important;
    border: none !important;
}

.pickup-marker i {
    color: #28a745 !important;
    font-size: 24px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
}

.destination-marker i {
    color: #dc3545 !important;
    font-size: 24px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
}

/* Input Field Enhancements */
.booking-form .form-group {
    position: relative !important;
}

.booking-form input[type="text"] {
    padding-right: 40px !important;
}

.booking-form .search-icon {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #666 !important;
    font-size: 16px !important;
    pointer-events: none !important;
}

/* Popular Locations Control */
.popular-locations-control {
    background: white !important;
    padding: 8px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}

.location-select {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 6px 8px !important;
    font-size: 12px !important;
    background: white !important;
    cursor: pointer !important;
    flex: 1 !important;
}

.location-select:focus {
    outline: none !important;
    border-color: #f7b731 !important;
    box-shadow: 0 0 0 2px rgba(247, 183, 49, 0.2) !important;
}

.map-reset-btn {
    background: #f7b731 !important;
    border: none !important;
    color: white !important;
    padding: 6px 8px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 28px !important;
    height: 28px !important;
}

.map-reset-btn:hover {
    background: #e6a429 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

.map-reset-btn:active {
    transform: translateY(0) !important;
}

/* Route Line Styles */
.route-line {
    pointer-events: none !important;
    z-index: 10 !important;
}

/* Prevent unwanted map interactions that cause lines */
.leaflet-container .leaflet-control-zoom a,
.leaflet-container .leaflet-control-layers-toggle {
    pointer-events: auto !important;
}

/* Ensure map markers are properly displayed */
.leaflet-marker-icon,
.leaflet-marker-shadow {
    z-index: 1000 !important;
}

/* Fix for potential line artifacts */
.leaflet-overlay-pane svg {
    pointer-events: none !important;
}

.leaflet-clickable {
    pointer-events: auto !important;
}

/* Map container fixes */
.leaflet-container {
    outline: none !important;
}

.leaflet-container a.leaflet-active {
    outline: none !important;
}

/* Comprehensive outline removal */
*,
*::before,
*::after {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Remove blue selection highlights */
::selection {
    background: rgba(247, 183, 49, 0.2) !important;
    color: inherit !important;
}

::-moz-selection {
    background: rgba(247, 183, 49, 0.2) !important;
    color: inherit !important;
}

/* Remove focus rings from all browsers */
:focus {
    outline: 0 !important;
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
}

/* Remove webkit/chrome specific outlines */
:focus-visible {
    outline: none !important;
}

/* Remove any remaining browser-specific focus indicators */
*::-moz-focus-inner {
    border: 0 !important;
    outline: none !important;
}

/* Fix for buttons and form elements */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    border: none !important;
    outline: none !important;
}

button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner {
    border: none !important;
    outline: none !important;
}

/* Remove outline from clickable elements */
.btn,
.button,
.nav-link,
.card,
.vehicle-card,
.suggestion-item,
.lang-option,
.mobile-nav-link,
.booking-form,
.form-group,
.price-display,
.leaflet-container,
.leaflet-control,
.leaflet-control-layers,
.leaflet-marker-icon {
    outline: none !important;
}

/* Remove blue highlight on tap/click (mobile) */
* {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Allow text selection for inputs and text areas */
input,
textarea,
.selectable-text,
p,
h1, h2, h3, h4, h5, h6,
.price-item,
.suggestion-item {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

.btn:focus,
.button:focus,
.nav-link:focus,
.card:focus,
.vehicle-card:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Custom focus styles for better UX (optional - only for important interactive elements) */
.btn:focus,
.button:focus {
    box-shadow: 0 0 0 2px rgba(247, 183, 49, 0.3) !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #f7b731 !important;
    box-shadow: 0 0 0 2px rgba(247, 183, 49, 0.2) !important;
}









