/* Global base styles */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* Standard content wrapper for single-column pages
   (Reservation Terms, PayPal step) */
.page {
  max-width: 960px;  /* was 900px */
  margin: 0 auto;
  padding: 16px;
}

#paypal-container-6AYYGSMNJE33Y {
  display: inline-block;
  width: 100%;
  max-width: 900px;   /* adjust this number */
  margin: 0 auto;
  text-align: left;
}

/* Section layout for the main site (index) */

section {
  max-width: 960px;
  margin: 0 auto 32px;
  padding: 16px;
}

.hero-image {
  margin-bottom: 16px;
}

/* Type */

h2 {
  font-size: 1.4rem;
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
}

/* Images */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links */

a {
  text-decoration: underline;
}

.rights-graphic-wrapper {
    text-align: center;
    margin: 14px 0 8px;
}

.rights-graphic {
    width: 420px;           /* or 350–450; adjust to taste */
    max-width: 100%;        /* so it shrinks on phones */
    height: auto;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid #444;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: #222;
  color: #fff;
  border-color: #222;
}

.btn-secondary {
  background-color: #f2f2f2;
  color: #000;
}

/* Button layout helpers */

.button-row {
  margin-top: 12px;
}

.buttons {
  margin-top: 24px;
}

.buttons form {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 12px;
}

/* Make native buttons match our .btn styling when we add the class */

button.btn {
  background-color: #222;
  color: #fff;
  border-color: #222;
}

/* Reserve button image control */
.reserve-button {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.reserve-button img {
  width: 35vw;         /* responsive: scales with viewport */
  max-width: 280px;    /* cap size on desktop */
  min-width: 160px;    /* keep readable on small phones */
  height: auto;        /* preserve square shape */
}

/* Pricing image control */
.price-graphic {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.price-graphic img {
  width: 35vw;         /* responsive scaling */
  max-width: 280px;    /* same as reserve button max */
  min-width: 160px;    /* phone-safe */
  height: auto;        /* keeps square shape */
}

/* Back to top placement */

.back-to-top {
  margin-top: 16px;
}

/* Footer */

footer {
  max-width: 960px;
  margin: 0 auto 32px;
  padding: 16px;
  text-align: center;
  font-size: 0.9rem;
}

/* Terms section visual styling */
.terms-section {
  background-color: #f7f7f7;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
}

.terms-section h2 {
  margin-top: 0;
}

.terms-section h3 {
  margin-top: 1.5rem;
}

.terms-section p,
.terms-section ul,
.terms-section li {
  line-height: 1.55;
}

/* ============================= */
/* CONTACT PAGE LAYOUT AND FORM  */
/* ============================= */

/* Entire contact page wrapper */
#contact-page {
  max-width: 960px;   /* match main site sections */
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Intro and form sections share the same width */
.contact-intro,
.contact-form-section {
  max-width: 960px;
  margin: 0 auto 2rem auto;
}

/* Main contact form "card" */
/* Works whether you use id="contact-form" or class="contact-form" */
#contact-form,
.contact-form {
  max-width: 900px;      /* wider form, slightly inset from page */
  margin: 0 auto 3rem;
  padding: 1.75rem;
  background: #f5f5f5;
  border: 1px solid #dddddd;
  border-radius: 8px;
}

/* Spacing between fields */
#contact-form p,
#contact-form .form-row,
.contact-form p,
.contact-form .form-row {
  margin: 0 0 1rem 0;
}

/* Labels */
#contact-form label,
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Inputs, selects, textareas */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form select,
#contact-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.6rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font: inherit;
}

/* Textarea height */
#contact-form textarea,
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* Helper text under fields (optional) */
#contact-form .help-text,
.contact-form .help-text {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 0.25rem;
}

/* Center the CAPTCHA (optional) */
.g-recaptcha {
  margin: 1rem 0;
}

/* Submit button */
#contact-form input[type="submit"],
#contact-form button[type="submit"],
.contact-form input[type="submit"],
.contact-form button[type="submit"] {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: #222222;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

#contact-form input[type="submit"]:hover,
#contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
  background: #000000;
}