/* Frontend styles */

/* Profile page styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

header {
  display: flex;
  flex-wrap: wrap-reverse;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 25px 50px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  gap: 30px;
}

header h1 {
  font-size: 2.1em;
  font-weight: 400;
  color: #5a8a8e;
  letter-spacing: 1px;
}

.profile-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

section {
  background: white;
  margin: 50px 0;
  padding: 50px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

h2 {
  color: #5a8a8e;
  margin-bottom: 40px;
  font-size: 2em;
  font-weight: 300;
  letter-spacing: 1px;
}

.profile-header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.profile-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
}

.profile-info h1 {
  color: #5a8a8e;
  margin-bottom: 15px;
  font-size: 2.5em;
  font-weight: 400;
}

.profile-info .job-title {
  color: #666;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: 500;
}

.profile-info .description {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.social-links {
  margin: 20px 0;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  color: #5a8a8e;
  text-decoration: none;
  font-weight: 500;
}

.social-links a:hover {
  text-decoration: underline;
}

.services-section {
  margin-top: 50px;
}

.service-category {
  margin-bottom: 30px;
}

.service-category h3 {
  color: #5a8a8e;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.service-item {
  background: #fafafa;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 2px;
  border-left: 3px solid #5a8a8e;
}

.service-item .service-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.service-item .service-price {
  color: #5a8a8e;
  font-weight: 500;
  margin-bottom: 10px;
}

.service-item .service-description {
  color: #666;
  line-height: 1.6;
}

.back-button {
  display: inline-block;
  background: #5a8a8e;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: #4a7a7e;
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  header {
    padding: 20px 30px;
  }
  section {
    padding: 30px 20px;
  }
}


/* Index page styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

header {
  display: flex;
  flex-wrap: wrap-reverse;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 25px 50px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  gap: 30px;
}

header h1 {
  font-size: 1.8em;
  font-weight: 400;
  color: #5a8a8e;
  letter-spacing: 1px;
}

header h3 {
  font-size: 1em;
  font-weight: 600;
  color: #2b2c2c;
  letter-spacing: 1px;
}

.hero-image {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

section {
  background: white;
  margin: 50px 0;
  padding: 50px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

h2 {
  color: #5a8a8e;
  margin-bottom: 40px;
  font-size: 2em;
  font-weight: 300;
  letter-spacing: 1px;
}

.staff-member {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  padding: 30px;
  background: #efefef;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: #4a7a7e 1px;
}

.staff-member:hover {
  background: #f5f5f5;
}

.staff-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.staff-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow-wrap: anywhere;
  flex: 1;
}

.staff-info h3 {
  color: #5a8a8e;
  margin-bottom: 8px;
  font-size: 1.5em;
  font-weight: 400;
}

.staff-info h4 {
  color: #666;
  margin-bottom: 20px;
  font-size: 1.2em;
  font-weight: 500;
}

.staff-description {
  padding: 0 0 25px 0;
}

.view-button {
  background: #5a8a8e;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 400;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.view-button:hover {
  background: #4a7a7e;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rules-list {
  list-style: none;
}

.rules-list li {
  padding: 18px 20px;
  margin-bottom: 12px;
  background: #fafafa;
  border-left: 3px solid #5a8a8e;
  color: #555;
  line-height: 1.7;
}

@media (min-width: 1250px) {
  .hero-image {
    width: 100%;
    height: 800px;
    object-fit: cover;
    display: block;
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-member {
    flex-direction: column;
    text-align: center;
  }

  header h1 {
    font-size: 1.5em;
    font-weight: 400;
    color: #5a8a8e;
    letter-spacing: 1px;
  }

  header h3 {
    font-size: 0.9em;
    font-weight: 600;
    color: #2b2c2c;
    letter-spacing: 1px;
  }

  header {
    padding: 20px 30px;
  }

  section {
    padding: 30px 20px;
  }
}