/* Trip Detail Page Styles */

/* Trip Hero */
.trip-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
}

.trip-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.trip-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.trip-hero .hero-content {
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.trip-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.trip-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f8f9fa;
}

.trip-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trip-highlights span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    color: white;
}

.trip-highlights i {
    color: #27ae60;
}

/* Trip Overview */
.trip-overview {
    padding: 80px 0;
    background: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.overview-main h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.overview-main p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

.trip-features {
    margin-top: 3rem;
}

.trip-features h3 {
    color: #333;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Sidebar */
.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.price-card {
    background: white;
    border: 2px solid #27ae60;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.price-header {
    margin-bottom: 1.5rem;
}

.price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 0.5rem;
}

.price-note {
    color: #666;
    font-size: 0.9rem;
}

.price-details {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.price-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-details i {
    color: #27ae60;
}

.btn-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    margin-top: 1rem;
}

.btn-whatsapp:hover {
    background: linear-gradient(45deg, #128c7e, #075e54);
}

.trip-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.trip-info-card h4 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item i {
    color: #27ae60;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-item span {
    color: #666;
    font-size: 0.9rem;
}

/* What's Included Detailed */
.whats-included-detailed {
    background: #f8f9fa;
    padding: 60px 0;
}

.included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.included-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.included-section h3 {
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.included-section h3 i {
    font-size: 1.5rem;
}

.included-section:first-child h3 i {
    color: #27ae60;
}

.included-section:last-child h3 i {
    color: #e74c3c;
}

.included-section ul {
    list-style: none;
    padding: 0;
}

.included-section li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    line-height: 1.6;
}

.included-section li:last-child {
    border-bottom: none;
}

/* Itinerary */
.itinerary {
    padding: 80px 0;
    background: white;
}

.itinerary-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.day-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.day-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.day-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.day-content:hover {
    transform: translateY(-5px);
}

.day-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.day-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.day-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.day-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.day-details i {
    color: #27ae60;
}

/* Fixed CTA */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.fixed-cta.visible {
    transform: translateY(0);
}

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

.cta-info {
    display: flex;
    flex-direction: column;
}

.cta-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
}

.cta-text {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design for Trip Detail */
@media (max-width: 768px) {
    .trip-hero {
        height: 50vh;
        margin-top: 70px;
    }

    .trip-title {
        font-size: 2rem;
    }

    .trip-subtitle {
        font-size: 1.1rem;
    }

    .trip-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-sidebar {
        order: -1;
    }

    .price-card {
        position: static;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .included-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .day-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .itinerary-timeline::before {
        display: none;
    }

    .day-content {
        width: 100%;
    }

    .day-details {
        justify-content: center;
    }

    .fixed-cta .cta-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .trip-hero {
        height: 40vh;
    }

    .trip-title {
        font-size: 1.8rem;
    }

    .trip-subtitle {
        font-size: 1rem;
    }

    .price {
        font-size: 2rem;
    }

    .day-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .day-content {
        padding: 1.5rem;
    }

    .day-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .fixed-cta,
    .navbar,
    .footer {
        display: none;
    }
    
    .trip-hero {
        height: auto;
        margin-top: 0;
    }
    
    .hero-image,
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        color: #333;
    }
    
    .price-card {
        border: 1px solid #ccc;
    }
}

/* Accessibility Improvements */
.day-item:focus-within {
    outline: 3px solid #27ae60;
    outline-offset: 2px;
    border-radius: 15px;
}

.feature-item:focus {
    outline: 3px solid #27ae60;
    outline-offset: 2px;
}

/* Loading States */
.itinerary.loading .day-content {
    opacity: 0.7;
    pointer-events: none;
}

.itinerary.loading .day-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

/* Smooth Animations */
.day-content {
    animation: fadeInUp 0.6s ease-out;
}

.day-item:nth-child(even) .day-content {
    animation-delay: 0.1s;
}

.day-item:nth-child(odd) .day-content {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.2);
}

.trip-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}