@import url('https://fonts.googleapis.com/css2?family=Inclusive+Sans:ital,wght@0,300..700;1,300..700&family=Lexend:wght@100..900&display=swap');
body {
font-family: "Lexend", sans-serif;
  margin: 0;
  line-height: 1.6;
}

/* HERO */
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  color: rgb(52, 42, 59);
}

/* Centered text block */
.hero-text {
  max-width: 600px;
  margin: 0 auto;
}

/* Fixed icons in top-right corner */
.header-icons {
  position: absolute;
  top: 2.5rem;
  right: 4rem;
  display: flex;
  gap: 1rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-btn img {
  width: 26px;
  height: 26px;
  fill: rgb(52, 42, 59);
}

.icon-btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}


/* SECTIONS */
section {
  padding: 2rem;
}

/* PROJECTS GRID */
.projects-grid {
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  cursor: help;
}

/* Default link style */
nav a {
  color: #a561ff;   /* your custom color */
  text-decoration: none;
  font-weight: bold;
  margin-right: 1rem;
}

/* Hover effect */
nav a:hover {
  color: #333;      /* darker shade for hover */
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #ffffff; /* optional: light background */
  margin-top: 2rem;
    cursor: wait;
}
a {
  color: #5824bf;   /* blue */
  text-decoration: none;
}

a:hover {
  color: #180567;   /* darker blue */
  text-decoration: underline;
}


#contact {
  text-align: center;
  background: #ffffff
}

/* Base grid layout (works on all screens) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

/* Optional: you can tweak layout above certain sizes */
@media (min-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.project-card {
  background: #ffffff;
  padding: 1rem;
  border-radius: 0px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: grab;
  transition: transform 0.2s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  border-radius: 0px;
}

/* MODAL */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh; /* limit height */
  overflow-y: auto; /* scroll if content is tall */
  position: relative;
}

.modal-content img {
  width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

/* General video wrapper for YouTube/Vimeo */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Modern way to preserve 16:9 ratio */
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.instagram-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* vertical video format */
  margin-bottom: 20px;
}

.instagram-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: none;
}


/* Local .mp4 video styling */
video {
  width: 100%;
  max-height: 400px; /* limit modal video height */
  margin-bottom: 20px;
  border-radius: 10px;
  object-fit: cover;
}

.close {
  position: sticky;
  top: 10px;
  right: 15px;
  z-index: 100;
  font-size: 1.2rem;
  cursor: pointer;
  float: right; /* keep it aligned to the top-right */
  background: #fff; /* optional: prevent overlap with text */
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
