/* Divine ISKCON Centres 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));
    margin-top: 70px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

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

.title-main {
    display: block;
    font-size: 3.5rem;
    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);
}

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

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    transition: all 0.4s ease;
}

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

.stat-number {
    display: block;
    font-family: var(--decorative-font);
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--sacred-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.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-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Centre Cards */
.centre-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--divine-shadow);
    margin-bottom: 3rem;
    transition: all 0.4s ease;
    position: relative;
}

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

.main-centre {
    border: 3px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                var(--divine-gradient) border-box;
}

.centre-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    min-height: 500px;
}

.centre-image {
    position: relative;
    overflow: hidden;
}

.centre-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.centre-card:hover .centre-photo {
    transform: scale(1.05);
}

.centre-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--divine-gradient);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--divine-shadow);
}

.border-centre {
    background: var(--sacred-gradient);
}

.community-centre {
    background: var(--holy-gradient);
    color: var(--maroon);
}

.centre-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.centre-full-name {
    font-style: italic;
    color: var(--temple-red);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.centre-location,
.centre-contact {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.location-icon,
.contact-icon {
    font-size: 1rem;
}

.centre-overview,
.centre-activities {
    margin-bottom: 2rem;
}

.centre-overview h4,
.centre-activities h4 {
    font-family: var(--decorative-font);
    color: var(--maroon);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.centre-overview p {
    color: #666;
    line-height: 1.7;
}

.activities-list {
    list-style: none;
    padding: 0;
}

.activities-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid rgba(255, 153, 51, 0.1);
}

.activities-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--saffron);
    font-weight: bold;
}

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

.centre-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--divine-shadow);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--divine-gradient);
    color: var(--white);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--sacred-shadow);
}

.btn-secondary:hover {
    background: var(--saffron);
    color: var(--white);
    transform: translateY(-3px);
}

/* Summary Table */
.summary-table {
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.3), rgba(255, 255, 255, 0.5));
}

.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    padding: 2rem;
}

.centres-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--body-font);
}

.centres-table th {
    background: var(--divine-gradient);
    color: var(--white);
    padding: 1.5rem 1rem;
    text-align: left;
    font-family: var(--decorative-font);
    font-weight: 600;
    border-radius: 10px 10px 0 0;
}

.centres-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 153, 51, 0.1);
    color: #666;
    line-height: 1.6;
}

.main-row {
    background: rgba(255, 153, 51, 0.05);
}

.centres-table tr:hover {
    background: rgba(255, 153, 51, 0.08);
}

/* Impact Section */
.impact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.impact-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.impact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    border-left: 5px solid var(--saffron);
    transition: all 0.4s ease;
}

.impact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--sacred-shadow);
}

.impact-item h3 {
    font-family: var(--decorative-font);
    color: var(--maroon);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.impact-item p {
    color: #666;
    line-height: 1.7;
}

/* Network Diagram */
.impact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-diagram {
    position: relative;
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--divine-shadow);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.network-node {
    background: var(--divine-gradient);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--divine-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.network-node:hover {
    transform: scale(1.05);
    box-shadow: var(--sacred-shadow);
}

.main-node {
    background: var(--sacred-gradient);
    font-size: 1.1rem;
    font-weight: 600;
}

.network-node span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.network-node small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Importance Section */
.importance {
    background: var(--divine-gradient);
    color: var(--white);
    text-align: center;
}

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

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

.importance-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--temple-shadow);
    transition: all 0.4s ease;
}

.importance-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.importance-card h3 {
    font-family: var(--decorative-font);
    color: var(--maroon);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.importance-card p {
    color: #666;
    line-height: 1.7;
}

.global-connection {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.global-connection p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.4), rgba(255, 255, 255, 0.6));
}

.form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--divine-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.centre-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 0.5rem;
    font-family: var(--decorative-font);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(255, 153, 51, 0.2);
    border-radius: 10px;
    font-family: var(--body-font);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: var(--soft-glow);
}

.submit-btn {
    background: var(--divine-gradient);
    color: var(--white);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--divine-shadow);
    align-self: center;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--sacred-shadow);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    to { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }

    .hero {
        padding-top : 90px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .centre-card {
        grid-template-columns: 1fr;
    }
    
    .centre-image {
        height: 250px;
    }
    
    .impact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .network-diagram {
        width: 100%;
        max-width: 300px;
    }
    
    .importance-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .centres-table {
        font-size: 0.9rem;
    }
    
    .centres-table th,
    .centres-table td {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .centre-content {
        padding: 2rem 1.5rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .importance-card {
        padding: 2rem 1.5rem;
    }
}
