:root {
    --primary: #8a2be2;
    --primary-dark: #6a1b9a;
    --secondary: #ff3366;
    --dark: #121212;
    --darker: #0a0a0a;
    --light: #f8f9fa;
    --gray: #9e9e9e;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    color: #333;
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--darker); }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.ml-2 { margin-left: 0.5rem; }

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.2);
    z-index: -2;
}

.btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 15px 25px rgba(138, 43, 226, 0.4);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
}

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

.nav-logo .logo-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.navbar.scrolled .nav-logo .logo-text,
.navbar.scrolled .nav-link {
    color: var(--white);
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    transform: scale(1.05);
    animation: zoomInOut 20s infinite alternate ease-in-out;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

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

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bible-verse {
    background: var(--light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.verse-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.verse-ref {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.image-wrapper {
    position: relative;
}

.rounded-image {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.shadow-lg {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(138,43,226,0.3);
    border: 5px solid white;
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.experience-badge .number {
    font-size: 1.5rem;
    font-weight: 700;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.info-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: rgba(138, 43, 226, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
}

.practice-days {
    margin-top: 1rem;
    text-align: left;
    display: inline-block;
}

.practice-days li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.practice-days i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(138, 43, 226, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
    margin-right: 1rem;
}

.contact-item h4 {
    margin-bottom: 0.2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
}

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

.social-icon.facebook:hover { background: #3b5998; }
.social-icon.instagram:hover { background: #e1306c; }
.social-icon.youtube:hover { background: #ff0000; }
.social-icon.tiktok:hover { background: #000000; }
.social-icon.spotify:hover { background: #1db954; }
.social-icon.audiomack:hover { background: #ffa200; }

.contact-form-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

/* Footer */
.footer {
    background: #050505;
    color: rgba(255,255,255,0.5);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--secondary);
    text-decoration: none;
    cursor: pointer;
}

/* Animations */
.reveal, .reveal-up, .reveal-left, .reveal-right, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: all 1s ease;
}

.reveal, .reveal-up { transform: translateY(50px); }
.reveal-left, .fade-in-left { transform: translateX(-50px); }
.reveal-right, .fade-in-right { transform: translateX(50px); }

.active.reveal, .active.reveal-up, .active.reveal-left, .active.reveal-right, .active.fade-in-left, .active.fade-in-right {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-bg {
        background-attachment: scroll; /* Fixes mobile viewport rendering bugs */
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-buttons {
        margin-left: 0;
        margin-top: 2rem;
        flex-direction: column;
        width: 80%;
    }
    
    .btn-outline {
        color: white;
        border-color: white;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 10px;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: auto;
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    .experience-badge {
        width: 90px;
        height: 90px;
    }
    
    .experience-badge .number {
        font-size: 1.2rem;
    }
}
