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

:root {
    --color-primary: #FDDFAE;
    --color-secondary: #FDEEE0;
    --color-background: #f9f9f9;
    --color-background-alt: #FDF7F2;
    --color-white:#fff;
    --color-highlight: #FFD1CE
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #222;
    background: var(--color-white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2 {
    margin-bottom: 15px;
    font-weight: 800;
}

p {
    margin-bottom: 15px;
}

.section {
    background: var(--color-background);
    padding: 80px 20px;
}

.fade-section {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-section.active {
    opacity: 1;
    transform: translateY(0);
}

.areas {
    text-align: center;
    padding: 40px 20px;
}

.areas h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.area-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(70%);
    transition: transform 0.3s ease;
}

.area-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.overlay p {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.4;
}

.alt {
    background: var(--color-background-alt);
}

.info {
    padding: 60px 20px;
}

.info-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.info-text {
    flex: 1;
    background: var(--color-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-style: italic;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
    color: #3b2a1a;
}

.about {
    padding: 60px 20px;
}

.about-container {
    background-color: var(--color-secondary);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
}

.about-container h1 {
    font-weight: 600;
}

.about-container p {
    font-weight: 400;
    text-align: left;
    font-size: 1.125rem;
}

.avatar-image {
    flex: 0 0 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.avatar-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.separator {
    background-image: url('assets/separator-image.jpg');
    background-size: cover;
    text-align: center;
    padding: 60px 0;
}

.separator-container {
    background-color: var(--color-secondary);
    box-shadow: 5px 5px 15px 2px #535353;
    padding: 30px 20px;
    border-radius: 20px;
    line-height: 1.2;
    font-weight: 400;
    font-size: 1.5rem;
    font-style: italic;
}

.offer-container {
    padding: 100px 100px 40px;
}

.offer p {
    font-size: 1.25rem;
}

.offer h1 {
    font-size: 4rem;
    line-height: 0.8;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.offer h2 {
    font-weight: 500;
    text-align: center;
    margin: 40px 0;
}

.btn-offer {
    display: inline-block;
    font-size: 1.375rem;
    text-transform: none !important;
}

.offer-button-wrapper {
    display: flex;
    justify-content: center;
}

.feedback {
    padding: 100px 20px;
    background-color: var(--color-secondary);
}

.feedback h2 {
    text-align: center;
    font-size: 2.5rem;
    line-height: 48px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feedback p {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.125rem;
    font-style: italic;
}

.opinion p {
    text-align: left;
    font-style: normal;
}

.feedback-content {
    flex-direction: row;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin: 0 auto;
}

.feedback-image img {
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.feedback-opinions {
    position: relative;
    flex: 1;
    padding-right: 40px;
}

.feedback-opinions .opinion {
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

.feedback-opinions .opinion p,
.feedback-opinions .opinion .author {
    position: relative;
    z-index: 1;
}

.feedback-opinions .opinion .quote {
    position: absolute;
    top: -20px;
    right: 10px;
    width: 100px;
    height: 100px;
    background: url("assets/quote.png") no-repeat center center;
    background-size: contain;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.feedback-opinions .author {
    display: block;
    font-size: 1.125rem;
    margin-top: 8px;
    line-height: 16px;
    font-weight: 600;
}

.book {
    padding: 100px 0;
}

.book p {
    font-size:1.25rem;
}
.book p a{
    color:var(--color-primary);
}

.book-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 320px;
    gap: 12px;
}

.book-wrapper p {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.book-wrapper i {
    color: var(--color-primary);
    margin-right: 10px;
    min-width: 20px;
}

.book h2 {
    text-align: center;
    font-size: 2.125rem;
    font-weight: 600;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    padding: 25px;
    margin: auto;
}

.gallery img {
    width: 100%;
    object-fit: cover;
    height: 200px;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.preview {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    margin: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.preview-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--color-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.header {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    gap:15px;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 12px;
}

.logo img {
    max-height: 150%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.nav {
    display: flex;
    gap: 20px;
}

.btn {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-primary);
    padding: 15px 25px;
    text-transform: uppercase;
    color: var(--color-white);
    font-weight: 400;
    border-radius: 8px;
    transition: 0.4s;
}

.btn-nav {
    width: 180px;
}

.btn:hover {
    background-color: var(--color-highlight);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.footer {
    background: #222;
    color: var(--color-white);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}


@media (max-width: 768px) {


    h1,
    h2 {
        margin-bottom: 0.75rem;
    }

    .areas h2,
    .feedback h2 {
        font-size: 2rem;
    }

    .area-card {
        height:300px;
    }

    .overlay p,
    .offer p,
    .about-container p,
    .feedback p,
    .feedback-opinions .author {
        font-size: 1.5rem;
    }

    .offer h1 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .btn-offer {
        font-size: 1.25rem;
    }

    .logo {
        width: 180px;
    }

    .book h2 {
        font-size: 1.75rem;
    }

    .separator-container {
        font-size: 1.25rem;
    }

    .info-container {
        flex-direction: column;
    }

    .feedback-content {
        flex-direction: column;
        align-items: center;
    }

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

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery img {
        height: 250px;
    }

    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        border-radius:1rem;
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        width: 250px;
        padding: 20px;
        border-left: 1px solid #eee;
        border-bottom: 1px solid #eee;
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    @media (max-width: 500px) {
        .area-card {
            height:150px;
        }
        .gallery {
            grid-template-columns: 1fr;
        }

        body {
            font-size: 0.875rem;
        }

        h1,
        h2 {
            margin-bottom: 0.625rem;
        }

        .areas h2,
        .feedback h2 {
            font-size: 1.75rem;
        }

        .overlay p,
        .offer p,
        .about-container p,
        .feedback p,
        .feedback-opinions .author {
            font-size: 1rem;
        }

        .offer h1 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }

        .btn-offer {
            font-size: 1.125rem;
        }

        .book h2 {
            font-size: 1.5rem;
        }

        .separator-container {
            font-size: 1rem;
        }
    }
}