/*
Author: Elizabeth Metzler
Date: November 20
File Name: styles.css
*/

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF;
    color: #ff6fa8; 
}

/* Header */
header {
    text-align: center;
    padding: 20px 0;
}

h1 {
    font-family: 'Fredoka One', cursive;
    color: #FF69B4; 
    font-size: 3em;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin-top: 10px;
}

nav li a {
    color: #FF69B4;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5em 1em;
}

nav a:hover {
    text-decoration: underline;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

/* Links */
.tel-link a, .email-link {
    color: #000000;
    text-decoration: none;
}

.tel-link a:hover, .email-link:hover {
    text-decoration: underline;
}

dl.pink-list dt {
    font-weight: bold;
    margin-top: 10px;
}

dl.pink-list dd {
    margin-left: 20px;
    margin-bottom: 10px;
}

.contact-link {
    color: #e85a8b;  /* darker pink */
    font-weight: bold;
    text-decoration: none;
}

/* Form + images container */
.form-image-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* form is bigger than images */
    gap: 40px;
    align-items: start;
    margin: 40px auto;
}

/* Form styles */
#form {
    width: 100%;
    background-color: #fff0f6; 
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* soft shadow */
}

form.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 20px;
    width: 100%;
}

form.form-grid fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 20px;
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

form.form-grid legend {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0 10px;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.textarea-row {
    grid-column: span 2;
}

form.form-grid input,
form.form-grid select,
form.form-grid textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    height: 40px;
    color: #ff6fa8; 
}

form.form-grid textarea {
    height: 80px;
}

button#submit {
    grid-column: span 2;
    padding: 12px 20px;
    background-color: #f26aa7;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    color: white;
}

button#submit:hover {
    background-color: #ffa4b2;
}

/* Images column */
.form-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-images img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Responsive: stack form + images on smaller screens */
@media (max-width: 900px) {
    .form-image-container {
        grid-template-columns: 1fr; 
    }
    form.form-grid, form.form-grid fieldset {
        grid-template-columns: 1fr;
    }
    .textarea-row, button#submit {
        grid-column: 1;
    }
}


#me {
    text-align: center;
    margin: 40px auto;
    background-color: #fff0f6;
    padding: 20px;   
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

#me h2 {
    color: #000000; 
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
}

.me-images {
    display: flex;
    justify-content: center; 
    gap: 20px;              
    flex-wrap: wrap;  
    margin-top: 20px;
}

.me-images img {
    width: 300px;       
    height: auto;       
    object-fit: cover;
    background-color: #fff0f6; 
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

#home-video {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff0f6;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: auto;
}

#home-video h2 {
    font-family: 'Roboto', sans-serif;
    color: #000000;
    margin-bottom: 20px;
}

/* Services Section */
#services {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff0f6; 
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

#services h2 {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #000000;
    margin-bottom: 20px;
}

#services ul {
    list-style-type: disc; 
    padding-left: 40px;
}

#services li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #ff6fa8;
}

#services li strong {
    color: #000000; 
}



/* Footer */
footer {
    text-align: center;
    padding: 1em;
    color: #000000;
    margin-top: 2em;
}

/* Site Map Section */
#sitemap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 25px;
}

#sitemap h2 {
    text-align: center;
    color: #000000;               
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

#sitemap ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

#sitemap li a {
    text-decoration: none;
    color: #FF69B4;                 
    font-weight: bold;
    font-size: 1.1rem;
}

#sitemap li a:hover {
    text-decoration: underline;
}

/* Small screen / mobile styles */
@media (max-width: 500px) {
    h1 {
        font-size: 2em; /* smaller title for phones */
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    #services, #home-video, #sitemap, #me {
        padding: 15px;
        margin: 20px auto;
    }

    #services li {
        font-size: 1rem;
    }

    .me-images img {
        width: 90%;
        max-width: 250px;
    }

    #home-video video, #home-video iframe {
        width: 100%;
        height: auto;
    }
}

#resources {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff0f6;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#resources h2 {
    color: #FF69B4;
    font-family: 'Fredoka One', cursive;
    margin-bottom: 20px;
}

#resources ul {
    list-style-type: disc;
    padding-left: 40px;
}

#resources li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #e85a8b;
}

#resources li a {
    font-weight: bold;
    color: #e85a8b;
    text-decoration: none;
}
