/* ---------------- GLOBAL THEME ---------------- */

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f7f7f7;
  color: #111;
}

section {
  padding: 90px 25px;
  max-width: 1100px;
  margin: auto;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

p {
  line-height: 1.7;
  color: #444;
}

* {
  box-sizing: border-box;
}

/* ---------------- HEADER ---------------- */

header {
  position: fixed;
  width: 100%;
  padding: 18px 25px;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
}

.logo {
  font-size: 20px;
  font-weight: 700;
}

.hamburger {
  width: 32px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  background: #111;
  height: 3px;
  border-radius: 5px;
}

/* ---------------- POPUP MENU ---------------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  display: none;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.7);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.menu-overlay.active {
  display: flex;
}

.menu-box {
  background: white;
  padding: 50px 70px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 60px rgba(0,0,0,0.1);
}

.menu-box a {
  display: block;
  margin: 12px 0;
  font-size: 24px;
  font-weight: 600;
}

/* ---------------- HERO ---------------- */

.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  padding-top: 120px;
  border-bottom: 1px solid #eee;
}

.hero img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 100px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.hero h1 {
  font-size: 40px;
  margin: 10px 0;
}

.hero p {
  font-size: 18px;
  color: #666;
}

/* ---------------- SECTIONS ---------------- */

section h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

.content-box {
  background: white;
  padding: 35px;
  border-radius: 18px;
  border: 1px solid #eee;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  margin-bottom: 25px;
}

/* ---------------- GRID ---------------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ---------------- CARDS ---------------- */

.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #ddd;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

.card:hover {
  background: #111;
  color: white;
  transform: translateY(-5px);
}

/* ---------------- ANIMATIONS ---------------- */

.fade {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}