/* assets/css/components/destination/detail.css */

/* Detail Page Styles */

/* Hero Section */
.detail-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.custom-breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    margin: 0;
}

.custom-breadcrumb .breadcrumb-item {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: darkred;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: "›";
}

.custom-breadcrumb .breadcrumb-item.active {
    color: darkgoldenrod;
}

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

.overview-content {
    padding-right: 30px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c62828;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-label i {
    font-size: 18px;
}

.location-tag {
    color: #718096;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-tag i {
    color: #c62828;
}

.destination-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 900;
    color: #2d3748;
    margin-bottom: 30px;
    line-height: 1.2;
}

.destination-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.destination-description p {
    margin-bottom: 15px;
}

/* Sri Lanka Map Container */
.sri-lanka-map-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.sri-lanka-map {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.location-marker {
    position: absolute;
    transform: translate(-50%, -50%);
}

.marker-pulse {
    width: 30px;
    height: 30px;
    background: rgba(245, 87, 108, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.marker-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #f5576c;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(245, 87, 108, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

/* Section Common Styles */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c62828;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #718096;
    margin-bottom: 20px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: #c62828;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #c62828;
    transform: translateX(5px);
}

/* Featured Experiences */
.featured-experiences {
    background: #f7fafc;
    padding: 80px 0;
}

.experience-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.experience-image {
    height: 250px;
    overflow: hidden;
}

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

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

.experience-content {
    padding: 25px;
}

.experience-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.experience-description {
    color: #718096;
    line-height: 1.6;
    font-size: 14px;
}

/* Stunning Image Section */
.stunning-image-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.stunning-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stunning-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #c62828;
}

/* Blog Section */
.blog-section {
    background: white;
    padding: 80px 0;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

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

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

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

.blog-content {
    padding: 25px;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-excerpt {
    color: #718096;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #5a67d8;
    transform: translateX(5px);
}

/* Special Offers */
.special-offers-detail {
    background: #f7fafc;
    padding: 80px 0;
}

.offer-detail-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.offer-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.offer-detail-card:hover .offer-image-wrapper img {
    transform: scale(1.1);
}

.offer-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background:#c62828;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.offer-detail-content {
    padding: 25px;
}

.offer-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.offer-provider {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 14px;
    margin-bottom: 15px;
}

.offer-provider i {
    color: #c62828;
}

.offer-detail-description {
    color: #718096;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 20px;
}

.offer-btn {
    display: inline-flex;
    align-items: center;
    background:#c62828;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offer-btn:hover {
    background: #5a67d8;
    transform: translateX(5px);
    color: white;
}

/* CTA Section */
.cta-section {
    background:#c62828;
    padding: 80px 0;
}

.cta-box {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.cta-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    color: #718096;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background:#c62828;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background:#c62828;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 87, 108, 0.3);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .detail-hero {
        height: 50vh;
        padding-bottom: 30px;
    }

    .destination-main-title {
        font-size: 36px;
    }

    .overview-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .custom-breadcrumb {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .destination-main-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .stunning-image-section {
        height: 300px;
    }

    .experience-image,
    .blog-image,
    .offer-image-wrapper {
        height: 200px;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.skeleton-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Print Styles */
@media print {
    .detail-hero {
        height: 40vh;
        background: #f8f9fa !important;
        color: black !important;
    }

    .hero-overlay {
        display: none;
    }

    .cta-section,
    .custom-breadcrumb {
        display: none;
    }

    .destination-main-title {
        color: black !important;
    }
}
