/* ============================================
   GUIDED TOURS CUSTOM STYLES
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
    /* Brand Colors */
    --jgt-deep-purple: #241035;
    --jgt-vibrant-purple: #7836B2;
    --jgt-medium-purple: #48206B;

    /* Extended Palette */
    --jgt-purple-light: #9D6DD9;
    --jgt-purple-subtle: #F3EBFF;
    --jgt-accent: #E94B8B;

    /* Neutrals */
    --jgt-gray-900: #1A1A1A;
    --jgt-gray-700: #4A4A4A;
    --jgt-gray-500: #808080;
    --jgt-gray-300: #D1D1D1;
    --jgt-gray-100: #F5F5F5;
    --jgt-white: #FFFFFF;

    /* Semantic Colors */
    --jgt-success: #10B981;
    --jgt-warning: #F59E0B;
    --jgt-info: #3B82F6;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(120, 54, 178, 0.15);

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}


/* ============================================
   2. NAVIGATION STYLES
   ============================================ */
/*.tm-header {
    background: rgba(36, 16, 53, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(120, 54, 178, 0.1);
    position: sticky;
    top: 0;
    z-index: 980;
    transition: var(--transition-base);
}

.tm-header.uk-sticky-fixed {
    box-shadow: 0 4px 30px rgba(120, 54, 178, 0.2);
}

.tm-header .uk-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--jgt-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tm-header .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--jgt-vibrant-purple), var(--jgt-accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.tm-header .uk-navbar-nav > li > a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
    padding: 0.5rem 1rem;
}

.tm-header .uk-navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--jgt-vibrant-purple);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.tm-header .uk-navbar-nav > li > a:hover {
    color: var(--jgt-white);
}

.tm-header .uk-navbar-nav > li > a:hover::after {
    width: 80%;
}

.tm-header .uk-navbar-nav > li.uk-active > a {
    color: var(--jgt-white);
}
*/
/* ============================================
   3. HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--jgt-deep-purple) 0%, var(--jgt-medium-purple) 100%);
    position: relative;
    overflow: hidden;
    /*padding: 120px 0 80px;*/
    min-height: 600px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(120, 54, 178, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(233, 75, 139, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--jgt-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-hero .uk-button-primary {
    background: var(--jgt-white);
    color: var(--jgt-deep-purple);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    transition: var(--transition-base);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-hero .uk-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
    background: var(--jgt-purple-subtle);
    color: var(--jgt-deep-purple);
}

.btn-hero .uk-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--jgt-white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.btn-hero .uk-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: var(--jgt-white);
}

/* ============================================
   4. PATH VISUALIZATION
   ============================================ */
.hero-path-visual {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.path-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.path-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.path-step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--jgt-vibrant-purple), var(--jgt-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(120, 54, 178, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.path-step:nth-child(2) .path-step-icon {
    animation-delay: 0.3s;
}

.path-step:nth-child(3) .path-step-icon {
    animation-delay: 0.6s;
}

.path-step-title {
    color: var(--jgt-white);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.path-step-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.path-connector {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(157, 109, 217, 0.5), rgba(233, 75, 139, 0.5));
    position: relative;
    top: -50px;
}

/* ============================================
   5. STATS SECTION
   ============================================ */
.stats-section {
    background: var(--jgt-gray-100);
    padding: 4rem 0;
    border-top: 4px solid var(--jgt-vibrant-purple);
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--jgt-vibrant-purple), var(--jgt-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--jgt-gray-700);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ============================================
   6. TOUR CARDS
   ============================================ */
.tour-card {
    background: var(--jgt-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-base);
    border: 1px solid var(--jgt-gray-300);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--jgt-vibrant-purple);
}

.tour-card-header {
    background: linear-gradient(135deg, var(--jgt-deep-purple), var(--jgt-medium-purple));
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.tour-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.tour-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.tour-card-title {
    color: var(--jgt-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.tour-card-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.tour-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.tour-card-description {
    color: var(--jgt-gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tour-card-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.badge-custom {
    background: var(--jgt-purple-subtle);
    color: var(--jgt-vibrant-purple);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tour-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.btn-tour {
    width: 100%;
    background: var(--jgt-vibrant-purple);
    color: var(--jgt-white);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-tour:hover {
    background: var(--jgt-medium-purple);
    transform: translateY(-2px);
    color: var(--jgt-white);
}

/* ============================================
   7. CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--jgt-vibrant-purple), var(--jgt-accent));
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--jgt-white);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.btn-cta {
    background: var(--jgt-white);
    color: var(--jgt-vibrant-purple);
    padding: 1rem 3rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    font-size: 1.2rem;
    transition: var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   8. FOOTER
   ============================================ */
.tm-footer {
    background: var(--jgt-deep-purple);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-section-title {
    color: var(--jgt-white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: var(--transition-base);
}

.footer-link:hover {
    color: var(--jgt-white);
    padding-left: 5px;
}

.joomla-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.sponsor-logo {
    background: var(--jgt-white);
    padding: 1rem;
    border-radius: 8px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    opacity: 0.8;
}

.sponsor-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================
   9. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   10. RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 960px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .path-steps {
        flex-direction: column;
    }

    .path-connector {
        display: none;
    }

    .cta-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .path-step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================
   11. UTILITY CLASSES
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--jgt-vibrant-purple), var(--jgt-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--jgt-gray-700);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.uk-button-primary {
    background: linear-gradient(135deg, var(--jgt-vibrant-purple), var(--jgt-accent));
    border: none;
    color: var(--jgt-white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(120, 54, 178, 0.3);
}

.uk-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(120, 54, 178, 0.4);
    color: var(--jgt-white);
}

/* Skip to main content */
.uk-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--jgt-vibrant-purple);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.uk-skip-link:focus {
    top: 0;
}