/* Custom Fonts */
@font-face {
    font-family: 'LemonMilk';
    src: url('fonts/lemonmilk-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TasaExplorer';
    src: url('fonts/tasaexplorer-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TasaExplorer', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #5fbbc1;
    color: #1f1d5c;
    padding: 30px 0;
    text-align: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.header-text {
    text-align: left;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-text {
        text-align: center;
        display: none;
    }
    
    .logo {
        max-height: 90px;
    }
}

header h1 {
    font-family: 'LemonMilk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.tagline {
    font-family: 'TasaExplorer', serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Navigation */
nav {
    background-color: #1f1d5c;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 35px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 1001;
    outline: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 0;
    transition: all 0.3s ease;
    display: block;
    border-radius: 1px;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-family: 'TasaExplorer', serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #5fbbc1;
    color: #1f1d5c;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(45, 46, 131, 0.2), rgba(31, 29, 92, 0.4)), url('images/dinahsykes_hero_large.jpg');
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
    text-align: left;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
}

#hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 40%;
    padding-left: 40px;
    padding-right: 20px;
}

#hero h2 {
    font-family: 'LemonMilk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text {
    font-family: 'TasaExplorer', serif;
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-family: 'TasaExplorer', serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #e55555;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

/* Sections */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: #f8f9fa;
}

section h2 {
    font-family: 'LemonMilk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    margin-bottom: 25px;
    color: #2d2e83;
    text-align: center;
}

section p {
    font-family: 'TasaExplorer', serif;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Meet Section */
.meet-content {
    max-width: 900px;
    margin: 0 auto;
}

.meet-text-and-image {
    margin-bottom: 40px;
}

.meet-text {
    text-align: left;
}

.meet-image {
    float: right;
    margin: 0 0 20px 30px;
    max-width: 300px;
}

.family-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    object-fit: cover;
}

.meet-content h3 {
    font-family: 'LemonMilk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #2d2e83;
}

.priorities {
    list-style: none;
    margin-top: 20px;
}

.priorities li {
    font-family: 'TasaExplorer', serif;
    background-color: white;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #2d2e83;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.priorities strong {
    color: #2d2e83;
}

/* Donate Section */
#donate {
    background-color: #fff;
}

.donate-text {
    font-family: 'TasaExplorer', serif;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.donate-container {
    text-align: center;
    padding: 40px 20px;
    background-color: #a3d5db;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.donate-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 20px 50px;
    text-decoration: none;
    font-family: 'TasaExplorer', serif;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.donate-button:hover {
    background-color: #e55555;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

.donate-note {
    font-family: 'TasaExplorer', serif;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Endorsements Section */
#endorsements {
    background-color: #f8f9fa;
}

.endorsements-list {
    list-style: none;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.endorsement {
    font-family: 'TasaExplorer', serif;
    background-color: white;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #5fbbc1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 1.1rem;
}

.endorsement strong {
    color: #2d2e83;
    font-weight: 600;
}

/* Contact Section */
#contact {
    background-color: #f8f9fa;
}

#contact p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
}

.contact-info {
    font-family: 'TasaExplorer', serif;
    text-align: center;
    margin: 30px 0;
    font-size: 1.2rem;
}

.contact-info a {
    color: #2d2e83;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Social Media */
.social-media {
    text-align: center;
    margin: 40px 0;
}

.social-media h3 {
    font-family: 'LemonMilk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #2d2e83;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    border-radius: 10px;
    background-color: #2d2e83;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.social-link i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.social-link span {
    font-family: 'TasaExplorer', serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.social-link.facebook i {
    color: #1877F2;
}

.social-link.instagram i {
    background: linear-gradient(45deg, #F56040, #E1306C, #C13584, #833AB4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-link.twitter i {
    color: #ffffff;
}

/* Responsive adjustments for meet section */
@media (max-width: 768px) {
    .meet-text-and-image {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }
    
    .family-photo {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .meet-text-and-image {
        gap: 20px;
    }
    
    .meet-text {
        text-align: left;
    }
    
    .meet-image {
        text-align: center;
    }
    
    .family-photo {
        max-width: 200px;
    }
}

/* Responsive adjustments for social media */
@media (max-width: 768px) {
    .social-links {
        gap: 20px;
    }
    
    .social-link {
        min-width: 100px;
        padding: 15px;
    }
    
    .social-link i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .social-link {
        flex-direction: row;
        min-width: 200px;
        justify-content: center;
        gap: 15px;
    }
    
    .social-link i {
        margin-bottom: 0;
        font-size: 1.8rem;
    }
}

.volunteer-text {
    font-family: 'TasaExplorer', serif;
    text-align: center;
    max-width: 800px;
    margin: 20px auto 0;
    font-style: italic;
}

/* Footer */
footer {
    background-color: #1f1d5c;
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    font-family: 'TasaExplorer', serif;
    margin-bottom: 5px;
}

.disclaimer {
    font-family: 'TasaExplorer', serif;
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Design */

/* Tablet */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .logo {
        max-height: 90px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-family: 'TasaExplorer', serif;
        font-size: 1rem;
    }
    
    #hero {
        background-position: 65% center;
        align-items: center;
    }
    
    .hero-content {
        max-width: 50%;
        padding-left: 30px;
    }
    
    #hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    nav a {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .hamburger {
        display: none;
    }
    
    section {
        padding: 40px 0;
    }
    
    section h2 {
        font-size: 1.7rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .donate-button {
        padding: 18px 40px;
        font-size: 1.2rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .logo {
        max-height: 100px
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .header-text h1 {
        display: none;
    }

    .tagline {
        font-family: 'TasaExplorer', serif;
        font-size: 0.9rem;
        display: none;
    }
    
    #hero {
        padding: 50px 0 0 0;
        text-align: center;
        background-position: 70% center;
        align-items: flex-end;
        min-height: 400px;
    }
    
    .hero-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 40px;
        text-align: center;
    }
    
    #hero h2 {
        font-size: 1.1rem;
        color: #5fbbc1;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        margin-bottom: 20px;
    }
    
    .hero-text {
        display: none;
    }
    
    section {
        padding: 30px 0;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    section p {
        font-size: 1rem;
        text-align: left;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .donate-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .priorities li {
        padding: 15px;
    }
}

/* Mobile Navigation - specifically for mobile devices */
@media (max-width: 600px) {
    .hamburger {
        display: flex !important;
        margin-left: auto;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 3px 0;
        transition: 0.3s;
        display: block;
        border-radius: 1px;
    }
    
    nav .nav-menu {
        display: none !important;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1f1d5c;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    nav .nav-menu.active {
        display: flex !important;
    }
    
    nav .nav-menu a {
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1rem;
        color: white;
        text-decoration: none;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
