/* --- Global Styles & Reset --- */
:root {
  /* NEW BRAND COLORS */
  --primary-color: #a59590; /* Accent Color (Muted Rose/Taupe) - Used for buttons, borders, highlights */
  --secondary-color: #9a8375; /* Dark Text Color (Deep Taupe/Brown) - Used for body text and general contrast */
  --light-bg: #e9d8ca; /* Light Background Color (Light Beige/Cream) - Used for main body and light cards */
  --accent-light: #bfa89c; /* Lighter accent - unused but reserved */

  --white: #ffffff;
  --dark: #333333; /* Kept for footer/deep contrast */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: var(--light-bg);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--secondary-color); /* Updated to new dark color */
  text-align: center;
  margin-bottom: 1em;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4rem 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background-color: #90827d; /* Slightly darker shade of primary color for hover */
  transform: translateY(-2px);
}

.divider {
  border: 0;
  height: 1px;
  /* Updated gradient using the primary color */
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(165, 149, 144, 0.75),
    rgba(0, 0, 0, 0)
  );
}

/* --- Header & Navigation --- */
header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex; /* Aligns the image and text horizontally */
  align-items: center; /* Vertically centers the image and text */
  text-decoration: none;
  color: var(--secondary-color); /* Ensures text color uses brand color */
}

.logo-img {
  height: 80px; /* Standard size for a header logo. Adjust if needed. */
  width: auto;
  margin-right: 10px; /* Space between the image and the text */
}

.logo-text {
  font-family: "Playfair Display", serif; /* Keeps your elegant headline font */
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color); /* Uses your deep taupe for the brand name */
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: var(--secondary-color);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* --- Hero Section --- */
#hero {
  background: url("hero-image.jpg") no-repeat center center/cover; /* Replace 'hero-image.jpg' */
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
}

#hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

#hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.contact-btn {
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
}

/* --- CAROUSEL STYLES (Enables Scrolling and Snapping) --- */

/* HIDE SCROLLBAR STYLES */
/* Hide scrollbar for Chrome, Safari, and Opera */
.carousel-wrapper::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge, and Firefox */
.carousel-wrapper {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */

  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  width: fit-content;
  padding: 0.5rem;
}

.carousel-item {
  flex-shrink: 0;
  width: 300px;
  scroll-snap-align: start;
}

/* --- Services Section --- */
.service-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  /* Updated soft glow using the primary color */
  box-shadow: 0 8px 15px rgba(165, 149, 144, 0.3);
}

.service-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* --- Testimonials Section --- */
#testimonials {
  background-color: var(--white);
}

.testimonial-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  font-style: italic;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.testimonial-card p {
  margin-bottom: 1rem;
}

.testimonial-card cite {
  display: block;
  text-align: right;
  font-style: normal;
  color: var(--primary-color);
  font-weight: 700;
}

/* --- Footer / Contact Section --- */
footer {
  background-color: var(--dark);
  color: var(--white);
  text-align: center;
}

footer h2 {
  color: var(--white);
}

.contact-info {
  margin: 1.5rem 0;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--primary-color);
}

/* Social Link Styles */
.social-links {
  margin: 1.5rem 0 0.5rem;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-color);
}

.icon-instagram,
.icon-facebook {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
}
/* End Social Link Styles */

footer small {
  display: block;
  margin-top: 2rem;
  opacity: 0.7;
}

/* --- Responsiveness (Mobile First) --- */
@media (max-width: 768px) {
  /* Smaller Screens/Tablets */
  .nav-links {
    display: none;
  }

  nav.container {
    justify-content: center;
  }

  #hero {
    height: 60vh;
  }

  #hero h1 {
    font-size: 2.5rem;
  }

  #hero p {
    font-size: 1rem;
  }

  .contact-btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .carousel-item {
    width: 250px;
  }

  .section-padding {
    padding: 3rem 0;
  }
}
