/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #5793B6;
  --light-blue: #eaf7fe;
  --header-blue: #D1E6F2;
  --hover-orange: #FFBF71;
  --white: #fff;
  --text-dark: #333;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-blue);
}

/* Header styles */
.header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--header-blue) 100%);
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
}

.header h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.header-contact {
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.header-contact a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.header-contact a:hover {
  opacity: 0.8;
}

.logo {
  max-width: 150px;
  height: auto;
  margin: 1rem auto;
}

/* Navigation */
.nav {
  background-color: var(--white);
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-list li {
  flex: 1 1 auto;
  min-width: 120px;
}

.nav-list a {
  display: block;
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 0.75rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
}

.nav-list a:hover {
  background-color: var(--hover-orange);
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Main container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Sections */
section {
  background-color: var(--white);
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
  color: var(--primary-blue);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-blue);
}

section h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

section h4 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

section li {
  margin-bottom: 0.5rem;
}

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.price-table tr {
  border-bottom: 1px solid #e0e0e0;
}

.price-table td {
  padding: 1rem;
  vertical-align: top;
}

.price-table h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.price-table .price {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.3rem;
  white-space: nowrap;
  text-align: right;
}

.price-sub-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.25rem 0;
}

.price-sub-item .price {
  font-size: 1.3rem;
}

.price-table p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #666;
}

/* Team section */
.team-member {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.team-member:last-child {
  border-bottom: none;
}

.team-member img {
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
  margin-top: 0;
}

/* Map container */
.map-container {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer h2 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  border: none;
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--white);
  text-decoration: underline;
}

.footer a:hover {
  opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.5rem;
  }

  .header-contact {
    font-size: 0.85rem;
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
  }

  .nav-toggle-label span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s;
  }

  .nav-list {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-toggle:checked ~ .nav-list {
    max-height: 500px;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .nav-list li {
    width: 100%;
  }

  section {
    padding: 1.5rem;
    margin: 1rem 0;
  }

  section h2 {
    font-size: 1.5rem;
  }

  section h3 {
    font-size: 1.25rem;
  }

  .price-table {
    font-size: 0.9rem;
  }

  .price-table td {
    display: block;
    width: 100%;
    padding: 0.5rem;
  }

  .price-table .price {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .team-member {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .team-member img {
    max-width: 100%;
    justify-self: center;
  }

  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .header h1 {
    font-size: 1.25rem;
  }

  section {
    padding: 1rem;
  }
}

/* Print styles */
@media print {
  .nav {
    display: none;
  }

  section {
    page-break-inside: avoid;
    box-shadow: none;
  }
}
