:root {
  --dark: #2a2119;
  --sand: #BE965B;
  --accent: #F9F5EF;
  --yellow: #5B83BE;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geist', sans-serif;
  background: var(--accent);
  color: var(--dark);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Public Sans', sans-serif;
}

p {
  line-height: 2rem;
  padding: 1rem 0 1rem;
  font-size: 14pt;
  font-weight: 300;
}

/* MAIN WRAPPER */
.div_background {
  background-color: var(--accent);
  position: relative;
  z-index: 40;
  padding-bottom: 5rem;
}

/* TOP BAR */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 5rem;
  background: linear-gradient(180deg, rgba(42, 33, 25, 1) 0%, rgba(255, 255, 255, 0) 90%);
}

.logo-container img {
  max-width: 80px;
  height: auto;
  background-color: #2a2119;
  border-radius: 0 0 20px 20px;
}

.nav-button {
  font-family: 'Karla', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--dark);
  background: var(--sand);
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 1px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-button:hover {
  background: var(--sand);
  color: white;
}

/* HERO VIDEO SECTION */
.hero-image {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--dark); /* Fallback color */
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Gradient overlay for text readability */
.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(42, 33, 25, 0.7), transparent);
  z-index: 2;
}

.hero-content {
  position: absolute;
  bottom: 4rem;
  color: var(--accent);
  max-width: 90vw;
  padding: 1rem 5rem;
  z-index: 10;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
  font-size: 6.5rem;
  font-weight: 400;
  line-height: 1;
}

/* GENERAL SECTIONS */
section {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: auto;
}

#about, #book {
  text-align: center;
}

/* INFO SECTION */
.info-section { padding: 40px 20px; }
.info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.info-box {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  border-radius: 12px;
  border: solid 2px var(--sand);
}
.info-box h3 { border-bottom: 1px dotted var(--dark); padding-bottom: 10px; }
.provided ul { list-style-type: '✓  '; }
.bring ul { list-style-type: '→  '; }

ul { padding-left: 20px; line-height: 1.8; color: var(--dark); padding-bottom: 25px; }
li { margin-bottom: 8px; font-weight: 300; margin-left: 15px; padding-top: 15px; }

/* HEADINGS */
h3 { padding-top: 20px; padding-bottom: 10px; }
h5 { font-size: 1rem; margin: 3rem 0; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; }
h2 { font-size: 3rem; margin: 2rem 0; font-weight: 400; }

/* TABLE */
.table-container { margin: 20px auto; max-width: 900px; }
.responsive-table { width: 100%; border-collapse: collapse; }
.responsive-table thead tr { background-color: var(--dark); color: #ffffff; }
.responsive-table th, .responsive-table td { padding: 12px 15px; border-bottom: 1px solid var(--sand); }
.highlight-row { background-color: var(--sand); }

/* GALLERY */
#gallery-carousel img { width: 100%; height: 500px; object-fit: cover; border-radius: 20px; }

/* FOOTER */
footer {
  color: var(--dark);
  padding: 10px 20px;
  bottom: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--accent);
  text-align: right;
}

footer p{ font-size: 1rem; line-height: 1.5;}

mark { font-weight: 600; background: transparent; color: var(--sand); }
a.btn:link { color: var(--accent); text-decoration: none; background-color: var(--sand); padding: 5px 10px; border-radius: 3px; }
a.call:link { color: var(--accent); text-decoration: none; background-color: var(--sand); padding: 5px 10px; border-radius: 3px; }
a.btn:hover { color: var(--sand); background-color: var(--accent); }
a.footer:link { color: var(--dark); text-decoration: none;}
a.footer:hover{ color: var(--sand); text-decoration: line-through;}


/* PARALLAX SECTION STYLES */
.parallax-section {
  text-align: center;
  padding: 4rem 5%;
}

/* PARALLAX FULL WIDTH SETUP */
.parallax-container {
  padding: 0; /* Remove padding to allow 100% width */
  max-width: 100%; /* Override the global section max-width */
  margin: 4rem 0;
}

.parallax-bg {
  background-image: url('img/AE2025-10.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
  width: 100%;
  height: 500px; /* Adjust height as needed */
  display: flex;
  align-items: center; /* Centers text vertically */
  justify-content: center; /* Centers text horizontally */
  position: relative;
}

/* DARK OVERLAY FOR TEXT READABILITY */
.parallax-overlay {
  background: rgba(0, 0, 0, 0.4); /* Darkens the image so text pops */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.parallax-overlay p {
  color: var(--accent);
  text-align: center;
  font-weight: 100;
  max-width: 1000px;
  font-size: 2.5rem;
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  padding: 0; /* Override default p padding */
}



/* RESPONSIVE DESIGN */
@media screen and (max-width: 600px) {
  .responsive-table thead { display: none; }
  .responsive-table tr { display: block; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; }
  .responsive-table td { display: block; text-align: right; position: relative; padding-left: 50%; }
  .responsive-table td::before { content: attr(data-label); position: absolute; left: 15px; width: 45%; font-weight: bold; text-align: left; }
}

@media (max-width: 768px) {
  .top-bar { padding: 0 1rem; }
  .hero-image { height: 100vh; }
  .hero-content { padding: 1rem 1rem 1rem 3rem; bottom: 2rem; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-video {transform: translate(-30%, -50%);}
  .logo-container img { max-width: 60px; }
  h2 { font-size: 1.75rem; }
  #gallery-carousel img { height: 250px; }

  .parallax-bg {
    background-attachment: scroll; /* Better performance on mobile */
    height: 400px;
  }
  
  .parallax-overlay p {
    font-size: 1.3rem;
  }
}