/* Theme Colors */
:root {
    --primary-color: #C8A97E;
    --secondary-color: #1A1A1A;
    --accent-color: #E6B980;
    --text-color: #FFFFFF;
    --text-muted: #A0A0A0;
    --background-dark: #121212;
    --background-darker: #0A0A0A;
    --card-background: rgba(30, 30, 30, 0.9);
    --border-color: rgba(42, 42, 42, 0.5);
}

/* Base Styles */
body.dark-theme {
    background-color: var(--background-dark);
    color: var(--text-color);
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #c9a227 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
    font-weight: 500 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('../images/youtube banner2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    width: 100%;
    max-width: 100%;
}

.hero-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 2rem auto;
    animation: scaleIn 1.5s ease both;
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 10px !important;
    object-fit: contain !important;
    border: 2px solid #c9a227;
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.3);
    display: block !important;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f1d583; /* Brighter gold color for better contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for better readability */
    letter-spacing: 0.1em;
    animation: fadeInDown 1.5s ease 0.5s both;
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease 1s both;
}

@media (max-width: 991px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .main-content {
        padding-top: 90px;
        width: 100%;
        overflow-x: hidden;
    }

    .hero-section {
        min-height: calc(100vh - 90px);
        width: 100vw;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero-content {
        padding: 2rem 1rem;
        width: 100%;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: 80px;
    }

    .hero-section {
        min-height: calc(100vh - 80px);
    }

    .hero-content {
        padding: 1.5rem 0.8rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 1.2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 0.05em;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mission Section */
.mission-section {
    padding: 4rem 0;
    background-color: #121212;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.mission-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Services Section Styling */
.card {
    background: rgba(40, 40, 40, 0.85) !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 2rem !important;
}

.card-body {
    padding: 2rem !important;
}

.card-body h3, .card-body h5 {
    color: #c9a227 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 1rem !important;
}

.card-body p, .card-body li {
    color: #e0e0e0 !important;
    line-height: 1.6 !important;
}

.list-unstyled li {
    padding: 0.3rem 0 !important;
    font-size: 1rem !important;
}

.row {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
}

.row .col-md-4 {
    margin-bottom: 1.5rem;
    display: flex !important;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem !important;
    }
}

/* Projects and Services Section */
.projects-section, .services-section {
    padding: 3rem;
    margin: 0 auto;
    max-width: 1200px;
}

.projects-section .row, .services-section .row {
    justify-content: center;
    gap: 2rem;
    margin: 0;
}

.projects-section .col-md-4, .services-section .col-md-4 {
    padding: 0;
    margin-bottom: 2rem;
    flex: 0 0 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
}

.projects-section .card, .services-section .card {
    height: 100%;
    background-color: rgba(30, 30, 30, 0.9);
    border: none;
    border-radius: 12px;
}

.projects-section .card-body, .services-section .card-body {
    padding: 2rem;
}

.projects-section .card-title, .services-section .card-title {
    color: #c9a227;
    margin-bottom: 1rem;
}

.projects-section .card-text, .services-section .card-text {
    color: #d4d4d4;
    margin-bottom: 1.5rem;
}

.projects-section .list-unstyled, .services-section .list-unstyled {
    margin-bottom: 2rem;
}

.projects-section .list-unstyled li, .services-section .list-unstyled li {
    color: #d4d4d4;
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .projects-section .col-md-4, .services-section .col-md-4 {
        flex: 0 0 calc(50% - 2rem);
        max-width: calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .projects-section, .services-section {
        padding: 2rem 1rem;
    }
    .projects-section .col-md-4, .services-section .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: url('../images/cta-bg.jpg') center/cover fixed;
    position: relative;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

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

/* Connect Section */
.connect-section {
    padding: 100px 0;
    background-color: var(--background-darker);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--card-background);
    border-radius: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Payment Button Styling */
.paypal-button-container, .clearpay-button-container, .klarna-button-container {
    width: 100% !important;
    margin: 1rem 0 !important;
    display: block !important;
}

.clearpay-btn, .klarna-btn {
    width: 100% !important;
    height: 55px !important;
    border: 2px solid #f1d583 !important;
    border-radius: 8px !important;
    background: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    margin: 0.5rem 0 !important;
}

.clearpay-btn:hover, .klarna-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(241, 213, 131, 0.3) !important;
    border-color: #c9a227 !important;
}

.clearpay-badge, .klarna-logo {
    height: 35px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

#paypal-button-container {
    min-height: 55px !important;
}

.donation-amount-selector {
    margin-bottom: 2rem !important;
}

.amount-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
}

.amount-option {
    flex: 1 !important;
    min-width: 80px !important;
    padding: 0.75rem !important;
    border: 2px solid #f1d583 !important;
    background: white !important;
    color: #2c3e50 !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.amount-option:hover, .amount-option.active {
    background: #f1d583 !important;
    color: #2c3e50 !important;
    transform: translateY(-2px) !important;
}

.social-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Professional Footer and Link Styling */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%) !important;
    border-top: 1px solid rgba(201, 162, 39, 0.2) !important;
    padding: 2rem 0 !important;
}

footer a {
    color: #c9a227 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

footer a:hover {
    color: #f1d583 !important;
    text-decoration: none !important;
    transform: translateX(3px) !important;
}

footer .text-muted {
    color: #888 !important;
}

footer h5, footer h6 {
    color: #c9a227 !important;
    text-shadow: none !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

footer p {
    color: #ccc !important;
    line-height: 1.6 !important;
}

/* Logo Fixes - Remove white circle background */
.navbar-brand img, .hero-logo, footer img {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 5px !important;
}

.navbar-brand img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
}

footer img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    margin-right: 10px !important;
}

/* Contact Form Styling */
.contact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%) !important;
    padding: 4rem 0 !important;
}

.contact-section .card {
    background: rgba(40, 40, 40, 0.9) !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    border-radius: 15px !important;
    backdrop-filter: blur(10px) !important;
}

.contact-section .form-control {
    background: rgba(50, 50, 50, 0.8) !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    color: #fff !important;
    border-radius: 8px !important;
}

.contact-section .form-control:focus {
    border-color: #c9a227 !important;
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25) !important;
    background: rgba(60, 60, 60, 0.9) !important;
}

/* Donate Page Professional Styling */
.donate-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%) !important;
    padding: 4rem 0 !important;
    min-height: 100vh !important;
}

.donation-container {
    max-width: 600px !important;
    margin: 0 auto !important;
    background: rgba(40, 40, 40, 0.9) !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    border-radius: 20px !important;
    padding: 3rem !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.donation-title {
    color: #c9a227 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    font-size: 2.5rem !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
}

.payment-methods {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

.impact-section {
    background: rgba(30, 30, 30, 0.8) !important;
    border: 1px solid rgba(201, 162, 39, 0.2) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    margin: 2rem 0 !important;
}

.impact-section h3 {
    color: #c9a227 !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
}

.impact-item {
    text-align: center !important;
    padding: 1rem !important;
}

.impact-item i {
    font-size: 2.5rem !important;
    color: #c9a227 !important;
    margin-bottom: 1rem !important;
}

.impact-item h5 {
    color: #c9a227 !important;
    margin-bottom: 0.5rem !important;
}

.impact-item p {
    color: #ccc !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

/* Other Ways to Help Section */
.help-section {
    background: rgba(30, 30, 30, 0.8) !important;
    border: 1px solid rgba(201, 162, 39, 0.2) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    margin: 2rem 0 !important;
}

.help-section h3 {
    color: #c9a227 !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
}

.help-option {
    text-align: center !important;
    padding: 1rem !important;
}

.help-option i {
    font-size: 2rem !important;
    color: #c9a227 !important;
    margin-bottom: 1rem !important;
}

.help-option h6 {
    color: #c9a227 !important;
    margin-bottom: 0.5rem !important;
}

.help-option p {
    color: #ccc !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

.btn-outline-primary {
    border-color: #c9a227 !important;
    color: #c9a227 !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: #c9a227 !important;
    border-color: #c9a227 !important;
    color: #1a1a1a !important;
    transform: translateY(-2px) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .main-content {
        padding-top: 90px;
    }

    .hero-section {
        padding: 0;
        margin: 0;
        min-height: calc(100vh - 90px);
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-section h1 {
        margin-bottom: 1rem;
    }
}