/* Basic Reset & Typography */
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-weight: 300;
  text-align: center;
}

/* ======== Landing Section ======== */
#hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?q=80&w=1964");
  background-size: cover;
  background-position: center center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.5rem;
  font-weight: 300;
}

/* ======== Main Content & Portfolio ======== */
main {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

main h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.loading-message {
  text-align: center;
  font-style: italic;
  color: #777;
}

.photoshoot-gallery {
  margin-bottom: 4rem;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.photoshoot-gallery h3 {
  font-size: 2rem;
  text-transform: capitalize;
  text-align: left;
  margin: 0;
}

/* ======== Carousel Styles ======== */
/* ======== Carousel Styles ======== */
.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 40px; /* Space for nav buttons */
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  flex: 0 0 320px; /* Defines the width of each item */
}

.carousel-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.carousel-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, opacity 0.3s;
  margin-left: 12px; /* Adjust for button size */
  margin-right: 12px;
  display: none;
}

.carousel-button:hover {
  background-color: white;
}

.carousel-button.prev {
  left: -10px;
}

.carousel-button.next {
  right: -10px;
}

/* ======== Modal (Instagram-like view) ======== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 900px;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* ======== Contact/Footer Section ======== */
footer {
  background-color: #2b2b2b;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  box-shadow: 0 -8px 12px rgba(0, 0, 0, 0.4);
}

#contact h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#contact p {
  max-width: 500px;
  margin: 0 auto 2rem auto;
  font-weight: 300;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.contact-links p {
  font-size: 1.1rem;
}

#contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

#contact a:hover {
  border-color: #fff;
}

/* ======== Responsive Design ======== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content p {
    font-size: 1.2rem;
  }
  .contact-links {
    flex-direction: column;
    gap: 1rem;
  }
  .carousel-item {
    flex: 0 0 280px; /* Smaller items on mobile */
  }
  .carousel-item img {
    height: 280px;
  }
}
