/* Trip Pages Shared Styles */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4CAF50;
    --accent-color: #FFA500;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #fff;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
body {
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Header Section */
.trip-header {
    position: relative;
    margin-bottom: 2rem;
}

.trip-title {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    border-radius: var(--border-radius);
}

/* Main Image and Gallery */
.trip-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.gallery-container {
    margin: 2rem 0;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Modal Gallery */
.modal-gallery .modal-content {
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-gallery .modal-body {
    padding: 0;
}

.modal-gallery img {
    width: 100%;
    height: auto;
}

/* Content Sections */
.section-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.section-container:hover {
    transform: translateY(-5px);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateX(5px);
}

/* Itinerary Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--accent-color);
}

/* Booking Form */
.booking-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 2rem;
    z-index: 10;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    padding: 0.8rem;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.form-control:hover {
    border-color: var(--primary-color);
    background-color: var(--light-bg);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
    background-color: var(--white);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

/* Alert Positioning */
.alert {
    position: relative;
    z-index: 1;
    margin: 1rem 0;
}

.alert-info {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #bee5eb;
}

/* Checkbox Styling */
.checkbox {
    margin-bottom: 0.8rem;
}

.checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox label:hover {
    color: var(--primary-color);
}

.checkbox input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

/* Contact Options */
.contact-option {
    opacity: 1;
    transition: all 0.3s ease;
}

.contact-option:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Quick Info Bar */
.quick-info {
    display: flex;
    justify-content: space-between;
    background: var(--light-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.quick-info-item {
    text-align: center;
}

.quick-info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-group select {
    height: fit-content
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-info {
        flex-wrap: wrap;
    }

    .quick-info-item {
        width: 50%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .gallery-row {
        grid-template-columns: 1fr;
    }

    .quick-info-item {
        width: 100%;
    }

    .trip-image {
        height: 300px;
    }
}