/* General Styles */
* {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}


/* Header and Nav */
header {
  background-color: #fff;
  color: #333;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.logo a {
  color: #333;
  text-decoration: none;
  font-size: 1.8em;
  font-weight: bold;
}

nav ul.desktop-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav ul.desktop-nav li {
  margin-left: 25px;
}

nav ul.desktop-nav li a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul.desktop-nav li a:hover {
  color: #f3bb4e;
}

/* Hero Section */
#hero {
  background-color: #f0f8ff;
  color: #333;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #222;
}

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #555;
}

.button {
  background: linear-gradient(45deg, #f3bb4e, #d49c3d);
  color: #0d1210;
  padding: 14px 36px;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(243, 187, 78, 0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.button:hover,
.button:focus {
  background: linear-gradient(45deg, #d49c3d, #b57f2e);
  box-shadow: 0 8px 20px rgba(212, 156, 61, 0.8);
  transform: translateY(-3px);
  outline: none;
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}


/* Sections: About, Services, Gallery, Contact */
section {
  padding: 80px 0;
  text-align: center;
}

section h2 {
  font-size: 3em;
  margin-bottom: 40px;
  color: #222;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #f3bb4e;
  border-radius: 2px;
}

/* About Me */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
  text-align: left;
}

.profile-pic {
  width: 350px;
  border-radius: 15px;
  margin-right: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.about-content p {
  font-size: 1.2em;
  line-height: 1.7;
  color: #444;
}

/* Services */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service {
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service h3 {
  font-size: 1.7em;
  margin-bottom: 15px;
  color: #333;
}

.service p {
  font-size: 1.1em;
  color: #555;
}

.service.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease forwards;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery */
.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-images img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-images img:hover {
  transform: scale(1.05);
}

/* Contact */
.contact-details {
  text-align: center;
  margin-top: 40px;
  color: #555;
}

.contact-details h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.contact-details p {
  font-size: 1.1em;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}

.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5em;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007bff;
}

/* === HAMBURGER MENU STYLES === */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 110;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  z-index: 105;
  padding: 60px 20px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1.2em;
}

.mobile-menu.open {
  right: 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}

body.menu-open {
  overflow: hidden;
}

.gallery-zoom {
  animation: zoomInOutOnce 3.5s ease-in-out forwards;
  transform-origin: center center;
}

/* Gallery Grid */
.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
}

.gallery-images a {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  display: block;
}

.gallery-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-images img:hover {
  transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


/* Responsive */
@media (max-width: 900px) {
 
  nav ul.desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    gap: 5px;
    right: 4rem;
    top: 2rem
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    margin-right: 0;
    margin-bottom: 20px;
    width: 80%;
  }
}

@media (max-width: 400px) {

  .services-list {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: flex;
    gap: 5px;
    right: 2rem;
    top: 2rem
  }
}

@media (max-width: 320px) {
  .hamburger {
    visibility: hidden;
  }
}

@keyframes zoomInOutOnce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
