/* UpliftEarth.org - Global Styles */
/* Heart-Led Movement & New Earth Culture */

/* ========================================
   CSS VARIABLES - EASY CUSTOMIZATION
   ======================================== */
:root {
    /* Color Palette - Modify these to change colors globally */
    --primary-gold: #D4AF37;
    --primary-green: #318f9A;
    --primary-blue: #5D8AA8;
    --light-gold: #F5E6A3;
    --light-green: #A8D5BA;
    --light-blue: #B8D4E3;
    --cream: #FDF8F0;
    --warm-white: #FEFCF8;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    
    /* Typography */
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Inter', Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Shadows */
    --shadow-soft: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 15px rgba(0,0,0,0.15);
    --shadow-elevated: 0 8px 25px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 30px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--warm-white);
    font-size: 16px;
}

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3rem;
    color: var(--cream);
}

h2 {
    font-size: 2rem;
    color: var(--primary-green);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-gold);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--cream) 100%);
    padding: 20px 0;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-gold);
    text-decoration: none;
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
    color: var(--primary-gold);
}

.nav {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-normal);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-green);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width var(--transition-normal);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: var(--transition-normal);
}

/* ========================================
   HERO SECTION (Home Page)
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 50%, var(--light-blue) 100%);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ========================================
   PAGE HEADER (Other Pages)
   ======================================== */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Page-specific header backgrounds */
.page-header.about-header {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
}

.page-header.contact-header {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
}

.page-header.legal-header {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    color: var(--text-dark);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-normal);
    cursor: pointer;
    margin: 10px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
    color: var(--text-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--cream);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
}

.btn:active {
    transform: translateY(-1px);
}

/* ========================================
   MISSION SECTION (Home Page)
   ======================================== */
.mission {
    padding: 80px 0;
    background: var(--warm-white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
    font-style: italic;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform var(--transition-normal);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-elevated);
}

.mission-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.mission-card h3 {
    margin-bottom: 15px;
}

.mission-card p {
    line-height: 1.6;
}

.quote {
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 60px;
}

.quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ========================================
   CONTENT SECTIONS (About Page)
   ======================================== */
.content {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-section h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content li {
    margin-bottom: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.value-card h3 {
    margin-bottom: 10px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
}

.contact-item a {
    color: var(--text-dark);
    transition: color var(--transition-normal);
}

.contact-item a:hover {
    color: var(--primary-green);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-form h2 {
    margin-bottom: 30px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-green);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

.form-group select {
    cursor: pointer;
    background: white;
}

.contact-form .btn {
    width: 100%;
    margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary-green);
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-nav a:hover {
    color: var(--light-gold);
}

.footer p {
    margin-bottom: 10px;
    color: white;
}

.footer i {
    color: var(--primary-gold);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--warm-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-soft);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Page Header */
    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Grids */
    .mission-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Sections */
    .mission,
    .content,
    .contact-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Footer */
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .mission-card,
    .value-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .btn {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero,
    .page-header {
        background: white !important;
        padding: 20px 0;
    }
}