/* styles.css */
/* Main styling for CashAppreciated landing page */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base Styles */
:root{
    --primary-color: #8B5CF6;
    --primary-color-hover:  #7c4df3;
    --secondary-color: #10B981;
    --accent-color: #FBBF24; 
    --dark-color: #1F2937;
    --light-color: #F3F4F6;
    --text-color: #4B5563;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

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

section{
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover{
    background-color:var(--primary-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary{
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover{
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-option{
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-option:hover{
    background-color: var(--primary-color-hover);
    transform: translateY(-3px);
}

/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 70px; /* Fixed height */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 30px; /* Add spacing between logo and nav items */
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 100%;
}

.nav-links li {
    margin: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0 5px;
    height: 100%;
    display: flex;
    align-items: center;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}


/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

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

/* Hero Section */
.hero {
    
    padding-top: 1000px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
}

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

.hero-content {
    padding-top: 150px;
    width: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.hero .tagline {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    padding-top: 150px;
    width: 45%;
}

.hero-image img {
    
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* About Section */
.about {
    background-color: var(--white);
}

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

.about-text {
    width: 50%;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    width: 45%;
}

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

/* Why Donate Section */
.why-donate {
    background-color: #f9fafb;
}

.reasons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reason-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reason-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Donation Options Section */
.donation-options {
    background-color: var(--white);
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.option-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.option-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.featured-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.option-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.option-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.option-features {
    margin-bottom: 30px;
    text-align: left;
}

.option-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.option-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Buy Me A Coffee Widget */
.buy-me-coffee {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 10px;
}

.buy-me-coffee h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.buy-me-coffee p {
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    background-color: #f9fafb;
}

.section-subtitle {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 40px;
    font-style: italic;
    color: #6b7280;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
}

.testimonial-content:before {
    content: "";
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: #e5e7eb;
    z-index: -1;
}

.testimonial-author {
    margin-top: 20px;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.author-title {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding-top: 80px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    filter: brightness(0) invert(1); 
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

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

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

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-links i {
    font-size: 1.2rem;
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #374151;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container, .about-content {
        flex-direction: column;
    }
    
    .hero-content, .about-text, .about-image {
        width: 100%;
    }
    .hero-image {
    width: 45%;
    }

    .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .about-text {
        margin-bottom: 40px;
    }
    
    .option-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
    }
    
    .navbar .container {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
}