/* ===== Import Modern Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===== General Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Body Styling ===== */
body {
  font-family: 'Inter', sans-serif;
  color: #222;
  background: linear-gradient(180deg, #fdfbfb 0%, #ebedee 100%);
  line-height: 1.6;
  padding: 1rem;
}

/* ===== Navigation ===== */
header {
  background: #fff;
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-bottom: 1px solid #ddd;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1.5rem;
}

nav ul li a {
  color: #444;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #3b82f6; /* bright blue */
  color: white;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f1f5 50%, #d6e8f0 100%);
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-image {
  flex-shrink: 0;
  max-width: 600px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image img.profile-pic-large {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.hero-image img.profile-pic-large:hover {
  transform: scale(1.02);
}

.hero-content {
  flex: 1 1 300px;
  min-width: 280px;
  text-align: left;
  margin-left: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 0.25rem;
  color: #1e293b;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-content .subtitle {
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.1rem;
  color: #4b5563;
}

/* ===== Section Styling ===== */
.section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.section p, .section li {
  font-size: 1rem;
  color: #374151;
  line-height: 1.5;
}

.section ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.section ul li {
  margin-bottom: 0.5rem;
}

/* ===== Images on other pages (non-home) ===== */
.section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 600px;
}

/* ===== Quick Links Styling ===== */
.section a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.section a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
footer {
  max-width: 1200px;
  margin: 3rem auto 1rem;
  padding: 1rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}

.footer-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-content {
    margin-left: 0;
    text-align: center;
  }
  
  .hero-container {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
  }

  .hero-image img.profile-pic-large {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 3rem 1rem;
  }

  .section img {
    max-width: 90%;
  }
}

/* ===== Downloadable CV Button Styling ===== */
.cv-download {
  margin-bottom: 1.5rem;
  text-align: center;
}

.cv-download a {
  display: inline-block;
  background-color: #3b82f6; /* bright blue */
  color: white;              /* white text */
  font-family: Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgb(59 130 246 / 0.3);
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.cv-download a:hover,
.cv-download a:focus {
  background-color: #2563eb; /* slightly darker blue */
  box-shadow: 0 6px 12px rgb(37 99 235 / 0.5);
  outline: none;
  cursor: pointer;
  color: white; /* keep text white on hover */
}


