/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Elegant Typography Refresh === */

/* Body text */
body, p, input, textarea {
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500; /* Medium weight for elegance */
    letter-spacing: 0.5px;
}

/* Form Inputs */
input, textarea {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

input[type="text"],
input[type="email"],
textarea {
  text-align: center;
}


header {
  background: #fff;
  padding: 20px 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

/* Hamburger button */
.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav styles */
@media (max-width: 768px) {
.hamburger {
    display: flex; /* show hamburger on mobile */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}


  .hamburger span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

nav .menu {
    display: flex; /* default on desktop */
    flex-direction: row;
    gap: 20px;
}

@media (max-width: 768px) {
    nav .menu {
        display: none; /* hide by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav .menu.show {
        display: flex; /* allow JS toggle */
    }
}

  .menu li {
    margin: 15px 0;
    text-align: center;
  }

  .menu a {
    padding: 15px 20px;
    font-size: 18px;
  }

/* Mobile dropdown fix */
@media (max-width: 768px) {
  .menu .dropdown-content {
    display: none;
    flex-direction: column;
  }
  .menu .dropdown.show .dropdown-content {
    display: flex;
  }
}
}



nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }
  nav a {
    padding: 10px;
    font-size: 18px;
  }
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 500;
}

nav .menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav .menu li {
  display: inline;
}

nav .menu a {
  text-decoration: none;
  color: #333;
  font-weight: 300;
  transition: color 0.3s ease;
}

nav .menu a:hover {
  color: goldenrod;
}

/* Navbar menu */
.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Navbar items */
.menu li {
  margin: 0 15px;
}

/* Navbar links */
.menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 20px;
  display: inline-block;
}

/* Hover effect for navbar links */
.menu a:hover {
  background-color: #f1f1f1;
  border-radius: 5px;
}

/* Dropdown menu container */
.menu .dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button */
.menu .dropdown .dropbtn {
  background-color: transparent;
  color: #000;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

/* Dropdown menu */
.menu .dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Dropdown links */
.menu .dropdown-content a {
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  margin: 0; /* Remove margin to ensure consistent spacing */
}

/* Change color of links on hover */
.menu .dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.menu .dropdown:hover .dropdown-content {
  display: block;
}

/* Optional: Adjust spacing between the items */
.menu .dropdown-content a:first-child {
  margin-top: 0; /* Remove margin from the first item */
}

.menu .dropdown-content a:last-child {
  margin-bottom: 0; /* Remove margin from the last item */
}

/* Change color of dropdown button on hover */
.menu .dropdown:hover .dropbtn {
  color: goldenrod; /* Change color on hover */
}


/* ===== Slideshow Fixes ===== */
.slideshow-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 770px;
    overflow: hidden;
}

.slideshow-container .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slideshow fade effect */
.slideshow-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slideshow-container .slide.active {
    opacity: 1;
    z-index: 1;
}


/* Arrows + dots container */
.slideshow-container .slideshow-navigation {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px; /* Space between prev arrow, dots, next arrow */
    z-index: 10;
}

/* Prev/Next arrows */
.slideshow-container .slideshow-navigation .prev,
.slideshow-container .slideshow-navigation .next {
    font-size: 18px;
    line-height: 18px;
    padding: 8px 12px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slideshow-container .slideshow-navigation .prev:hover,
.slideshow-container .slideshow-navigation .next:hover {
    background-color: rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
  .slideshow-container {
    height: auto; /* let it shrink */
  }
  .slideshow-container .slide img {
    height: auto;
    max-height: 400px; /* adjust to taste */
  }
  .slideshow-navigation {
    bottom: 10px;
  }
}



/* Optional: Add fade-in or additional transition effects for text if needed */
/* Hero Section */
.hero {
  background-color: #ffffff;
  color: #333;
  text-align: center;
  padding: 40px 20px 80px;
  min-height: 500px;
  overflow: hidden; /* Prevent overflow from animations */
}

/* Hero Heading */
.hero h1 {
  font-weight: 600;
  font-size: 3em; 
  margin-bottom: 15px;
  opacity: 0; /* Start invisible */
  transform: translateY(30px); /* Start off-screen below */
  animation: slideUp 1s forwards; /* Slide-up animation */
}

/* Hero Paragraph */
.hero p {
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
  font-size: 1.4em;
  margin-bottom: 40px;
  opacity: 0; /* Start invisible */
  transform: translateY(30px); /* Start off-screen below */
  animation: slideUp 1.2s 0.5s forwards; /* Delayed slide-up animation */
}

/* Slide-up animation */
@keyframes slideUp {
  0% {
      transform: translateY(50px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

/* General Photo Previews Section */
.photo-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
  gap: 20px; /* Space between blocks */
  justify-items: center; /* Center items horizontally */
  margin-top: 20px;
}

/* Adjust grid for smaller screens */
@media (max-width: 768px) {
  .photo-previews {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
  }
}

@media (max-width: 480px) {
  .photo-previews {
      grid-template-columns: 1fr; /* 1 column on very small screens */
  }
}

/* Specific size adjustment for top row (first 3 items) */
.photo-previews > :nth-child(1) .photo-preview-img,
.photo-previews > :nth-child(2) .photo-preview-img,
.photo-previews > :nth-child(3) .photo-preview-img {
  width: auto; /* Make images smaller but still portrait */
  height: auto; /* Maintain aspect ratio */
  max-height: 500px; /* Set a maximum height */
  object-fit: fill; /* Prevent cropping */
}

/* Specific size adjustment for bottom row (4th, 5th, 6th items) */
.photo-previews > :nth-child(4) .photo-preview-img,
.photo-previews > :nth-child(5) .photo-preview-img,
.photo-previews > :nth-child(6) .photo-preview-img {
  width: 90%; /* Same width as top row */
  height: auto; /* Maintain aspect ratio */
  max-height: 500px; /* Set a maximum height to match top row */
  object-fit: contain; /* Prevent cropping */
}

.photo-block {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center align both the image and button */
  gap: 10px; /* Space between the image and button */
  text-align: center; /* Center text for smaller screens */
}

.photo-preview-img {
  width: 100%; /* Adjust as needed */
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.photo-preview-img:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

/* Button Styling */
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px; /* Slightly larger for a more balanced look */
  background-color: #ffffffb0; /* Solid blue */
  color: rgb(0, 0, 0);
  font-size: 1em; /* Standard button text size */
  text-align: center;
  text-decoration: none;
  border-radius: 25px; /* More rounded for a softer look */
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  margin: 0 auto;
}

/* Hover effect */
.btn:hover {
  background-color: #c7c7c795; /* Slightly darker blue on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
  transform: translateY(-2px); /* Lift effect */
}

/* Active button effect (when clicked) */
.btn:active {
  transform: translateY(0); /* Reset lift */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Slightly reduced shadow */
}


/* Animation for sliding up */
@keyframes slideUp {
  0% {
      transform: translateY(30px); /* Start below */
      opacity: 0; /* Start invisible */
  }
  100% {
      transform: translateY(0); /* End at original position */
      opacity: 1; /* Fully visible */
  }
}

/* Add more space between rows */
.photo-previews > :nth-child(4), :nth-child(5), :nth-child(6) {
  margin-top: 40px; /* Increase the space between the top and bottom rows */
}

/* Gallery */
.gallery {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Mobile-friendly gallery scrolling */
@media (max-width: 768px) {
  .gallery-grid {
    display: flex;
    flex-wrap: nowrap; /* Keep images in a single row */
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap to each image */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    gap: 20px; /* Space between images */
    padding-bottom: 10px; /* Small padding for comfort */
  }

  .gallery-grid img {
    flex: 0 0 80%; /* Each image takes ~80% of viewport */
    scroll-snap-align: start; /* Snap each image to start */
    width: auto; /* Let height adjust naturally */
    height: auto;
    object-fit: cover; /* Maintain aspect ratio */
  }
}

/* About Section */
.about {
  padding: 10px 20px 50px;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  padding: 40px 20px;
  text-align: center;
  background: #f0f0f0f0;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Contact Form Adjustments */
.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Increase gap for consistent spacing */
}

.contact .form-group {
  margin: 0; /* Remove any default margins */
}

.contact .form-group.reduced-padding {
  margin-bottom: 0; /* Keep the reduced-padding effect only for Message */
}


.contact input, .contact textarea, .contact button {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  background: #007BFF;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: #0056b3;
}

/* Center placeholder text horizontally */
input::placeholder, 
textarea::placeholder {
  text-align: center; /* Center horizontally */
  color: #999; /* Optional: Adjust placeholder color */
  font-style: italic; /* Optional: Placeholder styling */
}

/* Input and textarea styles for vertical centering */
input, 
textarea {
  display: flex;
  align-items: center; /* Vertical alignment for modern browsers */
  justify-content: center; /* Center horizontally for better alignment */
  padding: 10px; /* Adjust padding for spacing */
  font-size: 1em; /* Optional: Adjust font size */
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: #fff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 60%; /* Adjust the percentage to make the image smaller */
  height: auto; /* Keep the aspect ratio intact */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Portraits Page */
/* Heading Section */
.heading-section {
  text-align: center;
  padding: 160px 20px 60px;
  background-color: #f4f4f4; /* Optional: Set a background color */
}

.heading-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

.heading-section p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #555;
  margin-top: 0;
  opacity: 0; /* Start invisible */
  transform: translateY(30px); /* Start off-screen below */
  animation: slideUp 1.2s 0.5s forwards; /* Delayed slide-up animation */
}

/* Slide-up animation */
@keyframes slideUp {
  0% {
      transform: translateY(50px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

/* General Styles for Gallery Section */
.gallery-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #f8f8f8;
}

.gallery-section h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

/* Gallery Grid */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Adjust the gap between images */
  justify-content: center;
}

/* General image styling */
.gallery-grid img {
  width: calc(25% - 20px); /* Default size for most images */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin: 0;
  padding: 0;
}

/* Specific styling for horizontal images */
.gallery-grid img[alt*="horizontal"] {
  width: calc(50% - 20px); /* Slightly larger width for horizontal photos */
  height: auto;
}

.gallery-grid img[alt*="horizontal2"] {
  width: calc(40% - 20px); /* Slightly larger width for horizontal photos */
  height: auto;
}

.gallery-grid img:hover {
  transform: scale(1.05); /* Zoom effect on hover */
}

hr {
  border: none;
  border-top: 1px solid lightgray; /* Thin grey line */
  margin: 40px 10px; /* Space above and below the line */
  width: 100%;
}

.testimonial-section {
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.testimonial-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  scroll-snap-type: x mandatory; /* enable snap */
  scroll-behavior: smooth;
  padding-bottom: 10px; /* optional, for some breathing room */
}

.testimonial {
  flex: 0 0 calc(50% - 15px); /* 15px is half of the 30px gap */
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  scroll-snap-align: start; /* snap each card to the start */
}

.testimonial-img {
  width: 180px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid goldenrod;
}

@media (max-width: 768px) {
  .testimonial-img {
    width: 120px;
    height: 120px;
  }
}

.testimonial p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.author {
  font-weight: 500;
  color: #555;
}

/* Navigation buttons */
.testimonial-navigation {
  margin-top: 20px;
}

.testimonial-navigation button {
  padding: 10px 15px;
  margin: 0 20px;
  font-size: 1rem;
  border-radius: 25px;
  border: none;
  background: goldenrod;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-navigation button:hover {
  background: gold;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial {
    flex: 0 0 100%; /* Show 1 per row on mobile */
  }
}

/* Travel Page Header */
.travel-header {
  position: relative;
  width: 100%;
  height: 600px; /* adjust as needed */
  overflow: hidden;
}

.travel-header img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover the entire container */
  display: block;
}

.centered-bullets {
  text-align: center; /* centers the whole list */
  margin: 0 auto;
}

.centered-bullets ul {
  display: inline-block;  /* allows centering */
  text-align: left;       /* keeps bullets aligned */
  padding-left: 2em;      /* space for bullets */
  margin: 0;
  max-width: 90vw;        /* responsive on mobile */
}

.centered-bullets li {
  margin-bottom: 0.8em;   /* spacing between bullets */
  line-height: 1.5;       /* improves readability */
}

.centered-bullets li .highlight {
  font-weight: 700;        /* bold */
  font-family: 'Lora', serif; /* ensure consistent serif for emphasis */
}

/* ======================= MOBILE FIXES ======================= */
@media (max-width: 768px) {

  /* Hamburger button */
  .hamburger {
    display: flex; /* show hamburger on mobile */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Mobile nav menu */
  nav .menu {
    display: none; /* hidden by default */
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  nav .menu.show {
    display: flex; /* shown when JS adds .show */
  }

  nav .menu li {
    margin: 15px 0;
    text-align: center;
  }

  nav .menu a {
    padding: 15px 20px;
    font-size: 18px;
  }

  /* Dropdown menu on mobile */
  .menu .dropdown-content {
    display: none;
    flex-direction: column;
    position: relative;
    box-shadow: none;
  }

  .menu .dropdown.show .dropdown-content {
    display: flex;
  }

  /* Adjust nav layout */
  nav {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    padding: 10px;
    font-size: 18px;
  }

  /* Slideshow fixes */
  .slideshow-container {
    height: 400px; /* fixed mobile height */
    position: relative;
  }

  .slideshow-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* must match parent */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
  }

  .slideshow-container .slide.active {
    opacity: 1;
    z-index: 1;
  }

  .slideshow-container .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .slideshow-navigation {
    bottom: 10px;
  }

  /* Testimonials mobile */
  .testimonial {
    flex: 0 0 100%;
  }

  .testimonial-img {
    width: 120px;
    height: 120px;
  }
}

/* Optional: Dropdown animation */
.menu .dropdown-content.show {
    display: flex; /* ensures dropdown shows when JS adds .show */
    flex-direction: column;
}
