/* CSS variables for color palette */
:root {
  --primary-bg: #ebe1d9;
  --secondary-color: #838278;
  --text-color: #333333;
  --accent-color: #5a544f; /* slightly darker shade for accents */
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Navigation bar */
header {
  background-color: var(--primary-bg);
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.navbar .logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary-color);
}

.navbar .logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links li .dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--primary-bg);
  min-width: 150px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  border-radius: 4px;
}

.nav-links li:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--secondary-color);
}

.dropdown-content a:hover {
  background-color: #f7f1ea;
}

/* Hero section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 1rem 6rem;
  background-image: url('hero.png');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-color);
}

/* Sections */
section {
  padding: 4rem 1rem;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-category {
  background-color: #f7f1ea;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-category h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.service-category ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  color: var(--text-color);
}

/* About page */
.about-content {
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
}

/* Testimonials */
.testimonial {
  background-color: #f7f1ea;
  border-left: 4px solid var(--secondary-color);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.testimonial p {
  margin-bottom: 0.5rem;
  font-style: italic;
}

.testimonial .author {
  text-align: right;
  font-weight: bold;
  color: var(--secondary-color);
}

/* Contact page */
.contact-info {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
  color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  align-self: flex-start;
}

/* Calendly embed wrapper */
.calendly-wrapper {
  margin-top: 2rem;
  height: 620px;
  position: relative;
}

.calendly-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background-color: var(--primary-bg);
  border-top: 1px solid #ddd;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-top: 4rem;
}