/* Destination Details Page Styles */

/* Hero Section */
.destination-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    color: var(--white);
}

.hero-info {
    max-width: 600px;
}

.destination-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.badge-success {
    background: rgba(40, 167, 69, 0.9);
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 5px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.price .period {
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-note {
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 143, 118, 0.3);
    color: var(--white);
    text-decoration: none;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Quick Navigation */
.quick-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 72px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    padding: 15px 25px;
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.nav-tab:hover,
.nav-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(20, 143, 118, 0.05);
}

/* Main Content */
.main-content {
    padding: 60px 0;
    background: var(--gray-050);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-section {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.section-badges {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.badge-small {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Overview Section */
.lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 30px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--gray-050);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.highlight-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Itinerary Section */
.itinerary-timeline {
    position: relative;
}

.itinerary-timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(20, 143, 118, 0.3);
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: var(--gray-050);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.timeline-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.timeline-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.timeline-meta i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 40px 30px 30px;
    display: flex;
    align-items: flex-end;
}

.btn-view-gallery {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-view-gallery:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 143, 118, 0.3);
}

.gallery-thumbnails {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.thumbnail-item:hover {
    transform: scale(1.05);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reviews Section */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    display: block;
}

.rating-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin: 5px 0;
}

.review-count {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.reviews-list {
    margin-top: 30px;
}

.review-item {
    padding: 25px;
    border: 1px solid var(--gray-200);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.review-date {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.review-rating {
    color: #ffd700;
}

.review-text {
    color: var(--gray-700);
    line-height: 1.6;
    font-style: italic;
}

.reviews-cta {
    text-align: center;
    margin-top: 30px;
}

/* Booking Card */
.booking-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 140px;
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.card-header .rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.price-breakdown {
    margin-bottom: 25px;
}

.price-main {
    text-align: center;
    padding: 20px;
    background: var(--gray-050);
    border-radius: 15px;
}

.price-main .label {
    display: block;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.price-main .amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-main .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.price-main .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-main .period {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.booking-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 143, 118, 0.1);
}

textarea.form-control {
    resize: vertical;
}

.booking-summary {
    background: var(--gray-050);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 10px;
    border-top: 1px solid var(--gray-200);
}

.btn-book {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 143, 118, 0.3);
}

.booking-features {
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.booking-features h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.features-list i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Related Destinations */
.related-destinations {
    padding: 60px 0;
    background: var(--white);
}

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

.related-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 25px;
}

.related-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.related-content p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.related-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .booking-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-meta {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .action-buttons {
        justify-content: center;
    }

    .content-section {
        padding: 30px 20px;
    }

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

    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }

    .itinerary-timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 0.8rem;
    }

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

    .nav-tabs {
        justify-content: flex-start;
        padding: 0 10px;
    }

    .nav-tab {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .destination-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .review-header {
        flex-direction: column;
        gap: 15px;
    }

    .reviewer-info {
        width: 100%;
    }
}
