/* ===== ENJOGASSATS — Shared Stylesheet ===== */

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

/* --- CSS Variables --- */
:root {
  --blue:    #2E86AB;
  --blue-d:  #1e6a8a;
  --blue-l:  #e8f4f9;
  --green:   #06A77D;
  --green-d: #058563;
  --green-l: #e6f7f2;
  --orange:  #F77F00;
  --orange-d:#d46b00;
  --orange-l:#fff3e6;
  --bg:      #FFFFFF;
  --bg2:     #F7F9FC;
  --text:    #333333;
  --text-l:  #666666;
  --border:  #E2E8F0;
  --shadow:  0 4px 20px rgba(0,0,0,0.08);
  --shadow-h:0 8px 32px rgba(0,0,0,0.14);
  --radius:  12px;
  --radius-l:20px;
  --font-h:  'Nunito', sans-serif;
  --font-b:  'Outfit', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-b); color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4,h5 { font-family: var(--font-h); font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--text-l); line-height: 1.75; }
.label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 50px;
  font-family: var(--font-b); font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all .22s ease; white-space: nowrap;
}
.btn-primary   { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(247,127,0,.35); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,134,171,.35); }
.btn-outline   { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-ghost     { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }
.btn-green     { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(6,167,125,.35); }
.btn-sm { padding: .5rem 1.2rem; font-size: .9rem; }

/* --- Header / Nav --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 68px; display: flex; align-items: center;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.header-inner { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.logo-icon { width: 40px; height: 40px; background: var(--blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.logo-text { font-family: var(--font-h); font-weight: 900; font-size: 1.25rem; color: var(--blue); line-height: 1; }
.logo-sub { font-size: .62rem; font-weight: 600; color: var(--text-l); text-transform: uppercase; letter-spacing: .05em; }
nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: .25rem; }
.nav-link {
  padding: .5rem .9rem; border-radius: 8px;
  font-weight: 600; font-size: .95rem; color: var(--text);
  transition: all .18s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--blue-l); }
.nav-cta { margin-left: .75rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; border: none; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 998; flex-direction: column;
  padding: 2rem 1.5rem; gap: .5rem; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 1.1rem; padding: .85rem 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
.mobile-menu .btn { margin-top: 1rem; text-align: center; justify-content: center; }

/* --- Section wrapper --- */
.section { padding: 5rem 1.5rem; }
.section-narrow { max-width: 800px; margin: 0 auto; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .eyebrow { display: inline-block; background: var(--blue-l); color: var(--blue); padding: .3rem .9rem; border-radius: 50px; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .75rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 560px; margin: 0 auto; }
.section-bg { background: var(--bg2); }

/* --- Cards --- */
.card {
  background: var(--bg); border-radius: var(--radius-l); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-img-placeholder {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.card-body { padding: 1.5rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .75rem; border-radius: 50px; font-size: .78rem; font-weight: 700;
}
.badge-blue   { background: var(--blue-l);   color: var(--blue); }
.badge-green  { background: var(--green-l);  color: var(--green); }
.badge-orange { background: var(--orange-l); color: var(--orange); }

/* --- Grid helpers --- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.75rem; }

/* --- Footer --- */
.site-footer {
  background: #1a2e3b; color: rgba(255,255,255,.8);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-h); font-weight: 900; font-size: 1.3rem; color: #fff; margin-bottom: .5rem; }
.footer-tagline { font-size: .9rem; opacity: .7; margin-bottom: 1.2rem; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; opacity: .55; font-weight: 700; }
.footer ul li { margin-bottom: .6rem; font-size: .9rem; }
.footer ul li a:hover { color: var(--orange); }
.footer-socials { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social-link {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background .18s;
}
.footer-social-link:hover { background: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .85rem; opacity: .55; }

/* --- Animations --- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up-d1 { transition-delay: .1s; }
.fade-up-d2 { transition-delay: .2s; }
.fade-up-d3 { transition-delay: .3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3.5rem 1.25rem; }
}

/* --- Page offset for fixed header --- */
.page-offset { padding-top: 68px; }

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.gap-1 { gap: 1rem; }
