/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*ALL FONTAGE*/
h1, h2, h3 {
  font-family: 'STIX Two Text', serif;
  font-weight: normal;
}

p, a, li, span {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.signature {
  font-family: 'Sacramento', cursive;
  letter-spacing: 0.08em;
  color: #000;
}
/*yeep*/

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px; 
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f2;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f5f5f2;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.logo-button img {
  height: 100px;
  width: auto;
  display: block;
}

.logo-button {
  display: inline-block;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  text-decoration: underline;
}
/* FOR THE MOBILE HEADER */
@media (max-width: 768px) {
  .logo-button img {
    height: 60px; /* Smaller on mobile */
  }
}

/*GENERAL FOR THE FOLLOWING STUFF */
.about,
.contact-preview,
.gallery {
  padding-top: 60px;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh; /* full screen */
  overflow: hidden;
  background-color: #fbf8cc;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills container */
  object-position: center center; /* center important part of gif/video */
}

/* Hero Overlay (Desktop: right-center) */
.hero-overlay {
  position: absolute;
  top: 50%;
  right: 5%;               /* right side placement */
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.85);
  color: #000;
  padding: 40px 30px;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-overlay h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.hero-button {
  padding: 12px 30px;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: solid;
  border-width: 1px;
}

.hero-button:hover {
  text-decoration: underline;
}

.video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.video-controls button {
  background: rgba(255, 255, 255, 0.6);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.video-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-section {
    height: auto;             /* let it grow based on content */
    min-height: 60vh;         /* ensures hero still takes up screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-video {
    width: 100%;
    height: auto;             /* scale video/gif naturally */
    object-fit: contain;
    object-position: top center;
    max-height: 60vh;         /* prevent video from taking excessive space */
  }

  /* Move overlay below video */
  .hero-overlay {
    position: relative;   /* part of normal flow */
    top: -30px; 
    transform: none;
    width: 100%;
    max-width:max-content;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.90);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    right:0%;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay h2 {
    font-size: 1.3rem;
  }

  .hero-overlay p {
    font-size: 0.95rem;
  }

  .hero-button {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  .video-controls {
    top: 10px;   /* closer to video edge */
    right: 10px;
}
}

/* About Section */
.about {
  padding: 60px 20px;
  background-color: #fbf8cc;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.about-image {
  flex: 1 1;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 250px;
  border: 3px solid #000; /* black outline */
  object-fit: cover;
}

.about-image .caption {
  margin-top: 10px;
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
}

.about-text {
  flex: 2 1 400px;
}

.about-text h2 {
  color: #bb3e03;
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: left;
}

.about-text p {
  font-size: 1.1rem;
  color: #000;
  text-align: left;
  line-height: 1.6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2,
  .about-text p {
    text-align: center;
  }
}

/* Contact Preview Section */
.contact-preview {
  background-color: #f5f5f2;
  color: #000;
  padding: 40px 20px;
  text-align: center;
}

.contact-preview h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.contact-preview a {
  color: #000;
  text-decoration: underline;
}

.contact-form {
  max-width: 600px;
  margin: 30px auto 0;
  text-align: left;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #a7d4f7;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  text-decoration: underline;
}

/* Gallery Section */
.gallery {
  padding: 60px 20px;
  text-align: center;
  background-color: #ffccd5;
}

.gallery h2 {
  margin-bottom: 30px;
  font-family: 'Sacramento', cursive;
  font-size: 2.5em;
  letter-spacing: 0.08em;
  color: #bb3e03;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #aed9e0;
  color: #000;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
}

/* Responsive Hero Text */
@media (max-width: 768px) {
  .hero-text {
    padding: 15px 20px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  nav ul {
    gap: 10px;
  }

  nav ul li a {
    font-size: 0.95rem;
  }
}

/* FOR PACKAGES PAGE */
.page-header {
  text-align: center;
  padding: 60px 20px 30px;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #2a9d8f;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.1rem;
  color: #555;
}

.packages, .customization, .safety {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.packages h2,
.customization h2,
.safety h2{
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f7b2d9;
}

.booking-CTA h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #000;
}

.booking-CTA {
  display: flex;
  flex-direction: column;  /* Stack h2 and button vertically */
  align-items: center;     /* Center horizontally */
  justify-content: center; /* Center vertically within the section (optional) */
  text-align: center;      /* Center text inside h2 */
  gap: 15px;   
  margin-bottom: 30px;            /* Space between heading and button */
}

.booking-CTA .button {
  background-color: #2a9d8f;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.booking-CTA .button:hover {
  text-decoration: underline;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.package-card {
  background-color: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.package-card:hover {
  transform: translateY(-4px);
}

.package-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  
}

.package-info {
  padding: 20px;
}

.package-info h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #333;
}

.package-info p {
  font-size: 1rem;
  color: #555;
}

.customization ul {
  list-style-type: disc;
  padding-left: 20px;
}

.safety p {
  color: #444;
  font-size: 1.05rem;
}

/* BOOKING PAGE AREA */
.contact-form {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Group structure */
.form-group {
  display: flex;
  flex-direction: column;
}

/* Labels */
.form-group label {
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

/* Text + email + date + time inputs */
.form-group input,
.form-group textarea,
.form-group select {
  background: transparent;
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 10px 5px;
  font-size: 1rem;
  color: #333;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}

/* On focus - active underline color */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: #a7d4f7;
}

/* Textarea spacing */
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkboxes and time groups remain structured */
.checkbox-group {
  display: flex;
  flex-direction: column;  /* stack each row vertically */
  gap: 10px;               /* spacing between rows */
}

.checkbox-row {
  display: flex;
  justify-content: space-between;  /* label left, checkbox right */
  align-items: center;             /* vertical alignment */
  width: 100%;                     /* stretch full width */
  flex-wrap: nowrap;               /* prevent wrapping */
}

.checkbox-row span {
  flex: 1;                 /* text takes up remaining space */
  white-space: nowrap;      /* prevent text from stacking */
  overflow: hidden;         /* optional: cut off overflow */
  text-overflow: ellipsis;  /* optional: add ... if too long */
}

.checkbox-row input[type="checkbox"] {
  width: 20px;   /* uniform width */
  height: 20px;  /* uniform height */
  margin: 0;
  flex-shrink: 0; /* prevent shrinking */
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .checkbox-row {
    flex-direction: row;           /* still keep label + checkbox on same line */
    justify-content: flex-start;   /* align left */
    gap: 10px;                     /* space between label and checkbox */
  }
}



.form-time {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Submit button styling */
button[type="submit"] {
  background-color: #2a9d8f;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  text-decoration: underline;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #a7d4f7;
  box-shadow: 0 2px 0 #a7d4f7;
}

/*hamburger menu stuffs*/
/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* SQUARE PAYMENT STUFF */
.deposit-section {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.deposit-content {
  display: inline-flex;
  align-items: center;
  gap: 12px; /* space between text and icon */
}

.deposit-content p {
  font-size: 1.2rem;
  margin: 0;
}

.square-icon {
  width: 45px;
  height: 45px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.square-icon:hover {
  transform: scale(1.1);
  opacity: 0.85;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    left: -100%;            /* hide off-screen */
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 999;
  }

  nav.active {
    left: 0;               /* slide in */
  }

  nav ul {
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  nav ul li {
    margin: 20px 0;
  }

  .hamburger {
    display: flex;
  }

  .deposit-content p {
  font-size: 1rem;
  margin: 0;
}
}
