@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Parisienne&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Allura&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Tangerine&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sacramento&display=swap");

/* Alap stílusok */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Lora", serif;
  background-color: #f4efe9;
  color: #5a5a42;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  line-height: 1.6;
  list-style-type: none;
  cursor: default;
}

p,
li {
  font-family: "Merriweather", serif;
  font-size: 1rem;
  list-style-type: none;
}

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

/* Fejléc */
.header {
  position: relative;
  padding: 70px;
  text-align: center;
  flex-shrink: 0;
  z-index: 10;
  background-color: #d8cebf;
  width: 100%;
  margin-bottom: 0;
  cursor: default;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("asd2.png");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  opacity: 0.15;
  z-index: -1;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.98);
    letter-spacing: -3px;
  }
  60% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    letter-spacing: 1px;
  }
}

.header-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.7s ease-out forwards;
}

.header h1 {
  margin: 10px;
  color: #454534;
  font-size: 3rem;
  font-family: "Parisienne", serif;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}
.header h2 {
  font-size: 1rem;
  color: #313127;
  margin: 0;
  padding: 0%;
  font-family: "Merriweather", serif;
  font-weight: lighter;
  line-height: 1;
  margin-top: -5px;
  animation: fadeIn 0.7s ease-out forwards;
}

.menu {
  display: flex;
  gap: 50px;
  justify-content: center;
  margin-top: 60px;
  font-family: "Merriweather", serif;
  font-weight: bolder;
  color: #272720;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #68685f;
  opacity: 0.5;
}

.menu a {
  color: #272720;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  animation: fadeIn 1s ease-out forwards;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #5a5a42;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.menu a:hover {
  color: #5a5a42;
}

.menu a:hover::after {
  transform: scaleX(1);
}

.ty-image {
  width: 100%;
  height: 100vh; 
  overflow: hidden; 
}

.ty-image img {
  width: 100%; 
  height: 100%;
  object-fit: cover; 
}

.hamarosan-title {
  font-size: 2.2rem;
  font-family: "Parisienne", serif;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  position: relative;
  margin-bottom: 30px;
  text-align: center;
  padding: 100px;
}

/* Fő tartalom */
.main-content {
  display: flex;
  width: 100%;
  flex: 1;
  align-items: stretch;
}

/* Fő szekció */
.main-section {
  background-color: #ece7e0;
  width: 70%;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

#gal {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
  justify-items: center; 
  text-align: center;
  padding: 20px;
}

.section-title {
  font-size: 1.3rem;
  font-family: "Merriweather", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Jobb oldali oldalsáv */
.sidebar {
  background-color: #dcd4c5;
  width: 30%;
  padding: 60px;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 60px; 
  align-items: center;
}

.sidebar-title {
  font-size: 2.2rem;
  font-family: "Parisienne", serif;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  position: relative;
  margin-bottom: 30px;
  text-align: center;
}

.sidebar-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #68685f;
  opacity: 0.5;
}

.bold {
  font-weight: 700;
  padding-bottom: 10px;
  display: inline-block; 
  font-size: 2.3em;
  position: relative;
  font-family: "Tangerine", cursive;
  margin-bottom: 10px;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.15);
}

.underline {
  display: inline-block; 
  position: relative;
  font-size: 1em;
  border-bottom: 1px solid rgba(104, 104, 95, 0.5);
  color: #626256;
  margin-bottom: 12px;
  text-shadow: 0.4px 0.4px 0.5px rgba(0, 0, 0, 0.15);
}

.underline:hover {
  border-bottom-color:#4d4d40;
  transition: border-color 0.3s ease;
}


/* Kép a fő tartalom bal oldalán */
.side-image {
  max-width: 100%;
  height: auto;
  align-self: center;
  margin-bottom: 100px;
}

.web-image {
  max-width: 100%;
  height: auto;
  align-self: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Visszajelzés */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.input-field,
select {
  width: 350px;
  padding: 10px;
  font-size: 1rem;
  font-family: "Merriweather", serif;
  border: none;
  border-bottom: 2px solid #5a5a42;
  background-color: transparent;
  color: #5a5a42;
  outline: none;
  cursor: pointer;
  text-align: start;
}

.input-field2,
select {
  width: 80px;
  padding: 10px;
  font-size: 1rem;
  font-family: "Merriweather", serif;
  border: none;
  border-bottom: 2px solid #5a5a42;
  background-color: transparent;
  color: #5a5a42;
  outline: none;
  cursor: pointer;
  text-align: center;
}

.input-field:focus,
select:focus {
  border-bottom: 2px solid #5a5a42;
  background-color: transparent;
}

.input-field:active,
select:active,
.input-field:focus:not(:placeholder-shown),
select:focus:not(:placeholder-shown) {
  background-color: transparent;
}

.input-field,
select option:disabled {
  color: #767676; 
  background-color: transparent; 
}

.input-field2::-webkit-outer-spin-button,
.input-field2::-webkit-inner-spin-button {
  -webkit-appearance: none; 
  margin: 0;
}

.input-field2[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield; /
}

.submit-button {
  padding: 12px 24px;
  background-color: transparent;
  color: #5a5a42;
  border: 1px solid #5a5a42;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: "Merriweather", serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  outline: none;
  margin-top: 15px;
}

.submit-button:hover {
  color: #fff; 
  background-color: #6c6b55;
  transform: translateY(-1px); 
}

.submit-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(75, 74, 51, 0.5);
}

.submit-button:active {
  background-color: #5a5a42; 
  border: 1px solid #5a5a42; 
}

#gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px 20px;
  justify-items: center;
  text-align: center;
  padding: 20px;
}

.galeria {
  width: 400px;
  height: 400px;
  object-fit: cover;
}

/* Lábléc */
.footer {
  background-color: #d8cebf;
  padding: 20px;
  text-align: center;
  width: 100%;
  position: relative;
  bottom: 0;
  box-sizing: border-box;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 20%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 20px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer-image {
  width: 100%;
  height: auto;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#mobil {
  display: none;
  align-self: center;
  padding: 20px;
  margin-bottom: 50px !important;
}

/* Mobilbarát nézet */
@media (max-width: 768px) {
  .header {
    padding: 30px;
  }
  .header h1 {
    margin: 20px;
    font-size: 2rem;
    margin-top: 40px;
  }
  .header h2 {
    margin: 20px;
    margin-top: -20px;
    font-size: 1rem;
  }

  .main-content {
    flex-direction: column;
  }

  .main-section,
  .sidebar {
    width: 100%;
    height: auto;
  }

  .input-field {
    width: 90%;
    height: auto;
  }

  .sidebar {
    font-size: 1.1rem;
    padding: 30px;
  }

  .side-image {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
    text-align: center;
    font-size: 0.8rem;
    margin-top: 50px;
  }

  .galeria {
    max-height: 250px;
    max-width: 250px; 
    object-fit: cover;
    aspect-ratio: 1 / 1;
    padding: 10px;
  }

  #gal {
    grid-template-columns: 1fr;
  }

  #mobil {
    display: block !important;
    max-width: 100%;
    margin-bottom: 20px;
  }

  #web {
    display: none !important;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .map-container {
    position: relative;
    width: 100%;
    padding-bottom: 20%;
    height: 150px;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 20px;
    margin-top: -20px;
  }
  
  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .footer-image {
    width: 100%;
    height: auto;
    margin-top: -10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

}
