/*
 Theme Name:   ISSA Custom
 Description:  ISSA Puget Sound Rebuild 2026
 Author:       Siddharth Saraf
 Template:     generatepress
 Version:      1.0.0
*/

/* --- Custom Variables --- */
:root {
    --issa-blue: #4CADC9;
    --issa-gold: rgba(220, 162, 36, 1);
    --issa-green: #00D084;
    --issa-grey: #4C535D;
    --issa-dark: #111116;
    --issa-light: #f8f9fa;
}

/* ---------------------- */
/* Reset & Theme Styles   */
/* ---------------------- */

/* Box sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Base Body Styles */
body {
    background-color: var(--issa-light);
    color: var(--issa-dark);
    line-height: 1.6;
}

/* Primary Color Utility */
.text-blue { color: var(--issa-blue); }
.bg-blue   { background-color: var(--issa-blue); color: #fff; }

/* Gold Utility (Accents/Icons) */
.text-gold { color: var(--issa-gold); }
.bg-gold   { background-color: var(--issa-gold); }

/* ---------------------- */
/* Components             */
/* ---------------------- */
.btn {
    background-color: var(--issa-gold);
    color: var(--issa-light)!important;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
    letter-spacing: 1px;
    min-width: 250px;
    text-align: center;
}

.btn:hover,
.btn-dark:hover {
    transform: translateY(-2px);
    background-color: var(--issa-grey);
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.3);
}

.btn-dark {
    background-color: var(--issa-dark);
    text-align: center;
    min-width: 250px;
    color: var(--issa-light)!important;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
    letter-spacing: 1px;
}

.btn-gold { background-color: var(--issa-gold) !important; color: #fff !important; }
.btn-gold:hover { background-color: #d4a017 !important; }

.btn-blue { background-color: var(--issa-blue) !important; color: #fff !important; }
.btn-blue:hover { background-color: #3b8a9e !important; }

/* ---------------------- */
/* Layout & Typography    */
/* ---------------------- */

body, p, li, span, input, select, textarea, .member-links {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

h1, h2, h3, h4, h5, h6, 
.main-navigation a, 
button, .btn-hero, .wp-block-button__link,
.classic-hero .hero-title, 
.board-member-card .member-name,
strong, b {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
}

.classic-hero .hero-subtitle,
.board-member-card .member-title,
.custom-post-header .post-hero-meta,
.custom-post-header .issa-breadcrumbs {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
}

h1, h2, h3 {
    color: var(--issa-blue);
    margin-bottom: 1rem;
}

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

form input {
    max-width: 100%!important;
}

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

.site-header .inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.site-content .inside-article,
.full-container,
.site-info {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#primary {
    width: 100% !important;
    float: none !important;
}

/* ---------------------- */
/* Posts                  */
/* ---------------------- */

.single-post header.entry-header,
.page-template-template-calm header.entry-header {
    display: none;
}

.issa-breadcrumbs .sep {
    margin: 0 8px;
    color: #ccc;
}

.custom-post-header {
    background-color: #f8f9fa;
    padding: 40px 0; 
}

.custom-post-header .grid-container {
    padding: 25px 50px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.custom-post-header .post-hero-title {
    color: #111116; 
    margin: 0; 
    grid-column: 1 / 2;
    grid-row: 1;
    font-size: var(--fs-600, 2.5rem);
}

.custom-post-header .post-hero-meta {
    grid-column: 1 / 2;
    grid-row: 2; 
    margin-top: 8px;
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-post-header .issa-breadcrumbs {
    grid-column: 2 / 3;
    grid-row: 1 / span 2; 
    text-align: right;
    font-size: 0.9rem;
    color: #888;
}

.custom-post-header .issa-breadcrumbs a {
    text-decoration: none;
    font-weight: 600;
}

.custom-post-header .issa-breadcrumbs a:hover {
    color: var(--issa-gold);
}

.single-post footer.entry-meta,
.single-post nav.post-navigation {
    display: none !important;
}

body.category article.post footer {
    display: none;
}

.classic-hero {
    background-size: cover;
    background-position: center;
    padding: 10vw 5vw; 
    text-align: center;
    border-bottom: 4px solid var(--issa-gold);
    margin-bottom: 40px;
}

.classic-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.classic-hero .hero-title {
    color: #ffffff;
    font-size: var(--fs-600, 3.5rem);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

.classic-hero .hero-subtitle {
    color: #f8f9fa;
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.has-classic-hero .featured-image{
    display: none !important;
}

@media (max-width: 768px) {
    .custom-post-header .grid-container {
        grid-template-columns: 1fr;
        text-align: center; 
    }
    
    .custom-post-header .post-hero-title,
    .custom-post-header .post-hero-meta,
    .custom-post-header .issa-breadcrumbs {
        grid-column: 1;
        text-align: center;
    }
    .custom-post-header .issa-breadcrumbs {
        margin-top: 15px;
    }
    .classic-hero {
        padding: 15vw 5vw;
    }
    .classic-hero .hero-title {
        font-size: 2.2rem;
    }
	.issa-breadcrumbs {
        display: none !important;
    }
}

/* ---------------------- */
/* Navigation             */
/* ---------------------- */

@media (min-width: 769px) {
    .main-navigation .main-nav ul li {
        margin: 0 5px; 
    }

    .main-navigation .main-nav ul li a {
        border-radius: 4px;
        transition: all 0.2s ease-in-out;
    }
	
    .main-navigation .main-nav ul li[class*="current-menu-"] > a,
    .main-navigation .main-nav ul li > a:hover {
        background-color: var(--issa-gold) !important;
        color: #ffffff !important;
    }

    .main-navigation .main-nav ul ul li:hover > a,
    .main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
        background-color: transparent !important;
        color: var(--issa-gold) !important;
    }
	.main-navigation .main-nav ul li.menu-item-has-children:hover > a,
    .main-navigation .main-nav ul li.menu-item-has-children.sfHover > a,
    .main-navigation .main-nav ul li > a:focus {
        background-color: var(--issa-gold) !important; /* Added background */
        color: #ffffff !important; 
    }
	.main-navigation .main-nav ul li[class*="current-menu-"] > a {
		background-color: var(--issa-gold);
		color: #ffffff;
	}
	.main-navigation .main-nav ul li:hover > a {
		background-color: var(--issa-gold);
		color: #ffffff;
	}
}

@media (max-width: 768px) {
    .main-navigation .main-nav ul li[class*="current-menu-"] > a,
    .main-navigation .main-nav ul li > a:hover {
        background-color: transparent !important;
        color: var(--issa-gold) !important;
    }

    .main-navigation .main-nav ul li {
        margin: 0;
    }
    
    .main-navigation .main-nav ul li a {
        border-radius: 0;
    }
	.main-navigation.toggled .main-nav ul li a,
    .main-navigation .main-nav ul li a {
        color: var(--issa-grey) !important; 
        background-color: transparent !important;
    }

    .main-navigation.toggled .main-nav ul li a:hover,
    .main-navigation.toggled .main-nav ul li a:focus {
        color: var(--issa-gold) !important; 
    }
	
	.main-navigation.toggled .main-nav ul li.menu-item-has-children.sfHover > a,
    .main-navigation.toggled .main-nav ul li > a:active,
    .main-navigation.toggled .main-nav ul li > a:focus {
        color: var(--issa-gold) !important; 
        background-color: transparent !important;
    }
}

.main-navigation ul ul {
    padding: 15px 7.5px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-navigation .main-nav ul ul li:hover > a {
    background-color: transparent !important;
    color: var(--issa-gold) !important;      
}

.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
    margin-bottom: 5px;
    background-color: transparent;
    color: var(--issa-gold);
}

/* ---------------------- */
/* Individual Page Styles */
/* ---------------------- */

/* Home Page */
.home-hero-section {
    background-size: cover;
    background-position: top left;
    padding: 140px 100px; 
    margin-bottom: 40px;
    border-bottom: 4px solid var(--issa-gold);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 50px;
    align-items: center;
}

.hero-text-col .hero-title {
    color: #ffffff;
    font-size: var(--fs-600, 3rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text-col .hero-quote {
    color: #f8f9fa;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 10px;
}

.hero-text-col .hero-attribution {
    color: var(--issa-gold);
    font-weight: bold;
    margin-bottom: 30px;
}

.hero-button-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-card {
    background: transparent; 
    padding: 20px 0; 
    border-radius: 0;
    box-shadow: none; 
}

.newsletter-card h3 {
    color: var(--issa-gold); 
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.newsletter-card p {
    font-size: 1rem;
    color: #f8f9fa; 
    margin-bottom: 20px;
}

.newsletter-card .wpforms-field-label {
    color: #ffffff !important;
}

.home-event-banner {
    text-align: center;
    margin: 50px 0px;
}

.home-event-banner .next-event a{
    text-decoration: none;

}

body.home h2{
    color: var(--issa-dark);
}

.home-event-banner h2 { margin-bottom: 10px; font-size: 1.8rem; }
.text-link { color: var(--issa-blue); font-weight: bold; text-decoration: none; }
.text-link:hover { color: var(--issa-gold); }

.home-sponsors-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 25px 75px;
    background-color: rgb(from var(--issa-grey) r g b / .1);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.sponsor-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin: 75px 0;
}

.sponsor-logo-grid img {
    max-width: 100%;
    height: auto;
    filter: grayscale(50%); 
    transition: filter 0.3s ease;
}

.sponsor-logo-grid img:hover { filter: grayscale(0%); }

.home-testimonial-section {
    background-color: #ffffff; /* Changed to white */
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.quote-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.quote-mark {
    color: var(--issa-gold);
    font-size: 70px;
    font-family: 'Georgia', serif;
    line-height: 0.5;
}

.open-quote { margin-bottom: 15px; }
.close-quote { margin-top: 30px; }

.quote-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #444444; 
    font-style: italic;
    margin: 0;
}

.quote-author {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--issa-blue); 
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-bottom-ctas {
    text-align: center;
    margin-bottom: 60px;
}

.cta-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Events Page */
.events-footer-link {
    text-align: center;
    padding: 40px 0;
    clear: both;
}

#post-3022 ul li {
    padding-left: 25px;
    margin-top: 20px;
    border-bottom: 1px solid #eaeaea;
}

#post-3022 ul li a {
    font-size: 22px;
}

#post-3022 ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
    
.contact-form button,
.newsletter-card button,
.btn-event {
    background-color: var(--issa-gold) !important;
    color: #ffffff !important;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: transform 0.2s ease;
    letter-spacing: 1px;
    width: 100%;
}

.contact-form button:hover,
.newsletter-card button:hover,
.btn-event:hover {
    transform: translateY(-2px);
    background-color: var(--issa-grey) !important;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.3);
    color: #ffffff;
}

/* About page */
.abt-btn {
    text-align: center;
    width: 100%;
}

.abt-btn a{
    margin-right: 25px ;
}

/* Board Members */
.issa-board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    text-align: center;
}

.board-member-card {
    margin-bottom: 15px;
}

.board-member-card img {
    height: 300px;
    width: auto;
    max-width: 100%; /* Prevents breaking the column if an image is insanely wide */
    margin: 0 auto 10px auto; /* Centers the image */
    display: block;
    border-radius: 4px;
}

.board-member-card .member-name {
    font-size: 1.2rem !important;
}

.board-member-card .member-name,
.board-member-card .member-title {
    color: #000 !important;
    margin: 0 0 5px 0;
    font-size: 1.0rem;
}

.board-member-card .member-links,
.board-member-card .member-links a {
    color: var(--issa-gold) !important;
    font-size: 0.9rem;
    text-decoration: none;
}

.open-positions-section {
    text-align: center;
}

.open-positions-section h2 {
    color: var(--issa-dark) !important;
    font-weight: bolder;
    margin-top: 100px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--issa-gold);
}

.open-positions-section a{
    text-decoration: none;
    font-style: italic;
}   

/* Sponsors */
.sponsors-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.sponsors-content img {
    text-align: center;
}

.sponsors-content a{
    display: block;
    width: 300px;
    margin: 0 auto;
}

.sponsors-content h1,
.sponsors-content h2,
.sponsors-content h3 {
    color: var(--issa-dark)!important;
}

/* Membership */
body.page-id-3042 h3 {
    color: var(--isa-dark)!important;
    margin-top: 50px;
}

/* Contact Us */
.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-align: left;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 50px; 
    align-items: start; 
    padding: 0px 75px;
}

.contact-socials-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px; 
}

.contact-socials-col .btn, 
.contact-socials-col .btn-dark {
    width: 100%;
    max-width: 300px; 
    margin: 0;
}

.contact-qr {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    width: 100%;
}

.contact-qr p{
    width: 150px;
    margin: 0 auto;
}

.contact-qr h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--issa-dark) !important;
}


@media (max-width: 768px) {
	.home-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-button-row { justify-content: center; }
	
	.hero-quote,
	.hero-attribution {
		display: none;
	}
    
    .home-hero-section {
        padding-left: 20px !important; 
        padding-right: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important; 
        overflow-x: hidden;
    }

    .home-event-banner {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
	
	.contact-form,
	#wpforms-form-3104 {
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .contact-grid {
        grid-template-columns: 1fr; 
    }
	
	.abt-btn a {
		margin-top: 15px;
	}
	
	.issa-board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	.board-member-card img {
		height: 200px;
	}
	
	.sponsor-button {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
		width: 75%;
		margin: 0 auto;
        gap: 20px !important; 
    }
	
	.sponsor-button div{
		width: 100% !important;
		margin-top: 15px;
	}
}

