/* 
   The Giving Tree Vocational Ministry
   Main Stylesheet
   Created: May 2025
*/

/* ===== GLOBAL STYLES ===== */
:root {
    --primary-green: #1e5631;
    --light-green: #2e7d32;
    --gold: #d4af37;
    --light-gold: #f5d76e;
    --dark-text: #333333;
    --light-text: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #e9ecef;
}

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

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--background-light);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

/* ===== HEADER ===== */
header {
    background-color: var(--primary-green);
    color: var(--light-text);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 1rem;
}

.logo-text {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 0;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--light-gold);
}

/* ===== NAVIGATION ===== */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--light-gold);
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(30, 86, 49, 0.8), rgba(30, 86, 49, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 5rem 0;
}

.hero h1 {
    font-size: 3rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--dark-text);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background-color: var(--light-gold);
    border-color: var(--light-gold);
    text-decoration: none;
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 25%;
    bottom: 0;
    width: 50%;
    height: 3px;
    background-color: var(--gold);
}

/* ===== FEATURES ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-green);
    color: var(--light-text);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: var(--light-gold);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--light-gold);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--light-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--light-green);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

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

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 1rem;
        justify-content: center;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-green);
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    nav.active ul {
        flex-direction: column;
    }
    
    nav.active ul li {
        margin: 0.5rem 1.5rem;
    }
}

/* ===== ABOUT PAGE ===== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
    }
}

/* ===== HOW IT WORKS PAGE ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    counter-reset: step-counter;
}

.process-step {
    position: relative;
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 2rem;
    padding-left: 4rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.process-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--gold);
    color: var(--dark-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.25rem;
}

/* ===== DEMO PAGE ===== */
.demo-container {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.demo-tabs {
    display: flex;
    border-bottom: 2px solid var(--background-dark);
    margin-bottom: 2rem;
}

.demo-tab {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.demo-tab.active {
    border-bottom-color: var(--gold);
    color: var(--primary-green);
}

.demo-content {
    display: none;
}

.demo-content.active {
    display: block;
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--primary-green);
    color: var(--light-text);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--light-gold);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    margin-right: 1rem;
    font-size: 1.25rem;
    color: var(--light-gold);
}

.contact-form {
    background-color: var(--light-text);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}
