/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.donate-button {
    background-color: #3498db;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease !important;
}

.donate-button:hover {
    background-color: #2980b9;
    color: white !important;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1438032005730-c779502df39b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Sections */
.section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Event Cards */
.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.event-card {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.event-date {
    background: #3498db;
    color: white;
    padding: 1rem;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: bold;
}

.event-details {
    padding: 1.5rem;
    flex-grow: 1;
}

.event-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.event-link {
    display: inline-block;
    margin-top: 1rem;
    color: #3498db;
    text-decoration: none;
}

.event-link:hover {
    text-decoration: underline;
}

/* About Section */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-content p {
    font-size: 1.1rem;
    color: #666;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Add the new phone-numbers styles here */
.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 0 auto;
    width: fit-content;
}

.phone-numbers p {
    margin: 0;
    text-align: left;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

.menu-toggle.active i {
    transform: rotate(90deg);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    header {
        position: relative;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }
    
    nav {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .nav-links {
        display: none; /* Hide by default on mobile */
        flex-direction: column;
        text-align: center;
        gap: 0;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex; /* Show when active class is added */
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .donate-button {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    /* Show hamburger menu on mobile */
    .menu-toggle {
        display: block;
    }
    
    /* Adjust logo for mobile */
    .logo {
        padding: 1rem 0;
        text-align: center;
        width: 100%;
    }
    
    /* Adjust hero section for mobile */
    #hero {
        padding-top: 80px;
    }
    
    .donation-section {
        padding-top: 80px;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .service-cards, .event-cards, .contact-info {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        min-width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 0.8rem;
    }

    .event-date .month, .event-date .day {
        font-size: 1.2rem;
    }

    .donation-section {
        padding-top: 100px;
    }

    .donation-card {
        padding: 1.5rem;
    }

    .upi-code {
        font-size: 1.2rem;
        padding: 0.8rem;
    }

    .upi-instructions {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .card, .contact-card {
        padding: 1.5rem;
    }

    .donation-content p {
        font-size: 1rem;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    #hero {
        height: -webkit-fill-available;
    }
}

/* Donation Section Styles */
.donation-section {
    padding-top: 120px;
}

.donation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.donation-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.donation-options {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.donation-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.amount-buttons button {
    padding: 1rem;
    font-size: 1.1rem;
    background-color: #f8f9fa;
    border: 2px solid #3498db;
    border-radius: 5px;
    color: #3498db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-buttons button:hover {
    background-color: #3498db;
    color: white;
}

.custom-amount {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.custom-amount input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.custom-amount button {
    padding: 0.8rem 1.5rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-amount button:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .amount-buttons {
        grid-template-columns: 1fr;
    }
    
    .custom-amount {
        flex-direction: column;
    }
    
    .custom-amount button {
        width: 100%;
    }
}

/* UPI Payment Styles */
.upi-details {
    text-align: center;
    padding: 1rem;
}

.upi-id {
    margin-bottom: 2rem;
}

.upi-code {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    border: 2px dashed #3498db;
}

.upi-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.upi-instructions {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.upi-instructions h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.upi-instructions ol {
    padding-left: 1.5rem;
}

.upi-instructions li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* QR Code Styles */
.qr-code-container {
    margin: 2rem 0;
    text-align: center;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border: 2px dashed #3498db;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #3498db;
}

.qr-code-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.qr-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

/* UPI Apps Styles */
.upi-apps {
    margin-top: 2rem;
    text-align: center;
}

.upi-apps p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.app-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
}

.app-icon i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.app-icon span {
    font-size: 0.9rem;
    color: #666;
}

/* Additional Mobile Responsive Styles */
@media (max-width: 768px) {
    .qr-code-placeholder {
        width: 180px;
        height: 180px;
    }
    
    .qr-code-placeholder i {
        font-size: 4rem;
    }
    
    .app-icons {
        gap: 1rem;
    }
    
    .app-icon {
        width: 60px;
    }
    
    .app-icon i {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .qr-code-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .qr-code-placeholder i {
        font-size: 3rem;
    }
    
    .app-icon {
        width: 50px;
    }
    
    .app-icon i {
        font-size: 1.5rem;
    }
    
    .app-icon span {
        font-size: 0.8rem;
    }
} 