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

body {
  margin: 0;
  padding: 0;

  /* One constant site-wide background */
  background: url('../images/logo-bg.jpg') center center no-repeat fixed;
  background-size: cover;
  background-color: #0d2b2a; /* fallback if image hasn't loaded */

  font-family: 'Georgia', serif;
  color: #e0f0ff;
  text-align: center;
  min-height: 100vh;
}

/* ===== Footer ===== */
footer {
  font-size: 0.85rem;
  color: #999;
  margin-top: 5rem;
  padding-bottom: 2rem;
}

/* ===== Hero & Tagline ===== */
.hero-text {
  margin: 4rem auto 2rem;
  max-width: 700px;
  padding: 0 1.5rem;
}

.hero-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #cfaaff;
  text-shadow: 0 0 8px rgba(207, 170, 255, 0.3);
}

.tagline {
  color: #cfaaff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 2rem;
}

/* ===== Reusable Content Boxes ===== */
.bio-container,
.content-box,
.portfolio-container,
.writing-section {
  background-color: rgba(20, 20, 35, 0.6);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 25px rgba(72, 42, 135, 0.3);
  padding: 2rem;
  margin: 4rem auto;
  max-width: 750px;
  text-align: center;
}

.content-box {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e0f0ff;
}

.content-box a,
.bio-container a,
.writing-list a {
  color: #72f2eb;
  text-decoration: none;
  font-weight: bold;
}

.content-box a:hover,
.writing-list a:hover,
.bio-container a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.highlight-box {
  background-color: rgba(140, 82, 255, 0.1);
  border: 1px solid #8c52ff;
  color: #e0f0ff;
  font-weight: bold;
}

/* ===== BIO ===== */
.bio-container h1 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #e0f0ff;
}

.bio-container img.profile-img {
  width: 160px;
  border-radius: 100px;
  margin-bottom: 2rem;
  border: 3px solid #8c52ff;
  box-shadow: 0 0 10px rgba(140, 82, 255, 0.4);
}

.bio-container p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== Portfolio ===== */
.portfolio-container h1 {
  font-size: 2.6rem;
  color: #e0d4ff;
  margin-bottom: 1rem;
}

.portfolio-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.project-list {
  list-style: none;
  padding: 0;
}

.project-list li {
  margin-bottom: 1.5rem;
}

.project-link {
  display: block;
  padding: 1rem 1.5rem;
  border-left: 6px solid #8c52ff;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-decoration: none;
  color: #e0f0ff;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.project-link:hover {
  background: rgba(114, 242, 235, 0.1);
  transform: translateX(6px);
  box-shadow: 0 0 12px #72f2eb;
}

/* ===== Services ===== */
.services-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  color: #e0f0ff;
  text-align: left;
}

.services-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #cfaaff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.services-section p {
  line-height: 1.7;
  font-size: 1.1rem;
  color: #ccd;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
}

.service-list li {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  padding-left: 1.5rem;
  position: relative;
  color: #a7dfff;
}

.service-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #72f2eb;
}

/* ===== Writing Section ===== */
.writing-section {
  background: rgba(20, 20, 35, 0.6);
}

.writing-list {
  list-style: disc;
  color: #eee;
  padding-left: 1.2rem;
}

.writing-list li {
  margin-bottom: 1.2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* ===== Media ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .bottom-logo img {
    max-width: 350px;
  }
}

@media (min-width: 1025px) {
  .bottom-logo img {
    max-width: 300px;
  }
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
