/* ===== CSS VARIABLES ===== */
:root {
    /* Tetrad Color Scheme */
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8B5A;
    --secondary-color: #4ECDC4;
    --secondary-dark: #3BB5AB;
    --secondary-light: #6ED9D1;
    --tertiary-color: #45B7D1;
    --tertiary-dark: #3A9BC1;
    --tertiary-light: #65C7E1;
    --quaternary-color: #96CEB4;
    --quaternary-dark: #7BB896;
    --quaternary-light: #B1D8C4;

    /* Neutral Colors */
    --text-primary: #2C3E50;
    --text-secondary: #6C7B7F;
    --text-light: #95A5A6;
    --text-white: #FFFFFF;
    --text-dark: #1A252F;
    
    --background-primary: #FFFFFF;
    --background-secondary: #F8F9FA;
    --background-dark: #2C3E50;
    --background-light: #ECF0F1;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--quaternary-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--background-dark) 0%, #34495E 100%);
    --gradient-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Work Sans', sans-serif;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.title.is-1 { font-size: 3.5rem; font-weight: 700; }
.title.is-2 { font-size: 2.5rem; font-weight: 600; }
.title.is-3 { font-size: 2rem; font-weight: 600; }
.title.is-4 { font-size: 1.5rem; font-weight: 600; }
.title.is-5 { font-size: 1.25rem; font-weight: 500; }

.subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

/* ===== GLOBAL BUTTON STYLES ===== */
.btn, .button, button, input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.btn:before, .button:before, button:before, input[type="submit"]:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-normal);
}

.btn:hover:before, .button:hover:before, button:hover:before, input[type="submit"]:hover:before {
    left: 100%;
}

.btn.is-primary, .button.is-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn.is-primary:hover, .button.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn.is-secondary, .button.is-secondary {
    background: var(--gradient-secondary);
    color: var(--text-white);
}

.btn.is-light, .button.is-light {
    background: var(--background-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.is-light:hover, .button.is-light:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.cta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition-normal);
    padding: var(--spacing-sm) 0;
}

.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-item:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
}

.navbar-burger {
    display: none;
    cursor: pointer;
    border: none;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.navbar-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.hero-body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.hero-content .title {
    color: var(--text-white) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: var(--spacing-md);
}

.hero-content .subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

.buttons.is-centered {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ===== PARTICLE ANIMATION ===== */
@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes particleGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 6s infinite ease-in-out, particleGlow 3s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 80%; left: 80%; animation-delay: 2s; }
.particle:nth-child(3) { top: 40%; left: 60%; animation-delay: 4s; }

/* ===== CARD COMPONENTS ===== */
.card {
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    margin: 0 auto;
}

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

.card-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

/* ===== PORTFOLIO SECTION ===== */
.adventure-card {
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition-normal);
}

.adventure-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

/* ===== WORKSHOPS SECTION ===== */
.program-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.program-details .tag {
    margin-right: var(--spacing-xs);
    font-weight: 500;
}

/* ===== EVENTS SECTION ===== */
.event-calendar {
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: var(--spacing-sm);
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: var(--radius-md);
    margin-right: var(--spacing-md);
    text-align: center;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-day {
    font-size: 1.5rem;
    font-weight: 700;
}

.event-card .card-content {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    text-align: left;
}

.event-info {
    flex: 1;
}

/* ===== AWARDS SECTION ===== */
.award-card {
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-light) 100%);
    border-top: 4px solid var(--quaternary-color);
}

.award-icon {
    font-size: 3rem;
    opacity: 0.8;
}

/* ===== PRESS SECTION ===== */
.press-card {
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition-normal);
}

.press-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.press-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.press-source {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* ===== BEHIND THE SCENES SECTION ===== */
.team-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ===== INNOVATION SECTION ===== */
#innovation {
    position: relative;
    overflow: hidden;
}

#innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 0;
}

#innovation .container {
    position: relative;
    z-index: 1;
}

/* ===== CONTACT SECTION ===== */
.contact-form-container {
    background: var(--background-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.contact-form .field {
    margin-bottom: var(--spacing-md);
}

.contact-form .label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
    border: 2px solid rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-info {
    padding: var(--spacing-lg);
}

.contact-details {
    color: var(--text-secondary);
}

.contact-item {
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    background: rgba(255, 107, 53, 0.05);
}

/* ===== RESOURCE SECTION ===== */
.resource-card {
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.resource-card:hover {
    border-color: var(--tertiary-color);
    transform: translateY(-4px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-dark);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--text-white);
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.is-active {
    display: flex;
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-card {
    position: relative;
    margin: auto;
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-heavy);
}

.modal-card-head {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0;
}

.modal-card-body {
    padding: var(--spacing-lg);
}

.adventure-option {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border: 2px solid rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.adventure-option:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.05);
}

.delete {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.delete:hover {
    background: rgba(255, 255, 255, 0.2);
}

.delete::before {
    content: '×';
}

/* ===== UTILITY CLASSES ===== */
.has-text-centered { text-align: center; }
.has-text-left { text-align: left; }
.has-text-right { text-align: right; }

.has-background-light { background-color: var(--background-light); }
.has-background-primary { background-color: var(--primary-color); }
.has-background-dark { background-color: var(--background-dark); }

.has-text-white { color: var(--text-white) !important; }
.has-text-light { color: var(--text-light) !important; }
.has-text-primary { color: var(--primary-color) !important; }

.mb-6 { margin-bottom: var(--spacing-xl); }
.mb-4 { margin-bottom: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-md); }

.is-fullwidth { width: 100%; }

/* ===== SUCCESS PAGE ===== */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
}

.success-content {
    text-align: center;
    color: var(--text-white);
    max-width: 600px;
    padding: var(--spacing-lg);
}

/* ===== TERMS & PRIVACY PAGES ===== */
.terms-content,
.privacy-content {
    padding-top: 100px;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: var(--spacing-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .title.is-1 { font-size: 2.5rem; }
    .title.is-2 { font-size: 2rem; }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
}

@media screen and (max-width: 768px) {
    .navbar-burger {
        display: flex;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-primary);
        box-shadow: var(--shadow-medium);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    
    .navbar-menu.is-active {
        display: block;
    }
    
    .navbar-item {
        display: block;
        padding: var(--spacing-sm);
        border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    }
    
    .title.is-1 { font-size: 2rem; }
    .title.is-2 { font-size: 1.75rem; }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    .buttons.is-centered {
        flex-direction: column;
        align-items: center;
    }
    
    .btn, .button {
        width: 100%;
        max-width: 300px;
    }
    
    .event-card .card-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-form-container {
        padding: var(--spacing-md);
    }
    
    .contact-info {
        padding: var(--spacing-md);
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .title.is-1 { font-size: 1.75rem; }
    .hero-content { padding: var(--spacing-sm); }
    
    .card-content {
        padding: var(--spacing-sm);
    }
    
    .event-date {
        min-width: 60px;
        margin-bottom: var(--spacing-sm);
    }
    
    .modal-card {
        width: 95%;
        margin: var(--spacing-sm);
    }
    
    .modal-card-body {
        padding: var(--spacing-md);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.card,
.btn,
.button,
.navbar-item {
    will-change: transform;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== LINK STYLES ===== */
.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.read-more-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
    transform: translateX(5px);
}

.read-more-link::after {
    content: '→';
    margin-left: var(--spacing-xs);
    transition: var(--transition-fast);
}

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