/* ==========================================
   DESIGN SYSTEM - LOUNAPESA
   Style: Cozy, Warm Nordic Healthcare
   Colors: Sage Green, Warm Clay, Soft Cream
   ========================================== */

:root {
    --primary: #556B2F;        /* Dark Sage Green */
    --primary-light: #8FBC8F;  /* Light Sage Green */
    --accent: #CD853F;         /* Peru / Warm Clay */
    --bg-cream: #FFFDD0;       /* Rich Cream */
    --bg-white: #FFFFFF;
    --text-dark: #2F4F4F;      /* Dark Slate Gray */
    --text-muted: #696969;
    --border-color: #E2E8F0;
    
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--primary);
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-cream);
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-cream);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Header & Sticky Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 253, 208, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(85, 107, 47, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(85, 107, 47, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.2rem 0;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    background: linear-gradient(180deg, rgba(143,188,143,0.1) 0%, rgba(255,253,208,0) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    box-shadow: 0 20px 40px rgba(85, 107, 47, 0.15);
    border: 8px solid var(--bg-white);
    transform: rotate(1deg);
    transition: var(--transition);
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* About Us Section */
.about {
    background-color: var(--bg-white);
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -10px 30px rgba(85, 107, 47, 0.03);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-img {
    border: 8px solid var(--bg-cream);
    box-shadow: 0 15px 30px rgba(85, 107, 47, 0.1);
}

.mission-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.point-card {
    background-color: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.point-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.5rem;
}

.point-card h4 {
    margin-bottom: 0.5rem;
}

.point-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.why-exist {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    background-color: rgba(143,188,143,0.1);
    padding: 3rem;
    border-radius: 24px;
}

.why-img {
    border: 6px solid var(--bg-white);
    box-shadow: 0 10px 20px rgba(85, 107, 47, 0.08);
}

/* Services / Involvement Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(85, 107, 47, 0.05);
    border: 1px solid rgba(85, 107, 47, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(85, 107, 47, 0.1);
}

.service-image img {
    border-radius: 20px 20px 0 0;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-info {
    padding: 2rem;
}

.service-info h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-info p {
    margin-bottom: 0;
}

/* Volunteer Card Highlight */
.volunteer-card {
    background: linear-gradient(135deg, var(--primary) 0%, #3a4b20 100%);
    color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.volunteer-card h3 {
    color: var(--bg-cream);
}

.highlight-info p {
    color: rgba(255, 253, 208, 0.8);
}

.card-badge {
    background-color: var(--accent);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.donation-details {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: rgba(255, 253, 208, 0.1);
    border-radius: 8px;
    border: 1px dashed rgba(255, 253, 208, 0.3);
}

.bank-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent) !important;
}

.bank-iban {
    font-family: monospace;
    font-size: 1rem;
    margin-top: 0.25rem;
    color: var(--bg-cream) !important;
}

/* Footer styling */
.site-footer {
    background-color: #2F4F4F;
    color: #E2E8F0;
    padding: 5rem 0 2rem 0;
    border-radius: 40px 40px 0 0;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: var(--bg-cream);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-col p {
    color: #CBD5E1;
    margin-bottom: 1rem;
}

.contact-col strong {
    color: var(--bg-cream);
}

/* PROMINENT EMAIL STYLE - Required 1.4x size and standout styling */
.email-block {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(255, 253, 208, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 253, 208, 0.1);
    display: inline-block;
    width: 100%;
}

.email-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.prominent-email {
    display: inline-block;
    color: var(--bg-cream);
    font-size: 1.4rem; /* 1.4x larger */
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    word-break: break-all;
}

.prominent-email:hover {
    color: var(--primary-light);
    text-decoration: underline;
    transform: scale(1.02);
}

.tax-info {
    margin-top: 1rem;
}

.ein {
    font-size: 1.1rem;
}

.status-badge {
    display: inline-block;
    background-color: rgba(205, 133, 63, 0.2);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.policy-links {
    list-style: none;
}

.policy-links li {
    margin-bottom: 0.75rem;
}

.policy-links a {
    color: #CBD5E1;
    text-decoration: none;
    transition: var(--transition);
}

.policy-links a:hover {
    color: var(--bg-cream);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 253, 208, 0.1);
    padding-top: 2rem;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #94A3B8;
}

.scroll-to-top {
    background-color: var(--accent);
    color: var(--bg-white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.scroll-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* Modals & Overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 79, 79, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    max-width: 550px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

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

.success-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.email-confirm-highlight {
    background-color: var(--bg-cream);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(85, 107, 47, 0.1);
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-cream);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.1);
}

.submit-btn {
    width: 100%;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Legal Modals */
.legal-modal-content {
    max-width: 700px;
}

.legal-scrollable {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1.5rem;
    padding-right: 1rem;
    text-align: left;
}

.legal-scrollable h3 {
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.legal-scrollable::-webkit-scrollbar {
    width: 6px;
}

.legal-scrollable::-webkit-scrollbar-track {
    background: #F1F5F9;
}

.legal-scrollable::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

/* Mobile Menu Modal Specific */
.mobile-menu-content {
    background-color: var(--bg-white);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    width: 80%;
}

.mobile-link {
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--accent);
}

.mobile-cta {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    margin-top: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-exist {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .main-header {
        padding: 0.5rem 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .btn-donate {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .mission-points {
        grid-template-columns: 1fr;
    }
}
