/* Additional styling for enhanced visual appeal */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ff6b00;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e05a00;
}

/* Enhanced typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enhanced hero section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/lord_murugan_batu_caves_full.jpeg');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s infinite alternate;
    z-index: -1;
}

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

/* Enhanced feature boxes */
.feature-box {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 107, 0, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-box:hover::before {
    opacity: 1;
}

/* Enhanced buttons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

/* Song sample styling */
.song-sample {
    background-color: #fff9f5;
    border-left: 4px solid #ff6b00;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.song-sample blockquote {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
}

/* Note box styling */
.note-box {
    background-color: #f0f8ff;
    border: 1px solid #b3d7ff;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    position: relative;
}

.note-box h4 {
    color: #0066cc;
    margin-bottom: 10px;
}

/* Gallery enhancements */
.gallery {
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Video container */
.video-container {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.video-container h3 {
    color: #ff6b00;
    margin-bottom: 15px;
}

.video-container ul {
    list-style-type: none;
}

.video-container ul li {
    margin-bottom: 10px;
}

.video-container ul li a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.video-container ul li a:hover {
    background-color: #fff0e6;
    transform: translateX(5px);
}

/* Enhanced footer */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(34, 34, 34, 0.97), rgba(34, 34, 34, 0.97)), url('../images/lord_murugan_statue_gold.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

/* Page transitions */
body {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Loading animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-icon {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ff6b00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Print styles */
@media print {
    header, footer, .menu-toggle, .social-icons, .btn {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    .content-section {
        padding: 20px 0;
    }
    
    a {
        color: black;
        text-decoration: none;
    }
    
    .page-header {
        height: auto;
        background: none;
        color: black;
        padding: 20px 0;
    }
    
    .page-header h1 {
        color: black;
        text-shadow: none;
    }
}
