h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.2rem;
}

@font-face {
  font-family: 'BernardoModa';          /* The name you’ll use in your CSS */
  src: url('fonts/Bernardo\ Moda\ contrast.ttf') format('truetype'); /* Path to your .ttf file */
  font-weight: normal;                  /* Optional: specify the font weight */
  font-style: normal;                   /* Optional: specify the font style */
}

#password-input {
  font-family: 'Cardo', serif;
}

#password-input::placeholder {
  font-family: 'Cardo', serif;
}

/* Use the font in your body or specific elements */
h1, h2, h3 {
  font-family: 'BernardoModa', sans-serif;  /* Apply the custom font */
}

.tab {
  font-family: 'Cardo', serif; /* same as h1/h2 */
}

body {
  font-family: 'Cardo', serif;
}

/* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}*/

body {
  margin: 0;
  background: #e3dad5;
}

/* Make sure body and html take full height */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Cardo', serif;
}

/* Centering container */
.center-screen {
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  height: 100vh;           /* full viewport height */
  background: linear-gradient(135deg, #f0f2f5, #e0e4ea);
}

/* Make sure html and body fill the viewport */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Cardo', serif;
  background: radial-gradient(
    circle at center,
    #f2ece7 0%,
    #e3dad5 60%,
    #d1c1b5 100%
  );
  box-shadow: inset 0 0 80px rgba(0,0,0,0.08);
}


/* Centering container */


.center-screen {
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  height: 100vh;
  padding: 10px;           /* small padding for mobile screens */
}

/* Login box */
.login-box {
  background: #fff;
  padding: 40px 30px;
  width: 320px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  
  display: flex;
  flex-direction: column; /* stack elements vertically */
  align-items: center;    /* center horizontally */
  gap: 15px;              /* consistent spacing between elements */

  /* Animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

/* Animation keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading */
.login-box h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

/* Inputs */
.login-box input {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  outline: none;
  border-radius: 4px;
  box-sizing: border-box; /* ensures padding doesn't break width */
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.login-box {
  background: #cbb59d;
  border: 1px solid rgba(0,0,0,0.1);
}


.login-box input:focus {
  border-color: #78634e;
  box-shadow: 0 0 5px rgba(74,144,226,0.3);
}

/* Button */
.login-box button {
  width: 100%;
  padding: 12px;
  background: #78634e;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.login-box button:hover {
  background: #78634e;
  transform: translateY(-2px);
}

/* Error message */
#error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  min-height: 1em;
  font-weight: 500;
}

/* Main Site */
.hidden {
  display: none;
}

/* Top navigation bar */
.banner {
  background-color: #cbb59d;   /* warm parchment brown */
  border-bottom: 2px solid #6c564276;
}

/* Make banner responsive */
header.banner {
  display: flex;
  flex-wrap: wrap;       /* allows tabs to go to next line on small screens */
  justify-content: center; /* center the tabs */
  gap: 0.5rem;           /* space between buttons */
  padding: 0.5rem;
  box-sizing: border-box;
}

header.banner .tab {
  flex: 1 1 auto;       /* let buttons shrink and grow */
  min-width: 100px;     /* prevent buttons from getting too small */
  margin: 0.2rem;       /* small spacing */
  text-align: center;
}

.tab {
  background: none;
  border: none;
  color: color: #2f241d;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600; /* bold but not chunky */
  color: #2f241d;

  /* subtle ink bleed */
  text-shadow:
    0.3px 0.3px 0 rgba(0, 0, 0, 0.25),
   -0.3px -0.3px 0 rgba(0, 0, 0, 0.15);
}

.tab.active {
  border-bottom: 2px solid rgba(159, 132, 99, 0.842);
}

main {
  padding: 20px;
  text-align: center;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/*.tab-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}*/

#landing-page #landing img {
  max-width: 700px;    /* limits image size */
  width: 100%;         /* responsive on smaller screens */
  height: auto;
  margin: 20px auto;   /* centers image */
  display: block;
}

.small-photo {
  width: 25%; /* relative to container */
  height: auto;
}

.medium-photo {
  width: 50%; /* relative to container */
  height: auto;
}

.game-container {
  text-align: center;
  font-family: 'Cardo', serif;
  padding: 10px;
  background: transparent !important;
}

.game-container img {
  max-width: 80%;
  height: auto;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: transparent !important;
}

.options button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: #4a90e2;
  color: #fff;
  border-radius: 5px;
  transition: background 0.2s ease;
}

.options button:hover {
  background: #357ab8;
}

#feedback {
  margin-top: 15px;
  font-weight: 600;
}

@media (min-width: 768px) {
  img {
    max-height: 55vh;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
  }
}

body, html {
  margin: 0;
  padding: 0;
  max-width: 100vw;   /* prevent horizontal scroll */
  overflow-x: hidden;
  font-family: 'Cardo', serif;
}

/* Container for side-by-side photos */
.photo-row {
  display: flex;
  flex-wrap: wrap;          /* wrap images on small screens */
  gap: 15px;                /* space between images */
  justify-content: center;  /* center the row */
  margin: 20px 0;
}

/* Small photos */
.photo-row .small-photo {
  flex: 1 1 200px;    /* min width 200px, can grow */
  max-width: 300px;   /* limit size on large screens */
  height: auto;
}

/* Medium photos */
.photo-row .medium-photo {
  flex: 1 1 300px;    /* min width 300px, can grow */
  max-width: 600px;   /* limit size on large screens */
  height: auto;
}

/* Make images responsive on mobile */
@media (max-width: 600px) {
  .photo-row .small-photo,
  .photo-row .medium-photo {
    flex: 1 1 100%;    /* full width on mobile */
    max-width: 100%;   /* prevent overflow */
    margin: 0 auto;
  }
}

/* General image scaling (for images outside photo-row) */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* RSVP section container */
.rsvp-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;

  max-width: 1100px;   /* controls total width */
  margin: 0 auto;      /* centers the whole block */
  padding: 0 20px;     /* breathing room on small screens */
}


/* Left photo */
.rsvp-image {
  flex: 0 0 30%;           /* photo takes ~40% */
  max-width: 30%;
  padding-left: 50px;
}

.rsvp-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.rsvp-section {
  display: flex;
  align-items: flex-start; /* top-align image + text */
  gap: 40px;
}

.rsvp-content p:first-child {
  margin-top: 0;
}

/* Right text + form */
.rsvp-content {
  flex: 1 1 70%;           /* right side takes ~60% */
  padding-left: 2px;      /* space from image */
  padding-right: 250px;     /* prevent text from touching page edge */
  box-sizing: border-box;
}

/* Form styling */
.rsvp-form input {
  width: 100%;
  padding: 3px;
  margin-bottom: 15px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.rsvp-buttons button {
  margin: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background: #4a90e2;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.rsvp-buttons button:hover {
  background: #357ab8;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .rsvp-section {
    flex-direction: column;  /* stack photo above text */
    gap: 20px;
  }

  .rsvp-image,
  .rsvp-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .rsvp-content {
    padding-left: 10px;
    padding-right: 10px;   /* smaller padding on mobile */
    text-align: center;
  }

  .rsvp-buttons button {
    width: 45%;
    margin: 5px 2%;
  }
}

.wedding-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;

  max-width: 1100px;   /* centers the whole layout */
  margin: 0 auto;
  padding: 0 20px;
}

/* Left image */
.wedding-image {
  flex: 0 0 40%;
}

.wedding-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Right text */
.wedding-content {
  flex: 1 1 60%;
  box-sizing: border-box;
}

/* Align text top with image */
.wedding-content p:first-child {
  margin-top: 0;
}

/* Mobile layout */
@media (max-width: 768px) {
  .wedding-section {
    flex-direction: column;
    gap: 20px;
  }
}


#faq {
  max-width: 800px;     /* readable line length */
  margin: 0 auto;       /* center the block on the page */
  padding: 0 20px;      /* space from screen edges */
  text-align: left;     /* ← key change */
}

#faq img {
  margin: 30px auto;
  display: block;
}

#faq p {
  margin-bottom: 1.2em;
}


/* =========================
   TRAVEL PAGE SPLIT ONLY
   ========================= */

#travel .split-section {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

#travel .split-image {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
}

#travel .split-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

#travel .split-content {
  flex: 1;
  text-align: left;
  padding-right: 2rem;
}

#travel .split-content p {
  line-height: 1.6;
}

/* Align first heading with image top */
#travel .split-content h2:first-of-type {
  margin-top: 0;
}

@media (max-width: 768px) {
  #travel .split-section {
    flex-direction: column;
    gap: 1.5rem;
  }

  #travel .split-content {
    padding-right: 0;
  }
}

/* Hike top section: images + text side by side */
.hike-top {
  display: flex;
  align-items: flex-start; /* text aligns with top of images */
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* allows stacking on mobile */
}

/* Images on the left */
.hike-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-row {
  display: flex;
  gap: 10px;
}

.bottom-row {
  display: flex;
  justify-content: center;
}

.hike-small-photo {
  width: 250px;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Text on the right */
.hike-text {
  flex: 1;
  max-width: 500px;
  text-align: left;
}

/* Game section */
.hike-game {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.game-photo {
  width: 400px;
  height: auto;
}

/* Game buttons */
.options {
  display: flex;
  flex-direction: column; /* stack buttons vertically */
  gap: 10px; /* space between buttons */
  align-items: stretch; /* make all buttons the same width */
}

.options button {
  width: 200px; /* optional fixed width */
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  background-color: #4a90e2;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.options button:hover {
  background-color: #357ab8;
}


/* Feedback text */
#feedback {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
}

/* Next button */
#next-button {
  margin-top: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hike-top {
    flex-direction: column;
    align-items: center;
  }

  .hike-text {
    max-width: 100%;
  }

  .top-row, .bottom-row {
    justify-content: center;
  }

  .hike-small-photo {
    width: 200px;
  }

  .game-photo {
    width: 200px;
  }
}
