/* Global Styles */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #0d274d;
  margin-top: 0;
}

p {
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  height: 70vh;
  color: #fff;
  display: flex;
  align-items: center;
}

.overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  /* Branding: logo text larger and with accent color */
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #e0c26f;
  letter-spacing: 0.05em;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #e0c26f;
}

.hero-content {
  text-align: center;
  margin-top: auto;
  margin-bottom: 4rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  color: #f0f0f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section {
  padding: 4rem 1rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.pattern-bg {
  background-image: url('../images/pattern.png');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.pattern-bg h2 {
  color: #fff;
}

/* Grid Layouts */
.areas-grid,
.pareri-grid,
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.area,
.parere,
.contact-info {
  flex: 1 1 30%;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  color: #333;
}

.pattern-bg .area,
.pattern-bg .contact-info {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  color: #fff;
}

.area h3,
.parere h3,
.contact-info h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #0d274d;
}

.pattern-bg .area h3,
.pattern-bg .contact-info h3 {
  color: #fff;
}

/* Pareri Cards */
.parere {
  text-align: center;
}

.parere p {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  background-color: #0d274d;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #1d3f7a;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0d274d;
}

/* Footer */
.footer {
  background-color: #0d274d;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .areas-grid,
  .pareri-grid,
  .contact-grid {
    flex-direction: column;
  }
  .area,
  .parere,
  .contact-info {
    flex: 1 1 100%;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* Collapsible details styling for pareri */
details {
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

details[open] {
  background-color: #fff;
}

details summary {
  font-weight: 600;
  font-size: 1.1rem;
  color: #0d274d;
  margin-bottom: 0.5rem;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

/* Reviews grid styling */
/* Reviews grid styling */
.reviews-grid {
  /* display the reviews horizontally and allow horizontal scrolling */
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

/* Each review card has a fixed width so chevrons can scroll smoothly */
.review {
  flex: 0 0 250px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.review img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.review h4 {
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
  color: #0d274d;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

.review p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Map grid styling */
.map-grid {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.map-item {
  flex: 1 1 45%;
  min-width: 280px;
}

.map-item h4 {
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  color: #0d274d;
}

/* When maps are placed on a patterned background, ensure headings remain legible */
.pattern-bg .map-item h4 {
  color: #ffffff;
}

@media (max-width: 768px) {
  .map-grid {
    flex-direction: column;
  }
  .map-item {
    flex: 1 1 100%;
    margin-bottom: 1rem;
  }
}

/* Team list styling */
.team-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}
.team-list li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Review form styling */
.review-form-container {
  margin-top: 2rem;
  max-width: 600px;
}
.review-form-container h3 {
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  color: #0d274d;
}