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

body {
    overflow-x: hidden;

    background: var(--light-rose);

    font-family: Poppins, sans-serif;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--dark-green);
}


/* -- Common selectors -- */

/* Disable scrolling on the whole body of the index page - used during modal/lightbox windows open */
.body-scroll-disabled {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;

    text-align: center;

    font-family: 'Patrick Hand', cursive;
    font-size: 2.8rem;
    letter-spacing: 0.05em;
    color: var(--light-rose);
    text-shadow: var(--text-shadow);
}

.section-subtitle {
    position: relative;
    margin-bottom: 2rem;

    text-align: center;

    font-family: 'Patrick Hand', cursive;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    color: var(--light-rose);
    text-shadow: var(--text-shadow);
}


/* -- Header -- */

header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;

    backdrop-filter: blur(10px);

    transition: all 0.3s ease;
}

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

    height: 50px;
    margin: 0 auto;
    padding: 0 5%;

    background: var(--dark-green);
    border-bottom: 2px solid var(--dark-rose);
    box-shadow: 0 3px 8px dimgray;
    opacity: 0;

    animation: navFadeIn 2s ease-out forwards;
}

.nav-links {
    display: flex;
    gap: 2.5rem;

    list-style: none;
    white-space: nowrap;
}

.nav-links a {
    position: relative;
    display: block;
    padding: 0.6rem 1.2rem;

    text-decoration: none;

    font-size: 1rem;
    font-weight: 200;
    letter-spacing: 1px;
    color: var(--light-rose);
    text-shadow: var(--text-shadow);

    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: pink;
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 7px;

    background: var(--dark-rose);
    border: 2px solid var(--light-rose);
    border-radius: 5px;
    box-shadow: var(--box-shadow);

    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;

    background: var(--light-rose);

    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* -- Hero section -- */

#hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    height: 50vh;
    min-height: 780px;

    /* Matching background color of hero image as placeholder till image loads */
    background-color: #E9A8B2;

    overflow: visible;
    z-index: 0;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('../images/hero_section/hero-background-2560.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    animation: heroImageFadeIn 1.2s ease-out forwards;

    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 800px;
    padding: 2rem;

    text-align: center;
}

.hero-content img {
    width: 100%;
    padding-top: 80px;

    animation: fadeInUp 2s ease both;
}

.hero-content h1 {
    margin-bottom: 1.5rem;

    text-align: center;

    font-family: 'Patrick Hand', cursive;
    font-size: 4rem;
    letter-spacing: 0.05em;
    color: var(--warm-white);
    text-shadow: var(--text-shadow);

    animation: fadeInUp 2s ease 0.2s both;
}

.hero-content h2 {
    margin-bottom: 1rem;

    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: var(--warm-white);
    text-shadow: var(--text-shadow);

    animation: fadeInUp 2s ease 0.4s both;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;

    background: var(--dark-green);
    border-radius: 50px;
    box-shadow: var(--box-shadow);

    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--light-rose);
    text-decoration: none;

    transition: all 0.3s ease;
    animation: fadeInUp 2s ease 0.6s both;
}

.cta-btn:hover {
    background: var(--light-rose);
    box-shadow: var(--box-shadow);

    color: var(--dark-rose);
}


/* -- Services section -- */

#services {
    background: var(--dark-rose);
}

#services .section-title {
    animation: fadeInUp 2s ease 0.6s;
    animation-fill-mode: both;
}

.services-grid {
    display: grid;
    justify-content: center;
    gap: 2rem;

    grid-template-columns: repeat(auto-fit, minmax(325px, 325px));

    animation: fadeInUp 2s ease 0.7s both;
}

.service-card {
    width: 310px;
    margin: 0 auto;
    overflow: hidden;

    background: white;
    border: 1px solid var(--light-rose);
    border-radius: 15px;
    box-shadow: var(--box-shadow);

    transition: all 0.3s ease;
}

.service-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    height: 200px;
    overflow: hidden;

    background: var(--gradient-rose);
}

.service-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.service-body {
    padding: 1rem;

    text-align: center;
}

.service-name {
    padding-bottom: 4px;

    font-size: 19px;
}

.service-tagline {
    min-height: 1.2rem;
    margin-bottom: 1.2rem;

    font-style: italic;
}

.service-info-link {
    margin-top: 0.3rem;
    padding: 0;

    background: none;
    border: none;

    font-size: 0.9rem;
    text-decoration: underline;
    color: var(--dark-green);

    cursor: pointer;
}

.service-book-btn {
    display: inline-block;

    margin-top: 1.2rem;
    padding: 0.6rem 1.6rem;

    background: var(--dark-green);
    border: none;
    border-radius: 50px;

    font-size: 1.08rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--light-rose);

    transition: all 0.3s ease;
}

.service-book-btn:hover {
    background: var(--light-rose);
    box-shadow: var(--box-shadow);

    color: var(--dark-rose);

    cursor: pointer;
}


/* -- About me section -- */

/* About me container */
#about-me {
    background: var(--dark-green);
}

.about-block {
    color: var(--light-rose);
}

.about-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-welcome {
    margin-bottom: 40px;

    text-align: center;
    font-size: 20px;
}

.about-text {
    font-size: 17px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 20px;
}

/* Floating profile image */
.about-image img {
    float: right;

    width: 380px;
    height: auto;
    margin: 0 0 20px 20px;

    border: 2px solid var(--light-rose);
    border-radius: 25px;
    box-shadow: var(--box-shadow);

    object-fit: cover;
}

.about-text::after {
    content: "";
    display: block;
    clear: both;
}


/* Advantages container */
.advantages-block {
    padding: 3rem;

    background-color: var(--light-green);
    border-radius: 30px;
    box-shadow: var(--box-shadow);
}

.advantages-grid {
    display: grid;
    gap: 2rem;

    grid-template-columns: repeat(2, 1fr);
}

.advantage-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding: 1rem;

    background: var(--warm-white);
    border-radius: 25px;
    box-shadow: var(--box-shadow);
}

.advantage-text {
    flex: 1;
    padding: 0 0 0 1rem;
}

.advantage-text h4 {
    margin-bottom: 1rem;

    text-align: center;

    font-size: 1.3rem;
    color: var(--dark-green);
}

.advantage-image img {
    height: 200px;

    border: 2px solid var(--light-green);
    border-radius: 20px;
    box-shadow: var(--box-shadow);

    object-fit: cover;
}


/* References container */
.references-masonry-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.references-masonry-gallery .reference-images {
    gap: 15px;

    columns: 3 auto;
    list-style: none;
}

.references-masonry-gallery .reference-images .reference-image {
    position: relative;
    display: flex;

    margin-bottom: 14px;
    overflow: hidden;

    border: 2px solid var(--light-rose);
    border-radius: 15px;

    cursor: pointer;
}

.references-masonry-gallery .reference-images img {
    width: 100%;

    transition: transform 0.2s ease;
}

.references-masonry-gallery .reference-images .reference-image:hover img {
    opacity: 0.7;
}

/* Reference image lightbox */
.reference-lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;

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

    padding: 20px;

    background-color: var(--overlay-color);
    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition: opacity 0.25s ease;
}

.reference-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.reference-lightbox-close-btn {
    position: fixed;
    top: 5px;
    right: 20px;
    z-index: 6000;

    font-size: 40px;
    font-weight: 350;
    color: var(--warm-white);

    cursor: pointer;
    user-select: none;

    transition: 0.2s ease;
}

.reference-lightbox-close-btn:hover {
    color: var(--light-blue);
    transform: scale(1.1);
}

.reference-lightbox-image {
    max-width: 90vw;
    max-height: 90vh;

    border: 2px solid var(--light-rose);
    border-radius: 15px;

    object-fit: contain;

    transition: opacity 0.25s ease;
}


/* -- Price list section -- */

#price-list {
    background: var(--pale-green);
}

#price-list h2 {
    color: var(--dark-rose);
    text-shadow: 2px 2px 2px dimgray;
}

.price-card {
    max-width: 540px;
    margin: 0 auto;
    padding: 35px 40px;

    background: var(--warm-white);
    border: 3px solid var(--dark-rose);
    border-radius: 25px;
    box-shadow: var(--box-shadow);
}

.price-card h3 {
    margin-top: 28px;
    margin-bottom: 12px;

    font-size: 17px;
    letter-spacing: 2px;
    color: var(--dark-green);
}

.price-card .row {
    display: grid;
    gap: 10px;

    padding: 2px 0;

    grid-template-columns: 1fr auto auto;

    font-size: 15px;
}

.price-card .row .price,
.label-price {
    min-width: 70px;

    text-align: right;
    white-space: pre;

    color: var(--dark-green);
}

.price-card .label {
    color: var(--dark-green);
}

.price-card .note {
    margin: 15px 0 5px 0;

    font-size: 12px;
    text-align: center;
    color: var(--dark-grey);
}

.price-card .bottom-note {
    margin-top: 20px;

    font-size: 13px;
    text-align: center;
    color: var(--dark-grey);
}


/* -- Contact section -- */

#contact {
    background: var(--dark-rose);
}

.contact-card {
    padding: 3rem;

    background-color: var(--warm-white);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.contact-sub-title {
    margin-bottom: 2rem;

    font-size: 1.8rem;
    color: var(--dark-green);
}

.contact-grid {
    display: grid;
    gap: 1rem;

    grid-template-columns: 1fr 1fr;
}

.contact-info {
    padding-bottom: 2rem;
}


/* Info column */
.info-item {
    display: flex;
    gap: 1rem;
    align-items: center;

    margin-bottom: 1.5rem;

    position: relative;
    overflow: hidden;
}

.info-text h4 {
    margin-bottom: 0.25rem;

    color: var(--dark-green);
}

.info-text p {
    font-size: 0.95rem;
    color: var(--dark-grey);
}

.social-links {
    display: flex;
    gap: 1rem;

    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}


/* Contact form column */
.contact-form {
    padding-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;

    margin-bottom: 0.5rem;

    font-weight: 500;
    color: var(--dark-green);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;

    font-size: 1rem;
    color: var(--dark-green);

    background: var(--warm-white);
    border: 2px solid var(--light-green);
    border-radius: 10px;

    resize: none;
    overflow: auto;

    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--dark-green);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;

    background: var(--light-rose);
    border-color: var(--dark-green);
}

.form-error {
    font-weight: 600;
    color: var(--error-red);
}

.form-confirm h3,
.form-confirm p {
    text-align: center;
    line-height: 1.5;
    margin: 1rem 0;
}

.form-btn {
    display: block;

    margin: 0 auto;
    padding: 1rem 4rem;

    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-rose);

    background: var(--dark-green);
    border: none;
    border-radius: 50px;

    cursor: pointer;
    transition: all 0.3s ease;
}

.form-btn:hover {
    background: var(--light-rose);
    box-shadow: var(--box-shadow);

    color: var(--dark-rose);
}


/* Embedded Google Maps */
.map-container {
    position: relative;

    width: 100%;
    max-width: 1200px;
    height: 450px;

    overflow: hidden;

    border: 2px solid var(--dark-green);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}


/* -- Section dividers -- */

/* Dark Rose */
.section-divider-dark-rose {
    position: relative;
    overflow: hidden;

    padding-bottom: 100px;
}

.section-divider-dark-rose::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 100px;

    pointer-events: none;

    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 100% 100px;
    background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.67c-3.07-.55-9.27.41-16.15 0-6.87-.4-13.74-.58-19.13.1v.4h35.28z" fill="%23aa7d82"/><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" opacity=".5" fill="%23aa7d82"/><path d="M35.28.31c-2.57.84-7.68.3-11.8.43-4.1.12-6.85.61-9.57.28C11.18.69 8.3-.16 5.3.02 2.3.22.57.85 0 .87v1.2h35.28z" opacity=".5" fill="%23aa7d82"/></svg>');

    z-index: 2;
}

/* Dark Green */
.section-divider-dark-green {
    position: relative;
    overflow: hidden;

    padding-bottom: 100px;
}

.section-divider-dark-green::before {
    content: '';

    position: absolute;
    inset: -1px;

    z-index: 3;
    pointer-events: none;

    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 100% 100px;
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.67c-3.07-.55-9.27.41-16.15 0-6.87-.4-13.74-.58-19.13.1v.4h35.28z" fill="%234f8f90"/><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" opacity=".5" fill="%234f8f90"/><path d="M35.28.31c-2.57.84-7.68.3-11.8.43-4.1.12-6.85.61-9.57.28C11.18.69 8.3-.16 5.3.02 2.3.22.57.85 0 .87v1.2h35.28z" opacity=".5" fill="%234f8f90"/></svg>');
}

/* Pale Green */
.section-divider-pale-green {
    position: relative;
    overflow: hidden;

    padding-bottom: 100px;
}

.section-divider-pale-green::before {
    content: '';

    position: absolute;
    inset: -1px;

    z-index: 3;
    pointer-events: none;

    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 100% 100px;
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.67c-3.07-.55-9.27.41-16.15 0-6.87-.4-13.74-.58-19.13.1v.4h35.28z" fill="%23d2e1d9"/><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" opacity=".5" fill="%23d2e1d9"/><path d="M35.28.31c-2.57.84-7.68.3-11.8.43-4.1.12-6.85.61-9.57.28C11.18.69 8.3-.16 5.3.02 2.3.22.57.85 0 .87v1.2h35.28z" opacity=".5" fill="%23d2e1d9"/></svg>');
}


/* -- Animations -- */

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageFadeIn {
    from {
        opacity: 0;
        filter: blur(8px);
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}


/* -- RESPONSIVE BREAKPOINTS -- */

/* Desktop / Tablet landscape */
@media (max-width: 1024px) {
    #hero {
        background-image: url('../images/hero_section/hero-background-2048.webp');
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablets portrait */
@media (max-width: 768px) {
    #hero {
        background-image: url('../images/hero_section/hero-background-1536.webp');
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        justify-content: flex-end;
    }

    .nav-links {
        position: fixed;
        top: 50px;
        right: -100%;

        width: 100%;
        height: calc(100vh);
        padding-top: 3rem;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        gap: 1rem;

        background: var(--dark-green);

        transition: right 0.3s ease;

        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        margin: 0;

        box-sizing: border-box;

        text-align: center;
        font-size: 1.3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .references-masonry-gallery .reference-images {
        columns: 3 auto;
    }

    .price-card {
        max-width: 480px;
        padding: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Large phones */
@media (max-width: 600px) {
    #hero {
        background-image: url('../images/hero_section/hero-background-1200.webp');
    }

    html {
        font-size: 15px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 2.2rem;
    }

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

    .hero-content h2 {
        font-size: 1rem;
    }

    .about-image img {
        width: 180px;
    }

    .advantages-block {
        padding: 2rem;
    }

    .advantage-image img {
        height: 180px;
    }

    .references-masonry-gallery .reference-images {
        columns: 2 auto;
    }

    .reference-lightbox-image {
        max-width: 95vw;
        max-height: 85vh;
    }

    .price-card .row {
        grid-template-columns: 1fr auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-divider-dark-rose,
    .section-divider-dark-green,
    .section-divider-pale-green {
        padding-bottom: 60px;
    }

    .section-divider-dark-rose::after,
    .section-divider-dark-green::before,
    .section-divider-pale-green::before {
        background-size: 100% 60px;
    }
}

/* Normal phones */
@media (max-width: 480px) {
    #hero {
        background-image: url('../images/hero_section/hero-background-960.webp');
        min-height: 480px;
    }

    html {
        font-size: 14px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 2.2rem;
    }

    .hero-content img {
        padding-top: 50px;
    }

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

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .about-image img {
        width: 150px;
    }

    .advantages-block {
        padding: 1rem;
    }

    .advantage-image img {
        height: 160px;
    }

    .contact-card {
        padding: 2rem;
    }

    .price-card {
        padding: 20px;
    }

    .references-masonry-gallery .reference-images {
        columns: 2 auto;
    }
}

/* Small phones */
@media (max-width: 410px) {
    #hero {
        background-image: url('../images/hero_section/hero-background-820.webp');
    }

    .advantages-block {
        padding: 0;

        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .advantage-image img {
        height: 160px;
    }
}
