@font-face {
  font-family: "Voltaire Frangela";
  src: url("./assets/fonts/Voltaire-Frangela.ttf") format("truetype");
  /* font-style: normal;
  font-weight: 400;
  font-display: swap; */
}
@font-face {
  font-family: 'Lexend Light';
  src: url('./assets/fonts/Lexend/static/Lexend-Light.ttf') format('truetype');
}

body,html {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background-color: #F8ECD4;
}

body{
  background-image: linear-gradient(
    rgba(188, 145, 57, 0.6),
    rgba(188, 145, 57, 0.9)
  ),url("./assets/backgound.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #F8ECD4;
}

main {
  flex: 1;
}

footer{
  align-self: flex-end;
  padding: 0 48px;
  color: #130B08;
}

.header-container nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  font-family: 'Lexend Light';
}

.header-container ul {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 0;
}

.header-container nav a,
.header-container nav li {
  text-decoration: none;
  list-style: none;
  color: #130B08;
  font-size: 16px;
  text-align: left;
}

.logo{
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img{
  width: 150px;
}

.main-container{
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-text-container h1,
.main-text-container h2{
  text-align: center;
  color: #2D1810;
  padding: 0;
  margin: 0;
  font-family: "Voltaire Frangela";
  font-feature-settings: "salt" 1, "ss01" 1, "ss02" 1, "ss03" 1;
  -webkit-text-stroke: 1.5px #2D1810;
}

.textContent{
  margin-top: -90px;
  position: relative;
  z-index: 10;
}

.mainText{
  font-size: 104px;
}

#mainText,
#mainTextReligious{
  opacity: 0;
  transform: translateY(20px);
}

#mainText.show{
  animation: fadeIn 1s ease-in-out forwards;
}

#mainTextReligious.show{
  animation: fadeIn 1s ease-in-out 1s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mainTextReligious{
  font-size: 216px;
}

.contact-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 1100px;
  width: 100%;
  margin: 0 24px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  color: #2D1810;
  font-family: 'Lexend Light', sans-serif;
}

.contact-info .contact-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2D1810;
  font-size: 18px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(45, 24, 16, 0.3);
}

.contact-link:hover {
  background: #E5D1AA;
  border-color: #2D1810;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(45, 24, 16, 0.1);
}

.contact-section {
  flex: 1;
  background: #DDC28C;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(45, 24, 16, 0.15);
  backdrop-filter: blur(8px);
  min-width: 300px;
}

.contact-title {
  text-align: center;
  color: #2D1810;
  font-family: "Voltaire Frangela", sans-serif;
  font-size: 48px;
  margin-bottom: 32px;
  margin-top: 0;
  font-feature-settings: "salt" 1, "ss01" 1, "ss02" 1, "ss03" 1;
  -webkit-text-stroke: 1.5px #2D1810;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Lexend Light', sans-serif;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  color: #2D1810;
  font-size: 14px;
  font-weight: 600;
}

.input-group input {
  padding: 14px 16px;
  border: 1px solid rgba(45, 24, 16, 0.3);
  border-radius: 8px;
  background-color: transparent;
  color: #2D1810;
  font-family: 'Lexend Light', sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

.input-group input::placeholder {
  color: rgba(45, 24, 16, 0.5);
}

.input-group input:focus {
  border-color: #2D1810;
  background-color: rgba(248, 236, 212, 0.5);
  box-shadow: 0 0 0 2px rgba(45, 24, 16, 0.1);
}

.contact-btn {
  margin-top: 12px;
  padding: 16px;
  background-color: #2D1810;
  color: #F8ECD4;
  border: none;
  border-radius: 8px;
  font-family: 'Lexend Light', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #45291b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 24, 16, 0.2);
}

.contact-btn:active {
  transform: translateY(0);
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #2D1810;
}

@media (max-width: 768px) {
  .header-container nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    position: relative;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-container ul.nav-menu {
    position: absolute;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: #F8ECD4;
    width: 100%;
    text-align: center;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 32px 0;
    margin: 0;
    gap: 32px;
  }

  .header-container ul.nav-menu.active {
    left: 0;
  }
  
  .header-container nav a {
    text-align: center;
    display: block;
  }
  
  .logo img {
    width: 120px;
  }

  .main-text-container img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  .mainText {
    font-size: 56px;
  }
  
  .mainTextReligious {
    font-size: 112px;
  }
  
  .textContent {
    margin-top: -50px;
  }

  .contact-wrapper {
    gap: 32px;
    margin: 0 16px;
  }

  .contact-section {
    padding: 24px;
  }
  
  .contact-title {
    font-size: 36px;
  }

  .contact-info .contact-title {
    text-align: center;
  }
  
  .contact-desc {
    text-align: center;
    font-size: 16px;
  }
  
  footer {
    align-self: center;
    padding: 16px 24px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .mainText {
    font-size: 40px;
  }
  
  .mainTextReligious {
    font-size: 72px;
  }
  
  .textContent {
    margin-top: -30px;
  }
  
  .contact-section {
    min-width: 100%;
    padding: 16px;
  }

  .contact-link {
    font-size: 16px;
    padding: 12px;
  }
}
