/* ============================================
   Drougas Skiasi — Shared Styles
   Variables, reset, nav, footer, buttons,
   reveal animations, utilities
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg: #FDFAF6;
  --bg-alt: #F5F0E8;
  --surface: #FFFFFF;
  --surface-warm: #FAF5ED;
  --text: #2C2926;
  --text-soft: #5C554D;
  --heading: #1A1714;
  --accent: #C4662B;
  --accent-hover: #A8531F;
  --accent-light: #F8E8DD;
  --olive: #6B7C3F;
  --olive-light: #EEF2E4;
  --line: #E5DFD5;
  --dark-bg: #1A1714;
  --danger: #C0392B;
  --success: #27AE60;
  --container: min(1120px, 92vw);
  --radius: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: var(--bg);
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 400ms ease;
}

body.page-loaded {
  opacity: 1;
}

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

a {
  color: inherit;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

/* --- Container --- */
.container {
  width: var(--container);
  margin-inline: auto;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--heading);
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  font-weight: 600;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.lead {
  color: var(--text-soft);
  margin: 0.75rem 0 1.25rem;
  max-width: 58ch;
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  max-width: 40ch;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 15, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(253, 250, 246, 0.08);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(253, 250, 246, 0.14);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.brand-logo--header {
  height: clamp(3.4rem, 8vw, 5rem);
}

.brand-mark--header {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  transform: translateY(3px);
}

.brand-mark--footer {
  margin-bottom: 0.5rem;
}

.brand-logo--footer {
  height: clamp(3.8rem, 9vw, 5.5rem);
}

.brand-kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--heading);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  color: rgba(253, 250, 246, 0.8);
  position: relative;
  padding: 0.25rem 0;
  transition: color 200ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 250ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 60;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(253, 250, 246, 0.92);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 200ms ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, 0.97);
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay .mobile-link {
  color: #FDFAF6;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 200ms ease;
}

.mobile-overlay .mobile-link:hover,
.mobile-overlay .mobile-link[aria-current="page"] {
  color: var(--accent);
}

.mobile-overlay .mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(253, 250, 246, 0.45);
  background: rgba(0, 0, 0, 0.3);
  color: #FDFAF6;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease;
}

.mobile-overlay .mobile-close:hover {
  background: rgba(253, 250, 246, 0.18);
  border-color: rgba(253, 250, 246, 0.75);
}

.mobile-overlay .mobile-cta {
  margin-top: 1rem;
}

.site-header .nav-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(196, 102, 43, 0.35);
}

.site-header .nav-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 22px rgba(196, 102, 43, 0.4);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 200ms ease,
    background 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(196, 102, 43, 0.3);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-white {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* --- Sections --- */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* --- Page Banner --- */
.page-banner {
  background: var(--bg-alt);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
}

.page-banner h1 {
  margin-bottom: 0.5rem;
}

.page-banner .lead {
  margin-inline: auto;
}

/* --- CTA Band --- */
.cta-band {
  background: var(--accent);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.cta-band .cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark-bg);
  color: rgba(253, 250, 246, 0.75);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-col .brand-name {
  color: #FDFAF6;
  font-size: 1.15rem;
}

.footer-col .brand-kicker {
  margin-bottom: 0.5rem;
}

.footer-tagline {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(253, 250, 246, 0.5);
}

.footer-nap {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: rgba(253, 250, 246, 0.65);
}

.footer-nap strong {
  color: #FDFAF6;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.footer-nap a {
  color: rgba(253, 250, 246, 0.85);
  text-decoration: none;
}

.footer-nap a:hover {
  color: var(--accent);
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: #FDFAF6;
  margin-bottom: 0.75rem;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: rgba(253, 250, 246, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 200ms ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-contact-list .label {
  font-size: 0.78rem;
  color: rgba(253, 250, 246, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-list a {
  color: rgba(253, 250, 246, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 200ms ease;
}

.footer-contact-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(253, 250, 246, 0.1);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(253, 250, 246, 0.4);
}

.footer-bottom p {
  margin: 0;
}

/* --- Sticky Call Bar (Mobile) --- */
.sticky-call {
  position: fixed;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, calc(100% - 1.5rem));
  background: var(--accent);
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(196, 102, 43, 0.4);
  font-weight: 600;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    background 200ms ease,
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}

.sticky-call.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%);
}

.sticky-call:hover {
  background: var(--accent-hover);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* --- Responsive --- */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  .sticky-call {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }

  body {
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
