:root {
  --color-green: #2D6A4F;
  --color-green-dark: #1A4A3C;
  --color-terracotta: #D4764A;
  --color-sky: #7EC8E3;
  --color-bg: #F5F0EB;
  --color-text: #2C2C2C;
  --color-light: #FAFAFA;
  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: var(--color-green-dark);
  color: var(--color-light);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-terracotta);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  transition: width 0.3s;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-terracotta);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-light);
  transition: 0.3s;
}

.hero {
  height: 85vh;
  background: linear-gradient(rgba(26, 74, 60, 0.4), rgba(26, 74, 60, 0.6)),
    url('img/heading.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero__content {
  color: var(--color-light);
  max-width: 800px;
  padding: 0 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--color-green);
  color: var(--color-light);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--color-green);
  transition: all 0.3s;
  cursor: pointer;
}

.btn:hover {
  background: transparent;
  color: var(--color-green);
}

.btn--ochre {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
}

.btn--ochre:hover {
  background: transparent;
  color: var(--color-terracotta);
}

.section {
  padding: 80px 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-green-dark);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-green);
  margin: 15px auto 0;
}

.ornament {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.ornament svg {
  width: 100px;
  height: 30px;
}

.about {
  background: var(--color-light);
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about__text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about__text p {
  margin-bottom: 20px;
}

.about__image {
  border: 4px solid var(--color-terracotta);
  padding: 10px;
  position: relative;
}

.about__image::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-green);
  z-index: -1;
}

.about__image img {
  display: block;
  width: 100%;
}

.services {
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.services__item {
  overflow: hidden;
  border: 1px solid var(--color-terracotta);
  transition: all 0.3s;
}

.services__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.services__item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.services__name {
  font-weight: 600;
  color: var(--color-green-dark);
  margin: 15px 0 8px;
  padding: 0 15px;
  text-align: center;
}

.services__desc {
  font-size: 0.9rem;
  color: #666;
  padding: 0 15px 15px;
  text-align: center;
}

.news-preview {
  background: var(--color-light);
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.news__card {
  border: 1px solid var(--color-terracotta);
  overflow: hidden;
  transition: all 0.3s;
}

.news__card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news__image {
  height: 200px;
  overflow: hidden;
}

.news__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news__card:hover .news__image img {
  transform: scale(1.1);
}

.news__content {
  padding: 25px;
}

.news__date {
  font-size: 0.85rem;
  color: var(--color-green);
  font-weight: 500;
  margin-bottom: 10px;
}

.news__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-green-dark);
  margin-bottom: 15px;
}

.news__preview {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}

.news__link {
  color: var(--color-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news__link:hover {
  text-decoration: underline;
}

.places-preview {
  background: var(--color-light);
}

.places__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.places__card {
  position: relative;
  overflow: hidden;
}

.places__card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s;
}

.places__card:hover img {
  transform: scale(1.1);
}

.places__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  background: linear-gradient(transparent, rgba(26, 74, 60, 0.9));
  color: var(--color-light);
}

.places__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.places__distance {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer {
  background: var(--color-green-dark);
  color: var(--color-light);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-terracotta);
  margin-bottom: 20px;
}

.footer__text {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer__list a {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer__list a:hover {
  opacity: 1;
  color: var(--color-terracotta);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

.page-header {
  background: var(--color-green-dark);
  color: var(--color-light);
  padding: 60px 0;
  text-align: center;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-header__subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
}

.news-page {
  padding: 50px 0;
}

.news-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.news-filter__select {
  padding: 12px 20px;
  border: 2px solid var(--color-terracotta);
  background: var(--color-light);
  font-family: var(--font-main);
  font-size: 1rem;
  cursor: pointer;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.news-pagination__btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-terracotta);
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.news-pagination__btn:hover,
.news-pagination__btn.active {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-light);
}

.news-pagination__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.news-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
}

.news-single__header {
  margin-bottom: 40px;
}

.news-single__date {
  color: var(--color-green);
  font-weight: 500;
  margin-bottom: 15px;
}

.news-single__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-green-dark);
  line-height: 1.3;
}

.news-single__image {
  margin-bottom: 40px;
}

.news-single__image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.news-single__text {
  font-size: 1.15rem;
  line-height: 1.8;
}

.news-single__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--color-green-dark);
  font-weight: 600;
}

.news-single__back:hover {
  color: var(--color-green);
}

.stay-page {
  padding: 50px 0;
}

.rooms {
  margin-bottom: 60px;
}

.rooms__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-light);
}

.rooms__table th,
.rooms__table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-terracotta);
}

.rooms__table th {
  background: var(--color-green-dark);
  color: var(--color-light);
  font-weight: 600;
}

.rooms__table tr:hover {
  background: rgba(212, 118, 74, 0.1);
}

.rooms__type {
  font-weight: 600;
  color: var(--color-green-dark);
}

.rooms__price {
  color: var(--color-green);
  font-weight: 700;
  font-size: 1.2rem;
}

.rules {
  background: var(--color-light);
  padding: 50px;
  margin-bottom: 60px;
  border-left: 4px solid var(--color-green);
}

.rules__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-green-dark);
  margin-bottom: 25px;
}

.rules__list {
  list-style: none;
}

.rules__list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.rules__list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--color-terracotta);
}

.booking {
  background: var(--color-light);
  padding: 50px;
  max-width: 600px;
  margin: 0 auto;
}

.booking__title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-green-dark);
  text-align: center;
  margin-bottom: 40px;
}

.form__group {
  margin-bottom: 25px;
}

.form__label {
  display: block;
  font-weight: 600;
  color: var(--color-green-dark);
  margin-bottom: 10px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--color-terracotta);
  background: var(--color-bg);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-sky);
}

.form__input.error {
  border-color: red;
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.places-page {
  padding: 50px 0;
}

  .places-page__grid {
    grid-template-columns: 1fr;
  }

  .places-page__card {
    grid-template-columns: 1fr;
  }
  
  .places-page__image img {
    min-height: 160px;
    max-height: 180px;
  }

.places-page__card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  background: var(--color-light);
  border: 1px solid var(--color-terracotta);
}

.places-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  max-height: 220px;
}

.places-page__content {
  padding: 20px;
}

.places-page__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-green-dark);
  margin-bottom: 10px;
}

.places-page__desc {
  margin-bottom: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.places-page__meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #666;
}

.places-page__meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.map {
  height: 500px;
  border: 4px solid var(--color-terracotta);
}

#map {
  height: 100%;
  width: 100%;
}

.info-page {
  padding: 50px 0;
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.info__content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-green-dark);
  margin-bottom: 25px;
}

.info__content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-green-dark);
  text-align: center;
  margin-bottom: 40px;
}

.faq__item {
  border: 1px solid var(--color-terracotta);
  margin-bottom: 15px;
}

.faq__question {
  width: 100%;
  padding: 25px;
  background: var(--color-light);
  border: none;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq__question:hover {
  background: rgba(212, 118, 74, 0.2);
}

.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-green);
  transition: transform 0.3s;
}

.faq__item.active .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  background: var(--color-bg);
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer-content {
  padding: 25px;
  font-size: 1rem;
  line-height: 1.7;
}

.contacts {
  background: var(--color-light);
  padding: 50px;
  margin-top: 60px;
}

.contacts__title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-green-dark);
  margin-bottom: 30px;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.contacts__item {
  display: flex;
  gap: 15px;
}

.contacts__icon {
  font-size: 1.5rem;
  color: var(--color-green);
}

.contacts__label {
  font-weight: 600;
  color: var(--color-green-dark);
  margin-bottom: 5px;
}

.contacts__text {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .about__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .info__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-green-dark);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }
  
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav__link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero__subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .news__grid {
    grid-template-columns: 1fr;
  }
  
  .places__grid {
    grid-template-columns: 1fr;
  }
  
  .places-page__card {
    grid-template-columns: 1fr;
  }
  
  .places-page__image img {
    min-height: 160px;
    max-height: 180px;
  }
  
  .form__row {
    grid-template-columns: 1fr;
  }
  
  .rooms__table {
    display: block;
    overflow-x: auto;
  }
  
  .news-single__title {
    font-size: 1.8rem;
  }
  
  .booking,
  .rules,
  .contacts {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4rem;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
  
  .page-header__title {
    font-size: 2rem;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
}