/* =========================
   IVYNICOLE DESIGNS
   COLOR PALETTE
========================= */

:root {

    --background: #16263A;
    --card: #223247;

    --heading: #6FA8A8;
    --text: #C9C9C2;
    --light: #F1EEE8;

    --button: #6FA8A8;
    --button-hover: #5B8F8F;

    --shadow: rgba(0,0,0,.25);

}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

body {

    font-family: "Lato", sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    padding: 20px;

}
/* =========================
   NAVIGATION
========================= */

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

nav a {
    color: var(--heading);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

nav a:hover {
    color: var(--light);
    text-decoration: none;
}
/* =========================
   BUTTONS
========================= */

.button {
    display: inline-block;
    background-color: var(--button);
    color: var(--light);
    font-family: "Lato", sans-serif;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    margin-top: 20px;
}

.button:hover {
    background-color: var(--button-hover);
    color: white;
    text-decoration: none;
}
/* =========================
   MAIN HEADING
========================= */

h1 {
    font-family: "Playfair Display", serif;
    color: var(--heading);
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.hero h2 {
    font-family: "Lato", serif;
    color: var(--light);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 25px;
}
/* =========================
   SERVICES SECTION
========================= */

.services {
    margin-top: 60px;
    text-align: center;
}

.services h2 {
    font-family: "Playfair Display", serif;
    color: var(--light);
    font-size: 36px;
    margin-bottom: 35px;
}


.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}


.service-card {
    background-color: var(--card);
    padding: 30px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 8px 20px var(--shadow);
}


.service-card h3 {
    font-family: "Playfair Display", serif;
    color: var(--heading);
    font-size: 24px;
    margin-bottom: 15px;
}


.service-card p {
    color: var(--text);
    font-size: 16px;
}
/* =========================
   WHY CHOOSE SECTION
========================= */

.why-choose {
    margin-top: 80px;
    text-align: center;
}


.why-choose h2 {
    font-family: "Playfair Display", serif;
    color: var(--light);
    font-size: 36px;
    margin-bottom: 35px;
}


.features {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}


.feature {
    background-color: var(--card);
    width: 280px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px var(--shadow);
}


.feature h3 {
    font-family: "Playfair Display", serif;
    color: var(--heading);
    font-size: 24px;
    margin-bottom: 15px;
}


.feature p {
    color: var(--text);
    font-size: 16px;
}
/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    margin-top: 80px;
    padding: 25px;
    background-color: var(--card);
}


footer p {
    color: var(--text);
    font-size: 14px;
}
/* =========================
   GENERAL PAGE SECTIONS
========================= */

section {
    max-width: 1000px;
    margin: 60px auto;
}
section h2 {
    font-family: "Playfair Display", serif;
    color: var(--heading);
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

section h3 {
    font-family: "Playfair Display", serif;
    color: var(--heading);
}
/* =========================
   STANDARD CONTENT PAGES
========================= */

.page-content {
    max-width: 900px;
    margin: 70px auto;
    text-align: center;
}

.page-content h2 {
    font-family: "Playfair Display", serif;
    color: var(--heading);
    font-size: 36px;
    margin-bottom: 30px;
}

.page-content h3 {
    font-family: "Playfair Display", serif;
    color: var(--heading);
    font-size: 26px;
    margin-top: 35px;
}

.page-content p {
    color: var(--text);
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto 25px;
}
.portfolio {
    max-width: 1100px;
    margin: 70px auto;
    text-align: center;
}
.portfolio-project {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}
/* =========================
   WHY WORK WITH ME SECTION
========================= */

.why-me {
    max-width: 900px;
    margin: 70px auto;
    text-align: center;
}


.why-me h2 {
    font-family: "Playfair Display", serif;
    color: var(--light);
    font-size: 36px;
    margin-bottom: 30px;
}


.why-me ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}


.why-me li {
    color: var(--text);
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}


/* =========================
   ABOUT LIST
========================= */

.about-list {
    max-width: 650px;
    margin: 30px auto;
    text-align: center;
}

.about-list p {
    color: var(--text);
    font-size: 18px;
    margin-bottom: 15px;
}

/* =========================
   ABOUT PAGE SECTIONS
========================= */

.about,
.mission,
.why-me,
.about-cta {
    max-width: 900px;
    margin: 70px auto;
    text-align: center;
}


.about h2,
.mission h2,
.why-me h2,
.about-cta h2 {
    font-family: "Playfair Display", serif;
    color: var(--heading);
    font-size: 36px;
    margin-bottom: 25px;
}


.about p,
.mission p {
    color: var(--text);
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto;
}
/* =========================
   CONTACT PAGE
========================= */

.contact,
.contact-form {
    max-width: 900px;
    margin: 70px auto;
    text-align: center;
}


.contact h2,
.contact-form h2 {
    font-family: "Playfair Display", serif;
    color: var(--heading);
    font-size: 36px;
    margin-bottom: 25px;
}


.contact p {
    color: var(--text);
    font-size: 18px;
}


.contact-info {
    margin-top: 30px;
}


.contact-form form {
    max-width: 600px;
    margin: 0 auto;
}


.contact-form label {
    color: var(--text);
    font-size: 16px;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    margin-top: 8px;
    margin-bottom: 20px;
    font-size: 16px;
}


.contact-form .button {
    display: inline-block;
}
.about-list {
    text-decoration: none;
}
.portfolio-project h3 a {
    color: var(--heading);
    text-decoration: none;
}

.portfolio-project h3 a:hover {
    color: white;
}
.portfolio-gallery img {
    width: 45%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
@media (max-width: 768px) {

    .portfolio-gallery img {
        width: 100%;
    }

}
.portfolio-project img {
    width: 65%;
    max-width: 650px;
}
.portfolio-project img {
    width: 65%;
    max-width: 650px;
    height: auto;
    display: block;
    margin: 0 auto 30px;
    border-radius: 12px;
}
@media (max-width: 768px) {

    nav {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    nav a {
        font-size: 16px;
    }

}
/* Home Page Section Headings */

.services h2,
.why-choose h2 {
    color: var(--heading);
}
