@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --title-color: #1a1a1a;
  --text-color: #545454;
  --title-color-light: #fcfcfc;
  --text-color-light: #f4f4f4;
  --body-color: #ffffff;
  --container-color: #f9f9f9;
  --second-color: #e7c873;
  --button-color: #1f4b43;
  --button-hover-color: #132d29;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Playfair Display", sans-serif;
  --second-font: "Poppins", sans-serif;
  --biggest-font-size: 2.4rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1152px) {
  :root {
    --biggest-font-size: 2.6rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--second-font);
  font-size: var(--small-font-size);
  font-weight: var(--font-light);
  color: var(--text-color);
}

body {
  background-color: var(--body-color);
}

button,
button:focus,
input {
  outline: none;
  border: none;
}

h1,
h2 {
  font-family: var(--body-font);
  font-size: var(--biggest-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

h2 {
  font-size: var(--h1-font-size);
}

h3,
h5 {
  font-family: var(--body-font);
  color: var(--body-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-regular);
}

h3 {
  font-size: var(--normal-font-size);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

.section {
  padding-block: 5rem 1rem;
}

.main {
  overflow: hidden;
}

.btn:focus {
  /* box-shadow: 0 0 0 0.2rem rgba(42, 131, 57, 0.387) !important; */
  box-shadow: none;
}

/* --------- BUTTON --------- */
.btn-main-reservation {
  background: var(--button-color);
  padding: 0.5rem 3rem;
  border-radius: 5px;
  border: 1px solid transparent;
  color: var(--body-color);
  font-size: var(--small-font-size);
}

.btn-main-reservation:hover,
.btn-main-reservation:focus {
  background-color: var(--button-hover-color);
  border: 1px solid transparent;
  padding: 0.5rem 3rem;
  color: var(--body-color);
  transition: all 0.3s linear;
}

/* --------- NAVBAR --------- */
.navbar {
  z-index: 999;
  background-color: rgba(255, 255, 255, 1);
  transition: background-color 0.3s ease-in-out;
}

.navbar-brand {
  margin-right: auto;
  font-family: var(--body-font);
}

.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-nav .nav-item {
  text-align: center;
}

.navbar-nav .nav-link {
  padding: 0.9rem 1rem;
  font-family: "Poppins", serif;
  font-size: var(--smaller-font-size);
}
.navbar-brand {
  margin-right: auto;
}

.btn-reservation {
  border: 1px solid var(--text-color);
  font-size: var(--smaller-font-size);
  font-family: var(--second-font);
  padding: 0.5rem 1.8rem;
  background-color: transparent;
  border-radius: 50px;
}

.btn-reservation:hover,
.btn-reservation:focus {
  border: 1px solid var(--button-hover-color);
  color: var(--button-color);
  transition: all 0.3s linear;
}

/* --------- HOME SECTION --------- */
.home {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.home-image {
  width: 100%;
  height: 750px;
  object-fit: cover;
  object-position: center;
}

.home-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 90%; 
  max-width: 900px;
  text-align: center;
}

.home-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.home-title {
  color: var(--title-color-light);
}

.home-description {
  color: var(--text-color-light);
}

/* --------- APARTMENTS --------- */
.apartment-image,
.about-image {
  width: 650px;
  height: 600px;
  object-fit: cover;
}

/* --------- MINI SECTION --------- */
.mini-section-container,
.form-container,
.season-section {
  background-color: var(--button-color);
}

.form-container {
  position: relative;
  overflow: hidden;
}

.form-container .form-section-content {
  position: relative;
  z-index: 2; 
}

.mini-section-title {
  line-height: 1.6;
}

.icon-shape {
  background-color: var(--second-color);
  width: 48px;
  height: 48px;
  border-radius: 4px;
  text-align: center;
  margin: 0 auto;
}

.icon-shape-vector {
  width: 64px;
  
}

.custom-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transition: all 0.3s ease;
}

.custom-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.custom-input:focus {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 0 0 0.25rem rgba(231, 200, 115, 0.25);
  border-color: var(--second-color);
}

.form-img-corner {
  position: absolute;
  bottom: -20px;
  right: 20px;
  max-height: 85%;
  width: auto;
  opacity: 0.9;
  z-index: 1;
}

/* --------- PROGRAMS SECTION --------- */
.programs-section,
.footer-container {
  background-color: var(--container-color);
}

.programs-card {
  background-color: var(--body-color);
  border-radius: 5px;
}

.card-title {
  color: var(--title-color);
}

.card-description {
  font-size: var(--smaller-font-size);
}

.card-img {
  width: 400px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  filter: brightness(1);
  transition: filter 0.4s;
}

.card-img:hover{
  filter: brightness(0.7);
}

.card-img-apartman {
  width: 100% !important;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

/* --------- FORM SECTION --------- */
.form-section-title,
.form-section-description,
.season-title,
.season-description {
  color: var(--body-color);
}

.form-button {
  background-color: var(--second-color);
  color: var(--button-color);
}

.form-button:hover {
  background-color: var(--second-color);
  color: var(--button-hover-color);
}

/* --------- FEEDBACK SECTION --------- */
.feedback-section {
  padding-block: 3rem 1rem;
}

.feedback-card {
  border: 0.8px solid var(--button-color);
  border-radius: 6px;
}

/* --------- SEASON SECTION --------- */
.season-section {
  padding: 4rem 0 4rem 0;
}

.season-content-box {
  z-index: 3;
}

.season-container {
  position: relative;
  z-index: 1;
}

.season-content-box {
  position: relative;
  z-index: 3;
}

.masking-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--button-color);
  z-index: 2;
}

/* --------- FOOTER SECTION --------- */
.footer-title {
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-size: var(--h2-font-size);
}

.footer-content-address {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.footer-list-item {
  color: var(--text-color);
  font-size: var(--smaller-font-size);
}

.footer-list-item:hover {
  color: var(--button-color);
  text-decoration: none;
}

.footer-list-item-email,
.footer-list-item-phone {
  font-size: var(--small-font-size);
}

/* --------- RESPONSIVE --------- */
@media screen and (max-width: 991px) {
  .btn-reservation {
    display: block;
    margin: 0 auto;
    padding: 0.5rem 2.5rem;
  }

  .form-img {
    display: none;
  }

  .modal-content{
    height: 70% !important;
  }

  .home-container {
    text-align: left !important;
  }

  .home-title {
    font-size: 1.8rem; 
  }
}


.swiper-button-prev,
.swiper-button-next {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 5px;
  border: 1px solid #222;
  border-radius: 50%;
  z-index: 1;
  cursor: pointer;
}
.sp .swiper-button-prev,
.sp .swiper-button-next {
  width: 35px;
  height: 35px;
}

.swiper-button-prev {
  left: 4px;
}
.sp .swiper-button-prev {
  left: 20px;
}

.swiper-button-next {
  right: 3px;
}
.sp .swiper-button-next {
  right: 20px;
}

.swiper-button-prev::after,
.swiper-button-next::after,
.season-button::after {
  content: "";
  width: 8px;
  height: 8px;
  border: solid #222;
  border-width: 1px 1px 0 0;
}
.swiper-button-prev::after {
  margin-left: 3px;
  transform: rotate(-135deg);
}
.swiper-button-next::after {
  margin-right: 3px;
  transform: rotate(45deg);
}

.swiper-button-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  color: var(--button-color);
  background-color: var(--button-color);
}

.season-button {
  margin: auto -4px;
}

.season-button,
.season-button::after {
  border-color: var(--body-color);
}

.mini-secondary-section-container {
  background-color: var(--container-color);
}

.mini-secondary-section-title {
  color: var(--button-hover-color);
}

.card-img-apartman {
  width: 750px;
  height: 300px;
}


.program-row{
  background-color: var(--container-color);
  border-radius: 10px;
}

.gallery-form-section-title{
  font-size: var(--h2-font-size);
}

/* --------- GALÉRIA KÉPEK EGYSÉGESÍTÉSE --------- */
.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
  position: relative;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 100000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  height: 90%;
  object-fit: cover;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from { transform: scale(0) }
  to { transform: scale(1) }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
