/* =============================================================
   AREAECO360.NET — Global Styles
   ============================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --color-bg:         #07201a;
  --color-bg-2:       #0d2e24;
  --color-surface:    #0f3829;
  --color-surface-2:  #143d2d;
  --color-border:     rgba(26, 122, 94, 0.25);
  --color-primary:    #1a7a5e;
  --color-primary-h:  #22987a;
  --color-accent:     #c9a84c;
  --color-accent-h:   #e0bc5e;
  --color-text:       #e8f5f0;
  --color-text-muted: #7eb8a0;
  --color-white:      #ffffff;

  --font-title: 'Outfit', sans-serif;
  --font-body:  'Inter', sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --shadow-md:  0 8px 32px rgba(0,0,0,0.35);
  --shadow-lg:  0 16px 56px rgba(0,0,0,0.5);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:      72px;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  background: rgba(7, 32, 26, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 32, 26, 0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
  flex-shrink: 0;
}

.nav-logo span.brand-main { color: var(--color-white); }
.nav-logo span.brand-accent { color: var(--color-accent); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
  background: rgba(26, 122, 94, 0.2);
}

.nav-links a.active {
  color: var(--color-accent);
  background: rgba(201, 168, 76, 0.12);
}

/* CTA Button in nav */
.nav-cta {
  padding: 9px 22px !important;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-h)) !important;
  color: var(--color-white) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(26, 122, 94, 0.4) !important;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 122, 94, 0.55) !important;
  background: linear-gradient(135deg, var(--color-primary-h), #2aac88) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 19px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* =============================================
   PAGE WRAPPER
   ============================================= */
.page-content {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* =============================================
   SECTION UTILITIES
   ============================================= */
.section {
  padding: 90px 5%;
}

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

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.section-title span { color: var(--color-accent); }

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* =============================================
   CARDS (glassmorphism)
   ============================================= */
.card {
  background: rgba(15, 56, 41, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 122, 94, 0.5);
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(26,122,94,0.25), rgba(201,168,76,0.15));
  border: 1px solid rgba(26, 122, 94, 0.25);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-h));
  color: white;
  box-shadow: 0 6px 20px rgba(26, 122, 94, 0.45);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(26, 122, 94, 0.6); }

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-h));
  color: #07201a;
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}
.btn-accent:hover { box-shadow: 0 10px 28px rgba(201, 168, 76, 0.55); }

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-white);
  background: rgba(26, 122, 94, 0.1);
}

/* =============================================
   BADGE
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-new {
  background: rgba(201, 168, 76, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(201, 168, 76, 0.3);
}
.badge-soon {
  background: rgba(26, 122, 94, 0.15);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 48px 5% 32px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-white);
}
.footer-brand span { color: var(--color-accent); }

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-accent); }

.footer-copy {
  width: 100%;
  text-align: center;
  color: rgba(126, 184, 160, 0.5);
  font-size: 0.8rem;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 122, 94, 0.12);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(26,122,94,0.3); }
  50%       { box-shadow: 0 0 40px rgba(26,122,94,0.6); }
}

.anim-fadeup {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.22s; }
.anim-delay-3 { animation-delay: 0.34s; }
.anim-delay-4 { animation-delay: 0.46s; }

/* Scroll reveal (handled by JS) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(7, 32, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 5% 32px;
    gap: 6px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    font-size: 1rem;
  }

  .nav-toggle { display: flex; }

  .section { padding: 60px 5%; }
}

@media (max-width: 480px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
