/* CSS Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #404040;
    --light-color: #f5f5f5;
    --white-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(64, 64, 64, 0.6) 100%);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

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

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

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

/* Global Button Styles */
.btn, .button, input[type='submit'] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 4px 15px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.btn:hover, .button:hover, input[type='submit']:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
    background: var(--secondary-color);
}

.btn-3d {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 6px 20px var(--shadow-medium);
    transform: perspective(1px) translateZ(0);
}

.btn-3d:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--shadow-heavy);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-light);
    transition: all var(--transition-fast);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.navbar-item:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
}

.hero-body {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero .title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--white-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Section Styles */
.section {
    padding: 4rem 0;
    position: relative;
}

.section .title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section .subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Card Styles */
.card {
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all var(--transition-fast);
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.card-image {
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

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

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -3rem;
    width: 2px;
    background: var(--border-color);
}

.timeline-marker {
    position: absolute;
    left: -8px;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px var(--white-color), 0 0 0 6px var(--border-color);
}

.timeline-content {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all var(--transition-fast);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

/* Carousel Styles */
.carousel-container, .success-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-item.active {
    display: block;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-prev, .carousel-next {
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Stats Styles */
.stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Insights Slider */
.insights-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    display: none;
    animation: slideIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.insight-card {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all var(--transition-fast);
}

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

.insight-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.insight-content {
    padding: 2rem;
    text-align: center;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.dot.active {
    background: var(--primary-color);
}

/* Calendar Styles */
.calendar-container {
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    padding: 2rem;
}

.calendar-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.calendar-day {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: all var(--transition-fast);
}

.calendar-day:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

.day-number {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.event-item {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: var(--light-color);
    border-radius: 4px;
}

.event-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    display: block;
}

.event-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Event Details */
.event-details {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Media Gallery */
.media-gallery {
    max-width: 100%;
}

.media-item {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all var(--transition-fast);
    margin-bottom: 2rem;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.media-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.media-content {
    padding: 1.5rem;
    text-align: center;
}

/* Contact Form */
.contact-form {
    max-width: 100%;
}

.field {
    margin-bottom: 1.5rem;
}

.label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.input, .textarea, .select select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white-color);
}

.input:focus, .textarea:focus, .select select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.textarea {
    resize: vertical;
    min-height: 120px;
}

.select {
    position: relative;
}

.select::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h3, .footer h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--light-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--white-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--light-color);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Success Page */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
}

.success-content {
    background: var(--white-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px var(--shadow-light);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

/* Privacy and Terms Pages */
.content-page {
    padding-top: 100px;
    min-height: 100vh;
}

.content-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.content-page h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.content-page p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Read More Links */
.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all var(--transition-fast);
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin var(--transition-fast);
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover::after {
    margin-left: 1rem;
}

/* Notifications */
.notification {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

/* Cookie Consent */
.cookie-consent {
    background: rgba(0, 0, 0, 0.95);
    color: var(--white-color);
    padding: 1.5rem;
    text-align: center;
    font-family: 'Merriweather', serif;
}

.cookie-consent button {
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.cookie-consent button:hover {
    background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .title {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section .title {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .carousel-controls {
        gap: 0.5rem;
    }
    
    .stats {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero .title {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .insight-content {
        padding: 1.5rem;
    }
    
    .success-content {
        padding: 2rem;
    }
}

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

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

/* Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}