/* ======================================
   ✅ Reset + Base
   ====================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Khula', sans-serif;
  overflow-x: hidden;
}

/* ======================================
   ✅ Navigation (Desktop Only, Final)
   ====================================== */
/* ======================================
   ✅ Navigation (Final Desktop Version)
   ====================================== */
nav {
  width: 100%;
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 60px; /* ✅ universal baseline padding */
}

/* ✅ Hide the logo on homepage only */
body#index-page nav .logo {
  display: none;
}

/* ✅ Logo styling */
nav .logo {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* ✅ Nav links */
nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  gap: 50px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  font-family: 'Khula', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

nav ul li a:hover {
  opacity: 1;
}

/* ✅ On non-home pages: lift ONLY the links up slightly */
body:not(#index-page) nav ul {
  position: relative;
  top: 5px;
}

/* ✅ Maintain hero spacing (so links don't overlap text) */
.hero {
  margin-top: 120px; /* keeps hero text vertically centered below navbar */
}



/* ======================================
   ✅ Hero Section (Homepage)
   ====================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 10%;
  margin-top: 0; /* ✅ Remove weird top space */
}

.hero .intro {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 15px;
  opacity: 0.9;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 9rem;
  font-weight: 900;
  margin-bottom: 25px;
}

.hero .subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 1100px;
  opacity: 0.9;
  margin-bottom: 60px;
}

/* ✅ Social Icons */
.socials {
  display: flex;
  gap: 40px;
}

.socials a img {
  width: 55px;
  height: 55px;
  filter: invert(1);
  opacity: 0.8;
  transition: transform 0.2s, opacity 0.2s;
}

.socials a:hover img {
  transform: scale(1.15);
  opacity: 1;
}

/* ======================================
   ✅ Resume Page
   ====================================== */
.resume-header {
  text-align: center;
  padding: 100px 40px 40px 40px;
}

.resume-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.resume-tagline {
  font-size: 1.15rem;
  color: #d4d4d4;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.resume-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 100px auto;
  text-align: center;
}

.resume-pdf {
  width: 100%;
  height: 100vh;
  border: none;
  display: block;
}

/* ======================================
   ✅ Contact Page
   ====================================== */
.contact-page {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 40px;
  text-align: center;
}

.contact-page h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.contact-intro {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 60px auto;
  color: #d4d4d4;
}

.contact-container {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-form,
.calendar-booking {
  flex: 1;
  min-width: 350px;
  background: #111;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: #1e1e1e;
  color: #fff;
  font-size: 1rem;
}

.contact-form button {
  padding: 15px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #d4d4d4;
}

/* ======================================
   ✅ About Page
   ====================================== */
.about-header {
  padding-top: 140px;
  padding-bottom: 40px;
  text-align: center;
}

.about-header h1 {
  font-size: 3rem;
  font-weight: 800;
}

.about-tagline {
  font-size: 1.2rem;
  color: #d4d4d4;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}

.about-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 70px;
}

.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-right: 50px;
  flex-shrink: 0;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.7;
}

/* ======================================
   ✅ Projects / Publications Page
   ====================================== */
.projects-header {
  text-align: center;
  padding: 140px 20px 60px 20px;
}

.projects-header h1 {
  font-size: 3rem;
  font-weight: 800;
}

.projects-tagline {
  font-size: 1.2rem;
  color: #d4d4d4;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

.pubs-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #d4d4d4;
  margin-bottom: 40px;
}

.publication {
  background: #0f0f0f;
  border-radius: 12px;
  padding: 1.8rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}

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

.publication h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.pub-authors {
  color: #aaa;
  font-size: 0.95rem;
}

.pub-meta {
  color: #d4d4d4;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.pub-description {
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.pub-link {
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
}

.pub-link:hover {
  color: #d4d4d4;
  text-decoration: underline;
}
/* ✅ Home page nav alignment fix */
body#index-page nav {
  display: flex;
  justify-content: flex-end; /* push links to the right */
  align-items: center;
  padding: 25px 60px;
}

body#index-page nav ul.nav-links {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 50px;
  justify-content: flex-end; /* 🔥 stays right even without logo */
  width: 100%;
}
/* 🔧 Standardize top spacing for all main page headers */
.about-header,
.projects-header,
.resume-header,
.contact-page h1 {
  padding-top: 140px !important;
  margin-top: 0 !important;
}
/* 🛠️ Fix Contact page header alignment */
body.contact-page .contact-page,
.contact-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 🛠️ Align the contact page heading with other pages */
.contact-page h1 {
  margin-top: 0 !important;
  padding-top: 80px; /* match About/Resume/Projects */
}
/* 🪄 Push homepage nav content down by 5px */
body#index-page nav {
  padding-top: 30px; /* default 25px + 5px */
}

