/* Spiritual Tourism Page Styles - Mobile First Refactor */

/* HERO - Mobile First */
.hero {
    position: relative;
    height: 60vh;
    /* Mobile height */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 49, 111, 0.85) 0%, rgba(10, 140, 58, 0.75) 100%),
        url('https://images.unsplash.com/photo-1548013146-72479768bada?w=1600') center/cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 16px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 32px;
    /* Mobile size */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    /* Mobile stack */
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    /* Mobile full width */
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-green), #068935);
    color: #fff;
    box-shadow: 0 8px 20px rgba(10, 140, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(10, 140, 58, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

/* BREADCRUMB */
.breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--brand-green);
}

.breadcrumb span {
    color: #333;
    font-weight: 600;
}

/* INTRO SECTION - Mobile First */
.intro-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 16px;
    text-align: center;
}

.intro-section h2 {
    font-size: 26px;
    /* Mobile size */
    color: var(--brand-blue);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.intro-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

/* JOURNEY CONTAINER - Mobile First */
.journey-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 16px;
}

.section-title {
    text-align: center;
    font-size: 30px;
    /* Mobile size */
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* DESTINATIONS SECTION - Mobile First */
.destinations-section {
    background: linear-gradient(180deg, #fff 0%, var(--bg-secondary) 100%);
}

.destinations-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile stack */
    gap: 24px;
}

.destination-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    /* Stack image/content */
}

.destination-image {
    position: relative;
    height: 200px;
    /* Mobile height */
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.destination-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--brand-gold), #f4d03f);
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.destination-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.destination-content h3 {
    font-size: 20px;
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.destination-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.destination-meta span {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.destination-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.destination-link {
    font-size: 15px;
    color: var(--brand-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

/* JOURNEY SECTION - Mobile First */
.journey-section {
    background: var(--bg-secondary);
}

.journey-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    /* Mobile alignment */
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--brand-green) 0%, var(--brand-blue) 100%);
}

.journey-step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.journey-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-green), #068935);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(10, 140, 58, 0.3);
    position: relative;
    z-index: 2;
}

.journey-content {
    flex-grow: 1;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.journey-content h3 {
    font-size: 20px;
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

.journey-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* TIPS SECTION - Mobile First */
.tips-section {
    background: #fff;
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile Stack */
    gap: 24px;
}

.tip-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #fff 100%);
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-green), #068935);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(10, 140, 58, 0.3);
}

.tip-card h3 {
    font-size: 18px;
    color: var(--brand-blue);
    margin-bottom: 16px;
    font-weight: 700;
}

.tip-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* EXPERIENCES SECTION - Mobile First */
.experiences-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #fff 100%);
}

.experiences-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile Stack */
    gap: 24px;
}

.experience-card {
    position: relative;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.experience-card.large {
    grid-row: auto;
    height: 250px;
}

.experience-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.experience-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transition: all 0.4s ease;
}

.experience-overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.experience-overlay p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* REGULAR ARTICLES - Mobile First */
.regular-articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile stack */
    gap: 24px;
}

.regular-article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.regular-article-image {
    height: 200px;
    overflow: hidden;
}

.regular-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.regular-article-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.regular-article-content h3 {
    font-size: 18px;
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.regular-article-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
    margin-bottom: 16px;
}

/* CTA SECTION - Mobile First */
.cta-section {
    background: linear-gradient(135deg, #01316f 0%, #025ea1 100%);
    padding: 60px 16px;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
}


/* ========================================
   DESKTOP ENHANCEMENTS (min-width)
   ======================================== */

/* Tablet & Up */
@media (min-width: 768px) {

    /* HERO */
    .hero {
        height: 50vh;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: row;
        width: auto;
    }

    .btn {
        width: auto;
    }

    /* GRIDS */
    .destinations-grid,
    .tips-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 32px;
    }

    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-card.large {
        grid-row: span 2;
        height: auto;
    }

    .regular-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }

    /* JOURNEY */
    .journey-timeline::before {
        left: 40px;
    }

    .journey-step {
        gap: 40px;
    }

    .journey-number {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }

    .journey-content {
        padding: 32px;
    }
}

/* Desktop & Up */
@media (min-width: 1024px) {

    /* HERO */
    .hero {
        height: 60vh;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .hero-content p {
        font-size: 20px;
    }

    /* SECTIONS */
    .intro-section,
    .journey-container,
    .cta-section {
        padding: 80px 24px;
    }

    .destinations-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }

    .intro-section h2 {
        font-size: 40px;
    }

    .section-title {
        font-size: 44px;
    }

    .section-subtitle {
        font-size: 20px;
    }

    /* TIPS */
    .tip-card {
        padding: 36px;
    }

    .tip-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .tip-card h3 {
        font-size: 20px;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 44px;
    }

    .cta-content p {
        font-size: 20px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations - Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}