/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233, 236, 239, 0.3);
  z-index: var(--z-header);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.site-header.scrolled {
  background: rgba(248, 249, 250, 0.98);
  box-shadow: 0 2px 20px rgba(42, 45, 52, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo:hover {
  color: var(--secondary);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
  filter: drop-shadow(-1px 0 #ff0000) drop-shadow(1px 0 #00ffff);
}

.main-navigation {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

.main-navigation a:hover {
  color: var(--secondary);
  text-decoration: none;
}

.header-cta-button {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.header-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
  text-decoration: none;
  color: white;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-icon {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  stroke-width: 2;
}

/* Main Content Spacing */
.main-content {
  margin-top: 80px;
}

/* Footer Styles */
.site-footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--scan-line);
  opacity: 0.05;
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-shadow: var(--rgb-offset);
}

.footer-section p,
.footer-section ul {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
  filter: drop-shadow(-1px 0 rgba(255, 0, 0, 0.3)) drop-shadow(1px 0 rgba(0, 255, 255, 0.3));
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: white;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
  text-decoration: none;
}

/* Card Styles */
.content-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(42, 45, 52, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.content-card:hover {
  transform: perspective(1000px) rotateY(2deg) translateY(-5px);
  box-shadow: 0 12px 35px rgba(42, 45, 52, 0.15);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  fill: var(--secondary);
  filter: drop-shadow(-1px 0 #ff0000) drop-shadow(1px 0 #00ffff);
}

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

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-link {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.card-link:hover {
  color: var(--accent);
  transform: translateX(5px);
  text-decoration: none;
}

/* Image Cards */
.image-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(42, 45, 52, 0.08);
  transition: all 0.3s ease;
}

.image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(42, 45, 52, 0.15);
}

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

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

.image-card-content {
  padding: 1.5rem;
}

/* Form Styles */
.contact-form-wrapper {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(42, 45, 52, 0.08);
  position: relative;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-primary);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
  background: white;
}

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

.form-submit-button {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.form-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.form-submit-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.form-submit-button:hover::after {
  left: 100%;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 1rem;
  z-index: var(--z-cookie-banner);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.875rem;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-accept-button,
.cookie-decline-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept-button {
  background: var(--accent);
  color: white;
}

.cookie-accept-button:hover {
  background: var(--accent-hover);
}

.cookie-decline-button {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Header */
@media (max-width: 768px) {
  .main-navigation {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(248, 249, 250, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
  }

  .main-navigation.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-navigation a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
  }

  .main-navigation a:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-cta-button {
    display: none;
  }

  .site-logo {
    font-size: 1.25rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-buttons {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .content-card {
    padding: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}