body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: auto;
  cursor: url("../../cursors/default-cursor.png"), default;
}

a {
  cursor: url("../cursors/pointer-cursor.png"), pointer;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.header-container {
  position: fixed;
  top: 3.5rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Space between logo and menu */
  z-index: 1001;
}

#logo-png {
  width: 6rem;
  z-index: 1001;
  margin-right: -0.5rem;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

#logo-png:hover {
  animation: rotate 1s infinite forwards linear;
}

#logo-png:active {
  cursor: url("../../cursors/clicked-cursor.png");
}

@keyframes rotate {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

.falling-icons {
  position: fixed;
  top: -12px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* so it doesn't block clicks */
  overflow: hidden;
  z-index: -10; /* keep behind content */
}

.falling-icons span {
  position: absolute;
  top: -2rem;
  font-size: 2rem;
  animation: fall linear infinite;
  opacity: 1; /* stays visible */
}

@keyframes fall {
  0% {
    transform: translateY(-5vh) rotate(0deg);
  }
  100% {
    transform: translateY(105vh) rotate(360deg);
  }
}

.close-menu {
  display: inline;
  position: absolute;
  top: 0rem;
  right: 1.9rem;
  font-size: 3rem;
  color: black;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-style: normal;
  cursor: url("/cursors/pointer-cursor.png"), pointer;
  padding: 1rem;
}

.close-menu:hover {
  color: white;
}

.close-menu:active {
  cursor: url("/cursors/clicked-cursor.png"), pointer;
}

.header-container {
  position: fixed;
  top: 3.5rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Space between logo and menu */
  z-index: 1001;
}

/* Menu Button - Positioned in the top-right corner */
.menu-toggle {
  padding: 1.9rem 2rem 1rem 0;
  background: none;
  color: rgb(48, 48, 48);
  font-family: "rafaella-shadow", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  border: none;
  z-index: 2000;
  transition: transform 0.3s ease-in-out;
  cursor: url("../../cursors/pointer-cursor.png"), default;
}

.menu-toggle:hover {
  color: white;
}

.menu-toggle:active {
  color: white;
  cursor: url("../../cursors/clicked-cursor.png"), default;
}

#dropdown-title a {
  font-family: "rafaella-shadow", sans-serif;
  font-weight: 700;
  font-size: 3.3rem;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
  transition: transform 0.6s ease-in-out;
  background: none;
  padding: none;
  line-height: 4rem;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

#dropdown-title a:hover {
  transform: rotate(-2deg);
}

#dropdown-title a:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

/* Fullscreen overlay when menu is open */
.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.197); /* Dark overlay */
  backdrop-filter: blur(7px); /* Blur effect */
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease-in-out;
}

/* Dropdown container */
.dropdown-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url("/photos-regular/paper.jpg") no-repeat center center / cover;
  position: relative;
  padding: 30px;
  border-radius: 20px;
  width: 95%;
  max-width: 36rem;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 1s ease-in-out;
}

/* Add a crumpled texture effect like the home page */
.dropdown-menu::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/photos-regular/grain.png"); /* Match home-style.css */
  opacity: 0.1;
  z-index: -1;
  border-radius: 20px;
}

/* Add plant shadow effect */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/photos-regular/plant-shadow-left.jpg") no-repeat center
    center / cover;
  opacity: 0.3;
  z-index: -1;
  border-radius: 20px;
}

/* Show dropdown when active */
.dropdown-overlay.active {
  display: flex;
}

/* Animate dropdown entrance */
.dropdown-overlay.active .dropdown-menu {
  animation: slideIn 0.6s ease-out forwards;
}

.dropdown-overlay.closing .dropdown-menu {
  animation: slideOut 0.8s ease-in forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Slide Out */
@keyframes slideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Options styling */
.options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 93%;
  padding: 15px 20px;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: #333;
  background-color: white;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  font-size: 1.5rem;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-style: normal;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

.options a span {
  margin-left: 4rem;
  margin-right: 4rem;
  text-align: center;
}

.options a img {
  /* Add this */
  width: 2rem; /* Adjust size as needed */
  height: 2rem;
  margin-top: 0.3rem; /* Keeps spacing balanced */
}

.options a:hover {
  background-color: rgba(89, 89, 89, 0.397);
}

.options a:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

.container {
  text-align: center;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  justify-content: center;
}

.profile-container {
  text-align: center;
  padding: 40px 20px 10px;
}

.profile-pic {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 2rem 0 3rem 0;
}

.profile-pic:hover {
  animation: rotate 3s infinite forwards linear;
}

h1 {
  font-size: 3rem;
  color: #333;
  font-family: "rafaella-shadow", sans-serif;
  font-weight: 700;
  cursor: url("../../cursors/default-cursor.png"), default;
  line-height: 1rem;
  margin-bottom: 1rem;
  transition: 0.2s;
}

h1:hover {
  transform: rotate(-2deg);
}

.calligraphy-line {
  width: 80%; /* Adjust width as needed */
  max-width: 15rem; /* Prevent it from getting too big */
  opacity: 0.7; /* Slightly faded effect */
  margin-top: -2rem;
  margin-bottom: -1.5rem;
}

/* Background paper image */
#paper-b {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Prevent interference with clicking */
  opacity: 0.6; /* Adjust for more or less grain */
  z-index: -100;
}

/* Plant shadows */
.plant-shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3; /* Semi-transparent */
  z-index: -100; /* Above background but below text */
  filter: blur(10px);
  pointer-events: none;
}

.plant-shadow-left {
  bottom: 0; /* Position at the bottom */
  left: 0; /* Align left */
  transform: translateY(20%) scaleX(1.2); /* Adjust position and scale */
  pointer-events: none;
  z-index: -100;
}

#grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Prevent interference with clicking */
  opacity: 0.2; /* Adjust for more or less grain */
  z-index: 1000;
  filter: blur(1px);
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90%;
  max-width: 500px;
  align-content: center;
}

label {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  font-size: 1.2rem;
  color: #232323;
  text-align: left;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.name {
  text-transform: capitalize;
}

input,
textarea {
  margin-top: 6px;
  padding: 12px;
  font-size: 0.8rem;
  border: 2px rgb(55, 79, 49) solid;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  resize: vertical;
  font-family: "calling-code", sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
}

textarea {
  border-radius: 20px;
  resize: none;
  overflow-y: auto;
  height: 4rem;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(44, 75, 150, 0.6);
}

.form-row {
  display: flex;
  gap: 2.2rem;
  width: 100%;
  flex-wrap: nowrap; /* prevent wrapping unless screen is too small */
  justify-content: space-between;
  align-items: center;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group.first-name {
  flex: 1;
  max-width: 40%;
}

.input-group.last-name {
  flex: 2;
  max-width: 70%;
}

.input-group.phone {
  flex: 2;
  max-width: 35%;
}

.input-group.email {
  flex: 1;
  max-width: 80%;
}

button[type="submit"] {
  font-family: "brandon-grotesque", sans-serif;
  transform: translateX(15px);
  margin-top: 1rem;
  font-weight: 700;
  font-style: normal;
  align-self: center;
  width: 50%;
  padding: 0.8rem;
  font-size: 1rem;
  color: black;
  border: black solid 1.2px;
  border-radius: 50px;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  background-color: #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow to buttons */
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease; /* Smooth color and shadow transition */
}

button[type="submit"]:hover {
  box-shadow: 0 0 12px rgba(198, 198, 198, 0.5);
  border: transparent 2px solid;
}

button[type="submit"]:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

/* Optional icon rules if you later add icons */
.icon {
  width: 20px;
  height: 20px;
}

.left-icon {
  margin-right: auto;
}

.right-icon {
  margin-left: auto;
}

.email-wrapper {
  position: relative;
}

.email-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  border-top: none;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
  font-size: 0.8rem;
  max-height: 150px;
  overflow-y: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-family: "calling-code", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: left;
}

.email-suggestions li {
  color: black;
  padding: 8px 12px;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
}

.email-suggestions li:hover,
.email-suggestions li.active {
  background-color: #f0f0f0;
}

.hidden {
  display: none;
}

.bottom-contact-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 8rem 5rem 4rem 5rem;
}

.contact-card {
  /* background-image: url(bg.jpg); */
  background-color: white;
  border: black 2px solid;
  padding: 1.3rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.23);
  text-align: center;
  transition: transform 0.5s ease;
  will-change: transform;
  cursor: url("../../cursors/default-cursor.png"), pointer;
  border-radius: 20px;
}

.contact-card:hover {
  transform: translateY(-7px);
}

.contact-card h2 {
  font-family: "rafaella-shadow", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 0.5rem;
  color: #000000;
}

.contact-card p {
  margin-bottom: 0.75rem;
  color: #000000;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

.contact-info {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.contact-btn {
  width: 50%;
  display: inline-block;
  padding: 0.6rem 1.4rem;
  color: #000000;
  text-decoration: none;
  transition: background 0.2s ease;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 600;
  font-style: normal;
  align-self: center;
  text-transform: uppercase;
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  border: solid black 1.2px;
  border-radius: 50px;
  cursor: url("../../cursors/pointer-cursor.png"), pointer;
  background-color: #ffffff00;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow to buttons */
}

.contact-btn:hover {
  box-shadow: 0 0 12px rgba(48, 48, 48, 0.268);
  border: transparent 1.2px solid;
}

.contact-btn:active {
  cursor: url("../../cursors/clicked-cursor.png"), pointer;
}

/* Animations */
@keyframes pastelChange {
  0% {
    background-color: #ffd6e0;
  }
  25% {
    background-color: #d0f4de;
  }
  50% {
    background-color: #cde7f0;
  }
  75% {
    background-color: #fef6c9;
  }
  100% {
    background-color: #eec4f1;
  }
}

footer {
  background-image: url("../../booking/hawk.jpg"); /* Path to your image */
  background-size: cover; /* Makes the image cover the entire container */
  background-position: top; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  color: #ffffff;
  text-align: center;
  font-family: "brandon-grotesque", sans-serif;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0 0.5rem 0;
  position: relative;
}

.footer-links {
  cursor: url("../cursors/pointer-cursor.png"), pointer;
}

.footer-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  transition: color 0.3s;
  cursor: url("../cursors/pointer-cursor.png"), pointer;
}

.footer-links a:hover {
  color: black;
}

.footer-links a:active {
  cursor: url("../cursors/clicked-cursor.png"), pointer;
}

/* ================================================
   MOBILE FIXES — keeps desktop untouched
   ================================================ */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Hard-stop any accidental wide children */
  * {
    box-sizing: border-box;
  }

  body {
    padding: 0;
    margin: 0;
  }

  .profile-container {
    padding-top: 0; /* Make space under header */
  }

  h1.profile-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  .calligraphy-line {
    width: 60%;
    margin-top: -3rem;
    margin-bottom: -3rem;
  }

  /* Form */
  form {
    width: 95%;
    max-width: 95%;
  }

  .form-row {
    gap: 0.3rem;
  }

  #phone {
    align-self: flex-end;
  }

  .input-group {
    max-width: 100% !important;
    width: 100%;
  }

  textarea {
    height: 6rem;
  }

  .input-group.email {
    flex: 3;
    max-width: 60%;
  }

  /* Make phone much shorter */
  .input-group.phone {
    flex: 1;
    min-width: 50%;
  }

  /* Buttons */
  button[type="submit"] {
    width: 80%;
    transform: translateX(0);
  }

  /* Contact cards below form */
  .bottom-contact-section {
    grid-template-columns: 1fr;
    padding: 3rem 1rem;
  }

  .contact-card {
    width: 90%;
    margin: 0 auto;
  }

  .contact-btn {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .dropdown-overlay.active + .header-container {
    visibility: hidden; /* Hide but keep space */
    opacity: 0; /* Make it invisible */
    pointer-events: none; /* Prevent interaction */
  }

  .dropdown-overlay:not(.active) + .header-container {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .dropdown-menu {
    max-width: 90vw !important;
  }

  .profile-pic {
    width: 7rem;
    height: 7rem;
    margin-bottom: 1.5rem;
  }

  .close-menu {
    display: inline;
    position: absolute;
    top: 0rem;
    right: 1.5rem;
    font-size: 3rem;
    color: black;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: url("../../cursors/pointer-cursor.png"), pointer;
    padding: 1rem;
  }

  .close-menu:hover {
    color: white;
  }

  .close-menu:active {
    cursor: url("../../cursors/clicked-cursor.png"), pointer;
  }

  #logo-png {
    width: 5rem;
    margin-right: auto;
    margin-left: 1.5rem;
  }

  .menu-toggle {
    padding: 1.7rem 1.5rem 1rem 0;
    font-size: 1.5rem;
  }

  .options a {
    width: 100%;
    margin: none;
  }

  .options a span {
    margin: 0;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .torn-heading {
    width: 95%;
    text-align: center;
    padding: 1rem 0 0.5rem 0;
    margin: 1rem auto 2rem;
  }

  .torn-heading h1,
  .torn-heading h2 {
    font-size: 2rem;
    line-height: 3rem;
  }

  .header-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  .pricing-description {
    font-size: 1.15rem;
    line-height: 1.5rem;
  }

  .options a {
    font-size: 1.2rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    margin-bottom: 0.7rem;
    margin-top: 0.7rem;
  }

  #dropdown-title a {
    font-size: 2.8rem;
    line-height: 3rem;
    white-space: inherit;
  }
}

/* Invisible heading for SEO */
.seo-hidden {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* SEO intro paragraph styling */
.contact-seo-intro {
  max-width: 800px;
  margin: 1.5rem auto 2rem auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  font-family: "Georgia", serif;
  padding: 0 1rem;
}
