/* ====== Root Variables ====== */
:root {
  --bg: #121212;
  --primary: #ff6b6b;
  --secondary: #fcd34d;
  --text: #f9fafb;
  --card: #1e1e1e;
  --accent: #ff7eb3;
  --border-radius: 1.25rem;
  --transition: 0.3s ease;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* ====== Global ====== */
body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  scroll-behavior: smooth;
  font-size: 16px;
}


.custom-header {
  display: flex;
  align-items: flex-start; /* top aligned */
  padding: 15px 20px;
  background: linear-gradient(45deg, #ff5e62, #ff9966);
}

.profile-left-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  margin-top: 4px;
  border: 1px solid white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-text h1 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
  color: white;
}

.tagline {
  margin-top: 5px;
  font-size: 0.9rem;
  color: white;
}


/* ====== Header ====== */
header {
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  text-align: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0.2rem 0;
}

.tagline {
  font-size: 1rem;
  margin-top: 0.3rem;
  font-weight: 400;
  color: #fce7f3;
}

/* ====== Navigation ====== */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #1c1c1c;
  padding: 1rem;
  gap: 0.75rem;
  border-bottom: 1px solid #333;
}

nav a {
  text-decoration: none;
  color: var(--text);
  background-color: #292929;
  padding: 0.5rem 1rem;
  border-radius: 0.6rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}

nav a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* ====== Main Sections ====== */
main {
  padding: 2rem 1rem 3rem;
  max-width: 900px;
  margin: auto;
}

section {
  margin-bottom: 2rem;
}

h2 {
  text-align: center;
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

/* ====== Cards ====== */
.card {
  background-color: var(--card);
  border-radius: var(--border-radius);
  padding: 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(255, 126, 179, 0.2);
}

.card h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.4rem;
  font-family: var(--font-heading);
}

.card p {
  margin: 0.8rem 0 0;
  font-size: 1rem;
  color: #e5e5e5;
  white-space: pre-line;
}

/* ====== Footer ====== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #aaa;
  background-color: #181818;
  border-top: 1px solid #333;
}

/* ====== Responsive ====== */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.6rem;
  }

  .tagline {
    font-size: 0.9rem;
  }

  nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.95rem;
  }
}
