/* ============================================================
   AAB Prime — Main Stylesheet
   Color Palette: Graphite / Moss / Mauve / Terracotta / Linen
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2E2F33;
  background-color: #F6F2EB;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Fixed Navbar (.navbar class — NOT bare nav) ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #1C1F25;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F6F2EB;
  letter-spacing: 0.5px;
}

.navbar .logo span {
  color: #D08C5E;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: #D1CEC8;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D08C5E;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #F6F2EB;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #F6F2EB;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Homepage Wrapper ---------- */
.home-page {
  padding-top: 72px;
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #1C1F25 0%, #2D3A2F 50%, #1C1F25 100%);
  color: #F6F2EB;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(74, 107, 58, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 40%, rgba(208, 140, 94, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-section .badge {
  display: inline-block;
  background: rgba(74, 107, 58, 0.2);
  border: 1px solid #4A6B3A;
  color: #A3C9A1;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-section h1 span {
  color: #D08C5E;
}

.hero-section .hero-text {
  font-size: 1.2rem;
  color: #B8B4AB;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background-color: #D08C5E;
  color: #1C1F25;
}

.btn-primary:hover {
  background-color: #BC7A4D;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(208, 140, 94, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: #F6F2EB;
  border: 2px solid #5A5C63;
}

.btn-outline:hover {
  border-color: #D08C5E;
  color: #D08C5E;
  transform: translateY(-2px);
}

/* ---------- About Section ---------- */
.about-section {
  padding: 100px 0;
  background-color: #F6F2EB;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid .about-image {
  background: linear-gradient(135deg, #4A6B3A 0%, #3A562E 100%);
  height: 400px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-grid .about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(136, 123, 148, 0.25) 0%, transparent 70%);
}

.about-grid .about-image .about-icon {
  position: relative;
  z-index: 1;
  font-size: 5rem;
  color: #F6F2EB;
}

.about-content .section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A6B3A;
  margin-bottom: 12px;
}

.about-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1C1F25;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-content p {
  font-size: 1.05rem;
  color: #5C5F66;
  margin-bottom: 18px;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.about-stats .stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #D08C5E;
}

.about-stats .stat-item p {
  font-size: 0.9rem;
  color: #887B94;
  font-weight: 500;
  margin-bottom: 0;
}

/* ---------- Services Section ---------- */
.services-section {
  padding: 100px 0;
  background-color: #EDE7DF;
}

.services-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-section .section-header .section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D08C5E;
  margin-bottom: 12px;
}

.services-section .section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1C1F25;
  margin-bottom: 16px;
}

.services-section .section-header p {
  font-size: 1.05rem;
  color: #5C5F66;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 40px 32px;
  box-shadow: 0 2px 12px rgba(28, 31, 37, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(28, 31, 37, 0.1);
  border-top-color: #4A6B3A;
}

.service-card .card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #4A6B3A;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1C1F25;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: #5C5F66;
  line-height: 1.65;
}

/* ---------- Features Section ---------- */
.features-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.features-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.features-content .section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #887B94;
  margin-bottom: 12px;
}

.features-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1C1F25;
  margin-bottom: 30px;
  line-height: 1.2;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item .feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: #EDE7DF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #4A6B3A;
}

.feature-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C1F25;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.92rem;
  color: #5C5F66;
  line-height: 1.6;
}

.features-visual {
  background: linear-gradient(135deg, #887B94 0%, #6B5E7A 100%);
  border-radius: 12px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.features-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(208, 140, 94, 0.2) 0%, transparent 60%);
}

.features-visual .visual-icon {
  position: relative;
  z-index: 1;
  font-size: 4.5rem;
  color: #EDE7DF;
}

/* ---------- Stats Section ---------- */
.stats-section {
  padding: 80px 0;
  background-color: #1C1F25;
  color: #F6F2EB;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stats-grid .stat-card {
  padding: 20px;
}

.stats-grid .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #D08C5E;
  line-height: 1;
  margin-bottom: 10px;
}

.stats-grid .stat-label {
  font-size: 0.95rem;
  color: #B8B4AB;
  font-weight: 500;
}

/* ---------- Contact Section ---------- */
.contact-section {
  padding: 100px 0;
  background-color: #F6F2EB;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D08C5E;
  margin-bottom: 12px;
}

.contact-info h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1C1F25;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-info p {
  font-size: 1.05rem;
  color: #5C5F66;
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-detail-item .detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: #EDE7DF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #4A6B3A;
}

.contact-detail-item .detail-text strong {
  display: block;
  font-size: 0.95rem;
  color: #1C1F25;
  margin-bottom: 2px;
}

.contact-detail-item .detail-text span {
  font-size: 0.9rem;
  color: #5C5F66;
}

.contact-form {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(28, 31, 37, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1C1F25;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 2px solid #E5DED3;
  border-radius: 8px;
  background-color: #FAFAFA;
  color: #2E2F33;
  transition: border-color 0.25s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4A6B3A;
  background-color: #FFFFFF;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  background-color: #4A6B3A;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.form-submit:hover {
  background-color: #3D5A30;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 107, 58, 0.3);
}

.form-feedback {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 20px;
}

.form-feedback.success {
  color: #4A6B3A;
}

.form-feedback.error {
  color: #C0392B;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #1C1F25;
  color: #B8B4AB;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #F6F2EB;
  margin-bottom: 16px;
}

.footer-brand h3 span {
  color: #D08C5E;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #96999E;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #F6F2EB;
  margin-bottom: 14px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links ul li a {
  font-size: 0.92rem;
  color: #96999E;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: #D08C5E;
}

.footer-bottom {
  border-top: 1px solid #30333A;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #6A6D73;
}

/* ---------- Scroll Reveal Animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }
  .hero-section .hero-text {
    font-size: 1rem;
  }
  .about-grid,
  .features-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid .about-image {
    height: 260px;
    order: -1;
  }
  .features-visual {
    height: 280px;
    order: -1;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-stats {
    gap: 24px;
  }
  .about-content h2,
  .services-section .section-header h2,
  .features-content h2,
  .contact-info h2 {
    font-size: 1.8rem;
  }
  /* Mobile nav */
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: #1C1F25;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 24px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  .nav-links.active {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-section {
    padding: 80px 0 60px;
  }
  .hero-section h1 {
    font-size: 1.8rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .btn {
    width: 100%;
    max-width: 300px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stats-grid .stat-number {
    font-size: 2.2rem;
  }
  .contact-form {
    padding: 24px;
  }
}
