/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and overall page styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styles */
header {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364); /* Same gradient as Songbook background */
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative; /* To contain the absolutely positioned logo */
    overflow: hidden; /* Prevents any overflow */
}

/* Header Logo Styles */
.header-logo {
    width: auto;  /* Automatically adjust width */
    max-width: 95px;  /* Set a max width for the logo */
    height: auto;  /* Maintain the aspect ratio */
    position: absolute; /* Position logo within the header */
    top: 50%;  /* Vertically center the logo */
    left: 50%; /* Horizontally center the logo */
    transform: translate(-50%, -50%); /* Center it perfectly in both directions */
    animation: logoMove 45s linear infinite; /* Move the logo from left to right, infinitely */
}

/* Keyframes for logo movement */
@keyframes logoMove {
    0% {
        left: -120px; /* Logo starts off-screen from left */
    }
    50% {
        left: 100%; /* Move the logo off-screen to the right */
    }
    100% {
        left: -120px; /* Move the logo back to the left, repeating the cycle */
    }
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    z-index: 1; /* Ensure title is above the logo */
    position: relative;
}


/* Navigation Styles */
nav {
    background: #333;
    color: white;
    padding: 1rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

nav ul li a:hover {
    color: #A8DADC; /* Light blue color that contrasts nicely with header's dark gradient */
}

/* Section Container */
.container {
    width: 80%;
    margin: 0 auto;
}

/* About Section */
#about {
    padding: 60px 20px;
    background: #f4f4f4;
    font-family: 'Arial', sans-serif; /* Set font for better readability */
}

.about-content {
    display: flex;
    flex-direction: row; /* Align image and bio horizontally */
    justify-content: center;
    align-items: flex-start; /* Align content from the top */
    gap: 30px; /* Space between image and bio */
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
    text-align: left; /* Align text to the left for better readability */
}

.founder-info {
    display: flex;
    align-items: center; /* Vertically centers the items */
    justify-content: center; /* Centers content horizontally */
    gap: 30px; /* Adds space between the image and text */
}

.founder-image {
    max-width: 200px; /* Set maximum width for the image */
    height: auto;
    border-radius: 50%; /* Round the image */
    border: 3px solid #333; /* Add a border around the image */
}

.founder-bio {
    max-width: 600px; /* Limit the width of the biography section */
    margin-top: 20px; /* Ensure there is some space above the bio */
}

.founder-bio h2 {
    font-size: 2.2rem; /* Increase font size for name */
    margin-bottom: 15px; /* Add space between name and bio */
    color: #333; /* Dark color for the name */
    font-weight: bold; /* Make the name bold */
    line-height: 1.4; /* Improve line spacing for the title */
}

.founder-bio p {
    font-size: 1.1rem; /* Slightly smaller font for bio text */
    color: #555; /* Soft gray color for the bio */
    line-height: 1.6; /* Improve line spacing for better readability */
    text-align: justify; /* Justify the bio text to avoid uneven lines */
    text-justify: inter-word; /* Proper justification of words */
    margin-bottom: 20px; /* Add margin at the bottom of the bio */
}

/* Media Query for Small Screens */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Stack the content vertically on smaller screens */
        text-align: center; /* Center align text on small screens */
    }

    .founder-image {
        max-width: 150px; /* Make the image smaller on smaller screens */
    }

    .founder-bio {
        max-width: 100%; /* Allow bio text to take full width on small screens */
        padding: 0 20px; /* Add padding for better spacing */
    }
}

/* Songbook Section */
.songbook {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364); /* Dark gradient background */
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.songbook h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.songbook p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out;
    animation-delay: 0.5s;
}

.songbook .songbook-link {
    font-size: 1.2rem;
    background: #FFD700;
    color: #333;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.songbook .songbook-link:hover {
    background: #ffb800;
    transform: scale(1.1);
}
/* Songs Section */
#songs {
    padding: 60px 250px;
    background: #fff;
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.song-item {
    text-align: center;
}

.song-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.song-item:hover img {
    transform: scale(1.05);
}

.song-item h3 {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Shorts Section */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.song-item {
    text-align: center;
}

.song-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.song-item:hover img {
    transform: scale(1.05);
}

.song-item h3 {
    font-size: 1.2rem;
    margin-top: 10px;
}


/* Canva Section */
.canva {
    background: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.canva h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.canva p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.canva-design img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
}

/* Videos Section */
#videos {
    padding: 60px 20px;
    background: #fff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-item iframe {
    width: 100%;
    height: 315px;
    border-radius: 10px;
}

/* Contact Section */
#contact {
    padding: 60px 20px;
    background: #f4f4f4;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

#contact a {
    color: #333;
    text-decoration: none;
}

#contact a:hover {
    color: #D4AF37; /* Rich gold color for a luxurious and vibrant contrast */
}


/* Footer Styles */
footer {
    background: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
}

/* Responsive Layouts */
@media (max-width: 768px) {
    .video-grid, .song-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-item iframe {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .video-grid, .song-grid {
        grid-template-columns: 1fr;
    }
}
/* Images Section */
#images {
    padding: 10px 10px;
    background: #f4f4f4;
}

#images h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr;  /* Only 1 image per row */
    gap: 10px;  /* Maintain a small gap between images */
    justify-items: center; /* Centers images in the grid */
}

.image-grid a {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-grid img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.image-grid a:hover img {
    transform: scale(1.05); /* Zoom effect on hover */
}
