* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans_serif;
    background-color: #f7f7f7;
    color: #4A4A4A;
    line-height: 1.6;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color:#800000;
}

h3 {
    margin-bottom: 10px;
    color: #9C1C1C;
}

.top_title {
    text-align: center;
    padding: 12px 0;
}

.navbar {
    background-color: #f4cccc;
    border: 3px solid #d46767;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    width: 80px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
}
.logo:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex: 1;
    margin: 0 40px;
    gap: 60px;
}
.nav-links a {
    text-decoration: none;
    color: #7f0404;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}
.nav-links a:hover {
    color: #9b1c1c;
    text-decoration: underline;
    font-style: italic;
}

.active {
    color: #9b1c1c;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.join-text {
    font-size: 0.95rem;
    font-weight: 700;
    color:#7f0404
}

.join-btn,
.donate_btn {
    text-decoration: none;
    color: #FDF2F2;
    background-color: #9b1c1c;
    border: 2px solid #FDF2F2;
    padding: 10px 16px;
    font-weight: 700;
    display: inline-block;
}

.join-btn:hover,
.donate_btn:hover {
    /*background-color: #9b1c1c;
    color: #fff;*/
    background-color: #FDF2F2;
    color: #9b1c1c;
}

/*#homepage {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('../images/asa-homepage.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-left: 0;
    margin-right: 0;
}*/
#homepage {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

.homepage_hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)), url('../images/asa-homepage.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 250px 20px 100px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    color: black;
    /*padding: 60px 20px;*/
}

.top_title {
    color: #d46767;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero, .main_section {
    text-align: center;
    padding: 0;
    margin-top: 0;
}
.hero_logo {
    width: 200px;
    height: auto;
    border-radius: 50%;
}
.hero_heading {
    font-size: 4rem;
    margin-bottom: 12px;
    font-weight: 800;
}
.hero_text p {
    max-width: 700px;
    margin: 0 auto;
}

.hero_panel {
    padding-bottom: 100px;
}

#hero_h2 {
    color: #fff;
}

/*.main_section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('../images/asa-homepage.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 20px;
    width: 100%;
}*/

.about_membership,
.highlights,
.preview_gallery,
.page_content {
    margin-top: 50px;
    text-align: center;
    color: #4A4A4A;
}
.about_membership p {
    max-width: 900px;
    margin: 0 auto;
}

.card_container {
    text-align: center;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    display: inline-block;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    max-width: 280px;
    color: #4A4A4A;
}
.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
}
.card a {
    text-decoration: none;
    color: #800000;
    font-weight: 700;
}
.card a:hover {
    text-decoration: underline;
}
.card_container #tote_bags:hover, #stickers:hover, #keychains:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.card #tote_bags img {
    width: 100%;
    height: 250px;
    object-fit: contain;
}
.card #stickers img {
    width: 100%;
    height: 250px;
    object-fit: contain;
}
.card #keychains img {
    width: 100%;
    height: 250px;
    object-fit: contain;
}

/* Gallery Page Styles */

.gallery_placeholder {
    margin: 30px auto;
    padding: 50px 20px;
    border: 2px dashed #999;
    max-width: 700px;
    background-color: #fff;
}

.gallery_grid {
    text-align: center;
    margin-top: 30px;
}

.gallery_box {
    display: inline-block;
    background-color: #fff;
    border: 2px solid #ccc;
    padding: 15px 15px 60px 15px;
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
}
.gallery_box img {
    width: auto;
    height: 300px;
    display: block;
    /*border-radius: 8px;*/
    cursor: pointer;
}
.gallery_box:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
/* Homepage Gallery Preview - smaller images */
.preview_gallery img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 700px;
}

.gallery-img {
    cursor: pointer;
    transition: 0.3s;
}

.gallery-img:hover { opacity: 0.7; }

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.mySlides { display: none; }

.prev {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  user-select: none;
  left: 0;
}

.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  user-select: none;
}


.next { right: 0; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); }

/* Donate Page Styles */
.donate_box {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background-color: #fff;
    border: 2px solid #ddd;
}

.FAQ_box {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background-color: #fff;
    border: 2px solid #ddd;
}
.FAQ_box_h3 {
    color: #9b1c1c;
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.accordion-h4 {
    color: #9b1c1c;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}
.FAQ_box p {
    max-width: 600px;
    margin: 0 auto 20px;
}
.FAQ_box article {
    margin-bottom: 20px;
}
.FAQ_box article p {
    max-width: 600px;
    margin: 0 auto;
}
.FAQ_box article a {
    color: #9b1c1c;
    text-decoration: none;
}
.FAQ_box article a:hover {
    text-decoration: underline;
}
.FAQ_box a {
    color: #9b1c1c;
    text-decoration: none;
}
.FAQ_box a:hover {
    text-decoration: underline;
}

.ui-accordion .ui-accordion-header {
    background-color: #FCEDED;
    border: 2px solid #d46767;
    padding: 10px 15px;
    font-size: 1.2rem;
    font-weight: 700;
}
.ui-accordion .ui-accordion-header:active {
    background-color: #d46767;
    color: #fff;
}
.ui-accordion .ui-accordion-content {
    border: 2px solid #d46767;
    border-top: none;
    padding: 15px;
    background-color: #fff;
}


/* Footer Styles */
footer {
    text-align: center;
    padding: 25px;
    border-top: 2px solid #f4cccc;
    margin-top: 40px;
    color: #9b1c1c;
    font-weight: bold;
    background-color: #FDF2F2;
}
footer a {
    color: #9b1c1c;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
#designer-link {
    color: #9b1c1c;

}

.visually-hidden {
    position: absolute;
    left: -9999px;
}