/* CSS Variables - Complementary Color Scheme */
:root {
  /* Primary Colors - Blue/Orange Complementary */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --secondary-color: #ea580c;
  --secondary-dark: #c2410c;
  --secondary-light: #fb923c;
  
  /* Accent Colors */
  --accent-color: #8b5cf6;
  --accent-dark: #7c3aed;
  --accent-light: #a78bfa;
  
  /* Neutral Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;
  --text-dark: #111827;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-dark: #1f2937;
  --bg-darker: #111827;
  
  /* Neomorphism Colors */
  --neo-bg: #e5e7eb;
  --neo-shadow-light: #ffffff;
  --neo-shadow-dark: #c5c9d1;
  --neo-inset-light: #f3f4f6;
  --neo-inset-dark: #d1d5db;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(139, 92, 246, 0.8));
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Borders */
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
  
  /* Neo-brutalism specific */
  --brutal-shadow: 4px 4px 0px var(--text-dark);
  --brutal-shadow-hover: 6px 6px 0px var(--text-dark);
}

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

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

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

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

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

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

/* Particles Background */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #f0f2f5, #e5e7eb);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  z-index: 1000;
}

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

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

.navbar-item {
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

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

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

/* Global Button Styles */
.btn, .button, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.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: left 0.5s ease;
}

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

/* Primary Button */
.btn-primary, .button.is-primary, .btn, .button {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: var(--brutal-shadow);
  border: 2px solid var(--text-dark);
}

.btn-primary:hover, .button.is-primary:hover, .btn:hover, .button:hover {
  transform: translateY(-2px);
  box-shadow: var(--brutal-shadow-hover);
}

/* Secondary Button */
.btn-secondary, .button.is-outlined {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--brutal-shadow);
}

.btn-secondary:hover, .button.is-outlined:hover {
  background: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--brutal-shadow-hover);
}

/* Large Buttons */
.btn-large, .button.is-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.2rem;
  min-height: 56px;
}

/* Neomorphism Components */
.neomorphism-card {
  background: var(--neo-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    8px 8px 16px var(--neo-shadow-dark),
    -8px -8px 16px var(--neo-shadow-light);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.neomorphism-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    12px 12px 24px var(--neo-shadow-dark),
    -12px -12px 24px var(--neo-shadow-light);
}

.neomorphism-btn {
  background: var(--neo-bg);
  box-shadow: 
    4px 4px 8px var(--neo-shadow-dark),
    -4px -4px 8px var(--neo-shadow-light);
  border: 2px solid var(--text-dark);
}

.neomorphism-btn:hover {
  box-shadow: 
    inset 2px 2px 4px var(--neo-shadow-dark),
    inset -2px -2px 4px var(--neo-shadow-light);
  transform: translateY(-1px);
}

.neomorphism-input {
  background: var(--neo-inset-light);
  border: 2px solid var(--text-dark);
  border-radius: var(--border-radius);
  box-shadow: 
    inset 3px 3px 6px var(--neo-shadow-dark),
    inset -3px -3px 6px var(--neo-shadow-light);
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.neomorphism-input:focus {
  outline: none;
  box-shadow: 
    inset 3px 3px 6px var(--neo-shadow-dark),
    inset -3px -3px 6px var(--neo-shadow-light),
    0 0 0 3px rgba(37, 99, 235, 0.3);
}

.neomorphism-select select {
  background: var(--neo-bg);
  border: 2px solid var(--text-dark);
  border-radius: var(--border-radius);
  box-shadow: 
    4px 4px 8px var(--neo-shadow-dark),
    -4px -4px 8px var(--neo-shadow-light);
}

.neomorphism-toggle {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--neo-bg);
  border-radius: var(--border-radius-xl);
  box-shadow: 
    4px 4px 8px var(--neo-shadow-dark),
    -4px -4px 8px var(--neo-shadow-light);
  border: 2px solid var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.parallax-bg {
  background-attachment: fixed;
}

.hero-body {
  padding: var(--spacing-xxl) 0;
  position: relative;
  z-index: 2;
}

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

.hero .subtitle {
  color: var(--text-white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  margin-bottom: var(--spacing-lg);
}

.hero .content {
  color: var(--text-white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--spacing-xl);
}

/* Gallery Section */
.gallery-container {
  margin-bottom: var(--spacing-xl);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid var(--text-dark);
}

.card:hover {
  transform: translateY(-10px) rotate(1deg);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.card-content .title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.card-content .content {
  flex-grow: 1;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

/* Statistics Widget */
.stat-widget {
  padding: var(--spacing-xl);
  text-align: center;
  background: var(--bg-secondary);
  transition: all 0.3s ease;
}

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

.stat-widget .title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
}

/* Events Calendar */
.calendar-toggle {
  margin-top: var(--spacing-lg);
}

.switch {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 50px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--neo-bg);
  transition: 0.4s;
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-primary);
}

.slider:before {
  position: absolute;
  content: "";
  height: 40px;
  width: 40px;
  left: 5px;
  bottom: 5px;
  background: var(--gradient-primary);
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider:before {
  transform: translateX(145px);
}

/* Contact Form */
.contact-form {
  padding: var(--spacing-lg);
  width: 100%;
}

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

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

.input, .textarea, .select select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--text-dark);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

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

/* Read More Links */
.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: var(--spacing-xs);
  transition: transform 0.3s ease;
}

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

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

/* Footer */
.footer {
  background: var(--bg-darker);
  color: var(--text-white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
}

.footer .title {
  color: var(--text-white) !important;
  margin-bottom: var(--spacing-md);
}

.footer .content {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

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

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.social-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  padding-left: var(--spacing-md);
}

.social-links a::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.social-links a:hover::before {
  color: var(--secondary-color);
}

.disclaimer-text {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--text-secondary);
}

/* Press Section */
#press .card {
  background: var(--bg-secondary);
  transition: all 0.3s ease;
}

#press .card:hover {
  background: var(--bg-primary);
  box-shadow: var(--shadow-lg);
}

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

.success-content {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-xxl);
  border-radius: var(--border-radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--text-dark);
  max-width: 600px;
  width: 100%;
}

/* Privacy and Terms Pages */
.content-page {
  padding-top: 120px;
  padding-bottom: var(--spacing-xxl);
}

.content-page .container {
  max-width: 800px;
}

.content-page h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.content-page h2 {
  color: var(--text-primary);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.content-page p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.8rem; }
  
  .hero-body {
    padding: var(--spacing-xl) 0;
  }
  
  .card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
  
  .navbar-item {
    font-size: 1.1rem;
    padding: var(--spacing-sm);
  }
  
  .hero-body {
    padding: var(--spacing-lg) 0;
  }
  
  .btn-large, .button.is-large {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
  }
  
  .card-image {
    height: 180px;
  }
  
  .neomorphism-card {
    margin-bottom: var(--spacing-md);
  }
  
  .stat-widget {
    padding: var(--spacing-lg);
  }
  
  .social-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-md);
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .card-content {
    padding: var(--spacing-sm);
  }
  
  .hero-body {
    padding: var(--spacing-md) 0;
  }
  
  .btn, .button {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
  }
  
  .success-content {
    padding: var(--spacing-lg);
  }
  
  .switch {
    width: 150px;
    height: 40px;
  }
  
  .slider:before {
    height: 30px;
    width: 30px;
  }
  
  input:checked + .slider:before {
    transform: translateX(105px);
  }
}

/* Animation Classes */
@keyframes particle-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animated-gradient {
  background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-light));
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

/* AOS Animation Overrides */
[data-aos] {
  transition-duration: 0.6s;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-blur {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
}

.overflow-hidden {
  overflow: hidden;
}

.position-relative {
  position: relative;
}

.z-index-1 {
  z-index: 1;
}

.z-index-2 {
  z-index: 2;
}

/* Glassmorphism Effects */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

/* Print Styles */
@media print {
  .navbar, .footer, #particles-js {
    display: none !important;
  }
  
  .hero {
    background: none !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}