/*
Author: Javier Rico
Date: 2/2/26
File Name: styles.css
*/

/* CSS Reset */
body, header, nav, main, footer, img, h1, ul, section, aside, figure, figcaption {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Style rule for images */
img {
max-width: 100%;
display: block;
}



@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



.card {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.form-control {
    background-color: #1c1f22;
    color: #fff;
    border: 1px solid #3f7044;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-control:focus {
    background-color: #232323;
    color: #fff;
    border-color: #3f7044;
    box-shadow: 0 0 8px rgba(63,112,68,0.6);
}

.form-label,
.form-check-label {
    color: #cfe9d8 !important;
}

.btn-primary {
    background-color: #3f7044;
    border: none;
    border-radius: 10px;
}

.btn-primary:hover {
    background-color: #2c5530;
}

.ratio iframe {
    border-radius: 15px;
}

body {
    background-color: #1c1f22; /* dark base color */
}
/* Style rule for box sizing applies to all elements */
* {
box-sizing: border-box;
}

/* Style rules for mobile viewport */

/* Hide tab-desk class */
.tab-desk {
    display: none;
}
/* Hero Section */
#hero {
    background-color: black;   /* black background */
    text-align: center;        /* centers image horizontally */
    padding: 20px 0;           /* space above and below image */
}

/* Hero Image */
#hero img {
    max-width: 100%;           /* makes it responsive */
    height: auto;
    display: block;
    margin: 0 auto;            /* centers image */
}
aside {
    background: rgba(255,255,255,0.06);
    padding: 25px 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    display: inline-block;
}

section {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

section img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

section img:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

section p {
    margin-top: 15px;
}

figure {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    padding: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(6px);
}

figure:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
figure img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

figure:hover img {
    transform: scale(1.05);
}
figcaption {
    margin-top: 15px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    font-size: 1.1em;
}

/* Style rules for header content */
header {
    text-align: center;
    padding: 30px 0;

    background: linear-gradient(
        145deg,
        #111111,
        #1c1f22,
        #232323
    );

    border-bottom: 1px solid rgba(79, 125, 90, 0.3);
}

header h1 {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: #e6f2ea;

    text-shadow: 
        0 0 10px rgba(79, 125, 90, 0.4),
        0 0 20px rgba(79, 125, 90, 0.2);
}

/* Style rules for navigation area */
nav {
    background-color: #111;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
    margin: 0;
}

nav li {
    list-style: none;
}

nav li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s ease;
}

nav li a:hover {
    background-color: #e5e9fc;
    color: #000;
}

html {
    scroll-behavior: smooth;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 5%;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #1c1f22; /* same charcoal as header */
}

#home-intro {
    padding: 70px 20px;
    background: linear-gradient(
        145deg,
        #2c5530,
        #3f7044
    );
}

.intro-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 25px;
}

#contact {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);

    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

    text-align: center;
    color: #ffffff;
}
main {
    position: relative;
    padding: 2%;
    margin: 0;
    overflow: auto;
    font-family: 'Roboto', sans-serif;

    background: linear-gradient(
        145deg,
        #1a1a1a,
        #232323,
        #2f3d33,
        #3f7044
    );
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
}
.container {
    padding-top: 60px;
    padding-bottom: 60px;
}


main p, main h3 {
    font-size: 1.25em;
    color: #fff;
}
.action {
    font-size: 1.25em;
    color: #00000025;
    font-weight: bold;

}

#piano, #guitar, #violin {
    margin: 0 2%;
}
#info {
    max-width: 850px;
    margin: 80px auto;
    padding: 50px 60px;

    background: rgba(32, 58, 46, 0.65);  /* deep green glass */
    backdrop-filter: blur(12px);

    border-radius: 25px;
    border: 1px solid rgba(79, 125, 90, 0.4);

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(79, 125, 90, 0.2);

    text-align: center;
    color: #ffffff;
}
#info h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #cfe9d8;  /* soft sage highlight */

}
#info {
    border: 1px solid rgba(255, 255, 255, 0.15);
}
#info p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 20px auto;
}
#info ul {
    margin-left: 10%;
}
.round {
    border-radius: 8px;
}
#contact {
    text-align: center;
}
.tel-link {
    background-color: #000000;
    padding: 2%;
    margin: 0 auto;
    width: 80%;
    text-align: center;
    border-radius: 5px;
}

.tel-link a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    display: block;
}

#contact .email-link {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}
.map-frame {
    border: none;
    border-radius: 15px;
    margin-top: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Style rules for footer content */
footer {
    text-align: center;
    font-size: 0.75em;
    padding: 30px 0;
    background-color: #0a0a0a;
    color: white;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 550px){

.grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

aside {
    grid-column: 1 / span 2;
}
/*Tablet viewport: Style rules for nav area */
nav li{
    border-top: none;
    display: inline-block;
    font-size: 1.5em;
    border-right: 1px solid #e5e9fc;
}
nav li:last-child {
    border-right: none;
}
nav li a {
    padding: 0.25em 0.5em;
}
/* Tablet Viewport: Style rule for map */

.map-frame {
    width: 500px;
    height: 450px;
}


    /* Tablet Viewport: Show tab-desk class, hide mobile class */
.tab-desk {
display: block;
}
.mobile {
display: none;
}
/* Tablet Viewport: Style rule for header content */
span.tab-desk {
display: inline;
}

}

        

/* Media Query for Desktop Viewport */

@media screen and (min-width: 769px){
 /* Desktop Viewport: Style rule for header */
    header {
        padding: 2%;
    }

    /* Desktop Viewport: Style rules for nav area */

    nav li a {
        padding: 0.5em 1.5em;
    }

    nav li a:hover {
        color: #000000;
        background-color: #e5e9fc;
    }

    /* Desktop Viewport: Style rules for nav area */

    nav li a {
        padding: 0.5em 1.5em;
    }

    nav li a:hover {
        color: #000000;
        background-color: #e5e9fc;
    }

    /* Desktop Viewport: Style rules for main content */

    #info ul {
        margin-left: 5%;
    }

    main h3 {
        font-size: 1.5em;
    }

    #piano, #guitar, #violin {
        width: 29%;
        float: left;
        margin: 0 2%;
    }

    .grid {
    grid-template-columns: auto auto auto auto;
}
    figcaption {
        font-size: 1em;
}
aside {
    grid-column: 1 / span 4;
}
}

/* Media Query for Print */

@media print {

    body {
        background-color: #fff;
        color: #000;
    }

}