/* Color Scheme */
:root {
  --primary: #343a40;
  --accent: #ffc107;
  --light-bg: #f8f9fa;
  --text-color: #495057;
  --light-accent: #fff3cd;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
}

.navbar-toggler-icon {
  background-color: #343a40;
  border-radius: 4px;
  padding: 4px;
}
/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
  line-height: 1.3;
}

/* Utility Classes */
.text-accent {
  color: var(--accent) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  color: var(--primary);
  transform: translateY(-1px);
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-light {
  background-color: var(--light-bg) !important;
}

/* Header Styles */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary) !important;
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--gray-200) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-section h2 {
  font-size: 1.5rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* Icon Styles */
.icon-circle {
  width: 80px;
  height: 80px;
  background-color: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.icon-circle .material-icons-outlined {
  font-size: 2.5rem;
}

/* Card Styles */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Pricing Cards */
.price-tag {
  padding: 1rem;
  background-color: var(--light-accent);
  border-radius: 10px;
  margin-bottom: 2rem;
}

/* Advantage Items */
.advantage-item {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  background-color: var(--light-accent);
  transform: translateX(10px);
}

/* Form Styles */
.form-control {
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Articles Section */
.articles-list ul li {
  padding: 1rem;
  background-color: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.articles-list ul li:hover {
  background-color: var(--light-accent);
  transform: translateX(5px);
}

/* Footer */
footer {
  background-color: var(--primary) !important;
}

footer a:hover {
  color: var(--accent) !important;
}

/* Cookie Popup */
.cookie-popup {
  background-color: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-bg {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 2rem;
  }
  
  .hero-image {
    border-radius: 20px;
  }
  
  .advantage-item:hover {
    transform: none;
  }
  
  .articles-list ul li:hover {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section h2 {
    font-size: 1.25rem;
  }
  
  .icon-circle {
    width: 60px;
    height: 60px;
  }
  
  .icon-circle .material-icons-outlined {
    font-size: 2rem;
  }
  
  .price-tag .h2 {
    font-size: 1.75rem;
  }
  
  .cookie-popup .col-lg-4 {
    text-align: center !important;
    margin-top: 1rem;
  }
}

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

/* Section Spacing */
section {
  scroll-margin-top: 80px;
}

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

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

/* Loading Animation for Form */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
}

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

/* Material Icons Alignment */
.material-icons,
.material-icons-outlined {
  vertical-align: middle;
}

/* Contact Info Styling */
.contact-info p {
  margin-bottom: 0.25rem;
}

/* Testimonial Cards */
.card-body h5 {
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Badge Styling */
.badge.bg-accent {
  color: var(--primary) !important;
  font-weight: 600;
}

/* Navigation Improvements */
@media (max-width: 991.98px) {
  .offcanvas-body .navbar-nav {
    text-align: center;
  }
  
  .offcanvas-body .nav-link {
    padding: 1rem !important;
    border-bottom: 1px solid var(--gray-200);
  }
  
  .offcanvas-body .nav-link:last-child {
    border-bottom: none;
  }
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .cookie-popup,
  footer {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}
