@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,409;1,409&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('/css/foot-bar.css');

html,
body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border-top: 76;

}


html {
    scroll-behavior: smooth;
}

main {
    flex: 1;
}


h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

p {
    font-family: 'Nunito', sans-serif;
}



/* // <weight>: Use a value from 100 to 700
// <uniquifier>: Use a unique and descriptive class name */

/* .josefin-sans-dassadada {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
    font-weight:<weight>; 
  font-style: normal;
} */

.margin-top {
    margin-top: 3em;
}

.articleDayImgContainer {
        height: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
}

.articleDayImgTop {
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;         /* Ensures it's square even if width changes */
  overflow: hidden;
  border-radius: 8px;
  background-color: #eee;
}

.articleDayImgWrapper {
  width: 100%;
  max-width: 450px;   /* Adjust size as needed */
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background-color: #eee;
}

.articleDayImgWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.articleDayImgTop img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* Fill the box, crop overflow */
  object-position: center;
  display: block;
}
    .articleDayCard {
        border: none;
        background: none;
    }
    .articleDayTitle {
        font-size: 1.5rem;
        font-weight: bold;
    }

#carouselExampleSlidesOnly {
    height: 600px;
    /* Set your desired height */
    overflow: hidden;
}

.article-image {
  width: 220px;           /* fixed width */
  height: 154px;         
  object-fit: cover;     
  object-position: center;
  display: block;
  background-color: #f0f0f0; 
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.article-image:before {
  content: "";
  display: block;
  width: 220px;
  height: 154px;
  background: #ccc url('/assets/photo_unavailable.jpg') center/cover no-repeat;
}

#carouselExampleSlidesOnly .carousel-inner,
#carouselExampleSlidesOnly .carousel-item {
    height: 100%;
}

#carouselExampleSlidesOnly img {
    width: 100%;
    object-fit: cover;
    /* Crop image to fit container */
}

.pagination .page-link {
    color: rgb(207, 92, 128);
    /* same pink as your navbar */
    border-color: rgb(207, 92, 128);
}

.pagination .page-link:hover {
    background-color: rgb(207, 92, 128);
    color: white;
}

.pagination .page-active {
    background-color: rgb(207, 92, 128);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: rgb(207, 92, 128);
    border-color: rgb(207, 92, 128);
    color: white;
}



a {
    text-decoration: none;
    color: inherit;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
    color: inherit;
    /* Keeps the same color on hover */
}

.about-hero {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin-top: 70px;
}

.about-content {
    padding: 40px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    min-width: 500px;
    /* Ensures text box doesn't get too narrow */
}

.about-title {
    color: rgb(207, 92, 128);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.about-text {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Desktop layout */
@media (min-width: 992px) {

    /* Changed from 768px to 992px for better control */
    .about-hero .container {
        max-width: 95%;
        /* Allows more horizontal space */
    }

    .about-hero .row {
        --bs-gutter-x: 3rem;
        /* Restored some gutter space */
        align-items: center;
    }

    /* Image columns */
    .about-hero .row>.col-md-3 {
        width: 27%;
        /* Balanced width */
    }

    /* Content column */
    .about-hero .row>.col-md-6 {
        width: 46%;
        /* Wider content area */
    }

    /* Large image containers */
    .about-image-placeholder {
        height: 750px;
        /* Tall but reasonable */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Image styling */
    .about-image-placeholder img {
        width: 100%;
        height: 100%;
        max-width: 350px;
        /* Controls image width */
        object-fit: cover;
        object-position: center;
        border-radius: 8px;
    }

    /* Spacing control */
    .col-md-3:first-child {
        padding-right: 1.5rem;
    }

    .col-md-3:last-child {
        padding-left: 1.5rem;
    }
}

/* Tablet layout */
@media (min-width: 768px) and (max-width: 991px) {
    .about-image-placeholder {
        height: 600px;
    }

    .about-content {
        min-width: 400px;
    }
}

/* Mobile layout */
@media (max-width: 767px) {
    .about-image-placeholder {
        height: 300px;
        margin-bottom: 2rem;
    }

    .about-content {
        min-width: auto;
        margin: 0 1rem;
    }
}

.about-text {
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-img-top {
    height: 350px;
    object-fit: cover;
}

.card-title {
    font-size: 1rem;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.performing-arts-section {
  background-color: #fef7f9;
  padding: 4rem 0;
  text-align: center;
}

.performing-arts-section h2 {
  color: rgb(207, 92, 128);
  font-weight: 700;
  margin-bottom: 1rem;
}

.performing-arts-section p.lead {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
}


/* Shared class for all carousels */
.program-carousel {
  max-width: 500px;
  margin: 0 auto;
}

.program-carousel .carousel-inner,
.program-carousel .carousel-item {
  height: 300px; /* fixed height */
}

.program-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops and fills */
  display: block;
}

/* Indicators */
.program-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%; /* circles */
  background-color: #555; /* inactive color */
}

.program-carousel .carousel-indicators .active {
  background-color: #fff; /* active circle */
}

.google-maps {
  position: relative;
  /* padding-bottom: 56.25%; 16:9 aspect ratio */
  height: 250px;
  overflow: hidden;
  width: 100%;      
  max-width: 500px; /* optional: limit size */
  margin: 0 auto;   /* center it inside column */
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.button_anchor {
  position: relative;
  top: -100px;       /* adjust offset for your header height */
  visibility: hidden;
  pointer-events: none;
  height: 0;
}

@media (max-width: 991px) {
  .navbar .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    border: none;
    box-shadow: none;
    background-color: rgb(207, 92, 128) !important; 
    opacity: 1;
    visibility: visible;
  }

  /* muted white text */
  .navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.65) !important; /* same tone as navbar non-active links */
    background: none !important;
    border: none;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus {
    color: #ffffff !important; /* full white on hover */
    background-color: rgba(255, 255, 255, 0.12) !important;
  }

  .navbar .dropdown-item.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.22) !important;
  }
}

/* MOBILE CAROUSEL STYLES */
#carouselMobile {
  height: 80vh; 
  overflow: hidden;
}

#carouselMobile .carousel-inner,
#carouselMobile .carousel-item {
  height: 100%;
}

#carouselMobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hide the desktop carousel and its height on mobile screens */
@media (max-width: 767px) {
  #carouselExampleSlidesOnly {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #carouselMobile {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

.dropdown-item-desktop {
  color: rgb(207, 92, 128);
}

.dropdown-item-desktop:hover {
  color: rgb(197, 137, 156);
}


.dropdown-menu.custom-width {
  min-width: 230px; 
}

* {
  -webkit-tap-highlight-color: transparent;
}

.accordion-button {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3); /* soft white flash */
  outline: none !important;
  box-shadow: none !important;
}

.accordion-button:focus,
.accordion-button:active {
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

.dropdown-menu {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3); /* soft white flash */
  outline: none !important;
  box-shadow: none !important;
}

.dropdown-menu:focus,
.dropdown-menu:active {
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

.grid-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-image:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}



