/* 🧼 BASIC RESET — Removes default spacing & makes layout easier */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🌍 BODY — Sets background, font, and side padding */
body {
  font-family: "Sour Gummy", sans-serif;
  background-color: #10141C; /* Dark navy-black background */
  color: #fff; /* White text */
  line-height: 1.6;
}

/* 📦 CONTAINER — Keeps inner content aligned, while background can be full width */
.container {
  padding-left: 80px;
  padding-right: 80px;
  margin: 0 auto;
  width: 100%;
  max-width: 1280px; /* optional, keeps it flexible */
}

/* 🔝 TAB BAR (navigation bar at the top) */
.tab-bar {
  background-color: #E2B4EF; /* Light purple background */
  position: sticky; /* Makes it stay at the top when you scroll */
  top: 0;
  z-index: 1000; /* Keeps it above other sections */
  width: 100%;
}

/* TAB BAR CONTENT — logo + navigation buttons */
.tab-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 1rem 0;
  position: relative;
}

.logo img {
  height: 40px; /* Logo height */
}

.nav-links {
  display: flex;
  gap: 24px; /* Space between each menu item */
}

.nav-links a {
  text-decoration: none;
  color: #10141C; /* Text color inside nav bar */
  font-weight: 500;
  padding: 8px 16px;
  transition: background 0.2s ease;
}

/* Special style for the "Connect" button */
.connect-btn {
  border: 2px solid #10141C;
  border-radius: 20px; /* Rounded pill shape */
}

/* 🖼️ HERO SECTION — Full screen image section */
.hero {
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  padding: 60px 0;         /* space above and below */
  text-align: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  width: 350px;
  display: block;
}

/* ✍️ INTRO SECTION — Welcome text + Read More button */
.intro {
  padding: 20px 0;
  text-align: center;
  
}

.intro h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #FFE3BB;
}

.intro p {
  max-width: 600px;
  margin: 0 auto 24px; /* Center paragraph */
  color: #fff;
}

/* "Read More" button style */
.read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #8FE8F0;
  border-radius: 20px;
  color: #8FE8F0;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.read-more-btn:hover {
  background-color: #8FE8F0;
  color: #10141C;
}

/* 💼 PROJECTS SECTION */
.projects {
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.projects h2 {
  margin-bottom: 40px;
  color: #E2B4EF;
}

/* Project cards in 3-column layout */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* Each card box */
.project-card {
  background: #272727;
  border-radius: 12px;
  overflow: hidden;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Image or visual placeholder inside card */
.project-thumbnail {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
  background-color: #999; /* fallback color */
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop nicely */
  display: block;
}

/* 📩 FOOTER / CTA SECTION */
.footer-cta {
  background-color: #FFE3BB; /* Light peach background */
  color: #10141C; /* Text color */
  padding: 60px 0;
  width: 100%;
  margin-top: 80px;
}

/* Container to align footer content */
.footer-cta .container {
  text-align: center;
}

.footer-cta .copyright {
  font-size: 0.85rem;
  color: #10141C;
  margin-top: 50px;
  opacity: 0.7;
}

/* Heading inside footer */
.footer-cta h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.footer-cta p {
  max-width: 600px;
  margin: 0 auto 24px;
}

/* Main CTA button */
.chat-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid #10141C;
  border-radius: 30px;
  background-color: transparent;
  color: #10141C;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 24px;
}

.chat-btn:hover {
  background-color: #10141C;
  color: #FFE3BB;
}

/* Social media icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  font-size: 1.5rem;
}

.social-icons a {
  color: #10141C;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 2.5rem;
}

.social-icons a:hover {
  color: #000; /* darker or different if you want */
  transform: scale(1.2); /* slight zoom */
}

.section {
  padding-left: 80px;
  padding-right: 80px;
}

/* 📱 Mobile / Tablet Responsive Tweaks */
@media (max-width: 1024px) {
  .container,
  .section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .project-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .intro h2,
  .footer-cta h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .container,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tab-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .intro h2,
  .footer-cta h2 {
    font-size: 1.2rem;
  }

  .chat-btn,
  .connect-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 60vh;
  }
}

/* 👀 Animation setup */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-down {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.fade-down.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s ease;
}

.fade-left.active {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s ease;
}

.fade-right.active {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease;
}

.zoom-in.active {
  opacity: 1;
  transform: scale(1);
}

.fade {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade.active {
  opacity: 1;
}

.fade-scroll {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.fade-scroll.fade-out {
  opacity: 0;
}

/* 🍔 Hamburger base style (hidden by default) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  background: #10141C;
  height: 3px;
  border-radius: 2px;
  width: 100%;
}

/* 📱 Responsive mobile nav style */
@media (max-width: 768px) {
  .tab-content {
    flex-direction: row; /* Ensure hamburger and logo stay inline */
    align-items: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #E2B4EF;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 20px;
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    margin-left: auto; /* push it to the right */
  }
}