/* Ensure full-page layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Page container to push footer to bottom */
#page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content-wrap {
    flex: 1;
}

/* Typography */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
}

/* Headings */
h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: bold;
}

/* Links */
a {
    text-decoration: none;
}

/* Buttons */
.btn {
    border-radius: 5px;
}

/* Primary Button */
.btn-primary {
    background: #d32f2f;
    border: none;
}

.btn-primary:hover {
    background: #b71c1c;
}

/* Navbar */
.navbar {
    padding: 10px 15px;
}

.navbar-brand img {
    max-width: 80px;
    height: auto;
}

/* Navbar spacing */
.navbar-nav .nav-link {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    flex-wrap: nowrap;
}

/* Fixing menu overflow issue */
@media (max-width: 992px) {
    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #d32f2f;
}

/* Blog Page */
.blog-posts .post-preview {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

/* Contact Page */
.contact-section {
    text-align: center;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px 0;
}

/* Form inputs */
.form-floating input,
.form-floating textarea {
    border-radius: 5px;
}

/* Gallery */
.gallery-grid .card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-grid img {
    max-height: 250px;
    object-fit: cover;
}

.gallery-carousel img,
.gallery-carousel video {
    max-width: 75%;
    display: block;
    margin: auto;
}

/* Registration Page */
.register-section {
    text-align: center;
}

.flashes {
    list-style: none;
    padding: 10px;
}

.flashes li {
    color: red;
    font-weight: bold;
}

/* Page Headers */
.masthead {
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.page-heading h1 {
    font-size: 32px;
    font-weight: bold;
}

/* Blog Post Form */
.post-form {
    padding: 50px 0;
}

.post-form .container {
    max-width: 800px;
}
/* Ensure full-page layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Page container to push footer to bottom */
#page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content-wrap {
    flex: 1;
}

/* Typography */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
}

/* Headings */
h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: bold;
}

/* Links */
a {
    text-decoration: none;
}

/* Buttons */
.btn {
    border-radius: 5px;
}

/* Primary Button */
.btn-primary {
    background: #d32f2f;
    border: none;
}

.btn-primary:hover {
    background: #b71c1c;
}

/* Navbar */
.navbar {
    padding: 10px 15px;
}

.navbar-brand img {
    max-width: 80px;
    height: auto;
}

/* Navbar spacing */
.navbar-nav .nav-link {
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    flex-wrap: nowrap;
}

/* Fixing menu overflow issue */
@media (max-width: 992px) {
    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #d32f2f;
}

/* Blog Page */
.blog-posts .post-preview {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

/* Contact Page */
.contact-section {
    text-align: center;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px 0;
}

/* Form inputs */
.form-floating input,
.form-floating textarea {
    border-radius: 5px;
}

/* Gallery */
.gallery-grid .card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-grid img {
    max-height: 250px;
    object-fit: cover;
}

.gallery-carousel img,
.gallery-carousel video {
    max-width: 75%;
    display: block;
    margin: auto;
}

/* Registration Page */
.register-section {
    text-align: center;
}

.flashes {
    list-style: none;
    padding: 10px;
}

.flashes li {
    color: red;
    font-weight: bold;
}

/* Page Headers */
.masthead {
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.page-heading h1 {
    font-size: 32px;
    font-weight: bold;
}

/* Blog Post Form */
.post-form {
    padding: 50px 0;
}

.post-form .container {
    max-width: 800px;
}

.carousel-inner video{
    width: 80%;
    max-height: 600px;
    object-fit:contain;
}

.carousel-inner img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.scroll-container {
  max-height: 600px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

/* static/admin.css or inside <style> tag */
body.admin-context {
  padding-top: 60px;  /* Adjust based on your navbar height */
}

.back-glow {
  border-radius: 8px;
  background-color: white;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
}

.back-glow:hover {
  background: linear-gradient(90deg, #111, #333);
  color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.thank-you-page {
    text-align: center;
    padding: 4rem 2rem;
}
.thank-you-actions a {
    margin: 1rem;
}

.card-fields-hidden {
  display: none;
}

#stripeNotice {
  font-size: 0.95rem;
  padding: 1rem;
  background-color: #e7f3ff;
  border-left: 4px solid #007bff;
  margin-top: 1rem;
}

.list-group-item span {
  font-weight: 500;
}

.fw-bold.fs-5 {
  margin-top: 1.5rem;
}

button.btn-success {
  padding: 0.75rem;
  font-size: 1.1rem;
}

 .intl-phone-container {
    display: flex;
    gap: 8px;
  }

  #countryCodeSelector {
    max-width: 170px;
  }

  input[type="tel"] {
    letter-spacing: 1px;
  }

  @media (max-width: 768px) {
    .intl-phone-container {
      flex-direction: column;
    }

    #countryCodeSelector {
      max-width: 100%;
    }
  }

  
  .map-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 576px) {
    .map-responsive {
        padding-bottom: 75%;
    }
}
