* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #263445;
  background: white;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.narrow {
  max-width: 800px;
}

h1,
h2,
h3 {
  color: #14263d;
  line-height: 1.3;
}

h2 {
  font-size: 30px;
  margin: 0 0 20px;
}

a {
  color: #2563eb;
}

/* Navigation */
.site-header {
  background: white;
  border-bottom: 3px solid #f59e0b;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.logo {
  font-size: 21px;
  font-weight: bold;
  color: #14263d;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: #263445;
  text-decoration: none;
  font-size: 14px;
}

nav a:hover {
  color: #2563eb;
}

/* Homepage */
.hero {
  background: #f3f6fa;
  padding: 90px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.eyebrow {
  color: #a45e00;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 44px;
  margin: 15px 0;
}

.intro {
  font-size: 18px;
  color: #526071;
}

.hero-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.rating {
  font-weight: bold;
  color: #a45e00;
  margin-top: 25px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 25px;
}

/* Buttons */
.button {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.button:hover {
  background: #14263d;
}

.text-link {
  font-weight: bold;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 75px 0;
}

.alt {
  background: #f3f6fa;
}

.section-intro {
  color: #526071;
  margin-bottom: 30px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.price-card,
.review-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #f59e0b;
  border-radius: 6px;
  padding: 25px;
}

.service-card h3 {
  margin-top: 0;
  font-size: 19px;
}

.service-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.service-card li {
  margin-bottom: 7px;
}

/* About */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.features span {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 14px;
}

/* Prices */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.price-card h3 {
  margin-top: 0;
}

.price {
  font-size: 36px;
  font-weight: bold;
  color: #14263d;
  margin: 12px 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

/* Reviews */
.review-score {
  font-size: 27px;
  font-weight: bold;
  color: #a45e00;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.review-card h3 {
  margin: 0;
}

.stars {
  color: #a45e00;
}

/* Opening hours */
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #d5dce5;
}

/* Contact */
#contact a:not(.button) {
  overflow-wrap: anywhere;
}

#contact .button {
  margin-top: 15px;
}

/* Footer */
footer {
  background: #14263d;
  color: white;
  text-align: center;
  padding: 25px 0;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-layout,
  .service-grid,
  .price-grid,
  .gallery-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-image {
    height: 250px;
  }

  .section {
    padding: 55px 0;
  }

  h2 {
    font-size: 26px;
  }

  .hours-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Large homepage photograph */
.hero-layout {
  grid-template-columns: 45% 55%;
  gap: 20px;
}

.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
}

/* Mobile layout */
@media (max-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 300px;
  }
}

/* Scrolling photo gallery */
.gallery-slider {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track img {
  flex: 0 0 calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  height: 270px;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: start;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.gallery-controls button {
  background: #14263d;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 18px;
}

.gallery-controls button:hover {
  background: #2563eb;
}

@media (max-width: 768px) {
  .gallery-track img {
    flex-basis: 85%;
    width: 85%;
    height: 240px;
  }
}
