* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', 'Arial', sans-serif; /* Updated body font */
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
header {
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 2rem;
}

header .logo {
  width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
}

header p {
  font-size: 1.2rem;
  margin: 0;
}

/* Navigation Styles */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #d4af37;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav-logo {
  width: 50px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
}

nav a {
  color: #1a1a1a;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #1a1a1a;
  margin: 5px auto;
}

@media (max-width: 768px) {
  .nav-content {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #d4af37;
    padding: 1rem;
  }
  .nav-content.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .nav-links a {
    margin: 0.5rem 0;
  }
}

/* Swiper Slideshow */
.swiper-container {
  width: 100%;
  height: 400px;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 40px; /* Added margin to prevent overlap with next section */
}

.swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.swiper-pagination {
  bottom: 30px; /* Increased bottom spacing to avoid overlap/doubling visual */
}

.swiper-pagination-bullet-active {
  background-color: #d4af37;
}

.swiper-button-next, .swiper-button-prev {
  color: #d4af37;
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Ensure perfect centering */
}

/* Section Styles */
section {
  padding: 40px;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

section h2 {
  font-family: 'Playfair Display', 'Georgia', serif; /* Updated section headings */
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #d4af37;
}

/* Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
  max-width: 100%;
  overflow: hidden;
}

.gallery-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease; /* Added opacity for fade-in */
  max-width: 100%;
  opacity: 0; /* Start hidden for animation */
  animation: fadeIn 0.5s forwards; /* Fade-in animation */
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* About Us Styles */
.about-hero {
  position: relative;
  text-align: center;
  color: white;
  margin-bottom: 2rem;
  max-width: 100%;
  overflow: hidden;
  height: 400px; /* Fixed height for the background */
  background-image: url('https://placehold.co/1200x400/black/white'); /* Removed text from placeholder */
  background-size: cover;
  background-position: center;
  background-attachment: scroll; /* Changed to scroll to remove floating effect */
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  border-radius: 8px;
}

.hero-text h2 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', 'Georgia', serif; /* Updated hero heading */
}

.hero-text p {
  font-size: 1.1rem;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.design-philosophy {
  flex: 1 1 300px;
  max-width: 500px;
  text-align: left;
}

.about-image {
  flex: 1 1 300px;
  max-width: 600px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 100%;
}

.design-philosophy ul {
  list-style: none;
  padding: 0;
}

.design-philosophy li {
  margin: 1rem 0;
  font-size: 1.1rem;
}

/* Team Profiles */
.team-profiles {
  margin-top: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.team-member {
  max-width: 300px;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 200px;
  height: auto;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
}

/* Testimonials Styles */
.testimonials-slider {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  text-align: center;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Enhanced hover */
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial cite {
  font-weight: bold;
  color: #d4af37;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
  text-align: left;
}

input, select, textarea, button {
  padding: 10px;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  width: 100%;
}

button {
  background-color: #d4af37;
  color: #1a1a1a;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #b8962e;
}

/* Form Error Styles */
.error-message {
  color: #ff0000;
  font-size: 0.9rem;
  margin-top: -10px;
  margin-bottom: 10px;
  display: block;
}

/* Footer Styles */
footer {
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
}

footer a {
  color: #d4af37;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}