/* Sikh Temple Fund - Main Styles */

:root {
    --saffron: #FF9933;
    --navy-blue: #000080;
    --white: #FFFFFF;
    --golden: #FFD700;
    --deep-blue: #003366;
    --light-saffron: #FFB366;
    --light-gray: #F8F9FA;
    --dark-gray: #333333;
    --success-green: #28A745;
    --warning-orange: #FFA500;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Navigation */
.sikh-nav {
    background: linear-gradient(135deg, var(--navy-blue), var(--deep-blue));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white) !important;
}

.golden-text {
    color: var(--golden) !important;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--saffron);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 128, 0.7), rgba(0, 51, 102, 0.8)),
                url('https://pixabay.com/get/g29729667a71d1c61b3440cb4d6ddb790489bee532e3ad1e3f07e033fd6c1e3ee1d2152ab8d9af8dcf2b9f9d952a2ff3e0a6983797e60d8ea1a82692942ea6dfa_1280.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.8), rgba(255, 153, 51, 0.6));
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--navy-blue), var(--deep-blue));
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--saffron), var(--light-saffron));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--light-saffron), var(--saffron));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--saffron);
    color: var(--saffron);
    background: transparent;
}

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

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

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

.btn-outline-secondary:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--saffron), var(--golden));
    border-radius: 2px;
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
}

.mission-card {
    padding: 2rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 153, 51, 0.1);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--saffron), var(--golden));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

/* Featured Gurudwaras */
.featured-section {
    padding: 5rem 0;
}

.gurudwara-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 153, 51, 0.1);
}

.gurudwara-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gurudwara-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-content h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.location {
    color: var(--saffron);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--navy-blue), var(--deep-blue));
    color: var(--white);
    padding: 5rem 0;
}

.impact-stat {
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--saffron), var(--light-saffron));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
}

.footer-title {
    color: var(--golden);
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: var(--saffron);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--saffron);
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--navy-blue);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--saffron);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Form Styles */
.form-control {
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--saffron);
    box-shadow: 0 0 0 0.2rem rgba(255, 153, 51, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.form-select {
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--saffron);
    box-shadow: 0 0 0 0.2rem rgba(255, 153, 51, 0.25);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-saffron {
    color: var(--saffron) !important;
}

.text-navy {
    color: var(--navy-blue) !important;
}

.bg-saffron {
    background-color: var(--saffron) !important;
}

.bg-navy {
    background-color: var(--navy-blue) !important;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

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

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--saffron);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-section {
        background: var(--navy-blue);
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
