:root {
  --color-bg: #faf7f3;
  --color-light: #fffdfb;
  --color-accent: #e4d8c3;
  --color-text: #5a4a3f;
  --color-subtle: #d8c3a5;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Georgia", serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  
}

.hero {
  height: 60vh;
  background: var(--color-accent) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 247, 243, 0.6);
}
.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}
.hero-content p {
  font-size: 1.25rem;
  color: var(--color-subtle);
}

/* About Us */
.about-large {
  background: var(--color-light);
  padding: 60px 0;
}
.about-large h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.about-large p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--color-text);
}

/* Enhanced Locations Overview */
.locations-overview {
  padding: 60px 0;
  background: var(--color-bg);
}

.locations-overview h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--color-text);
  position: relative;
}

.locations-overview h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.locations-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 300px;
  grid-auto-flow: dense;
}

/* Мозаика: каждая 4-я и 1-я карточка больше */
.locations-grid .loc-card:nth-child(4n + 1),
.locations-grid .loc-card:nth-child(4n + 4) {
  grid-column: span 2;
  grid-row: span 1;
  height: 100%;
}

.loc-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  height: 100%;
}

.loc-card:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.loc-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 1;
}

.loc-card:hover .loc-img {
  transform: scale(1.2);
}

.loc-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  padding: 16px;
  backdrop-filter: blur(4px);
  color: #ddd;
}

.loc-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  color: white;
}

.loc-content p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
  color: #ccc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .locations-overview h2 {
    font-size: 2rem;
  }
  .locations-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-auto-rows: 280px;
  }
  .locations-grid .loc-card:nth-child(4n + 1),
  .locations-grid .loc-card:nth-child(4n + 4) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}


.gallery {
  background: var(--color-bg);
  padding: 60px 0;
}
.gallery h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 150px;
  gap: 15px;
  grid-auto-flow: dense;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(90, 74, 63, 0.1);
  display: block;
}

.gallery-grid img.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img.tall {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 120px;
  }
  .gallery-grid img.large {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-grid img.tall {
    grid-row: span 1;
  }
}

.contact-large {
  background: var(--color-light);
  padding: 160px 0;
}
.contact-large h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 20px;
}
.contact-large p {
  max-width: 600px;
  margin: 0 auto 10px;
  font-size: 1rem;
  color: var(--color-text);
  text-align: center;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .locations-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .gallery-grid img {
    width: 150px;
    height: 100px;
  }
}

.site-header {
  background: var(--color-light);
  box-shadow: 0 2px 6px rgba(90, 74, 63, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}
.logo {
  font-family: "Georgia", serif;
  font-size: 1.5rem;
  color: var(--color-text);
  text-decoration: none;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  
}
.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--color-accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
}

.site-footer {
  background: var(--color-accent);
  color: var(--color-text);
  padding: 40px 0;
  margin-top: 60px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.footer-links a {
  color: var(--color-text);
  text-decoration: none;
  margin-right: 15px;
  font-size: 0.95rem;
}
.footer-links a:hover {
  text-decoration: underline;
}
.site-footer p {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .site-nav ul {
    display: none;
    flex-direction: column;
    background: var(--color-light);
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(90, 74, 63, 0.1);
  }
  .site-nav.open ul {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}

.hours-section {
  background: var(--color-light);
  padding: 60px 0;
}
.hours-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}
.hours-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hours-tabs .tab {
  background: var(--color-accent);
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text);
  border-radius: 4px;
  transition: background 0.3s;
}
.hours-tabs .tab.active,
.hours-tabs .tab:hover {
  background: var(--color-text);
  color: var(--color-light);
}
.hours-info .info {
  display: none;
  text-align: center;
  font-size: 1rem;
  color: var(--color-text);
}
.hours-info .info.active {
  display: block;
}

.cta-invite {
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-light) 100%
  );
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-invite::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(90, 74, 63, 0.1);
  border-radius: 50%;
  top: -50px;
  right: -50px;
}
.cta-invite::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(218, 200, 174, 0.1);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
}
.cta-invite h2 {
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: 15px;
}
.cta-invite p {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 30px;
}
.btn-invite {
  display: inline-block;
  padding: 15px 30px;
  background: var(--color-text);
  color: var(--color-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(90, 74, 63, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-invite:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(90, 74, 63, 0.2);
}

.breadcrumb {
  background: var(--color-bg);
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
}
.breadcrumb span {
  margin-left: 5px;
}

.location-hero {
  position: relative;
  height: 50vh;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 247, 243, 0.6);
}
.hero-text {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding: 0 15px;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--color-muted);
}

.light-schedule {
  background: var(--color-light);
  padding: 40px 0;
  text-align: center;
}
.light-schedule h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.light-schedule ul {
  list-style: none;
  display: inline-flex;
  gap: 30px;
}
.light-schedule li {
  font-size: 1rem;
  color: var(--color-text);
}

.loc-gallery {
  padding: 40px 0;
}
.loc-gallery h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
}
.loc-gallery-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.loc-gallery-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition);
}
.loc-gallery-grid img:hover {
  transform: scale(1.05);
}

.features {
  background: var(--color-bg);
  padding: 40px 0;
}
.features h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.features ul {
  list-style: disc inside;
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-text);
}
.features li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.testimonials {
  padding: 40px 0;
}
.testimonials h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
}
.testimonials-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  justify-content: center;
}
.testimonial {
  flex: 0 0 260px;
  background: var(--color-light);
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.testimonial blockquote {
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial cite {
  display: block;
  text-align: right;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.booking-cta {
  background: var(--color-accent);
  padding: 50px 0;
  text-align: center;
}
.booking-cta h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.booking-cta p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--color-text);
}
.booking-cta .btn-primary {
  background: var(--color-text);
  color: var(--color-light);
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background var(--transition);
}
.booking-cta .btn-primary:hover {
  background: var(--color-muted);
}

.map-section {
  padding: 40px 0;
  text-align: center;
}
.map-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.map-section iframe {
  width: 100%;
  max-width: 800px;
  height: 300px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.site-footer {
  background: var(--color-light);
  padding: 30px 0;
  text-align: center;
}
.footer-inner p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .light-schedule ul {
    flex-direction: column;
    gap: 10px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-auto-rows: 100px;
  }
  .testimonials-slider {
    gap: 15px;
  }
  .testimonial {
    flex: 0 0 200px;
  }
  .booking-cta .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

.title_background {
  background: var(--color-accent);
  padding: 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.title_background .container {
  position: relative;
  z-index: 1;
}
.title_background .title {
  font-family: "Georgia", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}
.title_background .title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-light);
  margin: 12px auto 0;
  border-radius: 2px;
}

.text_background {
  background: var(--color-light);
  padding: 40px 0;
}
.text_background .container {
  max-width: 800px;
  margin: 0 auto;
}
.text_background .text {
  font-family: "Georgia", serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  text-align: justify;
  white-space: pre-wrap;
}

@media (max-width: 768px) {
  .title_background .title {
    font-size: 1.6rem;
  }
  .text_background .text {
    font-size: 0.95rem;
    padding: 0 15px;
  }
}
