/* --- Reset & Basic Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary-yellow: #FFD700; /* Gold */
    --color-primary-gold: #DAA520; /* Goldenrod - slightly darker gold */
    --color-contrast-brown: #8B4513; /* Saddle Brown */
    --color-text: #333;
    --color-background: #FFF8DC; /* Cornsilk - light yellow/beige for serene feel */
    --color-footer-bg: #F5F5DC; /* Beige - slightly darker for footer */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Clean, modern font */
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--color-contrast-brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-gold);
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--color-contrast-brown);
}

main {
    padding: 2rem 1rem; /* Add padding for content */
    max-width: 1200px; /* Limit content width */
    margin: 0 auto; /* Center content */
}

section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #fff; /* White background for sections */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- Header & Navigation --- */
header {
    background-color: var(--color-primary-yellow);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav ul li {
    margin: 0 1.5rem;
}

header nav ul li a {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-contrast-brown);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active { /* Add 'active' class via JS if needed */
    color: var(--color-contrast-brown);
    border-bottom: 2px solid var(--color-contrast-brown);
}

/* --- Footer --- */
footer {
    background-color: var(--color-footer-bg);
    color: var(--color-contrast-brown);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #ddd;
}

/* --- Buttons --- */
.cta-button, .social-button, .submit-button {
    display: inline-block;
    background-color: var(--color-contrast-brown);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none; /* Ensure links styled as buttons don't have underlines */
}

.cta-button:hover, .social-button:hover, .submit-button:hover {
    background-color: var(--color-primary-gold);
    transform: translateY(-2px);
}

/* --- Home Page Specific Styles --- */
.welcome-hero {
    background: url('../images/Capa.png') no-repeat center center/cover;
    color: #fff; /* White text for contrast against background */
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden; /* Ensure overlay stays within bounds */
    margin-bottom: 3rem; /* Reset section margin */
    box-shadow: none; /* Remove default section shadow */
    background-color: transparent; /* Remove default section background */
}

.welcome-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.welcome-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #fff; /* Ensure heading is white */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.project-intro h2,
.music-samples h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.project-intro p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.music-samples .sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.music-samples .sample-box {
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    background-color: #f9f9f9;
}

.music-samples .sample-box p {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-contrast-brown);
}

.spotify-placeholder {
    background-color: #e0e0e0;
    height: 80px; /* Placeholder height, adjust when embedding */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 4px;
}

/* --- Contact Page Specific Styles --- */
.contact-page main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2, .contact-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info strong {
    color: var(--color-contrast-brown);
}

.contact-info .social-button {
    margin-top: 1rem;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-contrast-brown);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-main);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary-gold);
    box-shadow: 0 0 5px rgba(218, 165, 32, 0.5); /* Goldenrod focus */
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .submit-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* --- Basic Responsiveness --- */
@media (max-width: 768px) {
    .welcome-hero h1 {
        font-size: 2.2rem;
    }
    .welcome-hero {
        padding: 4rem 1rem;
    }
    header nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    header nav ul li {
        margin: 0.5rem 0;
    }
    .contact-page main {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        gap: 2rem;
    }
    main {
        padding: 1rem 0.5rem;
    }
    section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .welcome-hero h1 {
        font-size: 1.8rem;
    }
    .cta-button, .social-button, .submit-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    .music-samples .sample-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
}
/* --- Album Covers in Project Intro --- */
.project-intro .album-covers {
    display: flex;
    justify-content: space-around; /* Distribute space between images */
    align-items: center;
    flex-wrap: wrap; /* Allow images to wrap on smaller screens, but horizontal scroll takes precedence */
    gap: 1.5rem; /* Space between images */
    margin-top: 2rem; /* Space above the images */
    overflow-x: auto; /* Add horizontal scroll if content overflows */
    padding-bottom: 1rem; /* Add padding for scrollbar visibility */
}

.project-intro .album-covers img {
    width: 400px; /* Fixed width */
    height: 400px; /* Fixed height */
    object-fit: cover; /* Prevent distortion, crop if necessary */
    flex-shrink: 0; /* Prevent images from shrinking to fit container */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Add subtle shadow */
    transition: transform 0.3s ease;
}

.project-intro .album-covers img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Responsive adjustments for album covers */
@media (max-width: 1250px) { /* Adjust breakpoint considering 3*400px + gaps */
   .project-intro .album-covers {
        justify-content: flex-start; /* Align to start for better scrolling experience */
   }
}


@media (max-width: 480px) {
    .project-intro .album-covers {
        justify-content: flex-start; /* Align to start for better scrolling experience */
    }
     /* Images remain 400x400 as requested, horizontal scroll enabled */
}

