/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #e99ea279;
  padding-top: 120px; /* for fixed nav */
  color: #111;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 10px 10px;
  width: fit-content;
  max-width: 100%;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-links li a {
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #05f439;
}

.logo {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.logo-icon {
  margin-right: 8px;
  font-size: 1.4rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links li {
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links li:hover {
  color: #666;
}

.arrow {
  font-size: 0.75rem;
  margin-left: 4px;
}

.talk-btn {
  background-color: #05f439;
  padding: 5px 5px;
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.talk-btn:hover {
  background-color: #6ee899;
}
/* === HERO / HOME SECTION === */
.hero-section {
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px;
  padding: 0 20px;
}


.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #111;
}

.hero-content .highlight {
  color: #05f439;
}

.hero-tagline {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.hero-btn {
  text-decoration: none;
  background-color: #05f439;
  color: #111;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #4beb88;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 40px;
  background-color: #fff;
  max-width: 1200px;
  margin: 40px auto 80px auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #111;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #b5f34e;
  margin-top: 10px;
}

.about-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.about-text {
  flex: 1;
  min-width: 250px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

.about-image {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
}
.image-hover-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

}

.image-hover-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.hover-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(233, 158, 162, 0.664); /* translucent black */
  color: #fff;
  padding: 10px;
  font-size: 0.95rem;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.image-hover-wrapper:hover .hover-caption {
  opacity: 1;
  transform: translateY(0);
}

.image-hover-wrapper:hover img {
  transform: scale(1.2);
}

.author {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1px;
}

.desc {
  font-size: 12px;
  color: #868da4;
  margin-bottom: 1px;
}

.minititle {
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 1px;
}

.portfolio-btn {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #444;
  background: none;
  border: 1px solid #ccc;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 3px;
}

.portfolio-btn:hover {
  background-color: #05f439;
}

.portfolio-section {
  padding: 80px 40px;
  background-color: #fff;
  max-width: 1200px;
  margin: 40px auto 80px auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background-color: #fefefe;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.03);
}

.portfolio-item img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.portfolio-item.video iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

.contact-section {
  padding: 80px 40px;
  background-color: #fff;
  max-width: 1200px;
  margin: 40px auto 80px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: 600;
  color: #111;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #05f439;
  box-shadow: 0 0 5px #05f439;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form button.talk-btn {
  align-self: flex-start;
  padding: 10px 25px;
  background-color: #05f439;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.contact-form button.talk-btn:hover {
  background-color: #04c82a;
}

.footer {
  background: #000;
  color: #aaa;
  padding: 60px 40px 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 180px;
  min-width: 180px;
}

.footer-logo {
  color: #05f439;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a {
  color: #aaa;                 /* Default footer text color */
  text-decoration: none;      /* Remove underline */
  font-size: 0.95rem;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #05f439;
  transform: translateX(4px); /* slight movement */
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-col ul li i {
  margin-right: 10px;
  color: #05f439;
}

.social-icons a {
  display: inline-block;
  background: #222;
  color: #fff;
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px;
  border-radius: 20%;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.social-icons a:hover {
  background: #05f439;
}

.hire-btn {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fcfcfc;
  background: none;
  border: 1px solid #ccc;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 5px;
}

.hire-btn:hover {
  background-color: #05f439;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #ccc;
}

.name {
  color: #05f439;
  font-weight: bold;
}

/* Fancy Masonry Image Layout */
.masonry-layout {
  column-count: 3;
  column-gap: 20px;
}

@media (max-width: 900px) {
  .masonry-layout {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-layout {
    column-count: 1;
  }
}

.masonry-layout .portfolio-item {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: #fff;
  transition: transform 0.3s ease;
}


.masonry-layout .portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.masonry-layout .portfolio-item:hover {
  transform: scale(1.03);
}

/* Combined responsive styles */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-text {
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .contact-section {
    padding: 40px 20px;
  }

  .contact-form {
    max-width: 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .portfolio-item.video iframe {
    height: 180px;
  }
}

/* Responsive nav (hide mobile toggle since no JS) */
.mobile-nav-toggle {
  display: none;
}
