/* Destination Details Page Styles */

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

/* Back Navigation */
.back-navigation {
    margin-bottom: 20px;
}

.back-navigation a {
    display: inline-flex;
    align-items: center;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-navigation a:hover {
    color: #3498db;
}

.back-navigation i {
    margin-right: 8px;
}

/* Hero Section */
.destination-hero {
    position: relative;
    height: 400px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.destination-meta {
    display: flex;
    gap: 20px;
    font-size: 1rem;
}

.destination-meta span {
    display: flex;
    align-items: center;
}

.destination-meta i {
    margin-right: 8px;
}

.like-btn.large {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.like-btn.large i {
    font-size: 1.5rem;
    color: #ff5a5a;
}

.like-btn.large:hover {
    transform: scale(1.1);
}

.like-btn.large.active i {
    font-weight: 900;
}

/* Quick Info Section */
.quick-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-icon i {
    font-size: 1.5rem;
    color: #3498db;
}

.info-content h3 {
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: #555;
}

.info-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}

/* Tab Navigation */
.destination-tabs {
    margin-bottom: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tab-controls {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.tab-btn {
    padding: 15px 20px;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #3498db;
}

.tab-btn.active {
    color: #3498db;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #3498db;
}

/* Tab Content */
.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Overview Tab */
.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.overview-text h2 {
    margin-top: 0;
    color: #333;
}

.overview-text h3 {
    margin-top: 20px;
    color: #555;
}

.overview-text p {
    color: #666;
    line-height: 1.6;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
}

/* Attractions Tab */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.attraction-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-5px);
}

.attraction-img {
    height: 180px;
    overflow: hidden;
}

.attraction-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.attraction-info {
    padding: 15px;
}

.attraction-info h3 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.attraction-info p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

/* Packages Tab */
.packages-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.package-item {
    display: grid;
    grid-template-columns: 300px 1fr auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.package-image {
    height: 100%;
    overflow: hidden;
}

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

.package-details {
    padding: 20px;
}

.package-name {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: #333;
}

.package-description {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.package-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.package-feature {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.package-feature i {
    margin-right: 5px;
    color: #3498db;
}

.package-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    background: #f9f9f9;
    border-left: 1px solid #eee;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.price-text {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 15px;
}

.book-package-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.book-package-btn:hover {
    background: #2980b9;
}

/* Visa Information Tab */
.visa-details {
    max-width: 800px;
}

.visa-process {
    margin-bottom: 30px;
}

.process-steps {
    margin-top: 20px;
}

.step-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
    flex-grow: 1;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
}

.step-content p {
    margin: 0;
    color: #666;
}

.documents-required {
    margin-bottom: 30px;
}

.documents-required ul {
    list-style-type: none;
    padding: 0;
}

.documents-required li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.documents-required li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #27ae60;
    margin-right: 10px;
}

.visa-assistance {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.consult-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.consult-btn:hover {
    background: #2980b9;
}

/* Reviews Tab */
.reviews-container {
    margin-bottom: 30px;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

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

.reviewer-name {
    font-weight: 600;
    margin: 0;
    color: #333;
}

.review-date {
    font-size: 0.8rem;
    color: #888;
}

.review-rating {
    display: flex;
    margin-bottom: 10px;
}

.review-rating i {
    color: #f39c12;
    margin-right: 2px;
}

.review-text {
    color: #666;
    line-height: 1.5;
}

/* Add Review Form */
.add-review {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.rating-input {
    display: flex;
    gap: 5px;
}

.rating-input i {
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-input i:hover,
.rating-input i.selected {
    color: #f39c12;
}

textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    height: 100px;
    resize: vertical;
}

.submit-review-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-review-btn:hover {
    background: #2980b9;
}

/* Related Destinations */
.related-destinations {
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-img {
    height: 150px;
    overflow: hidden;
}

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

.related-info {
    padding: 15px;
    text-align: center;
}

.related-info h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.related-info p {
    margin: 0;
    color: #777;
    font-size: 0.8rem;
}

/* CTA Section */
.destination-cta {
    background: linear-gradient(to right, #3498db, #2980b9);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
}

.cta-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2rem;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.primary-btn {
    background: white;
    color: #3498db;
    border: none;
    border-radius: 4px;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .overview-content {
        grid-template-columns: 1fr;
    }

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

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

    .package-item {
        grid-template-columns: 200px 1fr auto;
    }
}

@media (max-width: 768px) {
    .destination-meta {
        flex-direction: column;
        gap: 5px;
    }

    .tab-controls {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex-grow: 1;
        text-align: center;
    }

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

    .package-item {
        grid-template-columns: 1fr;
    }

    .package-image {
        height: 200px;
    }

    .package-price {
        padding: 20px;
        border-left: none;
        border-top: 1px solid #eee;
    }
}

@media (max-width: 640px) {
    .quick-info {
        grid-template-columns: 1fr;
    }

    .attractions-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
}