/* Local Fonts */
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300 700;
    font-display: block;
    src: url('../fonts/jost-var.woff2') format('woff2');
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400 600;
    font-display: block;
    src: url('../fonts/oswald-var.woff2') format('woff2');
}

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

html {
    overflow-y: scroll; /* Prevent layout shift from scrollbar appearing/disappearing */
}

body {
    font-family: 'Jost', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
    margin-right: 30px;
}

.nav-links a {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #555;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #000;
}

/* Hamburger menu - hidden on desktop */
.hamburger {
    display: none;
}

.donate-btn {
    background: #5B7BA5;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.donate-btn:hover {
    background: #4A6A94;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), 
                url('../images/hero-bg-hires.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    padding: 0 40px;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    color: white;
    text-align: center;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 8px;
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Feature Tiles */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-tile {
    height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.feature-overlay.pink { background: rgba(80, 80, 90, 0.5); }
.feature-overlay.blue { background: rgba(40, 60, 150, 0.7); }
.feature-overlay.green { background: rgba(60, 160, 130, 0.6); }
.feature-overlay.purple { background: rgba(140, 100, 180, 0.65); }

.feature-tile:hover .feature-overlay {
    opacity: 0.8;
}

.feature-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.feature-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: normal;
    margin-bottom: 10px;
}

.feature-content .arrow {
    font-size: 1.5rem;
    display: block;
    transition: transform 0.3s;
}

.feature-tile:hover .arrow {
    transform: translateX(10px);
}

/* Footer */
.footer {
    padding: 60px 20px;
    background: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icon {
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 5px;
    }
    
    .hamburger span {
        width: 25px;
        height: 2px;
        background: #333;
        transition: 0.3s;
    }
    
    .nav-links,
    .nav .donate-btn {
        display: none;
        width: 100%;
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .nav.mobile-open .nav-links,
    .nav.mobile-open .donate-btn {
        display: flex;
    }
    
    .nav.mobile-open .nav-links {
        order: 3;
    }
    
    .nav.mobile-open .donate-btn {
        order: 4;
        margin-top: 10px;
    }
    
    .hero {
        margin-top: 70px;
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .feature-tile {
        height: 300px;
    }
    
    /* Forms single column on mobile */
    .contact-form {
        grid-template-columns: 1fr !important;
    }
}

/* About Page Styles */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin-top: 60px;
    padding: 80px 60px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
}

.page-hero h1 {
    font-family: 'Jost', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
}

.page-hero p {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Section Styles */
.section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-family: 'Jost', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #333;
}

/* Board Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.board-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* History Section */
.history-section {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url('../images/history-bg.jpg') center/cover no-repeat;
    padding: 80px 40px;
    color: white;
}

.history-section h2 {
    font-family: 'Jost', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.history-section p {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 40px 0 40px;
    gap: 0;
    background: white;
}

.location-card {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.location-card.maui::before { background: rgba(255, 165, 0, 0.25); }
.location-card.utah::before { background: rgba(180, 150, 220, 0.2); }

.location-card h3 {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.location-info {
    padding: 40px;
}

.location-info h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.location-info p {
    line-height: 1.8;
    color: #555;
}

/* Forms */
.form-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('../images/form_bg.jpg') center/cover no-repeat;
    padding: 80px 40px;
}

.form-section h2 {
    color: white;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 15px;
    border: none;
    background: rgba(255,255,255,0.85);
    font-family: inherit;
    font-size: 16px;
    color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    grid-column: 1 / -1;
    padding: 15px 40px;
    background: white;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    max-width: 200px;
    margin: 0 auto;
}

.contact-form button:hover {
    background: #f0f0f0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* FAQ Styles */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.faq-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    line-height: 1.8;
    color: #555;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Locations Page Hero */
.locations-hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    padding: 60px 40px;
    background: url('../images/psi-map.jpg') center/cover no-repeat;
}

.locations-hero-content {
    text-align: center;
}

.locations-hero h1 {
    font-family: 'Jost', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #666;
}
