@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
  --primary-color: #22c55e;
  --secondary-color: #ff8c42;
  --accent-color: #1e3a8a;
  --text-dark: #2d3748;
  --text-light: #f7fafc;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
}

* {
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text-dark);
}

body {
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

.navbar {
  box-shadow: var(--shadow);
  background-color: var(--bg-white) !important;
  border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--accent-color) !important;
  letter-spacing: -0.5px;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

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

.nav-link.active {
  color: var(--accent-color) !important;
  border-bottom: 2px solid var(--accent-color);
}

/* Hero Sections */
.hero-section {
  height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-content {
  min-height: 400px;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-section .lead {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-section-small {
  height: 250px;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-content-small {
  min-height: 200px;
}

.hero-section-small h1 {
  font-size: 2.5rem;
}

/* Buttons */
.btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-white);
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #16a34a;
  border-color: #16a34a;
  transform: scale(1.03);
}

.btn-success:focus,
.btn-success:active {
  background-color: #16a34a;
  border-color: #16a34a;
  box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

.btn-secondary {
  background-color: #6b7280;
  border-color: #6b7280;
  color: var(--bg-white);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #4b5563;
  border-color: #4b5563;
  transform: scale(1.03);
}

.btn-outline-dark {
  color: var(--text-dark);
  border-color: var(--text-dark);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: transparent;
}

.btn-outline-light {
  color: var(--bg-white);
  border-color: var(--bg-white);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-white);
}

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

.btn-primary:hover {
  background-color: #1e40af;
  border-color: #1e40af;
  transform: scale(1.03);
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

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

.product-card {
  overflow: hidden;
}

.product-card img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-card .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

.product-card .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

/* Timeline */
.timeline-container {
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
  z-index: -1;
}

.timeline-item {
  position: relative;
  padding-top: 60px;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 3px solid var(--bg-white);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.timeline-link {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.timeline-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Advice Cards */
.advice-card {
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.advice-card:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.advice-card h5 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.advice-card p {
  font-size: 0.95rem;
  color: #6b7280;
}

/* FAQ Cards */
.faq-card {
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.faq-card:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow);
}

.faq-card h5 {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.faq-card p {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Gallery */
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.gallery-item img {
  transition: transform 0.3s ease;
  height: 250px;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Split Section */
.split-section {
  background: var(--bg-light);
}

.split-section img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.message-example {
  background: var(--bg-white);
  padding: 1.5rem;
  border-left: 4px solid var(--accent-color);
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.message-example strong {
  color: var(--accent-color);
}

/* Banner Section */
.banner-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 20px;
  color: white;
  text-align: center;
  border-radius: 8px;
  margin: 40px 0;
}

.banner-section h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

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

.banner-section-small {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 40px 20px;
  color: white;
  text-align: center;
  margin: 30px 0;
}

.banner-section-small h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.banner-section-small p {
  font-size: 0.95rem;
}

/* Comparison Table */
.comparison-table {
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.comparison-table thead {
  background-color: var(--accent-color);
  color: white;
}

.comparison-table th {
  padding: 1rem;
  font-weight: 600;
  text-align: left;
  border: 1px solid var(--border-light);
}

.comparison-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table tbody tr:hover {
  background-color: var(--bg-light);
}

/* Category Filter */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-filter .btn {
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.category-filter .btn.active {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: white;
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

/* Footer */
footer {
  background-color: #1a202c;
  color: white;
  margin-top: 40px;
}

footer h5 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

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

footer a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

footer hr {
  border-color: #4a5568;
  margin: 1.5rem 0;
}

/* Forms */
.form-control {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

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

/* Badges */
.badge {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.badge-primary {
  background-color: var(--accent-color);
  color: white;
}

.badge-success {
  background-color: var(--primary-color);
  color: white;
}

.badge-info {
  background-color: #06b6d4;
  color: white;
}

.badge-warning {
  background-color: #f59e0b;
  color: white;
}

.badge-danger {
  background-color: #ef4444;
  color: white;
}

.badge-secondary {
  background-color: #6b7280;
  color: white;
}

/* Alerts */
.alert {
  border-radius: 8px;
  border: none;
}

.alert-info {
  background-color: #dbeafe;
  color: #1e40af;
}

.alert-warning {
  background-color: #fef3c7;
  color: #92400e;
}

.alert-success {
  background-color: #dcfce7;
  color: #15803d;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    height: 350px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .timeline::before {
    display: none;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-marker {
    display: none;
  }

  .timeline-content {
    text-align: left;
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
  }

  .split-section {
    padding: 2rem 0;
  }

  .banner-section {
    margin: 20px -12px;
    border-radius: 0;
  }

  .banner-section h2 {
    font-size: 1.5rem;
  }

  .category-filter .btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  .table-responsive {
    font-size: 0.85rem;
  }

  .nav-link {
    margin-left: 0;
    padding-left: 0;
  }

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-banner .row {
    flex-direction: column;
  }

  .cookie-banner .text-right {
    text-align: left !important;
    margin-top: 1rem;
  }

  .cookie-banner .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e40af;
}
