/*
Theme Name: YallaTripe Pro
Theme URI: https://yallatripe.com
Author: YallaTripe Team
Author URI: https://yallatripe.com
Description: Professional travel booking theme for adventure trips, destinations, and guides. Features Elementor integration, responsive design, and multi-tenant support.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yallatripe
Domain Path: /languages
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4

Tags: travel, booking, adventure, responsive, elementor, custom-logo, custom-header, custom-menu

YallaTripe Pro WordPress Theme © 2024 YallaTripe Team
This theme is distributed under the terms of the GPL v2 or later.
*/

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

p {
    margin: 0 0 1rem 0;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #5568d3;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Grid System */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Trip Card Specific */
.trip-card {
    position: relative;
}

.trip-card .trip-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.trip-card .trip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-card .trip-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.trip-card .trip-badge.safari { background: #f59e0b; color: white; }
.trip-card .trip-badge.sea { background: #0ea5e9; color: white; }
.trip-card .trip-badge.culture { background: #8b5cf6; color: white; }
.trip-card .trip-badge.other { background: #64748b; color: white; }

.trip-card .trip-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: bold;
    color: #10b981;
}

.trip-card .trip-body {
    padding: 16px;
}

.trip-card .trip-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.trip-card .trip-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

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

.trip-card .trip-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.trip-card .trip-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

/* Booking Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-panel {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.modal-steps {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
}

.modal-step.active {
    color: #667eea;
    font-weight: 600;
}

.modal-step.done {
    color: #10b981;
}

.modal-body {
    padding: 24px;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full {
    grid-column: span 2;
}

.form-field label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #667eea;
}

.field-error {
    color: #dc2626;
    font-size: 12px;
}

/* Success Message */
.modal-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field.full {
        grid-column: span 1;
    }
}