@import url('https://fonts.googleapis.com/css2?family=Courgette&family=Patrick+Hand+SC&family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Courgette&family=Patrick+Hand+SC&family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Courgette&family=Patrick+Hand+SC&family=Quicksand:wght@300..700&family=Satisfy&display=swap');

:root {
    --aqua: #9ff1e5;
    --purple: #c885ec;
    --light-purple: #f5e8fb;
    --dark-purple: #9f55c7;
    --white: #ffffff;
    --cream: #fffdf9;
    --black: #000000;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.logo img {
    width: 200px;
    height: auto;
}

nav {
    text-align: right;
    padding: 12px 15px;
    background-color: var(--aqua);
    width: fit-content;
    margin-left: auto;
    border-radius: 0 0 0 20px;
}

nav a {
    display: inline-block;
    text-decoration: none;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0 15px;
    color: var(--white);
    transition: color 0.2s ease, transform 0.2s ease;
}

nav a + a {
    border-left: 2px solid rgba(255, 255, 255, 0.5);
}

nav a:hover {
    color: var(--purple);
    transform: translateY(-3px);
}

h1 {
    font-family: "Courgette", cursive;
    text-align: center;
    font-size: 5em;
    color: var(--purple);
    margin: 50px 20px;
}

h1 span {
    display: block;
    font-family: "Caveat", cursive;
    text-align: center;
    font-size: 0.45em;
    font-weight: 500;
    color: var(--aqua);
}

body {
    font-family: "Quicksand", sans-serif;
}

hr {
    border: none;
    height: 3px;
    background-color: var(--aqua);
    margin: 40px 0;
}

h3 {
    font-family: "Quicksand", sans-serif;
    text-align: center;
    margin: 15px 20px;
    padding: 0;
    color: var(--purple);
}

p {
    font-family: "Quicksand", sans-serif;
    text-align: center;
    margin: 15px auto;
    padding: 0;
    max-width: 800px;
    line-height: 1.6;
    color: var(--black);
}

.order-button {
    display: block;
    width: fit-content;
    margin: 30px auto;
    padding: 12px 25px;
    background-color: var(--purple);
    color: var(--cream);
    text-decoration: none;
    border-radius: 25px;
}

.order-button:hover {
    background-color: var(--aqua);
    transform: translateY(-3px);
}

.icing-divider {
    position: relative;
    width: 100%;
    height: 55px;
    margin: 0;
    padding: 0;
}

.icing-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.icing-heart {
    position: absolute;
    color: #9ff1e5;
    font-size: 22px;
}

.heart-one {
    left: 10%;
    top: 5px;
    transform: rotate(-12deg);
    border-color: #000000;
}

.heart-two {
    left: 50%;
    top: -4px;
    border-color: #000000;
}

.heart-three {
    left: 90%;
    top: 5px;
    transform: rotate(12deg);
    border-color: #000000;
}

.creations {
    text-align: center;
    padding: 90px 20px 70px;
    background-color: var(--light-purple);
}

.creations::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: var(--purple);
    border-radius: 50%;
}

.creations h2 {
    color: var(--purple);
    font-family: "Quicksand", sans-serif;
    font-size: 2.5em;
}

.creations p {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: var(--black);
}

.creation-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.creation-card {
    width: 200px;
    padding: 25px;
    text-decoration: none;
    color: var(--purple);
    border-radius: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.creation-card img {
    width: 100px;
    height: 100px;
}

.creation-card h3 {
    margin-top: 15px;
    font-size: 1.5em;
    color: var(--black);
}

.creation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.about-us {
    position: relative;
    padding: 100px 40px;
    background-color: var(--cream);
    text-align: center;
    overflow: visible;
}

.about-us::before {
    content: "";
    position: absolute;
    top: -45px;
    left: -5%;
    width: 110%;
    height: 90px;
    background-color: var(--cream);
    border-radius: 50% 50% 0 0 /100% 100% 0 0;
    z-index: 0;
}

.about-us h2 {
    position: relative;
    overflow: visible;
    z-index: 1;
    margin-bottom: 50px;
    color: var(--purple);
    font-family: "Quicksand", sans-serif;
    font-size: 2.5em;
}

.about-content, .about-us h2 {
    position: relative;
    z-index: 1;
}

.about-us::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -5px;
    width: 110%;
    height: 80px;
    background-color: var(--cream);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    z-index: 0;

    box-shadow: 0 8px 0 var(--aqua);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    max-width: 1050px;
    margin: 0 auto;
    text-align: left;
}

.about-image {
    width: 420px;
    margin: 0;
    flex-shrink: 0;
}

.about-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;

    border-radius: 25px;
    border: 5px solid var(--aqua);
    box-shadow: 8px 8px 0 var(--purple);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translate(-4px ,-4px);
    box-shadow: 12px 12px 0 var(--purple);
}

.about-image figcaption {
    margin-top: 18px;
    text-align: center;
    color: #777;
    font-size: 0.95em;
    font-style: italic;
}

.about-story {
    flex: 1;
    max-width: 500px;
}

.about-story p {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: var(--aqua);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.about-button:hover {
    background-color: var(--purple);
    transform: translateY(-3px);
}

@media (max-width: 750px) {
    .about-us {
        padding: 80px 20px;
    }
    .about-content {
        flex-direction: column;
        gap: 45px;
        text-align: center;
    }
    .about-image {
        width: min(100%, 420px);
    }
    .about-story {
        max-width: 600px;
    }
    .about-story p {
        text-align: left;
    }
}

.cake-preview {
    text-align: center;
    padding: 80px 20px;
    background-color: #ffffff;
}

.cake-preview h2 {
    color: var(--purple);
    font-family: "Quicksand", sans-serif;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.cake-intro {
    margin-bottom: 45px;
}

.cake-preview-grid {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.cake-card {
    width: 280px;
    text-decoration: none;
    color: var(--purple);
    background-color; var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(200, 133, 236, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cake-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.cake-card h3 {
    font-family: "Quicksand", sans-serif;
    font-size: 1.3em;
    margin: 18px 10px 20 px;
}

.cake-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(200, 133, 236, 0.25);
}

.gallery-button {
    display: inline-block;
    margin-top: 45px;
    padding: 14px 28px;
    background-color: var(--purple);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-family: "Quicksand", sans-serif;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.gallery-button:hover {
    background-color: #b86ddf;
    transform: translateY(-3px);
}

.got-something {
    position: relative;
    padding: 90px 30px 100px;
    text-align: center;
    background-color: white;
    overflow: hidden;
}

.got-something h2 {
    margin: 15px 0 15px;
    color: var(--dark-purple);
    font-family: "Quicksand", sans-serif;
    font-size: 2.7em;
}

.got-something p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1em;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--aqua);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: var(--purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(200, 133, 236, 0.25)
}

.cta-decoration {
    color: var(--dark-purple);
    font-size: 22px;
    display: inline-block;
}

.cta-decoration span:nth-child(1) {
    transform: rotate(-12deg);
}

.cta-decoration span:nth-child(2) {
    color: var(--aqua);
    transform: translateY(-8px);
}

.cta-decoration span:nth-child(3) {
    transform: rotate(12deg);
}

.cta-line {
    width: 180px;
    height: 4px;
    margin: 45px auto 0;
    background-color: var(--aqua);
    border-radius: 50%;
}

/* ===== FOOTER ===== */

.site-footer {
    position: relative;
    padding: 85px 30px 30px;

    background-color: var(--dark-purple);
    color: white;

    text-align: center;
    overflow: hidden;

    z-index: 1;
}

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    background: linear-gradient(
        to bottom,
        var(--white) 0%,
        rgba(255, 255, 255, 0.85) 25%,
        rgba(255, 255, 255, 0.45) 55%,
        rgba(255, 255, 255, 0) 100%
    );

    pointer-events: none;

    z-index: 2;
}

.footer-content {
    position: relative;

    width: min(1100px, 90%);
    margin: 0 auto;

    z-index: 3;
}

.footer-decoration {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 22px;
    margin-bottom: 20px;
}

.footer-decoration span {
    display: inline-block;
    color: var(--aqua);
    font-size: 22px;
}

.footer-decoration span:nth-child(1) {
    transform: rotate(-12deg);
}

.footer-decoration span:nth-child(2) {
    color: var(--cream);
    font-size: 18px;
    transform: translateY(-5px);
}

.footer-decoration span:nth-child(3) {
    transform: rotate(12deg);
}

.footer-brand {
    display: flex;
    flex-direction: column;

    align-items: center;
    margin-bottom: 35px;
}

.footer-brand img { 
    width: 210px;
    height: auto;

    margin-bottom: 18px;
    filter: brightnexx(0) invert(1);
}

.footer-brand p {
    max-width: 500px;
    margin: 0;

    color: var(--cream);
    font-family: "Caveat", cursive;
    font-size: 1.45rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    width: 100%;
    margin: 0 auto 25px;
   
    text-align: center;
}

.footer-nav a {
    display: inline-block;
    padding: 5px 18px;
    
    color: white;

    font-family: "Quicksand", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-nav a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-nav a:hover {
    color: var(--purple);
    transform: translateY(-2px);
}

.footer-social {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 22px;
    margin-bottom: 30px;
}

.footer-social a {
    color: var(--aqua);
    
    font-family: "Quicksand", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-social a:hover {
    color: white;

    transform: translateY(-2px);
}

.footer-divider {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;
    margin: 5px auto 25px;
}

.footer-divider span:first-child, .footer-divider span:last-child {
    width: 80px;
    height: 2px;

    background-color: var(--purple);

    border-radius: 50%;
}

.footer-divider span:nth-child(2) {
    color: var(--aqua);
    font-size: 15px;
}

.footer-bottom {
    padding-top: 5px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-family: "Quicksand", sans-serif;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .site-footer {
        padding: 75px 20px 25px;
    }

    .footer-brand img {
        width: 175px;
    }

    .footer-brand p {
        font-size: 1.25rem;
    }

    .footer-nav a {
        padding: 5px 12px;
    }

    .footer-nav a + a {
        border-left: none;
    }

    .footer-social {
        gap: 15px;
    }

    .footer-divider span:first-child, .footer-divider span:last-child {
        width: 55px;
    }
}