/* --- Global Styles --- */
body {
    font-family: 'Inter', sans-serif; /* Modern, clean font */
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Pristine white background */
    color: #1a1a1a; /* Dark text for high contrast */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* Consistent padding for content */
}

/* --- Preloader Styles --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything */
    transition: opacity 0.7s ease-out; /* Smooth fade-out */
}

.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #007bff; /* Blue spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* Spinner animation */
    margin-bottom: 20px;
}

#preloader p {
    font-size: 1.1em;
    font-weight: 600;
    color: #555555;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide preloader when loaded */
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Make it unclickable */
}

/* --- Header Styles --- */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    position: fixed; /* Fixed header */
    width: 100%;
    top: 0;
    z-index: 1000; /* Ensure it's above content */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Subtle shadow for depth */
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo img {
    max-height: 60px; /* Slightly smaller logo for fixed header */
    transition: max-height 0.3s ease;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 40px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #444444;
    font-weight: 600;
    font-size: 1.05em;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: #007bff;
}

/* --- Section Base Styles --- */
section {
    opacity: 0; /* Hidden by default for JS animation */
    transform: translateY(20px); /* Slightly moved down for slide-up effect */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.active {
    opacity: 1;
    transform: translateY(0);
}

.section-full-height {
    min-height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 0; /* Padding for content inside full height section */
}

.section-padding {
    padding: 100px 0; /* Standard section padding */
}

.background-light {
    background-color: #f8f8f8; /* Light background for alternating sections */
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2em;
    color: #1a1a1a;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 80px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

/* --- Hero Section Specific Styles --- */
.hero-section {
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('https://via.placeholder.com/1920x1080?text=Music+Background') center center / cover no-repeat;
    color: #1a1a1a;
    text-shadow: 1px 1px 5px rgba(255,255,255,0.7); /* Subtle text shadow for readability */
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5em;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    color: #111111;
}

.hero-subtitle {
    font-size: 1.6em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-weight: 300;
    color: #333333;
}

/* --- Button Styles --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px; /* Pill-shaped buttons */
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn.primary-btn {
    background-color: #007bff;
    color: #ffffff;
}

.btn.primary-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
}

.btn.secondary-btn {
    background-color: transparent;
    color: #007bff;
    border-color: #007bff;
}

.btn.secondary-btn:hover {
    background-color: #007bff;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.2);
}

.btn.tertiary-btn {
    background-color: #f0f0f0;
    color: #333333;
    border-color: #f0f0f0;
}

.btn.tertiary-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

/* --- About Section Styles --- */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15em;
    color: #444444;
}

.about-content p {
    margin-bottom: 20px;
}

/* --- Artists Section Styles --- */
.artist-grid, .release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Adaptive columns */
    gap: 40px; /* Increased gap */
    margin-top: 60px;
}

.artist-card, .release-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* More pronounced shadow */
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; /* Smooth hover effect */
}

.artist-card:hover, .release-card:hover {
    transform: translateY(-10px); /* Lift higher on hover */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.artist-card img, .release-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area, crop if necessary */
    border-bottom: 1px solid #f0f0f0;
}

.artist-card h3, .release-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: #1a1a1a;
    margin: 25px 0 10px;
}

.artist-card p, .release-card p {
    font-size: 1em;
    color: #555555;
    padding: 0 20px;
    margin-bottom: 20px;
}

.artist-card .btn, .release-card .btn {
    margin-bottom: 25px;
}

/* --- Contact Section Styles --- */
.contact-info {
    font-size: 1.1em;
    color: #444444;
    margin-top: 40px;
    display: flex; /* Flexbox for alignment */
    flex-direction: column; /* Stack contact items vertically */
    align-items: center; /* Center items */
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-link { /* Style for clickable email/phone links */
    color: #007bff; /* Blue color for links */
    text-decoration: none; /* No underline by default */
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.contact-link:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline; /* Underline on hover */
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Make them circular if needed, or adjust */
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    /* Added some hover effects for social icons */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-icon img:hover {
    transform: translateY(-5px) scale(1.1); /* Lift and grow slightly */
    opacity: 0.9;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* --- Footer Styles --- */
.main-footer {
    background-color: #1a1a1a; /* Dark footer */
    color: #e0e0e0;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9em;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .main-nav ul li {
        margin-left: 25px;
    }

    .hero-title {
        font-size: 3.5em;
    }

    .hero-subtitle {
        font-size: 1.4em;
    }

    .section-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-header .logo img {
        max-height: 70px; /* Adjust logo size for mobile */
        margin-bottom: 15px;
    }

    .main-nav ul {
        flex-wrap: wrap; /* Allow nav items to wrap */
        justify-content: center;
    }

    .main-nav ul li {
        margin: 0 15px 10px; /* Adjust spacing for wrapped items */
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.8em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2em;
        margin-bottom: 40px;
    }

    .artist-grid, .release-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 30px;
    }

    .artist-card img, .release-card img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .btn {
        padding: 10px 25px;
        font-size: 1em;
    }

    .section-title {
        font-size: 1.8em;
    }
}