/* Divine ISKCON About Page Styles */
:root {
    /* Divine Color Palette */
    --saffron: #FF9933;
    --gold: #FFD700;
    --white: #FFFFFF;
    --maroon: #8B0000;
    --divine-orange: #FF6B35;
    --sacred-yellow: #FFCC33;
    --holy-cream: #FFF8DC;
    --temple-red: #DC143C;
    --lotus-pink: #FFB6C1;
    --sky-blue: #87CEEB;
    --deep-saffron: #FF8C00;
    
    /* Divine Gradients */
    --divine-gradient: linear-gradient(135deg, var(--saffron), var(--gold));
    --sacred-gradient: linear-gradient(135deg, var(--maroon), var(--temple-red));
    --holy-gradient: linear-gradient(135deg, var(--gold), var(--sacred-yellow));
    --celestial-gradient: linear-gradient(135deg, var(--sky-blue), var(--lotus-pink));
    --temple-gradient: linear-gradient(135deg, var(--deep-saffron), var(--saffron));
    
    /* Typography */
    --title-font: 'Merriweather', serif;
    --body-font: 'Poppins', sans-serif;
    --script-font: 'Dancing Script', cursive;
    --decorative-font: 'Cinzel', serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
    --card-padding: 2rem;
    
    /* Effects */
    --divine-shadow: 0 10px 30px rgba(255, 153, 51, 0.3);
    --sacred-shadow: 0 15px 35px rgba(139, 0, 0, 0.4);
    --glow-effect: 0 0 20px rgba(255, 215, 0, 0.6);
    --soft-glow: 0 0 15px rgba(255, 153, 51, 0.4);
    --temple-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    
    /* Animations */
    --bounce-animation: bounce 2s infinite;
    --glow-animation: glow 3s ease-in-out infinite alternate;
    --float-animation: float 6s ease-in-out infinite;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, var(--holy-cream), var(--white));
    overflow-x: hidden;
    position: relative;
}

/* Divine Background */
.divine-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 153, 51, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 0, 0, 0.04) 0%, transparent 50%);
    animation: var(--float-animation);
}

.divine-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FF9933' fill-opacity='0.02'%3E%3Cpath d='M30 30c0-16.569-13.431-30-30-30s-30 13.431-30 30 13.431 30 30 30 30-13.431 30-30z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
}

.om-symbol {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: var(--glow-animation);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.9), rgba(255, 255, 255, 0.8));
    padding-top: 120px; /* Add more space for fixed header */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-family: var(--title-font);
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: var(--divine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(255, 153, 51, 0.2);
    padding-top: 10px;
}

.title-sub {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--maroon);
    font-family: var(--decorative-font);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--temple-red);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
    font-style: italic;
}

.hero-ornament {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.ornament-symbol {
    font-size: 2rem;
    animation: var(--float-animation);
}

.ornament-text {
    font-family: var(--script-font);
    font-size: 1.8rem;
    color: var(--maroon);
    font-weight: 600;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.temple-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--temple-shadow);
    transition: all 0.4s ease;
}

.temple-image:hover {
    transform: scale(1.02);
    box-shadow: var(--sacred-shadow);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 153, 51, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 20px;
    pointer-events: none;
}

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

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: relative;
    animation: var(--bounce-animation);
}

.scroll-arrow::after {
    content: '↓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-weight: bold;
}

/* Section Styles */
.section-padding {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--title-font);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--sacred-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-ornament {
    font-size: 2rem;
    margin-top: 1rem;
}

.section-ornament span {
    animation: var(--float-animation);
}

/* Vision & Mission Section */
.vision-mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vision-card,
.mission-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--divine-gradient);
    opacity: 0.03;
    z-index: 1;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sacred-shadow);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: var(--float-animation);
}

.vision-card h3,
.mission-card h3 {
    font-family: var(--decorative-font);
    font-size: 1.8rem;
    color: var(--maroon);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.vision-card p,
.mission-card p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Founder Section */
.founder {
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.5), rgba(255, 255, 255, 0.3));
}

.founder-content {
    max-width: 1000px;
    margin: 0 auto;
}

.founder-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--divine-shadow);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.founder-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.founder-photo {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--divine-shadow);
    transition: all 0.4s ease;
}

.founder-photo:hover {
    transform: scale(1.02);
    box-shadow: var(--sacred-shadow);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 153, 51, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 15px;
    pointer-events: none;
}

.founder-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--holy-gradient);
    opacity: 0.02;
    z-index: 1;
}

.founder-details {
    position: relative;
    z-index: 2;
}

.founder-details h3 {
    font-family: var(--decorative-font);
    font-size: 2rem;
    color: var(--maroon);
    margin-bottom: 0.5rem;
}

.founder-subtitle {
    font-size: 1.2rem;
    color: var(--temple-red);
    font-style: italic;
    margin-bottom: 1rem;
}

.establishment-date {
    font-size: 1.1rem;
    color: var(--saffron);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.founder-details > p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.founder-vision h4 {
    font-family: var(--decorative-font);
    color: var(--maroon);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.vision-points {
    list-style: none;
    padding: 0;
}

.vision-points li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.vision-points li::before {
    content: '🪷';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Architecture Section */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.arch-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.arch-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--celestial-gradient);
    opacity: 0.03;
    z-index: 1;
}

.arch-feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--sacred-shadow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: var(--float-animation);
}

.arch-feature h3 {
    font-family: var(--decorative-font);
    color: var(--maroon);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.arch-feature p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Deities Section */
.deities {
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.3), rgba(255, 255, 255, 0.5));
}

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

.deity-shrine {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 25px;
    box-shadow: var(--divine-shadow);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.deity-shrine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--temple-gradient);
    opacity: 0.03;
    z-index: 1;
}

.deity-shrine:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--sacred-shadow);
}

.shrine-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: var(--float-animation);
}

.deity-shrine h3 {
    font-family: var(--decorative-font);
    color: var(--maroon);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.deity-shrine p {
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.ritual-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    text-align: center;
}

.ritual-info h3 {
    font-family: var(--decorative-font);
    color: var(--maroon);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.ritual-info p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Community Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-category {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--holy-gradient);
    opacity: 0.03;
    z-index: 1;
}

.service-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--sacred-shadow);
}

.service-category h3 {
    font-family: var(--decorative-font);
    color: var(--maroon);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-list {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.service-list li {
    padding: 0.8rem 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 153, 51, 0.1);
}

.service-list li:last-child {
    border-bottom: none;
}

/* History Section */
.history {
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.4), rgba(255, 255, 255, 0.6));
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--divine-gradient);
    transform: translateX(-50%);
}

.timeline-event {
    display: flex;
    align-items: center;
    margin: 3rem 0;
    position: relative;
}

.timeline-event:nth-child(odd) {
    flex-direction: row;
}

.timeline-event:nth-child(even) {
    flex-direction: row-reverse;
}

.event-year {
    background: var(--divine-gradient);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-family: var(--decorative-font);
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: var(--divine-shadow);
    position: relative;
    z-index: 2;
}

.event-content {
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    margin: 0 2rem;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.event-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--celestial-gradient);
    opacity: 0.02;
    z-index: 1;
}

.event-content h3 {
    font-family: var(--decorative-font);
    color: var(--maroon);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.event-content p {
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.heritage-note {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    text-align: center;
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.heritage-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sacred-gradient);
    opacity: 0.02;
    z-index: 1;
}

.heritage-note p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Call to Action Section */
.cta {
    background: var(--divine-gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--title-font);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary {
    background: var(--white);
    color: var(--maroon);
}

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

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn.primary:hover {
    background: var(--holy-cream);
    color: var(--temple-red);
}

.cta-btn.secondary:hover {
    background: var(--white);
    color: var(--maroon);
}

/* Animations */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px; /* More space for mobile header */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.4rem;
    }
    
    .vision-mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .founder-photo {
        max-width: 250px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-event {
        flex-direction: row !important;
        margin-left: 0;
    }
    
    .timeline-event:nth-child(even) {
        flex-direction: row !important;
    }
    
    .event-year {
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .event-content {
        margin-left: 1rem;
        margin-right: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 160px; /* Even more space for very small screens */
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .founder-info {
        padding: 2rem 1.5rem;
    }
    
    .founder-photo {
        max-width: 200px;
    }
    
    .architecture-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-card,
    .mission-card,
    .arch-feature,
    .service-category {
        padding: 2rem 1.5rem;
    }
}
