/* Base Reset & Fonts */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  overflow-x: hidden;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: bold;
}

.nav-links a {
  margin: 0 15px;
  font-weight: 500;
  position: relative;
  font-size: 15px;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 100%;
  background: #000;
}

.book-btn {
  padding: 8px 18px;
  border: 1px solid #000;
  background: transparent;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: #000;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 20px 20px 40px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  line-height: 1.4;
  margin-bottom: 30px;
}

.hero .highlight {
  color: #cba491;
  font-style: normal;
}

.subtitle {
  font-size: 30px;
  font-family: 'Montserrat', sans-serif;
  display: block;
  margin-top: 10px;
}

/* Hero Image Collage Layout */
.image-container {
  position: relative;
  height: 500px;
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.image {
  position: absolute;
  width: 260px;
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  will-change: transform, opacity;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Layered & Rotated Positioning */
.image:nth-child(1) {
  top: 40px;
  left: 10%;
  transform: rotate(-8deg) translateY(80px);
  z-index: 2;
}
.image:nth-child(2) {
  top: 100px;
  left: 25%;
  transform: rotate(-2deg) translateY(80px);
  z-index: 3;
}
.image:nth-child(3) {
  top: 60px;
  left: 40%;
  transform: rotate(2deg) translateY(80px);
  z-index: 4;
}
.image:nth-child(4) {
  top: 90px;
  left: 58%;
  transform: rotate(7deg) translateY(80px);
  z-index: 1;
}

.image:nth-child(5) {
  top: 40px;
  left: 75%;
  transform: rotate(10deg) translateY(80px);
  z-index: 5;
}

.image.show {
  opacity: 1;
  transform: rotate(0deg) translateY(0);
}

/* Gallery Section */
.gallery {
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 800px;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 0;
  opacity: 0;
  transform: translateY(50px);
  transition: transform 1s ease, opacity 1s ease;
  will-change: transform, opacity;
  object-fit: cover;
  display: block;
}

.rounded-tr { border-top-right-radius: 60px; }
.rounded-bl { border-bottom-left-radius: 60px; }
.rounded-tl { border-top-left-radius: 60px; }

.fade-in-left { transform: translateX(-80px); }
.fade-in-right { transform: translateX(80px); }
.fade-in-up { transform: translateY(80px); }
.fade-in-down { transform: translateY(-80px); }

.animate.reveal {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Horizontal Scroll Strip */
.scroll-strip {
  padding: 60px 0;
  background: #000;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.scroll-container {
  display: flex;
  gap: 30px;
  padding: 20px 40px;
  width: max-content;
}

.scroll-img {
  height: 300px;
  width: auto;
  object-fit: cover;
  border-radius: 0;
  filter: grayscale(100%);
  transition: transform 0.4s ease, filter 0.4s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.scroll-img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* Scrollbar Styling */
.scroll-strip::-webkit-scrollbar {
  height: 8px;
}
.scroll-strip::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
.scroll-strip::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Logo Dot + Role */
.logo-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #f4b400;
  border-radius: 50%;
  margin-right: 10px;
}
.role {
  font-weight: normal;
  color: #999;
  margin-left: 4px;
  font-size: 14px;
}

/* About Me Section */
.about-me {
  background: #f5f5f5;
  padding: 80px 20px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.about-photo {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  filter: grayscale(100%);
}

.about-text {
  max-width: 500px;
}

.about-text h1 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: bold;
}

.about-text h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
}

.about-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 28px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  width: 100px;
  height: 100px;
  line-height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume-btn {
  background-color: #f4b400;
  color: #000;
}
.projects-btn {
  background-color: #f44336;
  color: #000;
}
.contact-btn {
  background-color: #77e0e4;
  color: #000;
}

.section-break {
  text-align: center;
  padding: 10px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.section-break h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.section-break p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.contact-section {
  background: #fafafa;
  padding: 80px 20px;
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-container h2 {
  font-size: 32px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}

.contact-container p {
  color: #555;
  margin-bottom: 30px;
  font-size: 16px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

#contactForm textarea {
  resize: vertical;
  height: 120px;
}

#contactForm button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

#contactForm button:hover {
  background-color: #333;
}

#formStatus {
  margin-top: 15px;
  font-size: 14px;
  color: green;
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

.footer {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  color: #666;
  font-size: 14px;
  border-top: 1px solid #eee;
}


/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    padding: 20px 40px 0px 40px;
    gap: 10px;
  }

  .hamburger {
    display: block;
    margin-left: auto;
    order: 2;
  }

  .book-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    order: 3;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0;
    order: 3;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 70px;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
  }

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

  .nav-links a {
    padding: 10px 0;
    font-size: 16px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 24px;
  }

  .image-container {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .image {
    position: static;
    width: 90%;
    transform: none !important;
    opacity: 1 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }
}
