/* === GLOBAL STYLES === */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f4f4f4;
  color: #212121;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #b71c1c;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}
.navbar ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
.navbar a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar a:hover {
  color: #ffcccb;
}

/* === HERO SECTION === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #ffffff, #e0e0e0);
  min-height: 80vh;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  color: #b71c1c;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  color: #333;
}

.cta-buttons .btn,
.cta-buttons .btn-outline {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn {
  background-color: #b71c1c;
  color: white;
}
.btn:hover {
  background-color: #8e0000;
}
.btn-outline {
  border: 2px solid #b71c1c;
  color: #b71c1c;
}
.btn-outline:hover {
  background-color: #b71c1c;
  color: white;
}

/* === PROJECTS === */
.projects {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  color: #b71c1c;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2.5rem;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.project-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card h2 {
  margin-top: 0;
  color: #b71c1c;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.project-card p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1rem;
}
.project-card .tags {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
  margin-bottom: 1rem;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #666;
} 

@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
.footer-socials {
  margin-bottom: 1rem;
}

.footer-socials a {
  display: inline-block;
  margin: 0 0.5rem;
}

.footer-socials img {
  width: 36px;
  height: 36px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-socials img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}
/* === ABOUT === */
.about {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-container {
  margin-top: 2rem;
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.about-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  align-self: center;
}
.about-text {
  flex: 1;
}
.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #333;
}
.timeline, .fun-facts {
  margin-top: 2.5rem;
}
.timeline ul, .fun-facts ul {
  padding-left: 1rem;
}
.timeline li, .fun-facts li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
/* === RESUME === */
.resume {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;

}

.resume-container {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.resume-section {
  margin-top: 2rem;
}

.resume-section h2 {
  color: #b71c1c;
  margin-bottom: 0.5rem;
}
.resume h2.left-aligned {
  text-align: left;
  margin-left: 0;
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  color: #b71c1c;
}

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

.resume-section li {
  margin-bottom: 0.5rem;
}
/* === RESUME GRID CARDS === */
.resume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.resume-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.resume-card img {
  max-width: 100%;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.resume-card-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #b71c1c;
}

.resume-card .role,
.resume-card .date {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.25rem;
}

.resume-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.95rem;
  color: #333;
  margin-top: 0.75rem;
}

.resume-card.open .resume-card-body {
  max-height: 500px;
}
/* === PHOTOGRAPHY GALLERY === */
.photography {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.photo-intro {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  max-width: 800px;
  margin: 2rem auto 3rem;
  text-align: left;
}
.photo-intro a {
  color: #b71c1c;
  font-weight: 600;
  text-decoration: underline;
}
.photo-intro a:hover {
  color: #8e0000;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}
/* === LIGHTBOX === */
#lightbox {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.65); /* less harsh than solid black */
  backdrop-filter: blur(6px);         /* optional: adds glassy blur effect */
  z-index: 1000;
  text-align: center;
}

#lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 0.5rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.caption {
  margin-top: 1rem;
  color: #fff;
  font-size: 1rem;
}

.nav {
  position: absolute;
  top: 50%;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 0 1rem;
}

.prev { left: 2%; transform: translateY(-50%); }
.next { right: 2%; transform: translateY(-50%); }
/* === CONTACT === */
.contact {
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.contact-form label {
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #b71c1c;
  box-shadow: 0 0 0 2px rgba(183, 28, 28, 0.1);
}
