/* 
 * Walk the Dragon - Start Here
 * Minimalist, monochromatic design
 * OS 18/Jul/2025
 */

/* Reset & Base */
.wtd-start-here-wrapper {
    min-height: 100vh;
    background: #f0ece8;
    font-family: 'manrope', -apple-system, sans-serif;
    color: #2a2a2a;
}

.wtd-start-here-main {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.wtd-journey {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Sections */
.wtd-section {
    position: relative;  /* Changed from absolute to relative */
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
    display: none;  /* Hide inactive sections completely */
}

.wtd-section-active {
    opacity: 1;
    visibility: visible;
    display: flex;  /* Show active sections */
}

/* Progress section - no longer always visible by default */
.wtd-section-progress {
    min-height: auto;
    margin: 60px 0;
}

.wtd-content {
    width: 100%;
    max-width: 1200px;
    padding: 40px;
    text-align: center;
    margin: auto;
}

/* Typography */
.wtd-title {
    font-family: 'biennale', Georgia, serif;
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 300;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    text-transform: lowercase;
}

/* Membership Icon */
.wtd-membership-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 0;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    position: relative;
}

.wtd-membership-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.wtd-membership-icon:hover img {
    filter: grayscale(0%);
}

/* Different sizes for different membership levels */
.wtd-membership-icon.fledgling {
    width: 100px;
    height: 100px;
}

.wtd-membership-icon.emberlord {
    width: 120px;
    height: 120px;
}

.wtd-membership-icon.monarch {
    width: 140px;
    height: 140px;
}

/* Add subtle glow for higher tiers */
.wtd-membership-icon.monarch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.wtd-membership-icon.monarch:hover::after {
    opacity: 1;
}

.wtd-subtitle {
    font-size: clamp(1.2rem, 1vw, 1.2rem);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 100;
    color: #666;
    margin: 0 0 60px 0;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

/* Welcome Section Description */
#section-welcome p {
    max-width: 720px;
    margin: 0 auto 50px;
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: fadeIn 1s ease 0.4s forwards;
    text-align: center;
    font-family: 'Poppins';
    font-weight: 200;
}

/* Description paragraphs - applies to all sections */
.wtd-description {
    max-width: 720px;
    margin: 0 auto 50px;
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: fadeIn 1s ease 0.4s forwards;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
}

/* Ensure description is visible in active sections */
.wtd-section-active .wtd-description {
    animation-fill-mode: both;
}

/* Enhance specific words */
#section-welcome p strong {
    font-weight: 500;
    color: #333;
}

.wtd-section-title {
    font-family: 'biennale', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

.wtd-section-intro {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 60px 0;
    font-weight: 300;
}

/* Begin Button */
.wtd-begin-btn {
    background: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 16px 56px;
    font-size: 1.1rem;
    font-weight: 400;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

.wtd-begin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #333;
    transition: left 0.3s ease;
    z-index: -1;
}

.wtd-begin-btn:hover {
    color: #f0ece8;
    transform: translateY(-2px);
}

.wtd-begin-btn:hover::before {
    left: 0;
}

/* Action Grid */
.wtd-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Action Cards */
.wtd-action-card {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wtd-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.wtd-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wtd-action-card:hover::before {
    transform: translateX(0);
}

.wtd-action-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: #666;
    transition: color 0.3s ease;
}

.wtd-action-icon svg {
    width: 100%;
    height: 100%;
}

.wtd-action-card:hover .wtd-action-icon {
    color: #333;
}

.wtd-action-card h3 {
    font-family: 'biennale', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 12px 0;
    text-transform: lowercase;
    letter-spacing: -0.01em;
}

.wtd-action-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.wtd-time {
    display: inline-block;
    font-size: 0.85rem;
    color: #999;
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
}

/* Recommendation */
.wtd-recommendation {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 0;
}

.wtd-recommendation p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.wtd-recommendation strong {
    color: #333;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add subtle typing effect for the title */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .wtd-content {
        padding: 20px;
    }
    
    .wtd-title {
        font-size: 2.5rem;
    }
    
    .wtd-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    #section-welcome p {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }
    
    .wtd-description {
        font-size: 1.05rem;
        margin-bottom: 40px;
        opacity: 1 !important; /* Force visibility on mobile */
        animation: none !important; /* Disable animation on mobile to ensure visibility */
    }
    
    /* Force visibility for descriptions in active sections on mobile */
    .wtd-section-active .wtd-description,
    #section-welcome .wtd-description {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        animation: none !important;
    }
    
    .wtd-section-title {
        font-size: 2rem;
    }
    
    .wtd-action-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .wtd-action-card {
        padding: 30px 20px;
    }
    
    .wtd-begin-btn {
        padding: 14px 32px;
        width: 100%;
        max-width: 280px;
    }
} 