/* ...existing styles... */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    /* Dark background */
    color: #e0e0e0;
    /* Light text for contrast */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: rgba(20, 20, 20, 0.8);
    /* Slightly lighter dark background for header */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    /* Ensure it stays on top */
    backdrop-filter: blur(10px);
    /* Apply blur to the background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
}

header h1 {
    font-family: 'IM Fell English SC', serif;
    font-size: 2.5rem;
    margin: 0;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

nav li {
    display: inline-block;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    font-family: 'IM Fell English SC', serif;
    font-size: 1.1rem;
    font-weight: normal;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    background-color: transparent;
    border: none;
    box-shadow: none;
    text-shadow: none;
}

nav a:hover {
    color: #fdd835;
    transform: none;
    box-shadow: none;
}

nav a:active {
    transform: none;
    box-shadow: none;
}

section {
    padding: 5rem 0;
    text-align: center;
    margin: 0 auto;
    max-width: 100%; 
    position: relative; 
    z-index: 1; 
    overflow: hidden; 
    display: none; /* Sections are hidden by default now */
}

#about::before,
#services::before,
#home-studio::before,
#testimonials::before,
#contact::before,
#demos-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(34, 34, 34, 0.85); 
    z-index: -1; 
}

#about > *,
#services > *,
#home-studio > *,
#testimonials > *,
#contact > *,
#demos-main > * {
    position: relative;
    z-index: 2;
}

#hero {
    display: block; /* Hero section is visible by default */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('/WhatsApp Image 2025-03-26 at 21.08.42.jpeg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    text-align: center; 
    max-width: 100%; 
    z-index: 1; 
    animation: fadeIn 2s ease-out;
    transition: background-image 2s ease-in-out, opacity 2s ease-in-out;
}

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

#hero h2 {
    font-family: 'IM Fell English SC', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
}

#hero p {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #fdd835;
    color: #222;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #c6a700;
    color: #fff;
}

#about {
    background-color: #1a1a1a; 
    background-image: url('/fondo elegante.png'); 
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 2rem; 
}

#about h2 {
    font-family: 'IM Fell English SC', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem; 
    letter-spacing: 1px;
    color: #fdd835; 
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 3rem; 
    align-items: start; 
    justify-content: center;
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 1rem;
    animation: slideInLeft 1s ease-out;
}

.about-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(26, 26, 26, 0.85); 
    padding: 2rem; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.profile-image { 
    width: 100%; 
    max-width: 300px; 
    height: auto; 
    aspect-ratio: 1 / 1; 
    border-radius: 50%;
    object-fit: cover; 
    margin-bottom: 1.5rem; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.about-text {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
}

.about-text p {
    margin-bottom: 1rem; 
}

.about-text p:last-child {
    margin-bottom: 0; 
}

.about-text-container {
   display: none; 
}

#services {
    background-color: #222;
    background-image: url('/fondo elegante.png');
    background-size: cover;
    background-position: center;
    position: relative; 
    z-index: 1; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    animation: fadeIn 1s ease-out;
}

.service-item {
    background-color: #2d2d2d;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer; 
}

.service-item:hover,
.service-item:focus, 
.service-item.active { 
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
    background-color: #3a3a3a; 
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #eee;
}

.service-item p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 1rem; 
}

.demos-container {
    margin-top: 3rem;
    padding: 3rem 2rem;
    background-color: #252525; 
    border-radius: 8px;
    border: 1px solid #444;
    animation: fadeIn 0.5s ease-out; 
    background-size: cover; 
    background-position: center; 
    position: relative; 
    z-index: 1; 
    color: #fff; 
}

#demos-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 30, 30, 0.75); 
    border-radius: 8px; 
    z-index: -1; 
}

.demos-container h3 {
    font-family: 'IM Fell English SC', serif;
    font-size: 2.2rem; 
    color: #fdd835; 
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative; 
    z-index: 2;
}

.demos-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; 
    padding: 1rem 0; 
    position: relative; 
    z-index: 2;
}

.demos-grid audio,
.demos-grid video {
    width: 80%; 
    max-width: 600px; 
    margin-bottom: 1rem;
}

.demos-grid p { 
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

#demos-doblaje {
    background-image: url('/doblaje.png');
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center center; 
}

#demos-locucion {
    background-image: url('/locución.png');
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center center; 
}

#demos-cunas {
    background-image: url('/cuñas (1).png');
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center center; 
}

#demos-canto {
    background-image: url('/canto.png');
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center center; 
}

#demos-main {
    display: none;
}

#demos-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(34, 34, 34, 0.85);
    z-index: -1;
}

#demos-main h2 {
    font-family: 'IM Fell English SC', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    color: #fdd835;
}

#demos-main .demos-container {
    margin: 2rem auto;
    padding: 3rem 2rem;
    background-color: #252525;
    border-radius: 8px;
    border: 1px solid #444;
    animation: fadeIn 0.5s ease-out;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px; /* Adjust max-width as needed */
}

#demos-main .demos-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 30, 30, 0.75);
    border-radius: 8px;
    z-index: -1;
}

#demos-main .demos-container h3 {
    font-family: 'IM Fell English SC', serif;
    font-size: 2.2rem;
    color: #fdd835;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

#demos-main .demos-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    position: relative;
    z-index: 2;
}

#demos-main .demos-grid audio,
#demos-main .demos-grid video {
    width: 80%;
    max-width: 600px;
    margin-bottom: 1rem;
}

#demos-main .demos-grid p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

#demos-main #demos-doblaje {
    background-image: url('/doblaje.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

#demos-main #demos-locucion {
    background-image: url('/locución.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

#demos-main #demos-cunas {
    background-image: url('/cuñas (1).png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

#demos-main #demos-canto {
    background-image: url('/canto.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

#home-studio {
    background-color: #222;
    color: #e0e0e0;
    padding: 5rem 0;
    text-align: center;
    background-image: url('/fondo elegante.png'); 
    background-size: cover;
    background-position: center;
    position: relative; 
    z-index: 1; 
}

#home-studio h2 { 
    font-family: 'IM Fell English SC', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    color: #fdd835; 
}

.home-studio-content {
    max-width: 700px; 
    margin: 0 auto; 
    padding: 2rem;
    background-color: #2d2d2d; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.home-studio-content p:first-of-type { 
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #eee;
}

.home-studio-content ul {
    list-style: disc;
    padding-left: 20px; 
    margin-bottom: 1.5rem;
    text-align: left; 
    color: #ccc;
    max-width: fit-content; 
    margin-left: auto; 
    margin-right: auto; 
}

.home-studio-content li {
    margin-bottom: 0.75rem; 
    font-size: 1.1rem;
}

.studio-images {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 2rem; 
    margin-top: 2rem;
    flex-wrap: wrap; 
}

.studio-images img {
    max-width: 120px; 
    height: auto;
    border-radius: 5px;
    background-color: #fff;
    padding: 8px; 
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.studio-images img:hover {
    transform: scale(1.05); 
}

#testimonials {
    background-color: #222;
    background-image: url('/fondo elegante.png'); 
    background-size: cover;
    background-position: center;
    position: relative; 
    z-index: 1; 
    padding: 5rem 2rem; 
    color: #e0e0e0;
    text-align: center;
}

#testimonials h2 {
    font-family: 'IM Fell English SC', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    color: #fdd835; 
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem;
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 1rem;
}

.testimonial-item {
    background-color: rgba(45, 45, 45, 0.8); 
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left; 
    border-left: 5px solid #fdd835; 
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin: 0 0 1rem 0; 
    quotes: "“" "”" "‘" "’";
    position: relative;
    padding-left: 1.5em; 
}

.testimonial-quote::before {
    content: open-quote;
    font-size: 2.5em;
    color: #fdd835; 
    position: absolute;
    left: 0;
    top: -0.2em;
    line-height: 1;
}

.testimonial-author {
    font-weight: 500;
    font-size: 1rem;
    color: #eee;
    text-align: right; 
    margin-top: 1rem;
}

#testimonial-submission {
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    background-color: rgba(45, 45, 45, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

#testimonial-submission h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fdd835;
    text-align: center;
}

#testimonial-submission label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #ddd;
    text-align: left;
}

#testimonial-submission input[type="text"],
#testimonial-submission textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #333;
    color: #eee;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

#testimonial-submission input[type="text"]:focus,
#testimonial-submission textarea:focus {
    border-color: #fdd835;
    outline: none;
    box-shadow: 0 0 5px rgba(253, 216, 53, 0.5);
}

#testimonial-submission textarea {
    resize: vertical;
}

#testimonial-submission button {
    padding: 0.75rem 1.5rem;
    background-color: #fdd835;
    color: #222;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#testimonial-submission button:hover {
    background-color: #c6a700;
    color: #fff;
}

#contact {
    background-color: #222;
    background-image: url('/fondo elegante.png'); 
    background-size: cover;
    background-position: center;
    position: relative; 
    z-index: 1; 
    padding: 5rem 0; 
    color: #e0e0e0; 
    text-align: center; 
}

#contact h2 { 
    font-family: 'IM Fell English SC', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    color: #fdd835; 
}

#contact p { 
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

#contact p a { 
    color: #fdd835;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact p a:hover {
    color: #c6a700; 
}

#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto 0 auto; 
    background-color: rgba(45, 45, 45, 0.7); 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    animation: slideInRight 1s ease-out;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0 2rem 0; 
}

.social-links a {
    color: #ccc; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #fdd835; 
    transform: scale(1.1); 
}

.social-links svg {
    width: 30px; 
    height: 30px;
}

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

.form-group label {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ddd;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #333;
    color: #eee;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #fdd835;
    outline: none;
    box-shadow: 0 0 5px rgba(253, 216, 53, 0.5);
}

.form-group textarea {
    resize: vertical;
}

#contact-form button {
    padding: 1rem 2rem;
    background-color: #fdd835;
    color: #222;
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#contact-form button:hover {
    background-color: #c6a700;
    color: #fff;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2; 
    width: 100%;
    height: 100vh;
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

body.light-mode {
    background-color: #f0f0f0; 
    color: #555;
}