:root {

    --bg: #f8f5ef;
    --text: #24211e;
    --soft: #ddd2bc;

    --serif: 'Playfair Display', serif;
    --sans: 'Plus Jakarta Sans', sans-serif;

}


/* ================= GENERAL ================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
}


/* ================= NAVBAR ================= */

nav {
    position: relative;

    width: 94%;
    max-width: 1250px;
    height: 90px;

    margin: 0 auto;

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

    z-index: 1000;
}


/* ================= LOGO ================= */

.logo {
    position: absolute;

    left: 0;
    top: 50%;

    transform: translateY(-50%);

    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 1.5px;

    color: var(--text);

    z-index: 1001;
    cursor: pointer;
}


/* ================= LINKS ================= */

.nav-links {
    display: flex;
    gap: 50px;
}

.nav-links a {
    position: relative;

    text-decoration: none;

    color: var(--text);

    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;

    padding: 8px 0;

    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.55;
}


/* ================= ACTIVE PAGE ================= */

.nav-links a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background: var(--text);
}


/* ================= PROFILE ================= */

.nav-icons {
    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);
}

.profile-btn {
    width: 30px;
    height: 30px;

    padding: 0;

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

    background: transparent;
    border: none;

    text-decoration: none;
    cursor: pointer;

    transition: 0.2s ease;
}

.profile-btn svg {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: var(--text);
    stroke-width: 1.3;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition: stroke 0.2s ease;
}

.profile-btn:hover svg {
    stroke: #8b6f47;
}


/* ================= ABOUT PAGE ================= */

.about-page {
    width: 94%;
    max-width: 1250px;

    margin: 20px auto 55px;

    display: grid;

    grid-template-columns: 45% 55%;

    align-items: center;

    min-height: 570px;
}


/* ================= TEXT ================= */

.about-content {
    padding-right: 55px;
}

.small-title {
    margin: 0 0 20px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 3px;
}

.about-content h1 {
    margin: 0;

    font-family: var(--serif);

    font-size: clamp(50px, 5vw, 76px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -2px;
}

.description {
    max-width: 480px;

    margin-top: 30px;

    font-size: 14px;

    line-height: 1.8;

    color: #5c564e;
}


/* ================= MOODS ================= */

.moods {
    margin-top: 25px;

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}

.moods span {
    font-family: var(--serif);

    font-size: 14px;
}

.moods span:not(:last-child)::after {
    content: "·";

    margin-left: 12px;

    color: #8d8375;
}


/* ================= FEATURES ================= */

.features {
    margin-top: 42px;

    display: flex;

    flex-direction: column;

    gap: 18px;
}

.feature {
    display: flex;

    align-items: flex-start;

    gap: 18px;
}

.number {
    width: 28px;

    margin: 2px 0 0;

    font-size: 10px;

    letter-spacing: 1px;

    color: #8a8174;
}

.feature h3 {
    margin: 0 0 3px;

    font-family: var(--serif);

    font-size: 17px;

    font-weight: 600;
}

.feature div p {
    margin: 0;

    font-size: 11px;

    color: #766e64;
}


/* ================= IMAGE AREA ================= */

.about-images {
    position: relative;

    height: 570px;
}


/* ================= MAIN IMAGE ================= */

.main-image {
    position: absolute;

    right: 0;
    top: 0;

    width: 72%;
    height: 500px;

    overflow: hidden;

    border-radius: 22px;
}

.main-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}


/* ================= SMALL IMAGE ================= */

.small-image {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 39%;
    height: 245px;

    overflow: hidden;

    border-radius: 18px;

    border: 8px solid var(--bg);

    z-index: 2;
}

.small-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}


/* ================= IMAGE HOVER ================= */

.main-image img:hover,
.small-image img:hover {
    transform: scale(1.05);
}


/* ================= IMAGE LABEL ================= */

.image-label {
    position: absolute;

    right: 25px;
    bottom: 30px;

    width: 145px;
    height: 145px;

    border-radius: 50%;

    background: var(--bg);

    display: flex;

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

    text-align: center;

    font-family: var(--serif);

    font-size: 15px;

    line-height: 1.4;

    z-index: 3;
}


/* ================= CONTACT ================= */

.contact {
    width: 94%;

    max-width: 1250px;

    margin: 20px auto 0;

    padding: 45px 0 55px;

    border-top: 1px solid #c9beaa;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 50px;
}


/* ================= CONTACT TITLE ================= */

.contact-title > p {
    margin: 0 0 8px;

    font-size: 10px;

    letter-spacing: 3px;
}

.contact-title h2 {
    margin: 0;

    font-family: var(--serif);

    font-size: 32px;

    font-weight: 500;
}


/* ================= CONTACT RIGHT SIDE ================= */

.contact-info {
    display: flex;

    align-items: flex-start;

    gap: 70px;
}


/* ================= CONTACT DETAILS ================= */

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 24px;
}

.contact-item {
    display: flex;

    flex-direction: column;
}

.contact-item span,
.social-section > span {
    display: block;

    margin-bottom: 8px;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

    color: #81786c;
}

.contact-item p {
    margin: 0;

    font-size: 12px;
}


/* ================= SOCIAL MEDIA ================= */

.social-section {
    display: flex;

    flex-direction: column;
}

.socials {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.social {
    display: flex;

    align-items: center;

    gap: 10px;
}

.social i {
    width: 17px;

    font-size: 15px;

    text-align: center;
}

.social p {
    margin: 0;

    font-size: 12px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .about-page {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding-right: 0;

        margin-bottom: 50px;
    }

    .about-images {
        height: 500px;
    }

    .contact {
        flex-direction: column;

        align-items: flex-start;
    }

    .contact-info {
        gap: 50px;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    nav {
        height: 75px;
    }

    .logo {
        font-size: 26px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .about-content h1 {
        font-size: 48px;
    }

    .about-images {
        height: 420px;
    }

    .main-image {
        width: 85%;
        height: 370px;
    }

    .small-image {
        width: 48%;
        height: 180px;
    }

    .image-label {
        width: 110px;
        height: 110px;

        font-size: 12px;
    }

    .contact-info {
        flex-direction: column;

        gap: 30px;
    }

}
