/* ========================
   BODY
   ======================== */

:root {
  --bs-primary: #050A30;
  --bs-primary-rgb: 5, 10, 48;
  --bs-body-font-family: 'Palatino', sans-serif;
  --bs-body-color: #050A30;
}

:root {
    --bs-body-font-family: Arial, Helvetica, sans-serif;
    --bs-font-sans-serif:  Arial, Helvetica, sans-serif;;
    --accent-color: #050A30;;
    --bs-body-color: #050A30;
    --bs-btn-active-bg: #050A30;;
    --bs-btn-active-border-color: #050A30;
}

body {
    font-family:Arial, Helvetica, sans-serif;
    margin: 0;
    text-align: center;
    color: var(--accent-color);
}

body h1 {
    font-family:Georgia, serif;
}

.btn-primary:active,
.btn-primary:focus {
    background-color: #050A30;
    border-color: #050A30;
}

html { 
    scroll-behavior: smooth; 
}


/* ========================
   NAVBAR
   ======================== */


.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand {
    display: flex;
    align-items: center;
    gap: 30px;
    text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.brand-name {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    align-items: left;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    background: var(--bs-primary);
    align-items: stretch;
    margin: 0 0 0 2rem;

}

.nav-links a {
    color: #FFDE59;
    text-decoration: none;
    align-items: center;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}




.navbar .nav-link.active {
  font-weight: 600;
  border-bottom: 2px solid #FFDE59;
  
}





/* ========================
   LANDING PAGE
   ======================== */

 .landing-page {
    font-family: Palatino, "Palatino Linotype", Georgia, serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
   
    align-self: stretch;
    display: block;
   
}


.landing-title {
    margin-top: 2rem;
    font-family: 'Lora', serif;
}



.landing-page div.lead > p  {
    font-size: 1.5rem;
    text-align: left;
}


.landing-page .title-section {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}


.landing-page .opening-row {
    display: flex;
    flex-wrap:nowrap;
    align-items: center;
    width: 100%;
}

.landing-page .main-image {
    flex: 1 1 0;
    min-width: 0;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.landing-page .opening-text {
    flex: 1 1 0;
    min-width: 0;
    padding: 2rem 3rem;
    text-align: center;
   
}

main {
    width: 100%;
}


.title-section {
    width: 100%;
    margin: 0;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0;
    margin-left: 0 !important;
} 


/*CHANGE LANDING PAGE TITLE HERE*/

.landing-title {
    font-size: 3rem;
    font-weight: normal;        
    margin-bottom: 1rem;
    color: var(--bs-primary);
    font-family:Georgia, serif;

    border-bottom: none;
} 


.landing-quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--bs-primary);
    max-width: 600px;           
    line-height: 1.6;       
}


/* ================================
   GALLERY / PREVIEW SECTION — new
   ================================ */

.gallery-section {
    padding: 3rem 0;
    text-align: center;
}

.section-header {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: normal;
    margin: 0 0 2rem;
    letter-spacing: 0.02em;
}

.preview-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.preview-image {
    width: 100%;
    max-width: 380px;
    height: 260px;
    object-fit: cover;
    flex: 1 1 280px;
    border-radius: 8px;
}

/* ================================
   MORE INFO SECTION — new
   ================================ */

.more-info-section {
    padding: 3rem 0;
  
}

.more-info-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.more-info-text {
    text-align: left;
}


.more-info-image-wrap {
    flex: 1 1 320px;
}

.more-info-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* ================================
   BUTTONS — new
   ================================ */

.button-wrap {
    margin-top: 1.5rem;
    text-align: center;
}

.page-button {
    display: inline-block;
    padding: 0.65rem 1.75rem;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
    text-decoration: none;
    font-family: Palatino, "Palatino Linotype", Georgia, serif;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
}

.page-button:hover {
    background: var(--bs-primary);
    color: #fff;
}



/* ========================
   End LANDING PAGE
   ======================== */







/* ================================
   ABOUT PAGE
   ================================ */

.hero {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: normal;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: none;
    color: var(--accent-color);
}

.hero img {
    width: 90%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}



.donate-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.donate-buttons .page-button {
    width: 140px;        
    text-align: center;  
}

/* ================================
   CONTENT SECTIONS
   ================================ */

section {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    text-align: left;
    
}

section h1 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: normal;
    color: var(--accent-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent-color);
}

.about-page section .rich-text p {
    font-family: Palatino, "Palatino Linotype", Georgia, serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--bs-primary) 
}

.about-page section {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    text-align: left;
}

/* ================================
   DONATE BUTTON
   ================================ */

section button {
    margin-top: 1.5rem;
    padding: 0.65rem 2rem;
    background: transparent;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
    font-family: Palatino, "Palatino Linotype", Georgia, serif;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

section button:hover {
    background: var(--bs-primary);
    color: #fff;
}





/* ========================
   GALLERY PAGE
   ======================== */

.gallery-section {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}



/* ========================
   GALLERY EVENT CHILD PAGE 
   ======================== */

.gallery-event-page {
    color: var(--bs-primary);
}

.gallery-event-page .btn-outline-primary {
border-color: var(--bs-primary);
color: var(--bs-primary);
background-color: transparent;
}

.gallery-event-page .btn-outline-primary:hover {
background-color: var(--bs-primary);
border-color: var(--bs-primary);
color: white;
}

/* ========================
   STORE INDEX
   ======================== */

.store-index-page{
     color: var(--bs-primary);
}

.card-img-top {
    width: 100%;
    height: auto;
}

/* ========================
   PRODUCT PAGE
   ======================== */

   .product-page{
    color: var(--bs-primary);
   }

   .snipcart-add-item{
    color: var(--bs-primary);
    border-color: var(--bs-primary);
   }
   .snipcart-add-item.btn-primary:hover{
    background-color: var(--bs-primary);
    color: white;
   }

   .product-page .btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background-color: transparent;
    }

    .product-page .btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    }

.snipcart-layout__content .snipcart-modal__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.snipcart-empty-cart {
  text-align: center;
}

/* ========================
   EVENTS RELATED PAGES
   ======================== */



.event-page {
  color: var(--bs-primary);
}

.event-index-page h1{
    margin-top: 2rem;
}

.event-index-page {
    padding: 0 1.5rem;
}

.event-page .btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background-color: transparent;
}

.event-page .btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.blue-text * {
    color: var(--bs-btn-active-bg);
}


.region-toggle {
  margin-bottom: 1rem;
}

.region-toggle .btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.region-toggle .btn-outline-primary:hover,
.region-toggle .btn-outline-primary.active {
  background-color: var(--bs-primary);
  color: white;
}

.region-toggle .btn-outline-primary.active {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
}

.btn-primary{
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.btn-primary:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
  opacity: 0.85;
}

.card {
    color: var(--bs-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
    cursor: pointer;
    box-shadow: -4px -4px 0px rgba(84, 94, 117, 0.5) !important;

}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.event-index-page .card-img-top { /*keep card images consistent*/
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-blue-text *{
    color: var(--bs-btn-active-bg);
}



/* ========================
   KEYNOTE
   ======================== */

.keynote h1{ 
    border-bottom: none;
    margin: 2rem;
    

}

.keynote .hero h1{
    color: var(--accent-color);
}

.keynote{
    color: var(--bs-primary-rgb);
}



/* ========================
   FOOTER
   ======================== */


.site-footer {
    text-align: center;
    padding: 20px;
    background: var(--bs-primary);
    color: white;
    
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
  
}

.fixed-bottom.bg-primary {
    font-family: Georgia, serif;
}



.pwam-quote{

    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--bs-primary);
    max-width: 600px;           
    line-height: 1.6;       
}

.h6{
    font-weight: bold;
}



/* ========================
   MEDIA QUERIES
   ======================== */


@media (max-width: 768px) {
    .landing-title {
        font-size: 2.2rem;
    }

    .preview-row,
    .more-info-content {
        grid-template-columns: 1fr;
    }

    .button-wrap.left-align {
        text-align: center;
    }
}




/* landing page*/

@media (max-width: 768px) {
    .opening-row {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .opening-text {
        width: 100%;
    }

    .main-image {
        width: 100%;
    }


    .landing-quote {
        font-size: 1rem;
    }
}

    @media (max-width: 768px) {
    /* existing rules ... */

    /* gallery */
    .preview-row {
        flex-direction: column;
        align-items: center;
    }

    .preview-image {
        max-width: 100%;
        height: 200px;
    }

    /* more info */
    .more-info-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }

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

    .more-info-image-wrap {
        width: 100%;
    }

    .more-info-image {
        max-height: 260px;
        object-fit: cover;
    }

    /* buttons */
    .button-wrap.left-align {
        text-align: center;
    }

    .page-button {
        width: 100%;
        text-align: center;
    }
}