/*
Theme Name: SEPA Drifters
Theme URI: https://sepadrifters.org
Author: SEPA Drifters Team
Author URI: https://sepadrifters.org
Description: Custom WordPress theme for Southeastern Pennsylvania Drifters - National Drifters, Inc.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sepa-drifters
Tags: nonprofit, community, events, custom-menu, featured-images, responsive-layout
*/

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #FF1744;
    --coral-pink: #FFB3B3;
    --light-gray: #F5F5F5;
    --dark-bg: #000000;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wide-container {
    max-width: 100%;
    padding: 0;
}

/* Header Styles */
.site-header {
    display: flex;
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-nav {
    width: 325px;
    background: var(--white);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #eee;
	height:100vh;
}

.site-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    border-radius: 50%;
    overflow: hidden;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-navigation {
    width: 100%;
}

.main-navigation ul {
    list-style: none;
}

.main-navigation li {
    margin: 0;
    padding: 0 45px;
}

.main-navigation a {
    display: block;
    padding: 10px 25px;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 2px solid #F9F3F2;
    transition: all 0.3s ease;
	font-size:18px;
	position:relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    border-bottom-color: #EC7162;
    color: #EC7162;
}

.donate-btn {
    margin: 20px 25px;
	min-width:230px;
}

.donate-btn a {
    display: block;
    background: #EC7162;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid #EC7162;
}

.donate-btn a:hover {
    background: transparent;
    transform: translateY(0);
    border-color: #d50032;
    color: #d50032;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
	/*background: var(--primary-red); */
	background:#EC7162;
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

/* Main Content Area */
.site-content {
    margin-left: 325px;
    padding-top: 0;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
	
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 0px 60px;
    text-align: center;
    min-height: 700px;
	max-height:700px;
/*     display: flex; */
	display: none;
    align-items: center;
    justify-content: center;
/* 	background-image: url(./images/group.png); */
	position: relative;
	background-repeat:no-repeat;
	background-size:100%
	
}
section.hero-section:after {
    background: rgba(0, 0, 0, .6);
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}


.page-banner {
  background-size: cover;
  background-position: center;
  padding: 140px 0;
  color: #fff;
  text-align: center;
  position: relative;
}

.page-banner .banner-overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 40px 20px;
  display: inline-block;
  border-radius: 10px;
}

.default-banner {
  background-color: #222;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin: 0;
    line-height: 1.2;
}

/* Content Sections */
/*.content-section {
    padding: 60px 40px;
}*/

.section-coral {
    background: var(--coral-pink);
}

.section-white {
    background: var(--white);
}

.section-red {
    background: var(--primary-red);
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-red);
}

.section-red .section-title {
    color: var(--white);
}

/* Who We Are Section */
.who-we-are-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.who-we-are-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.who-we-are-text h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.action-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.action-card h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

/* Statistics Section */
.statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 100px;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 100px;
}
.leadership-grid.border-0 {
    border-bottom: 0;
	padding-bottom: 0;
}

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

.leader-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 5px solid var(--primary-red);
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.leader-title {
    color: var(--text-light);
    font-size: 1rem;
}

/* Events Calendar */
.events-list {
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    background: var(--white);
    border-left: 4px solid var(--primary-red);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.event-date {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event-location {
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #d50032;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 23, 68, 0.3);
}

/* Newsletter Section */
.newsletter-section {
    background:#808080;
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--dark-bg);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #333;
}

/* Footer */
.site-footer {
    background: var(--light-gray);
    padding: 40px 20px 20px;
    text-align: center;
    margin-left: 325px;
}

.footer-logo {
    width: 100px;
    margin: 0 auto 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dark-bg);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Scholarship Page */
.scholarship-video {
    max-width: 800px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.scholarship-video iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.apply-btn {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 40px auto;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: #d50032;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 23, 68, 0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar-nav {
        width: 320px;
    }
    
    .site-content,
    .site-footer {
        margin-left: 180px;
    }
    
    .statistics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .who-we-are-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar-nav {
        position: fixed;
        left: -320px;
        top: 0;
        bottom: 0;
        width: 320px;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .sidebar-nav.active {
        left: 0;
    }
    
    .site-content,
    .site-footer {
        margin-left: 0;
    }
    
    .hero-section {
        padding: 60px 30px;
		min-height:auto;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 0;
    }
    
    .statistics {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 50px;
		margin-bottom:15px;
    }
    
    .action-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }

/* WordPress Core Classes */
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.aligncenter { display: block; margin: 0 auto; }

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
}

.sticky {}
.bypostauthor {}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--light-gray);
    clip: auto !important;
    color: var(--text-dark);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}




/* Dropdown Base Styling */
.main-navigation ul li {
  position: relative;
}

.main-navigation ul li ul.sub-menu {
  display: none;
  position: relative;
  list-style: none;
  transition: all 0.3s ease;
}

.main-navigation ul li.open > ul.sub-menu {
  display: block;
}

.main-navigation ul li.menu-item-has-children > a::after, .main-navigation ul li.open > a::after {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 18px;
    top: 0;
}
/* Down Arrow */
.main-navigation ul li.menu-item-has-children > a::after {
	content: "\f078"; /* ? */
	margin-left: 8px;
	transition: transform 0.3s ease;
	font-family: "Font Awesome 5 Free"; /* Or "Font Awesome 6 Pro", depending on your version */
    font-weight: 900; /* Use 400 for regular, 900 for solid */
    margin-left: 5px; /* Add some spacing */
}


.main-navigation ul li.open > a::after {

	content: "\f077"; /* ? */
	margin-left: 8px;
	transition: transform 0.3s ease;
	font-family: "Font Awesome 5 Free"; /* Or "Font Awesome 6 Pro", depending on your version */
    font-weight: 900; /* Use 400 for regular, 900 for solid */
    margin-left: 5px; /* Add some spacing */
}

.main-navigation ul li.open > ul.sub-menu li {
    padding: 0 0;
}



