/* ------------------------- */
/* GLOBAL / LAYOUT */
/* ------------------------- */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.section-spacing {
  padding: 4rem 0 1rem;
}

.pre-footer-spacing {
  padding-bottom: 5rem;
}

.gray-text {
  color: #9e9e9e;
}

.site-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------------- */
/* HEADINGS / DIVIDERS */
/* ------------------------- */
h1 {
  font-size: clamp(1rem, 5vw, 2rem);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-divider,
.page-divider {
  width: 12%;
  margin: 1rem auto;
  border-top: 2px solid #999;
}

/* ------------------------- */
/* NAVBAR */
/* ------------------------- */
.navbar {
  font-family: 'Open Sans', sans-serif;
}

.navbar-nav .nav-item {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.navbar-dark .nav-link:hover,
.navbar-dark .dropdown-item:hover {
  color: #ffffff;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 1;
  }
}

/* Navbar brand logo */
.navbar-brand img {
  max-height: clamp(50px, 6vw, 50px); /* scales across all devices */
  width: auto;
}

/* Navbar Button  */
.navbar .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Ensure navbar links show pointer cursor on hover */
.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle {
    cursor: pointer;
}

.navbar-nav .dropdown-menu .dropdown-item {
    cursor: pointer;
}

/* ------------------------- */
/* HERO / IMAGES */
/* ------------------------- */
.hero-img {
  max-width: 80%;
}

.responsive-image {
  width: 450px;
  max-width: 100%;
  height: auto;
}

/* ------------------------- */
/* TAGLINE SECTION */
/* ------------------------- */
.tagline-line {
  max-width: 180px;
  opacity: 0.25;
  margin: 1.5rem auto;
}

.tagline-text {
  max-width: 90%;
  margin: 0 auto;
  font-size: 1.25rem; /* fs-4 equivalent */
  font-style: italic;
  color: #444444; /* muted gray */
  line-height: 1.5;
}

/* ------------------------- */
/* FOOTER */
/* ------------------------- */
footer {
  background: #2e2e2e;
  color: #888888;
  font-family: 'Open Sans', sans-serif;
}

footer a {
  color: #888888;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #ffffff;
}

footer .copyright {
  color: #999999;
}

footer img {
  display: block;
  max-height: 50px;
  width: auto;
}

.footer-logo {
  text-align: center; /* center */
  margin-top: 15px;   /* spacing from text above */
}

.footer-logo img {
  max-height: 60px;
  width: auto;
}

/* ------------------------- */
/* FORMS / MAILING LIST */
/* ------------------------- */
.mailing-list-section p {
  color: #cfcfcf;
}

#mc_embed_signup {
  clear: left;
  font: 14px 'Open Sans', sans-serif;
  width: 100%;
  height: 40%;
}

#mc_embed_signup .form-control {
  margin-bottom: 0.45rem;
}

#mc_embed_signup form {
  max-width: 640px;
  margin: 0 auto;
}

#mc_embed_signup form input {
  background: #eeeeee !important;
  border: 1px solid #888 !important;
  color: #555555 !important;
  padding: 12px 14px !important;
}

#mc_embed_signup form input::placeholder {
  color: #333333 !important;
}

#mc_embed_signup form input:focus {
  border-color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

#mc_embed_signup form button {
  background: #777777 !important;
  color: #000 !important;
  border: none !important;
  padding: 10px 28px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s;
}

#mc_embed_signup form button:hover {
  background: #ccc !important;
}

.btn-contact {
  background-color: #D2D2D2;
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-contact:hover {
  background-color: #b2b2b2;
}

/* ------------------------- */
/* REPRODUCTIONS / GALLERY */
/* ------------------------- */

.reproductions-section {
  padding: 60px 20px;
  background-color: #fefefe;
}

.reproductions-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.reproduction-item {
  max-width: 400px;
  text-align: center;
}

.reproduction-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.caption {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #111;
}

/* ------------------------- */
/* ART GALLERY THUMBNAILS */
/* ------------------------- */
.row.g-4 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.art-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
}

.art-card img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  flex-grow: 1;
  flex-shrink: 0;
}

.art-meta {
  text-align: center;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.art-meta h5 {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 600;
}

.art-meta span {
  font-size: 0.875rem;
  color: #888;
}

/* ------------------------- */
/* FEATURED ART */
/* ------------------------- */
.featured-art {
  max-width: 650px;
  width: 100%;
}

.featured-art img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.art-title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.art-page {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.art-image img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  display: block;
}

.art-page.vertical {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.art-page.vertical .art-image {
  flex: 0 0 auto;
  max-width: 650px;
}

.art-page.vertical .art-image img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  display: block;
}

.art-page.vertical .art-info {
  flex: 1;
  max-width: 450px;
  text-align: center;
}

/* ------------------------- */
/* REUSABLE UTILITY CLASSES */
/* ------------------------- */
.bg-dark-custom { background: #2e2e2e; }
.bg-mid-custom { background: #3c3c3c; }
.text-primary { color: #000 !important; text-decoration: underline; }

/* ------------------------- */
/* RESPONSIVE ADJUSTMENTS */
/* ------------------------- */
@media (max-width: 768px) {
  /* Navbar and footer background */
  .navbar, .footer { background-color: #222; color: #fff; }

  /* Responsive images */
  .responsive-image { width: 100%; }

  

  /* Art pages vertical cleanup */
  .art-page.vertical {
    display: block;
    flex-direction: column;
    gap: 30px;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0 auto;
  }

  .art-page.vertical .art-image {
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  .art-page.vertical .art-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 55vh;
    object-fit: contain;
    display: block;
  }

  .art-page.vertical .art-info {
    max-width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  /* Footer text alignment */
  footer p,
  footer .copyright,
  footer a {
    text-align: center !important;
  }

  footer .d-flex.flex-column {
    flex-direction: column !important;
    align-items: center !important;
  }

  footer img {
    margin: 0 auto;
  }
}

/* Extra small devices (phones) */
@media (max-width: 480px) {
  .art-page.vertical .art-image img {
    max-height: 50vh;
  }
}

/* ------------------------- */
/* Exhibition Page Body Alignment */
.exhibition-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Center the contact page content area */
.contact-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
