/* ==================================================
   Nicolette Semmelmeyer Creative
   WDD 130 - styles.css
================================================== */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap");

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

body {
    background-color: #FAEEE7;
    color: #594A4E;
    font-family: "Poppins", sans-serif;
    line-height: 1.7;
}

HEADINGS 

h1,
h2,
h3,
h4 {
    font-family: "Fraunces", serif;
    color: #33272A;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

/*LINKS */ 

a {
    text-decoration: none;
    color: #33272A;
    transition: .3s;
}

a:hover {
    color: #FFA3C6;
}



header{
    background: white;
    padding: 20px 70px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 3px 10px rgba(0,0,0,.1);
}

.logo img {
    width: 180px;
}

/*Navigation */

nav ul{
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a{
    font-weight: 600;
    font-size: 18px;
}

/* ---------- HERO ---------- */

.hero {
    text-align: center;
    padding: 100px 30px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 700px;
    margin: auto;
    font-size: 1.2rem;
}

.hero img {
    margin-top: 40px;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
}

/* ---------- BUTTONS ---------- */

/* ---------- BUTTONS ---------- */

button,
.button {
    display: inline-block;
    background: #FFA3C6;
    color: #33272A;
    padding: 15px 35px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover,
.button:hover {
    background: #C3F0CA;
    transform: translateY(-3px);
}

/* ---------- MAIN ---------- */

main {

    max-width: 1200px;

    margin: auto;

    padding: 60px 30px;
}

/* ---------- SECTIONS ---------- */

section {

    margin-bottom: 80px;
}

section h2 {

    text-align: center;

    margin-bottom: 40px;

    font-size: 2.4rem;
}

/* ---------- CARD GRID ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

/* ---------- CARDS ---------- */

.card,
.lesson-card {

    background: white;

    padding: 25px;

    border-radius: 15px;

    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,.08);

    transition: .3s;
}

.card:hover,
.lesson-card:hover {
    transform: translateY(-8px);
}

.card img,
.lesson-card img {

    width: 100%;

    border-radius: 10px;

    margin-bottom: 20px;
}

.card h3,
.lesson-card h3 {

    color: #FFA3C6;
}

/* ---------- SERVICES ---------- */

.services {

    display: grid;

    grid-template-columns: 1fr 1fr; 

    gap: 30px;
}

.service {

    background: white;

    padding: 30px;

    border-radius: 15px;

    text-align: center;

    box-shadow: 0 5px 10px rgba(0,0,0,.08);
}

.service img {

    width: 100px;

    margin-bottom: 20px;
}
.services img{
    width:100%;
    border-radius:10px;
}
#services-image-1{
    background-color: #C3F0CA;
}
#services-image-2{
    background-color: #FFA3C6;
}
#services-title{
    grid-column:1/3;
}
#services-content{
    grid-row:2/4;
}







/* ---------- PORTFOLIO - ALFREDO'S CHILDPAGE---------- */

/* ---------- PORTFOLIO PAGE TITLE BOX ---------- */

.page-title-box {
    background: white;
    border-radius: 15px;
    padding: 40px 50px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.page-title-box h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-title-box p {
    font-size: 1.05rem;
    max-width: 700px;
    margin-bottom: 0;
}

/* ---------- PORTFOLIO LAYOUT ---------- */

.portfolio-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: stretch;
}

.main-content {
    flex: 1.5;
    background: white;
    border-radius: 15px;
    padding: 35px 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.main-content h3 {
    font-size: 1.15rem;
    color: #FFA3C6;
    margin-top: 20px;
    margin-bottom: 8px;
}

.main-content h3:first-of-type {
    margin-top: 0;
}

.main-content p {
    font-size: 0.98rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #F0E0D6;
}

.portfolio-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portfolio-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    min-height: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.portfolio-image.image-1 {
    background-color: #C3F0CA;
}

.portfolio-image.image-2 {
    background-color: #FFC6C7;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- CLOSING SECTION ---------- */

.closing {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    text-align: left;
}








/* ---------- CTA ---------- */

.cta {

    background: #C3F0CA;

    text-align: center;

    padding: 60px;

    border-radius: 20px;
}

.cta h2 {

    margin-bottom: 20px;
}

/* ---------- FOOTER ---------- */

footer {

    background: #33272A;

    color: white;

    text-align: center;

    padding: 50px 20px;
}

footer p {

    color: white;
}

footer a {

    color: #FFA3C6;
}

footer a:hover {
    color: white;
}

/* ---------- IMAGES ---------- */

img {

    max-width: 100%;

    display: block;
}

/* ---------- FORM ---------- */

form {

    max-width: 700px;

    margin: auto;

    display: flex;

    flex-direction: column;

    gap: 20px;
}

input,
textarea {

    padding: 15px;

    border: 2px solid #C3F0CA;

    border-radius: 8px;

    font-size: 16px;

    font-family: "Poppins", sans-serif;
}

textarea {

    min-height: 150px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #FFA3C6;
}
/* ---------- RESPONSIVE ---------- */

@media screen and (max-width:900px){

header{

    flex-direction: column;

    gap:20px;
}

nav ul{

    flex-direction: column;

    text-align:center;
}

.hero h1{

    font-size:2.5rem;
}

.about{

    flex-direction:column;
}

}






@media screen and (max-width:600px){

header{
    padding:20px;
}

main{
    padding:30px 20px;
}

.hero{
    padding:60px 20px;
}

.hero h1{
    font-size:2rem;
}

section h2{
    font-size:1.8rem;
}

button{
    width:100%;
}

.page-title-box {
    padding: 25px 30px;
}

.page-title-box h1 {
    font-size: 2rem;
}

.portfolio-layout {
    flex-direction: column;
}

.main-content {
    padding: 25px 30px;
}

.closing {
    padding: 30px 20px;
}

}


