/* imports */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');

/* general */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
    background: linear-gradient(180deg, #F3F0E8 0%, #ffe5ca 100%);
    min-height: 100vh;
}

body {
    font-family: "Roboto Serif";
    color: black;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

main {
    animation: zoomIn 0.18s ease-out;
    will-change: opacity, transform;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    gap: 5px;
    justify-content: center;
    align-items: center;
    width: 95%;
    padding: 10px 10px;
}

.card {
    background-color: #ffffff;
    width: 100%;
    border-radius: 15px;
    padding: 10px 20px 10px 20px;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
}

/* fonts */
h1 {
    color: #000000;
    font-family: "Instrument Serif";
    font-size: 60px;
    margin: 0px 5px;
}

h2 {
    color: #000000;
    font-family: "Instrument Serif";
    font-size: 45px;
    /* font-style: italic; */
    font-weight: 600;
    margin: 20px 0px;
}

h3 {
    color: #000000;
    font-family: "Instrument Serif";
    font-size: 24px;
    font-weight: 600; 
    margin: 5px 0px;
}

p {
    color: #000000;
    font-family: "Roboto Serif";
    font-size: 16px;
    font-weight: 400;
    margin: 5px 0px;
}

a {
    color: #4268ff;
    font-family: "Roboto Serif";
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

small {
  font-size: 12px;
}

/* nav */
nav {
    margin: 5px 10px;
    padding: 0px 10px 0px 10px;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    height: fit-content;
    gap: 5px;
    justify-content: center;
    align-items: center;
    width: 95vw;
}

nav a {
    color: #000;
    font-family: "Instrument Serif";
    font-size: 20px;
}

nav a:hover {
    color: #ff7b24;
    font-size: 23px;
}

nav a.active {
    color: #ff7b24;
    text-decoration: underline;
    font-size: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: all 0.2s;
}

@media (max-width: 670px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    height: auto !important;
    text-align: left !important;
    justify-content: flex-start !important;
    padding: 12px 0;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
  }

  nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 670px) {
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 !important;
  }

  .nav-links.open {
    max-height: 300px;
    padding: 12px 0 !important;
  }
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* buttons */
button {
    border: none;
    min-width: 150px;
    min-height: fit-content;
    height: 50px;
    width: 50%;
    border-radius: 10px;
    background-color: #ff7b24;
    color: rgb(255, 255, 255);
    font-family: "Instrument Serif";
    font-size: 17px;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #ff9c59;
}

button.small {
  min-width: 50px;
  height: 40px;
  width: 90px;
  font-size: 15px;
}

/* elements */
.hero {
    background-color: #fff;
    background-image: url('/src/img/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: brightness(0);
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.preview-wrap {
  max-height: 100px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 70%);
  mask-image: linear-gradient(to bottom, black 10%, transparent 70%);
}

img {
    border-radius: 10px;
    object-fit: cover
}

.pricing-card {
  border-radius: 15px;
  background-color: #fff;
  width: 33%;
  padding: 10px;
  min-height: 150px;
  justify-content: center;
  align-items: center;
}

.pricing-container {
  display: flex;
  gap: 10px; 
  width: 100%; 
  justify-content: center; 
  align-items: center; 
  align-items: stretch; 
  max-width: 90%;
}

/* contact table */
.table-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
}

.table-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 14px 12px;
  width: auto;
}

.table-cell h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin: 0;
  font-weight: 500;
}

.table-cell p, .table-cell a {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  word-break: break-word;
}

/* Booking Form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  font-weight: 500;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  font-size: 14px;
  color: #111;
  background: #fff;
  border: 1px solid #c6c6c6;
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: #888;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form .button-primary {
    width: 100%;
}

/* media queries */
@media (max-width: 670px) {
    #buttons {
        flex-direction: column;
    }

    .pricing-container {
      flex-direction: column;
    }
    .pricing-card {
      width: 100%;
    }
}