/* ================================================= */
/* RESET */
/* ================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #111;
  background: #f5f5f5;
}

/* ================================================= */
/* DESIGN SYSTEM */
/* ================================================= */

:root {
  /* Brand */
  --accent: #2e5e99;
  --bg: #ffffff;
  --muted: #666;
  --border: #e5e5e5;
  --surface: #ffffff;

  /* System */
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
  --shadow-strong: 0 30px 80px rgba(0,0,0,0.08);
  --transition-smooth: all .4s cubic-bezier(.16,1,.3,1);
}

/* ================================================= */
/* GLOBAL TYPOGRAPHY */
/* ================================================= */

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--accent);
}

p {
  color: var(--muted);
  font-size: 18px;
}

/* ================================================= */
/* GLOBAL UTILITIES */
/* ================================================= */

section {
  position: relative;
}

.fade-section {
  opacity: 0;
  transform: translateY(60px);
  transition: var(--transition-smooth);
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  padding: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

/* ========================= */
/* SECTION DIVIDER */
/* ========================= */

.section-divider {
  width: 60px;
  height: 3px;
  background: #2E5E99;
  margin: 15px auto 40px auto;
  border-radius: 2px;
}

/* ================================================= */
/* NAVBAR (DESKTOP) */
/* ================================================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 130px;

  display: grid;
  grid-template-columns: auto 1fr auto;

  align-items: center;
  padding: 0 8%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(46,94,153,.65);
  backdrop-filter: blur(10px);
  height: 90px;
}

/* RIGHT SIDE */
.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* LOGO */
.logo {
  justify-self: start;
  display: flex;
  align-items: center;
  margin-left: 0; /* FIXED */
}

/* BIG DEFAULT */
.logo-img {
  height: 170px;
  width: auto;
  display: block;
  transition: all .5s cubic-bezier(.16,1,.3,1);
}

/* SHRINK ON SCROLL */
.navbar.scrolled .logo-img {
  height: 80px;
}

/* NAV LINKS */
.nav-links {
  justify-self: center;
  list-style: none;
  display: flex;
  gap: 50px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  opacity: 0.7;
}

/* CTA BUTTON */
.nav-call {
  padding: 12px 28px;
  border-radius: 40px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.nav-call:hover {
  background: white;
  color: var(--accent);
}

/* HAMBURGER (HIDDEN ON DESKTOP) */
.menu-toggle {
  display: none;
}

/* ================================================= */
/* BUTTON SYSTEM */
/* ================================================= */

.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

/* ================================================= */
/* FOOTER BASE */
/* ================================================= */

footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ================================================= */
/* SUBTLE LUXURY GRAIN */
/* ================================================= */

 body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.02) 0px,
    rgba(0,0,0,0.02) 1px,
    transparent 1px,
    transparent 2px
  );
  opacity: 0.4;
}

