/* Unified Destination Detail Page Styles */

/* Destination Info Section */
.destination-info {
    padding: 80px 0;
    background: #f8fafe;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-main h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.info-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 236, 255, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.detail-content h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.detail-content p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.detail-note {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Section Header (used by other sections) */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Destination Offers Section */
.destination-offers {
    padding: 80px 0;
    background: #f8fafe;
}

/* Featured Offers Grid */
.featured-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, max-content));
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
}

.featured-offer-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 236, 255, 0.3);
    position: relative;
    cursor: pointer;
}

.featured-offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-badge.luxury {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.offer-badge.economic {
    background: #28a745;
    color: white;
}

.offer-image {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.offer-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.featured-offer-card:hover .offer-image img {
    transform: scale(1.05);
}

.offer-content {
    padding: 25px;
}

.offer-content h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.offer-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
}

.offer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    color: var(--text-color);
}

.feature i {
    color: var(--secondary-color);
    font-size: 12px;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.text {
    font-size: 1rem;
    font-weight: 700;
    color: #999;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.discount {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.offer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 22px; /* Reduced for better proportion */
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    white-space: nowrap; /* Prevent text wrapping */
    min-height: 48px; /* Maintain good touch target */
}

.offer-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 37, 69, 0.3);
}

/* View All Offers Button */
.view-all-offers {
    text-align: center;
    margin-bottom: 60px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 16px 32px; /* Reduced for better proportion */
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Prevent text wrapping */
    max-width: 350px; /* Prevent button from being too wide */
}

.btn-view-all:hover {
    background: #f1c40f;
    border-color: #f1c40f;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.btn-view-all i {
    font-size: 1.2rem;
}

/* Why Choose Destination Section */
.why-choose-destination {
    padding: 80px 0;
    background: white;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.reason-card {
    text-align: center;
    padding: 40px 25px;
    background: #f8fafe;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 236, 255, 0.5);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.reason-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.reason-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.reason-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-details {
        order: -1;
    }
    

    
    .featured-offers-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        max-width: 280px; /* Reduced maximum width */
        justify-content: center;
        padding: 12px 20px; /* Reduced padding for mobile */
        white-space: nowrap; /* Prevent text wrapping */
    }
    
    .offer-btn {
        padding: 10px 18px; /* Reduced for mobile */
        min-height: 46px; /* Reduced minimum height */
    }
    
    .btn-view-all {
        padding: 14px 28px; /* Reduced for mobile */
        font-size: 1rem; /* Reduced font size */
        max-width: 280px; /* Reduced maximum width */
    }
    
    .destination-info,
    .destination-offers,
    .why-choose-destination {
        padding: 60px 0;
    }
    
    .section-header h2,
    .info-main h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .detail-card {
        padding: 18px; /* Reduced for better proportion */
        flex-direction: column;
        text-align: center;
    }
    

    
    .reason-card {
        padding: 25px 16px; /* Reduced for better proportion */
    }
    
    .offer-btn {
        padding: 10px 16px; /* Further reduced for very small screens */
        min-height: 44px; /* Reduced minimum height */
        font-size: 0.95rem; /* Slightly reduced font size */
    }
    
    .btn-view-all {
        padding: 12px 24px; /* Further reduced for very small screens */
        font-size: 0.95rem; /* Reduced font size */
        max-width: 250px; /* Reduced maximum width */
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-card,
.featured-offer-card,
.reason-card {
    animation: fadeInUp 0.6s ease forwards;
} 