/* ==========================================
   SKALIDA — INSTITUTIONAL DESIGN SYSTEM
   High-End Advisory Aesthetic
========================================== */

/* ==========================================
   DESIGN TOKENS
========================================== */

:root {

  /* Brand Core */
  --primary: #1f4d7a;
  --primary-dark: #163b5c;
  --accent: #2e7d6d;

  /* Neutrals */
  --text-dark: #111111;
  --text-medium: #444444;
  --text-light: #6b7280;

  --bg-white: #ffffff;
  --bg-light: #f6f8fb;
  --bg-dark: #0f172a;

  --border: #e5e7eb;

  /* Effects */
  --shadow-soft: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.08);

  --overlay-subtle: rgba(15, 23, 42, 0.04);

  /* Layout */
  --max-width: 1180px;
  --radius: 4px;
  --transition: 0.25s ease;
}

/* ==========================================
   RESET
========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-medium);
  background: var(--bg-white);
  line-height: 1.7;
}

/* ==========================================
   TYPOGRAPHY
========================================== */

h1, h2, h3 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

ul {
  margin: 1rem 0 1.5rem 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ==========================================
   LAYOUT
========================================== */

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

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

.section-dark {
  background: var(--bg-dark);
  color: #ffffff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

/* ==========================================
   NAVIGATION
========================================== */

.navbar {
  width: 100%;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  margin: auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-medium);
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.active-link {
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================
   BUTTON SYSTEM
========================================== */

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================
   HERO
========================================== */

.hero {
  position: relative;
  padding: 9rem 1rem 7rem;
  text-align: center;
  background: var(--bg-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("/assets/images/architecture-bg.jpg") center/cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

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

.hero p {
  max-width: 700px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
  color: var(--text-light);
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================
   CARD SYSTEM
========================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.card {
  background: var(--bg-white);
  padding: 2rem;
  border-left: 3px solid var(--primary);
  box-shadow: 0 10px 30px var(--shadow-soft);
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 18px 45px var(--shadow-medium);
  transform: translateY(-4px);
}

/* ==========================================
   FOOTER
========================================== */

.footer {
  padding: 3rem 1rem;
  background: var(--bg-dark);
  color: #ffffff;
  text-align: center;
  font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE
========================================== */

/* Mobile Navigation */

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 992px) {

  h1 {
    font-size: 2.3rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-white);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

}