/* ===========================
      БФ АННА-МАРІЯ
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;

  background: #faf8f2;

  color: #333;

  overflow-x: hidden;
}

/* Фон */

body::before {
  content: "";

  position: fixed;

  left: 0;
  top: 0;

  width: 100%;
  height: 100%;

  background:
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
    url("https://www.transparenttextures.com/patterns/paper-fibers.png");

  z-index: -2;
}

/* Великий тризуб */

body::after {
  content: "";

  position: fixed;

  right: -80px;

  top: 120px;

  width: 420px;

  height: 420px;

  background: url("https://upload.wikimedia.org/wikipedia/commons/3/35/Lesser_Coat_of_Arms_of_Ukraine.svg")
    center/contain no-repeat;

  opacity: 0.05;

  z-index: -1;
}

/* Контейнер */

.container {
  width: 90%;

  max-width: 1200px;

  margin: auto;
}

/* HEADER */

header {
  background: white;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

  position: sticky;

  top: 0;

  z-index: 999;
}

header .container {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 15px 0;
}

.logo img {
  height: 85px;
}

nav {
  display: flex;

  gap: 40px;
}

nav a {
  text-decoration: none;

  font-weight: 600;

  font-size: 18px;

  color: #2d5b39;

  transition: 0.3s;
}

nav a:hover {
  color: #c59a3b;
}

/* HERO */

.hero {
  padding: 80px 0;
}

.hero-content {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 60px;
}

.hero-text {
  flex: 1;
}

.subtitle {
  font-size: 18px;

  letter-spacing: 2px;

  color: #2d5b39;

  font-weight: 700;

  display: block;

  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: 78px;

  color: #2d5b39;

  margin-bottom: 25px;
}

.hero-text p {
  font-size: 22px;

  line-height: 1.8;

  margin-bottom: 40px;
}

.buttons {
  display: flex;

  gap: 20px;
}

.btn {
  background: #2d5b39;

  padding: 16px 34px;

  border-radius: 40px;

  color: white;

  text-decoration: none;

  font-weight: 600;

  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-4px);
}

.gold {
  background: #c79a34;
}

/* Фото */

.hero-photo {
  width: 420px;

  text-align: center;
}

.photo-box {
  background: white;

  padding: 12px;

  border-radius: 35px;

  border: 5px solid #d5b15f;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.photo-box img {
  width: 100%;

  height: 520px;

  object-fit: cover;

  border-radius: 28px;

  display: block;
}

.hero-photo h2 {
  margin-top: 25px;

  font-size: 42px;

  font-family: "Cormorant Garamond", serif;

  color: #2d5b39;
}

.hero-photo p {
  margin-top: 15px;

  font-size: 21px;

  line-height: 1.7;

  color: #666;
} /* ===================================
        ПРО ФОНД
=================================== */

section {
  padding: 90px 0;
}

section h2 {
  text-align: center;
  font-size: 52px;
  font-family: "Cormorant Garamond", serif;
  color: #2d5b39;
  margin-bottom: 30px;
}

.about-text {
  max-width: 950px;
  margin: auto;
  text-align: center;
  font-size: 20px;
  line-height: 1.9;
  color: #555;
}

/* ===================================
            КАРТКИ
=================================== */

.cards {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 30px;

  margin-top: 60px;
}

.card {
  background: white;

  padding: 35px;

  border-radius: 25px;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);

  transition: 0.35s;

  border-top: 6px solid #c79a34;
}

.card:hover {
  transform: translateY(-10px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.card h3 {
  font-size: 26px;

  margin-bottom: 18px;

  color: #2d5b39;
}

.card p {
  line-height: 1.8;

  color: #666;
}

/* ===================================
      ГОЛОВА ПРАВЛІННЯ
=================================== */

.chairman {
  background: #f5f8f3;
}

.chairman-content {
  display: flex;

  align-items: center;

  gap: 60px;

  flex-wrap: wrap;

  margin-top: 50px;
}

.chairman-image {
  flex: 1;

  text-align: center;
}

.chairman-image img {
  width: 330px;

  border-radius: 35px;

  border: 6px solid #d6b267;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.chairman-info {
  flex: 2;
}

.chairman-info h3 {
  font-size: 42px;

  font-family: "Cormorant Garamond", serif;

  color: #2d5b39;

  margin-bottom: 20px;
}

.chairman-info p {
  font-size: 19px;

  line-height: 1.9;

  color: #555;
}

/* ===================================
          КОНТАКТИ
=================================== */

.contacts {
  background: white;

  padding: 45px;

  border-radius: 25px;

  max-width: 750px;

  margin: auto;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  text-align: center;
}

.contacts p {
  font-size: 22px;

  margin: 18px 0;
}

/* ===================================
            FOOTER
=================================== */

footer {
  background: #21462c;

  color: white;

  padding: 60px 20px;

  text-align: center;

  margin-top: 60px;
}

.footer-logo {
  width: 110px;

  margin-bottom: 20px;
}

footer h3 {
  font-size: 36px;

  font-family: "Cormorant Garamond", serif;

  margin-bottom: 20px;
}

footer p {
  line-height: 1.8;

  max-width: 700px;

  margin: auto;
}

.copy {
  margin-top: 30px;

  opacity: 0.8;

  font-size: 15px;
}

/* ===================================
      МОБІЛЬНА ВЕРСІЯ
=================================== */

@media (max-width: 900px) {
  header .container {
    flex-direction: column;
  }

  nav {
    margin-top: 20px;

    flex-wrap: wrap;

    justify-content: center;

    gap: 18px;
  }

  .hero-content {
    flex-direction: column;

    text-align: center;
  }

  .hero-text h1 {
    font-size: 52px;
  }

  .hero-photo {
    width: 100%;

    max-width: 360px;
  }

  .buttons {
    justify-content: center;

    flex-wrap: wrap;
  }

  .chairman-content {
    flex-direction: column;

    text-align: center;
  }

  section h2 {
    font-size: 42px;
  }
}
