/* CSS Variables for Theme Colors */
:root {
  --neom-primary: #0d6efd;
  --neom-secondary: #6c757d;
  --neom-success: #198754;
  --neom-info: #0dcaf0;
  --neom-warning: #ffc107;
  --neom-danger: #dc3545;
  --neom-light: #f8f9fa;
  --neom-dark: #212529;
}

/* Dark Theme Variables */
[data-bs-theme="dark"] {
  --neom-primary: #4d94ff;
  --neom-secondary: #6c757d;
  --neom-light: #f8f9fa;
  --neom-dark: #212529;
  --bg-color: #121212;
  --text-color: #ffffff;
  --card-bg: #1e1e1e;
}

/* Outdoor Theme Variables */
[data-bs-theme="outdoor"] {
  --neom-primary: #2d6d4f;
  --neom-secondary: #6c757d;
  --neom-light: #f8f9fa;
  --neom-dark: #212529;
  --bg-color: #f1f8e9;
  --text-color: #333333;
  --card-bg: #e8f5e8;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: all 0.3s ease;
}

[data-bs-theme="dark"] body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

[data-bs-theme="outdoor"] body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* Header Styles */
.top-bar {
  background-color: var(--neom-light);
  color: var(--neom-dark);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.main-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

[data-bs-theme="dark"] .main-header {
  background-color: #343a40;
}

[data-bs-theme="outdoor"] .main-header {
  background-color: #e8f5e8;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--neom-primary) !important;
}

/* Carousel Styles */
.carousel-section {
  position: relative;
}

.carousel-item {
  height: 70vh;
  object-fit: cover;
}

.carousel-caption {
  background-color: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 10px;
  max-width: 80%;
  margin: 0 auto;
}

.carousel-caption h1 {
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--neom-primary);
}

/* Card Styles */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--neom-primary);
}

.project-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Contact Form Styles */
.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

[data-bs-theme="dark"] .contact-form {
  background-color: #343a40;
  color: white;
}

[data-bs-theme="outdoor"] .contact-form {
  background-color: #e8f5e8;
  color: #333;
}

.contact-info {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

[data-bs-theme="dark"] .contact-info {
  background-color: #343a40;
  color: white;
}

[data-bs-theme="outdoor"] .contact-info {
  background-color: #e8f5e8;
  color: #333;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item i {
  font-size: 1.2rem;
  width: 30px;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img[data-src] {
  opacity: 0;
}

img.loaded {
  opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--neom-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0b5ed7;
}

/* Form focus styles */
.form-control:focus {
  border-color: var(--neom-primary);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Button hover effects */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Modal customizations */
.modal-content {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Utility classes */
.text-shadow {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.bg-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.content-relative {
  position: relative;
  z-index: 2;
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.95);
  color: white;
  padding: 1rem 0;
  z-index: 1050;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

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

.cookie-consent-banner p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.cookie-consent-banner .btn {
  font-weight: 500;
}

/* Dark theme adjustments for cookie banner */
[data-bs-theme="dark"] .cookie-consent-banner {
  background-color: rgba(13, 17, 23, 0.95);
}

/* Outdoor theme adjustments for cookie banner */
[data-bs-theme="outdoor"] .cookie-consent-banner {
  background-color: rgba(45, 106, 79, 0.95);
}

/* Mobile responsive styles for cookie banner */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 1.5rem 0;
  }
  
  .cookie-consent-banner p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* Footer Styles */
footer .akm-logo {
  transition: all 0.3s ease;
}

footer .akm-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .carousel-item {
    height: 50vh;
  }
  
  .carousel-caption {
    padding: 1rem;
  }
  
  .carousel-caption h1 {
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  /* Footer tablet styles */
  footer {
    padding: 1.8rem 0;
  }
  
  footer .akm-logo {
    width: 90px;
    height: 22px;
  }
}

@media (max-width: 576px) {
  .top-bar {
    font-size: 0.8rem;
  }
  
  .top-bar .row {
    text-align: center;
  }
  
  .top-bar .col-md-6 {
    margin-bottom: 0.5rem;
  }
  
  .carousel-item {
    height: 40vh;
  }
  
  section {
    padding: 3rem 0;
  }
  
  /* Footer mobile styles */
  .footer {
    padding: 1.5rem 0;
  }
  
  .footer .akm-logo {
    width: 80px;
    height: 20px;
  }
  
  .footer .designed-by {
    font-size: 0.9rem;
  }
}