/* ==============================================
   AETOS CONSULT – Hauptstylesheet
   ============================================== */

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

:root {
  --primary:       #28a745;
  --primary-dark:  #1e7e34;
  --primary-light: #d4edda;
  --accent:        #155724;
  --text-dark:     #1a1a2e;
  --text-muted:    #6c757d;
  --bg-light:      #f8f9fa;
  --white:         #ffffff;
  --border:        #dee2e6;
  --shadow:        0 4px 24px rgba(0,0,0,.10);
  --radius:        12px;
  --transition:    .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { font-weight: 300; }
a  { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  font-weight: 300;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0.75rem auto 1.5rem;
}

/* ---- BUTTONS ---- */
.btn-primary-custom {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40,167,69,.35);
}

.btn-outline-custom {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-green-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-green-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- NAVBAR ---- */
.navbar-aetos {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-aetos .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-aetos .navbar-brand span.brand-icon {
  font-size: 1.8rem;
}
.navbar-aetos .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.navbar-aetos .nav-link:hover,
.navbar-aetos .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}
.navbar-aetos .nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.45rem 1.4rem !important;
}
.navbar-aetos .nav-cta:hover {
  background: var(--primary-dark) !important;
  color: var(--white) !important;
}
.navbar-toggler { border: none; outline: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ---- HERO ---- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(21,87,36,.82) 0%, rgba(40,167,69,.65) 100%),
    url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: var(--white);
}
.hero-section .hero-content { position: relative; z-index: 2; }
.hero-section h1 { font-weight: 700; margin-bottom: 1.25rem; }
.hero-section p { font-size: 1.15rem; font-weight: 300; margin-bottom: 2rem; max-width: 600px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}

/* ---- SERVICES CARDS ---- */
.services-section { padding: 5rem 0; background: var(--bg-light); }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  text-align: center;
  border-top: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(40,167,69,.18);
  border-top-color: var(--primary);
}
.service-card .icon-wrap {
  width: 70px; height: 70px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
  transition: background var(--transition);
}
.service-card:hover .icon-wrap { background: var(--primary); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- ABOUT PREVIEW ---- */
.about-preview { padding: 5rem 0; }
.about-preview img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  height: 400px;
}

/* ---- STATS ---- */
.stats-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  padding: 4rem 0;
  color: var(--white);
}
.stat-item { text-align: center; padding: 1rem; }
.stat-item .number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.stat-item .label {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--bg-light);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, rgba(21,87,36,.85) 0%, rgba(40,167,69,.7) 100%),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1600&auto=format&fit=crop') center/cover no-repeat;
  padding: 5rem 0 4rem;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { font-weight: 300; font-size: 1.1rem; max-width: 600px; margin: 0.75rem auto 0; opacity: 0.9; }

/* ---- BLOG CARDS ---- */
.blog-section { padding: 5rem 0; }
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
}
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-body .tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.blog-card-body p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.blog-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1.2rem;
  transition: gap var(--transition);
}
.blog-card-body .read-more:hover { gap: 0.6rem; }

/* ---- ARTICLE PAGE ---- */
.article-hero {
  background: linear-gradient(135deg, rgba(21,87,36,.80) 0%, rgba(40,167,69,.65) 100%),
    url('') center/cover no-repeat;
  padding: 5rem 0 4rem;
  color: var(--white);
}
.article-body { padding: 3.5rem 0 5rem; }
.article-body h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.article-body h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
.article-body p  { margin-bottom: 1.2rem; color: #333; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow); max-height: 460px; width: 100%; object-fit: cover; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255,255,255,.85);
  font-size: 0.9rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* ---- COURSE CARDS ---- */
.course-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(40,167,69,.18);
}
.course-card img { width: 100%; height: 200px; object-fit: cover; }
.course-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.course-card-body h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.course-card-body p  { color: var(--text-muted); font-size: 0.88rem; flex: 1; }
.course-card-body .course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- CONTACT ---- */
.contact-section { padding: 5rem 0; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon { font-size: 1.4rem; color: var(--primary); flex-shrink: 0; }
.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40,167,69,.15);
  outline: none;
}
.contact-form label { font-weight: 500; font-size: 0.9rem; margin-bottom: 0.4rem; }

/* ---- MAP ---- */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrapper iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---- FAQ ---- */
.faq-section { padding: 5rem 0; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--white);
}
.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-button::after { filter: none; }

/* ---- FOOTER ---- */
.footer {
  background: #0f2417;
  color: rgba(255,255,255,.85);
  padding: 4rem 0 1.5rem;
}
.footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.footer .footer-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer p { font-size: 0.9rem; font-weight: 300; line-height: 1.8; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 2rem 0 1.5rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item .icon { color: var(--primary); flex-shrink: 0; }

/* ---- COOKIE BANNER ---- */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a2e21;
  color: rgba(255,255,255,.9);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookieBanner.show { transform: translateY(0); }
#cookieBanner p { margin: 0; font-size: 0.9rem; font-weight: 300; max-width: 700px; }
#cookieBanner p a { color: var(--primary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
#cookieAccept {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
}
#cookieAccept:hover { background: var(--primary-dark); }
#cookieMore {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.4);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
#cookieMore:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
}

/* ---- LEGAL PAGES ---- */
.legal-content { padding: 4rem 0 5rem; }
.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--primary); }
.legal-content h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.legal-content p, .legal-content li { font-weight: 300; margin-bottom: 0.75rem; color: #333; }
.legal-content ul { padding-left: 1.5rem; }

/* ---- UTILITIES ---- */
.section-pad { padding: 5rem 0; }
.bg-light-green { background: #f0fbf3; }
.text-primary-green { color: var(--primary); }
.fw-600 { font-weight: 600; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-section { min-height: 75vh; text-align: center; }
  .hero-section p { margin-left: auto; margin-right: auto; }
  .stat-item .number { font-size: 2.2rem; }
  #cookieBanner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-preview img { height: 260px; }
}
@media (max-width: 576px) {
  .btn-primary-custom, .btn-outline-custom { width: 100%; text-align: center; margin-bottom: 0.5rem; }
  .hero-section .d-flex { flex-direction: column; }
}
