/* Temple Landing Page Styles */
/* Color Scheme: Saffron (#FF9933), Maroon (#800000), Gold (#FFD700), White (#FFFFFF) */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #800000;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FF9933 0%, #FFD700 100%);
    color: #800000;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
    background: linear-gradient(135deg, #e8841c 0%, #e6c200 100%);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Section Decoration */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    margin-bottom: 20px;
}

.section-decoration {
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #FF9933 0%, #FFD700 100%);
    margin: 0 auto;
    position: relative;
}

.section-decoration::before,
.section-decoration::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 6px;
    height: 7px;
    background: #800000;
    border-radius: 50%;
}

.section-decoration::before {
    left: -10px;
}

.section-decoration::after {
    right: -10px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(128, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    text-decoration: none;
}

.temple-icon {
    font-size: 2rem;
    color: #FFD700;
}

.temple-name {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700!important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FFD700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.donate-btn {
    background: linear-gradient(135deg, #FF9933 0%, #FFD700 100%);
    color: #800000 !important;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #e8841c 0%, #e6c200 100%);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #800000 0%, #FF9933 50%, #FFD700 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #e97f0e;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #e97f0e!important;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: block;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* About Section */
.about {
    padding: 100px 0;
    background: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
    color: #555;
}

.temple-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #FF9933;
    margin-bottom: 20px;
}

.feature h4 {
    margin-bottom: 15px;
    color: #800000;
}

.about-image {
    display: flex;
    justify-content: center;
}

.temple-image-placeholder {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #FF9933 0%, #FFD700 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #800000;
    box-shadow: 0 10px 30px rgba(255, 153, 51, 0.3);
}

.temple-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

/* Darshan Section */
.darshan {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFBF0 100%);
}

.darshan-content {
    max-width: 900px;
    margin: 0 auto;
}

.darshan-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.schedule-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #FF9933;
}

.schedule-time {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.schedule-icon {
    font-size: 3rem;
    padding: 15px;
    border-radius: 50%;
}

.schedule-icon.morning {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.schedule-icon.evening {
    color: #800000;
    background: rgba(128, 0, 0, 0.1);
}

.schedule-time h4 {
    margin-bottom: 5px;
}

.time {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FF9933;
}

.schedule-details p {
    margin: 10px 0;
    color: #666;
}

.special-darshan {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.special-darshan h4 {
    margin-bottom: 25px;
    text-align: center;
}

.special-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.special-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 153, 51, 0.05);
    border-radius: 10px;
}

.special-item i {
    color: #FFD700;
    font-size: 1.2rem;
}

/* Events Section */
.events {
    padding: 100px 0;
    background: #FFFFFF;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid #FF9933;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    background: linear-gradient(135deg, #FF9933 0%, #FFD700 100%);
    color: #800000;
    text-align: center;
    padding: 20px;
    font-weight: 700;
}

.date-number {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
}

.date-month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-details {
    padding: 25px;
}

.event-details h4 {
    margin-bottom: 10px;
    color: #800000;
}

.event-time {
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.event-time i {
    color: #FF9933;
    margin-right: 8px;
}

.event-description {
    color: #666;
    line-height: 1.6;
}

.weekly-programs {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFBF0 100%);
    padding: 40px;
    border-radius: 20px;
}

.weekly-programs h4 {
    text-align: center;
    margin-bottom: 30px;
    color: #800000;
}

.programs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.program-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.program-day {
    font-weight: 600;
    color: #800000;
}

.program-name {
    color: #333;
}

.program-time {
    color: #FF9933;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFBF0 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: #FF9933;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    margin-bottom: 10px;
    color: #800000;
}

.contact-item p {
    color: #666;
    margin: 5px 0;
}

.map-container {
    margin-top: 30px;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #FF9933 0%, #FFD700 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #800000;
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-form-container {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    margin-bottom: 30px;
    text-align: center;
    color: #800000;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #800000;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF9933;
}

.submit-btn {
    align-self: flex-start;
    margin-top: 10px;
}

/* Donate Section */
.donate {
    padding: 80px 0;
    background: linear-gradient(135deg, #800000 0%, #A00000 100%);
    color: #FFFFFF;
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.donate-text h2 {
    color: #FFFFFF;
    margin-bottom: 25px;
}

.donate-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.donation-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.donation-item i {
    color: #FFD700;
    font-size: 1.5rem;
}

.donate-actions {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.donate-actions h3 {
    color: #FFFFFF;
    margin-bottom: 25px;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.amount-btn {
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.custom-amount {
    grid-column: 1 / -1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    text-align: center;
}

.custom-amount::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.donate-now-btn {
    width: 100%;
    margin-bottom: 15px;
    justify-content: center;
}

.donation-note {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* Footer */
.footer {
    background: #1A0A0A;
    color: #FFFFFF;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-description {
    margin-bottom: 25px;
    opacity: 0.8;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 153, 51, 0.1);
    border-radius: 50%;
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FF9933;
    color: #800000;
    transform: translateY(-2px);
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: #FFD700;
}

.footer-contact p {
    margin: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: #FF9933;
    margin-top: 3px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-copyright {
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #800000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .temple-features {
        grid-template-columns: 1fr;
    }

    .darshan-schedule {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .program-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .donate-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .donation-amounts {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .temple-image-placeholder {
        width: 250px;
        height: 320px;
    }

    .schedule-card,
    .contact-form-container,
    .donate-actions {
        padding: 25px;
    }
}

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

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
*:focus {
    outline: 2px solid #FF9933;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .hero-scroll,
    .nav-toggle {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}