:root {
    --primary-red: #d32f2f;
    --golden-yellow: #ffc107;
    --deep-orange: #ff5722;
    --warm-brown: #8d6e63;
    --cream: #fff8e1;
    --dark-bg: #1a1a1a;
}

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

body {
    font-family: 'Arial Black', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--golden-yellow);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--golden-yellow);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(45deg, var(--primary-red), var(--deep-orange));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pizza-clipart-vector-1.png') center/cover;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    color: var(--golden-yellow);
    text-shadow: 4px 4px 8px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--cream);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--golden-yellow);
    animation: bounce 2s infinite;
    font-size: 2rem;
    cursor: pointer;
}

/* Gallery Section */
.gallery {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--dark-bg), #2c2c2c);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--golden-yellow);
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.image-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--warm-brown);
}

.image-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.3);
}

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: var(--dark-bg);
    transition: transform 0.3s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--cream);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    margin-bottom: 0.5rem;
    color: var(--golden-yellow);
}

/* Scriptures Section */
.scriptures {
    padding: 4rem 2rem;
    background: var(--primary-red);
    text-align: center;
}

.scripture-text {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: opacity 0.5s ease;
}

.scripture-author {
    font-size: 1.2rem;
    color: var(--golden-yellow);
    font-weight: bold;
    transition: opacity 0.5s ease;
}

/* Footer */
.footer {
    padding: 2rem;
    background: var(--dark-bg);
    text-align: center;
    border-top: 2px solid var(--golden-yellow);
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes glow {
    from { 
        text-shadow: 4px 4px 8px rgba(0,0,0,0.7), 0 0 20px var(--golden-yellow); 
    }
    to { 
        text-shadow: 4px 4px 8px rgba(0,0,0,0.7), 0 0 30px var(--golden-yellow), 0 0 40px var(--golden-yellow); 
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(2deg); 
    }
}

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

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

@keyframes fadeIn {
    to { 
        opacity: 1; 
    }
}

/* Loading animation for images */
.image-card img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery, .scriptures {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 10vw, 4rem);
    }
    
    .hero .subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    
    .scripture-text {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
}
