/* CSS Variables */
:root {
  /* Primary Colors (Complementary Scheme) */
  --primary-color: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-light: #ff8c66;
  --secondary-color: #35a7ff;
  --secondary-dark: #2b8ce5;
  --secondary-light: #66bbff;
  
  /* Accent Colors */
  --accent-color: #ff3585;
  --accent-dark: #e52b6b;
  --accent-light: #ff66a6;
  
  /* Neutral Colors */
  --dark-color: #1a1a1a;
  --dark-light: #2d2d2d;
  --light-color: #f8f9fa;
  --light-dark: #e9ecef;
  --white: #ffffff;
  --black: #000000;
  
  /* Text Colors */
  --text-primary: #222222;
  --text-secondary: #666666;
  --text-light: #999999;
  --text-white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  --gradient-dark: linear-gradient(135deg, var(--dark-color), var(--dark-light));
  
  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-brutalist: 8px 8px 0px var(--dark-color);
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 20px;
  
  /* Border Radius */
  --border-radius-small: 4px;
  --border-radius-medium: 8px;
  --border-radius-large: 16px;
  --border-radius-organic: 30% 70% 70% 30% / 30% 30% 70% 70%;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-medium: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-slow: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

/* Container and Section Utilities */
.section-padding {
  padding: var(--section-padding);
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 3px solid transparent;
  border-radius: var(--border-radius-small);
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-brutalist);
}

.btn-primary:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--dark-color);
  background: var(--primary-dark);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 4px 4px 0px rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(255,255,255,0.5);
}

.btn-brutalist {
  border-radius: 0;
  transform: translateZ(0);
}

.btn-brutalist:hover {
  animation: bounceButton 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceButton {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2px, -2px); }
  50% { transform: translate(-4px, -4px); }
  75% { transform: translate(-2px, -2px); }
}

/* Header Styles */
.header-brutalist {
  background: var(--dark-color);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  box-shadow: var(--shadow-medium);
}

.navbar {
  padding: 1rem 0;
  transition: all var(--transition-medium);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white) !important;
  text-decoration: none;
}

.brand-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* Brutalist Burger Menu */
.brutalist-burger {
  border: none;
  background: none;
  padding: 10px;
  position: relative;
  width: 40px;
  height: 40px;
}

.burger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  transition: all var(--transition-fast);
  border-radius: 0;
}

.brutalist-burger:focus .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.brutalist-burger:focus .burger-line:nth-child(2) {
  opacity: 0;
}

.brutalist-burger:focus .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(255,107,53,0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  color: var(--white) !important;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white) !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Biomorphic Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: var(--border-radius-organic);
  animation: floatShape 15s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 200px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 300px;
  bottom: 20%;
  left: 15%;
  animation-delay: 5s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  top: 60%;
  right: 30%;
  animation-delay: 10s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(10deg); }
  66% { transform: translateY(10px) rotate(-5deg); }
}

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

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

.brutalist-card {
  border-radius: 0;
  box-shadow: var(--shadow-brutalist);
  border: 3px solid var(--dark-color);
}

.brutalist-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--dark-color);
}

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

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

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

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

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  background: var(--white);
}

.price-tag {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--border-radius-small);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: auto;
}

/* Testimonial Cards */
.testimonial-card .card-image {
  height: 200px;
  border-radius: 50%;
  width: 200px;
  margin: 1rem auto;
}

.testimonial-card .card-image img {
  border-radius: 50%;
}

.stars {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.customer-info strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.customer-info small {
  color: var(--text-light);
}

/* Event Cards */
.event-card {
  background: var(--light-color);
}

.event-date {
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--border-radius-small);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.event-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.event-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.event-price {
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--border-radius-small);
  font-weight: 600;
  text-align: center;
}

/* Career Cards */
.career-card {
  background: var(--light-color);
  border-left: 5px solid var(--primary-color);
}

.position-title {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.position-type {
  background: var(--secondary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--border-radius-small);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.position-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.requirements-list {
  list-style: none;
  padding: 0;
}

.requirements-list li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.requirements-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Resource Cards */
.resource-card {
  background: var(--white);
  border-top: 4px solid var(--accent-color);
  transition: all var(--transition-medium);
}

.resource-card:hover {
  border-top-color: var(--primary-color);
}

.resource-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.resource-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-info {
  background: var(--light-color);
  padding: 3rem;
  border-radius: var(--border-radius-medium);
  height: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon-wrapper {
  background: var(--gradient-primary);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-content h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.info-content p {
  color: var(--text-secondary);
  margin: 0;
}

/* Form Styles */
.brutalist-form {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-brutalist);
  border: 3px solid var(--dark-color);
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.form-control {
  border: 3px solid var(--dark-color);
  border-radius: 0;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 4px 4px 0px var(--primary-color);
  outline: none;
  transform: translate(-2px, -2px);
}

.form-control::placeholder {
  color: var(--text-light);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--white);
  margin-top: 4rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.social-link {
  color: var(--white);
  text-decoration: none;
  padding: 10px 15px;
  background: var(--dark-light);
  border-radius: var(--border-radius-small);
  transition: all var(--transition-fast);
  font-weight: 500;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-divider {
  border-color: var(--dark-light);
  margin: 2rem 0;
}

.footer-copyright {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 600px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 4rem 3rem;
  border-radius: var(--border-radius-large);
  border: 1px solid rgba(255,255,255,0.2);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

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

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

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

.content-page h2 {
  color: var(--primary-color);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

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

.content-page ul {
  color: var(--text-secondary);
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-page li {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .contact-info,
  .brutalist-form {
    padding: 2rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .navbar-collapse {
    background: var(--dark-color);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-small);
  }
}

@media (max-width: 576px) {
  .hero-shapes {
    display: none;
  }
  
  .shape {
    display: none;
  }
  
  .brutalist-card {
    box-shadow: 4px 4px 0px var(--dark-color);
  }
  
  .brutalist-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--dark-color);
  }
  
  .btn-primary {
    box-shadow: 4px 4px 0px var(--dark-color);
  }
  
  .btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--dark-color);
  }
}

/* Print Styles */
@media print {
  .header-brutalist,
  .footer,
  .hero-shapes {
    display: none;
  }
  
  .hero-section {
    background: none;
    color: var(--text-primary);
  }
  
  .hero-title,
  .hero-subtitle {
    color: var(--text-primary) !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --primary-color: #0066cc;
    --secondary-color: #cc6600;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-section {
    background-attachment: scroll;
  }
}