/* 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 */
}

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

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

.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;
    color: var(--dark-color);
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* Mobile Menu Overlay (mobile-only element) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 1100;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-menu-content {
    width: 90%;
    max-width: 400px;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-color);
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    display: block;
    padding: 10px 0;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

/* Mobile-only Quick Donate Section */
.mobile-quick-donate {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 10px;
    display: none;
}

.mobile-quick-donate h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.mobile-donate-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-mobile-donate {
    background-color: var(--primary-color);
    color: var(--white);
    flex: 1;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 12px 5px;
}

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

/* Mobile-only Section */
.mobile-only-section {
    display: none;
    background-color: #f0f4fd;
    padding: 50px 0;
}

.mobile-tips {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-tip {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.mobile-tip i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.mobile-tip p {
    font-size: 1rem;
    color: var(--dark-color);
}

.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;
    display: flex;
    align-items: flex-start;
}

.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;
}

/* Money Duck Mascot Styles */
.mascot-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.mascot-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.money-duck-mascot {
    width: 150px;
    height: 120px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Duck Animations */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes headBob {
    0% { transform: rotate(-2deg) translateY(0); }
    25% { transform: rotate(0deg) translateY(-2px); }
    50% { transform: rotate(2deg) translateY(0); }
    75% { transform: rotate(0deg) translateY(2px); }
    100% { transform: rotate(-2deg) translateY(0); }
}

@keyframes wingFlap {
    0% { transform: rotate(0deg) scaleY(1); }
    50% { transform: rotate(-2deg) scaleY(0.97); }
    100% { transform: rotate(0deg) scaleY(1); }
}

.money-duck-mascot {
    animation: float 4s ease-in-out infinite;
}

.duck-head {
    animation: headBob 3s ease-in-out infinite;
    transform-origin: center bottom;
}

.duck-bill {
    /* Removed separate bill animation since bill is now part of head group */
    transform-origin: left center;
}

.duck-wing {
    animation: wingFlap 2s ease-in-out infinite;
    transform-origin: top center;
}

/* Mascot Message Bubble */
.mascot-message {
    position: absolute;
    bottom: 100%;
    left: 0;
    background-color: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 200px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    margin-bottom: 10px;
}

.mascot-message:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 20px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--white) transparent transparent;
}

.mascot-message.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mascot-message p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.mascot-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    transition: var(--transition);
}

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

/* Responsive Design Media Queries */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero .container, .about-content {
        flex-direction: column;
    }
    
    .hero-content, .hero-image, .about-text, .about-image {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-text {
        margin-bottom: 40px;
    }
    
    .option-card.featured {
        transform: scale(1.02);
    }
    
    .mascot-container {
        bottom: 20px;
        left: 20px;
    }
    
    .money-duck-mascot {
        width: 100px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 15px 0;
    }
    
    .navbar .container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-quick-donate {
        display: block;
    }
    
    .mobile-only-section {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .options-container {
        grid-template-columns: 1fr;
    }

    .option-card.featured {
    transform: scale(1);
    order: -1; 
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .mascot-container {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .option-card {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .mascot-container {
        bottom: 15px;
        left: 15px;
    }
    
    .money-duck-mascot {
        width: 70px;
        height: 70px;
    }
    
    .mascot-message {
        width: 180px;
        font-size: 0.8rem;
    }
}

/* BMC Widget Styles */
.bmc-btn {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.bmc-btn:hover {
    transform: scale(0.9);
}