/* Activities Page Styles - Imported from Template 2 */

/* .sub-hero styles */
.sub-hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligned to bottom */
    overflow: hidden;
    padding-top: var(--header-height, 80px);
    padding-bottom: 80px; /* Added spacing from bottom */
}

.sub-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.sub-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(13, 31, 78, 0.4) 80%,
            var(--bg-deep) 100%);
    z-index: 2;
}

.sub-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: left; /* Aligned left straight with logo */
}

.sub-hero-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Breadcrumb global styles */
.breadcrumb {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.breadcrumb .current {
    color: #fff;
    opacity: 1;
}

/* tours grid styles */
.tours-section-static {
    position: relative;
    padding: 20px 0 80px;
    background: var(--bg-deep);
    z-index: 1;
    overflow: hidden;
}

.cloud-float {
    position: absolute;
    z-index: 2;
    opacity: 0.9;
    pointer-events: none;
    animation: floatUpDown 8s ease-in-out infinite;
    filter: drop-shadow(0 15px 25px rgba(255, 255, 255, 0.4));
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30px);
    }
}

.cloud-left {
    left: clamp(-150px, -10vw, -20px);
    top: 10%;
    width: clamp(120px, 20vw, 300px);
    animation-duration: 9s;
}

.cloud-right {
    right: clamp(-150px, -10vw, -20px);
    top: 10%;
    width: clamp(120px, 20vw, 300px);
    opacity: 0.9;
    animation-duration: 11s;
    animation-delay: 2s;
}

.cloud-right img {
    transform: scaleX(-1);
}

.tours-section-static .container {
    position: relative;
    z-index: 5;
}

/* Standard section headings are now global in style.css */

.tours-grid-static {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tour-card-link {
    text-decoration: none;
    display: block;
}

.tour-card-static {
    width: 100%;
}

.tour-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: auto;
    background: #1a1e23;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.tour-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #2B37C9;
    box-shadow: inset 0 0 0 2px #2B37C9;
    z-index: 10;
}

.tour-img-wrapper {
    position: relative;
    height: 280px;
    width: 100%;
    overflow: hidden;
}

.tour-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: all 0.5s ease;
}

.tour-card:hover img {
    transform: scale(1.1);
}

.tour-card-overlay {
    position: relative;
    width: 100%;
    background: var(--bg-body);
    padding: 20px;
    padding-bottom: 25px;
    text-align: left;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transition: all 0.6s ease;
    flex-grow: 1;
}

.tour-card:hover .tour-card-overlay {
    background: var(--bg-body);
}

.tour-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #666666;
    margin-top: 5px;
    margin-bottom: 15px;
}

.tour-location i {
    color: #2B37C9;
    font-size: 0.9rem;
}

.tour-card-overlay h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a1e23;
    margin-bottom: 0px;
}

.tour-card-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
    opacity: 0.9;
    max-height: 40px;
    margin-top: 2px;
    margin-bottom: 0px;
}

.tour-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    opacity: 1;
    max-height: 80px;
}

.cta-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(13, 31, 78, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 55, 201, 0.2);
    color: #2B37C9;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cta-icon {
    width: 38px;
    height: 38px;
    background: rgba(13, 31, 78, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 55, 201, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s ease;
}

.cta-icon svg {
    stroke: #2B37C9;
    transition: all 0.3s ease;
}

.tour-card:hover .cta-pill {
    background: #2B37C9;
    border-color: #2B37C9;
    color: white;
}

.tour-card:hover .cta-icon {
    background: #2B37C9;
    border-color: #2B37C9;
    transform: rotate(45deg);
}

.tour-card:hover .cta-icon svg {
    stroke: white;
}

/* Mask decorations (festival page) — mirrors cloud-float pattern */
.mask-float {
    position: absolute;
    z-index: 2;
    opacity: 0.9;
    pointer-events: none;
    animation: floatUpDown 8s ease-in-out infinite;
    filter: drop-shadow(0 15px 25px rgba(255, 255, 255, 0.2));
}

.mask-left {
    left: clamp(-150px, -10vw, -20px);
    top: 10%;
    width: clamp(120px, 20vw, 300px);
    animation-duration: 9s;
}

.mask-right {
    right: clamp(-150px, -10vw, -20px);
    top: 10%;
    width: clamp(120px, 20vw, 300px);
    animation-duration: 11s;
    animation-delay: 2s;
}

@media (max-width: 600px) {
    .mask-float {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .tours-grid-static {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .tours-grid-static {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tours-grid-static {
        grid-template-columns: 1fr;
    }

    .sub-hero-title {
        font-size: 24px;
    }

    .cloud-float {
        display: none !important;
    }
}

/* Tour Card Top Right Badge */
.tour-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(43, 55, 201, 0.85);
    /* Matches primary-blue theme */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.05em;
}

/* =====================================================
 * Tour CTA Section (Global)
 * ===================================================== */
.tour-cta-section {
    padding: 40px 0 100px 0;
    background: var(--bg-deep);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.07) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 80px;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(240, 235, 224, 0.05), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.cta-text-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 800px;
}

.cta-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 28px !important;
    color: #fff !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
}

.cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0 !important;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 20px !important;
    }
}

.cta-action {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.cta-action .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--bg-deep);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-action .btn-primary:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
    color: var(--bg-deep);
}

@media (max-width: 1024px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 60px 40px;
        gap: 40px;
    }

    .cta-text-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cta-box {
        padding: 50px 25px;
    }
}

