/* ========================================
   CSS Variables & Theme Definition
======================================== */
:root {
    /* Primary Colors - Gradient Scheme */
    --primary-color: #667eea;
    --primary-dark: #4c63d2;
    --primary-light: #a8b5ff;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Secondary Colors */
    --secondary-color: #f093fb;
    --secondary-dark: #e066f0;
    --secondary-light: #f5c6ff;
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* Accent Colors - Eco-minimalism inspired */
    --accent-green: #00d4aa;
    --accent-green-dark: #00a085;
    --accent-blue: #4facfe;
    --accent-purple: #a8edea;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fb;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #1a1a1a;
    
    /* Glass Morphism Colors */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    
    /* Background Gradients */
    --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --section-gradient: linear-gradient(45deg, #f8f9fb 0%, #ffffff 100%);
    --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Source Sans Pro', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Shadows */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Reset & Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--section-gradient);
    overflow-x: hidden;
}

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

.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: 500; }
.title.is-5 { font-size: 1.25rem; font-weight: 500; }
.title.is-6 { font-size: 1rem; font-weight: 500; }

.subtitle {
    font-family: var(--font-secondary);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.subtitle.is-4 { font-size: 1.25rem; }
.subtitle.is-5 { font-size: 1.1rem; }

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    line-height: 1.7;
}

/* Text Colors */
.has-text-white { color: var(--white) !important; }
.has-text-dark { color: var(--dark-gray) !important; }
.has-text-light { color: var(--light-gray) !important; }
.has-text-primary { color: var(--primary-color) !important; }
.has-text-grey-dark { color: var(--gray) !important; }

/* ========================================
   Global Button Styles
======================================== */
.btn,
.button,
input[type="submit"],
button {
    font-family: var(--font-secondary);
    font-weight: 500;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-medium);
    transform: translateY(0);
}

.btn:hover,
.button:hover,
input[type="submit"]:hover,
button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    color: var(--white);
}

.btn:active,
.button:active,
input[type="submit"]:active,
button:active {
    transform: translateY(0) scale(0.98);
}

/* Button Variants */
.button.is-primary {
    background: var(--primary-gradient);
    color: var(--white);
}

.button.is-light {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    backdrop-filter: blur(10px);
}

.button.is-small { padding: 0.5rem 1rem; font-size: 0.875rem; }
.button.is-large { padding: 1rem 2rem; font-size: 1.125rem; }
.button.is-fullwidth { width: 100%; }

/* Glass Button Effect */
.glass-button {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    color: var(--white);
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* ========================================
   Navigation Header
======================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-item {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    position: relative;
}

.navbar-item:hover {
    color: var(--primary-color);
    background: transparent;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

.navbar-item:hover::after {
    width: 80%;
}

/* ========================================
   Glass Morphism Components
======================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all var(--transition-slow);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.5);
}

.glass-card:hover::before {
    left: 100%;
}

.glass-input {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--dark-gray);
}

.glass-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    background: var(--hero-gradient);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(102, 126, 234, 0.3));
    z-index: 1;
}

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

.hero .title {
    color: var(--white) !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: heroSlideUp 1s ease-out;
}

.hero .subtitle {
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: heroSlideUp 1s ease-out 0.2s both;
}

.hero .buttons {
    animation: heroSlideUp 1s ease-out 0.4s both;
}

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Section Layouts
======================================== */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

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

/* Privacy & Terms Pages Spacing */
.privacy-content,
.terms-content {
    padding-top: 100px;
}

/* ========================================
   Statistics Section
======================================== */
#statistics {
    background: linear-gradient(45deg, #f8f9fb 0%, #ffffff 100%);
    padding: var(--spacing-xl) 0;
}

.stat-widget {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.stat-widget:hover {
    transform: translateY(-10px) rotateY(5deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

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

/* ========================================
   Pricing Section
======================================== */
.pricing-card {
    transition: all var(--transition-medium);
    position: relative;
    display: flex;
    flex-direction: column;
    /* height: 100%; */
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(31, 38, 135, 0.6);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    margin: var(--spacing-sm) 0;
}

.pricing-card ul {
    list-style: none;
    margin: var(--spacing-md) 0;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

/* ========================================
   Events Calendar Section
======================================== */
.event-card {
    transition: all var(--transition-medium);
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.event-card:hover {
    transform: translateY(-5px) rotateX(5deg);
}

.event-card .card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

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

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

.event-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* ========================================
   History Section
======================================== */
#history {
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
}

#history img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    width: 100%;
    height: auto;
    object-fit: cover;
}

#history img:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: var(--shadow-heavy);
}

/* ========================================
   Community Section
======================================== */
#community img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    width: 100%;
    height: auto;
    object-fit: cover;
}

#community img:hover {
    transform: scale(1.05) rotateX(5deg);
    box-shadow: var(--shadow-heavy);
}

/* ========================================
   Sustainability Section
======================================== */
#sustainability {
    background: linear-gradient(45deg, #00d4aa10 0%, #4facfe10 100%);
}

#sustainability img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    width: 100%;
    height: auto;
    object-fit: cover;
}

#sustainability img:hover {
    transform: scale(1.05) rotateY(-5deg);
    box-shadow: var(--shadow-heavy);
}

/* ========================================
   Contact Section
======================================== */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

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

.label {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.input,
.textarea,
.select select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--dark-gray);
    transition: all var(--transition-fast);
}

.input:focus,
.textarea:focus,
.select select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* ========================================
   Footer
======================================== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #343a40 100%);
    color: var(--light-gray);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

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

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

.footer-links a:hover {
    color: var(--primary-light);
    text-decoration: none;
}

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

.social-links a {
    color: var(--light-gray);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
    font-weight: 500;
}

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

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

/* ========================================
   Success Page
======================================== */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-gradient);
    padding-top: 80px;
}

.success-content {
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 500px;
    box-shadow: var(--glass-shadow);
}

.success-content .title {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.success-content .subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   Card Components
======================================== */
.card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    /* height: 100%; */
}

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

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

/* ========================================
   Animations & 3D Effects
======================================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate3d {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    50% { transform: rotateY(180deg) rotateX(5deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: var(--glass-shadow); }
    50% { box-shadow: 0 8px 32px rgba(102, 126, 234, 0.6); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-rotate3d {
    animation: rotate3d 10s linear infinite;
}

.animate-glow:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Parallax Effect */
.parallax {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.parallax-element {
    transition: all var(--transition-medium);
}

.parallax:hover .parallax-element {
    transform: translateZ(50px);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
    }
    
    .title.is-1 { font-size: 2.5rem; }
    .title.is-2 { font-size: 2rem; }
    
    .hero {
        min-height: 70vh;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .columns {
        display: block;
    }
    
    .column {
        width: 100%;
        margin-bottom: var(--spacing-md);
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: var(--spacing-md);
    }
    
    .navbar-menu {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .hero .title {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .button.is-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .glass-card {
        padding: var(--spacing-sm);
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
}

/* ========================================
   Utility Classes
======================================== */
.has-text-centered { text-align: center; }
.is-fullheight { min-height: 100vh; }
.is-vcentered { align-items: center; }
.is-centered { justify-content: center; }
.is-multiline { flex-wrap: wrap; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }

/* Theme-specific Colors */
.bg-primary { background: var(--primary-gradient); }
.bg-glass { background: var(--glass-bg); backdrop-filter: blur(15px); }
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Performance Optimizations */
.will-change { will-change: transform, opacity; }
.gpu-accelerated { transform: translateZ(0); }

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.9);
        --glass-border: rgba(0, 0, 0, 0.3);
    }
}

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