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

body, html {
  overflow-x: hidden; /* Prevent horizontal scrolling */
  font-family: Arial, sans-serif;
}

/* CSS Variables */
:root {
  --carousel-card-height: 400px; /* Default height for carousel cards */
  --carousel-dot-size: 12px; /* Default size for dots */
  --carousel-arrow-size: 2rem; /* Default size for arrows */
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100px; /* Ensure consistent height */
  padding: 0 40px; /* Add horizontal padding */
  background: rgba(0, 0, 0, 0.9); /* Darker background for a polished look */
  position: fixed; /* Fix navbar at the top */
  top: 0;
  left: 0;
  width: 100%; /* Full width */
  z-index: 3; /* Ensure it stays above other elements */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Add a subtle shadow */
}

.logo-img {
  height: 60px; /* Adjust logo size for better proportions */
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px; /* Add spacing between links */
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.3s ease; /* Smooth hover effect */
}

.nav-links a:hover {
  color: #ff4500; /* Highlight link on hover */
}

/* Hamburger Menu */
.hamburger {
  display: none; /* Hidden on larger screens */
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 30px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
  transition: all 0.3s ease; /* Smooth animation */
}

/* Hero Section */
.hero-header {
  height: 100vh;
  background: url('./assets/pexels_hero_dj.jpg') no-repeat center center/cover;
  position: relative;
  color: #fff;
  padding-top: 100px; /* Prevent hero content from overlapping navbar */
}

.hero-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 1; /* Ensure overlay is below navbar */
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 20px;
  z-index: 2; /* Ensure hero content is above the overlay */
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-content .cta-button {
  padding: 15px 30px;
  font-size: 1.2rem;
  color: #fff;
  background-color: #ff4500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.hero-content .cta-button:hover {
  background-color: #e03e00;
}

/* Services Section */
.services {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.services__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.services__card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.services__icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.services__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.services__description {
  font-size: 1rem;
  color: #555;
}

/* Gallery Section */
.gallery {
  padding: 50px 20px; /* Consistent padding with other sections */
  background-color: #111; /* Dark background */
  color: #fff;
  text-align: center;
  padding-bottom: 3rem; /* Add extra breathing room at the bottom */
  margin-bottom: 2rem; /* Separate the gallery from the next section */
  overflow: visible; /* Ensure no content is clipped */
  box-sizing: border-box; /* Include padding and borders in size calculations */
}

.gallery__header {
  margin-bottom: 30px;
}

.gallery__title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.gallery__subtitle {
  font-size: 1.2rem;
  color: #ccc;
}

/* Gallery Carousel */
.gallery__carousel {
  width: 90%; /* Default width for smaller screens */
  max-width: 100%; /* Prevent overflow */
  margin: 0 auto; /* Center the carousel */
  aspect-ratio: 4 / 3; /* Maintain a 4:3 aspect ratio */
  overflow: hidden;
  position: relative; /* Ensure arrows and dots are positioned correctly */
}

@media (min-width: 1024px) {
  .gallery__carousel {
    width: 65%; /* Use 65% of the viewport width on large screens */
  }
}

.gallery__slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery__slide {
  flex-shrink: 0;
  width: 100%; /* Ensure each slide takes up the full width of the carousel */
  height: 100%; /* Match the height of the carousel */
}

.gallery__img {
  width: 100%; /* Ensure images fill the slide */
  height: 100%; /* Ensure images fill the slide */
  object-fit: cover; /* Contain images without stretching */
  border-radius: 8px; /* Optional: Rounded corners for images */
}

/* Shared Carousel Wrapper */
.carousel__wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  overflow: hidden;
  position: relative; /* Ensure arrows and dots are positioned correctly */
}

/* Shared Carousel Slide */
.carousel__slide {
  flex: 0 0 100%; /* Each slide takes up the full width of the carousel */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f9f9f9; /* Light background for slides */
  border-radius: 8px; /* Rounded corners */
  overflow: hidden; /* Prevent content overflow */
  min-height: var(--carousel-card-height, 400px); /* Use a CSS variable for height */
}

/* Shared Dots (Pagination) */
.carousel__dots {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.carousel__dot {
  width: var(--carousel-dot-size, 12px);
  height: var(--carousel-dot-size, 12px);
  margin: 0 8px;
  background: #ccc;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel__dot.active {
  background: #000; /* Highlight active dot */
}

/* General dot styles */
.gallery__dot,
.testimonials__dot {
  width: 12px;
  height: 12px;
  background-color: #ccc; /* Default dot color */
  border: none;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.gallery__dot.active,
.testimonials__dot.active {
  background-color: #000; /* Active dot color */
}

.gallery__dots,
.testimonials__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

/* Shared Arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: black;
  border: none;
  font-size: var(--carousel-arrow-size, 2rem);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, transform 0.2s ease;
}

.carousel__arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel__arrow--left {
  left: 10px;
}

.carousel__arrow--right {
  right: 10px;
}

/* General arrow styles */
.gallery__arrow,
.testimonials__arrow {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  color: #fff; /* White arrow color */
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.gallery__arrow:hover,
.testimonials__arrow:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}

/* Position arrows */
.gallery__arrow,
.testimonials__arrow {
  position: absolute;
  top: 50%; /* Center vertically */
  transform: translateY(-50%);
  z-index: 10;
}

.gallery__arrow--left,
.testimonials__arrow--left {
  left: 10px; /* Position left arrow */
}

.gallery__arrow--right,
.testimonials__arrow--right {
  right: 10px; /* Position right arrow */
}

/* Position dots */
.gallery__dots,
.testimonials__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px; /* Space below carousel */
}

.gallery__dots {
  position: relative;
  bottom: -20px; /* Adjust position for gallery */
}

.testimonials__dots {
  position: relative;
  bottom: -20px; /* Adjust position for testimonials */
}

/* Responsive Adjustments for Smaller Screens */
@media (max-width: 480px) {
  .carousel__arrow {
    font-size: 1.2rem;
    padding: 0.3rem 0.6rem;
  }

  .carousel__arrow--left {
    left: 5px;
  }

  .carousel__arrow--right {
    right: 5px;
  }

  .carousel__dots {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
  }

  .carousel__dot {
    width: 10px;
    height: 10px;
    margin: 0 6px;
  }
}

/* Responsive arrow styles */
@media (max-width: 768px) {
  .gallery__arrow,
  .testimonials__arrow,
  .carousel__arrow {
    font-size: 1.5rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Testimonial Section */
.testimonials {
  padding: 50px 20px; /* Consistent padding with other sections */
  background-color: #fff; /* White background for contrast */
  color: #111; /* Dark text for readability */
  text-align: center;
  margin-bottom: 50px; /* Add extra spacing below the section */
  overflow: visible;
  display: block;
  padding-bottom: 4rem; /* Add breathing room */
  position: relative;
}

.testimonials__header {
  margin-bottom: 30px; /* Consistent spacing with gallery section */
}

.testimonials__title {
  font-size: 2rem; /* Match gallery title size */
  font-weight: bold;
  margin-bottom: 10px;
}

.testimonials__subtitle {
  font-size: 1.2rem; /* Match gallery subtitle size */
  color: #555; /* Slightly darker for better readability */
}

/* Testimonial Carousel */
.testimonials__carousel {
  width: 90%; /* Default width for smaller screens */
  max-width: 100%; /* Prevent overflow */
  margin: 0 auto; /* Center the carousel */
  overflow: hidden;
  position: relative; /* Ensure arrows and dots are positioned correctly */
}

@media (min-width: 1024px) {
  .testimonials__carousel {
    width: 65%; /* Use 65% of the viewport width on large screens */
  }
}

.testimonials__slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Testimonial Slides */
.testimonials__slide {
  min-height: 400px; /* Increase height to match the tallest testimonial */
  padding: 2rem 1.5rem; /* Add consistent padding */
  border-radius: 12px; /* Smooth rounded corners */
  box-sizing: border-box; /* Include padding in height calculations */
  overflow: visible; /* Allow content to expand without clipping */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  background-color: #f9f9f9; /* Light background for slides */
}

/* Testimonial Carousel Container */

.testimonials__slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Testimonial Slides */
.testimonials__slide {
  flex-shrink: 0;
  width: 100%; /* Each slide takes up the full width of the carousel */
  height: 100%; /* Match the height of the carousel */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for slides */
  border-radius: 8px; /* Rounded corners */
  background-color: #f9f9f9; /* Light background for slides */
  min-height: 450px; /* Match the tallest testimonial */
  overflow: hidden; /* Prevent content from overflowing the rounded corners */
}

.testimonials__img {
  width: 120px; /* Increased size for better alignment with gallery visuals */
  height: 120px;
  object-fit: cover; /* Ensure images are contained without distortion */
  border-radius: 50%; /* Circular profile images */
  margin-bottom: 20px; /* Add spacing below the image */
}

/* Text Scaling for No-Image Testimonials */
.testimonials__slide.no-image .testimonials__text {
  font-size: 1.2rem; /* Slightly larger font size for better balance */
  line-height: 1.8; /* Improve spacing for readability */
  margin-top: 20px; /* Add spacing at the top */
}

/* Testimonial Text */
.testimonials__text {
  max-width: 90%; /* Limit text width for better readability */
  margin: 0 auto; /* Center text horizontally */
  text-align: center; /* Center-align text */
  line-height: 1.6; /* Improve line spacing */
  word-break: break-word; /* Prevent long words from breaking layout */
}

/* Default font size for testimonials */
.testimonials__text {
  font-size: 1rem; /* Default size */
}

.testimonials__name {
  font-size: 0.9rem; /* Default size */
}

/* Increase font size for larger screens */
@media (min-width: 768px) {
  .testimonials__text {
    font-size: 1.2rem; /* Medium screens */
  }

  .testimonials__name {
    font-size: 1rem; /* Medium screens */
  }
}

@media (min-width: 1024px) {
  .testimonials__text {
    font-size: 1.5rem; /* Large screens */
  }

  .testimonials__name {
    font-size: 1.2rem; /* Large screens */
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hidden by default */
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 20px;
  }

  .nav-links.active {
    display: flex; /* Shown when hamburger is clicked */
  }

  .hamburger {
    display: block; /* Show hamburger menu on smaller screens */
  }

  .services__container {
    flex-direction: column;
    align-items: center;
  }

  .gallery__carousel {
    max-width: 100%;
  }

  .testimonials__carousel {
    max-width: 100%;
  }

  .gallery {
    padding-bottom: 4rem; /* Add extra padding for small screens */
    margin-bottom: 3rem; /* Increase spacing below the gallery */
  }

  .gallery__dots {
    margin-top: 2.5rem; /* Add more space above the dots */
    margin-bottom: 2.5rem; /* Add more space below the dots */
  }

  .gallery__dot {
    width: 10px; /* Slightly smaller dots for mobile */
    height: 10px;
    margin: 0 6px; /* Adjust spacing between dots */
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content .cta-button {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

@media (min-width: 600px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktops */
  }
}

/* Gallery Carousel */
.carousel--gallery {
  background-color: #111; /* Dark background */
  color: #fff;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.carousel--gallery .carousel__dot {
  background: #ccc;
}

.carousel--gallery .carousel__dot.active {
  background: #fff;
}

/* Testimonial Carousel */
.carousel--testimonials {
  background-color: #fff; /* Light background */
  color: #111;
  margin-bottom: 50px;
}

.carousel--testimonials .carousel__dot {
  background: #ccc;
}

.carousel--testimonials .carousel__dot.active {
  background: #111;
}

/* Contact Section */
.contact-section {
  background-color: #111; /* Dark background to match the gallery section */
  color: #fff; /* White text for contrast */
  padding: 60px 20px; /* Consistent padding with other sections */
  text-align: center; /* Center-align text */
}

.contact-section .container {
  max-width: 800px; /* Limit the width for better readability */
  margin: 0 auto; /* Center the container */
}

.contact-section h2 {
  font-size: 2rem; /* Match gallery and testimonials title size */
  font-weight: bold; /* Bold for emphasis */
  margin-bottom: 20px; /* Add spacing below the title */
}

.contact-section p {
  font-size: 1.2rem; /* Match gallery and testimonials subtitle size */
  color: #ccc; /* Slightly lighter text for subtitles */
  margin-bottom: 30px; /* Add spacing below the subtitle */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Add spacing between form elements */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #222; /* Darker background for inputs */
  color: #fff; /* White text for contrast */
  font-family: inherit; /* Ensures font matches the rest of the site */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888; /* Subtle placeholder color */
}

.contact-form textarea {
  resize: none; /* Prevent resizing */
  height: 150px; /* Set a consistent height */
}

.contact-form button {
  padding: 15px;
  font-size: 1.2rem;
  color: #fff;
  background-color: #ff4500; /* Accent color for the button */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.contact-form button:hover {
  background-color: #e03e00; /* Slightly darker hover color */
}

/* Coming Soon Contact Section */
.contact {
  background-color: #111; /* Dark background to match the site's theme */
  color: #fff; /* White text for contrast */
  padding: 60px 20px; /* Consistent padding with other sections */
  text-align: center; /* Center-align text */
  margin-top: 50px;  
  overflow: visible;
  padding-top: 4rem; /* Lift contact section */
  z-index: 1;
  position: relative;
}

.contact .container {
  max-width: 800px; /* Limit the width for better readability */
  margin: 0 auto; /* Center the container */
}

.contact__title {
  font-size: 2rem; /* Match the title size of other sections */
  font-weight: bold; /* Bold for emphasis */
  margin-bottom: 20px; /* Add spacing below the title */
}

.contact__subtitle {
  font-size: 1.2rem; /* Match subtitle size in other sections */
  color: #ccc; /* Slightly lighter text for subtitles */
  margin-bottom: 30px; /* Add spacing below the subtitle */
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between social media icons */
  margin-bottom: 20px; /* Add spacing below the social media links */
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #222; /* Dark background for icons */
  border-radius: 50%; /* Circular icons */
  color: #fff; /* White icon color */
  font-size: 1.5rem; /* Icon size */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

.social-icon:hover {
  background-color: #ff4500; /* Accent color on hover */
  transform: scale(1.1); /* Slight zoom effect */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .testimonials {
    margin-bottom: 30px; /* Add spacing below testimonials on mobile */
  }

  .contact {
    margin-top: 30px; /* Add spacing above contact on mobile */
  }
  
  .contact__title {
    font-size: 1.8rem; /* Slightly smaller title on smaller screens */
  }

  .contact__subtitle {
    font-size: 1rem; /* Adjust subtitle size for smaller screens */
  }

  .social-icon {
    width: 40px; /* Smaller icons on mobile */
    height: 40px;
    font-size: 1.2rem;
  }
}

.footer {
  background-color: #111;
  color: #eee;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.footer__container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer__nav {
  margin-bottom: 1rem;
}

.footer__link {
  margin: 0 0.75rem;
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #e03e00;
}

.footer__branding {
  font-size: 0.8rem;
  opacity: 0.85;
}

.footer__credit a {
  color: #e03e00;
  text-decoration: none;
}

.footer__logo-wrapper {
  margin-top: 2rem;
  text-align: center;
}

.footer__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem; /* creates space above */
}

.footer__logo img {
  max-width: 100%;
  height: auto;
  width: 300px; /* or use clamp for responsive scaling */
}

.testimonials::after {
  content: "";
  display: block;
  clear: both;
}

