@font-face {
    font-family: "Ciutadella";
    src:
         url("fonts/Ciutadella-Regular.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    letter-spacing: 0.08em; 
}

@font-face {
    font-family: "Ciutadella";
    src:
         url("fonts/Ciutadella Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    letter-spacing: 0.08em; 
}

:root {
    --heading-font: "EB Garamond", serif;
    --body-font: "Ciutadella", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    font-family: var(--body-font);
}

body {
    margin: 0;
    min-height: 100vh;
    /*background-color: #f4e5c8;*/
    
    /*background-color: #22333b;*/
    background-color: #1a4540;
    /*background-color: #102c29;*/
    /*background-color: #9b3900;*/
    
    
    /*color: #28231d;*/
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
}

.page {
    max-width: 900px;
    margin: 72px auto;
    padding: 0 40px 80px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 12px;
}

.name {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    margin: 0;
    font-weight: 400;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #000;
}

.topbar-links a {
    color: inherit;
    color: #ffffff;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Subtle underline */
    transition: border-color 0.3s ease;
}

.contact-link:hover {
    border-color: #ffffff; /* Full white on hover */
}


.content {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.5fr);
    gap: 56px;
    align-items: start;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-text p {
    line-height: 1.25;
    font-size: 17px;
    margin: 0;
}

.goals-section h3,
.likes h3,
.dislikes h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 0;
    font-size: 1.3rem;
}

.goals-section ul,
.likes ul,
.dislikes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2;
    font-size: 16px;
}


.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.section {
    border-top: 1px solid #ffffff;
    padding-top: 40px;
    width: 100%;
}

/* Two column layout for likes/dislikes section */
.likes-dislikes-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.likes-dislikes-section .likes,
.likes-dislikes-section .dislikes {
    min-width: 0;
}

.section h2 {
    margin-top: 0;
    margin-bottom: 24px;
    text-transform: lowercase;
    font-size: 2rem;
    font-weight: 500;
    font-family: var(--heading-font);
}

.section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.section ul li {
    line-height: 1.25;
    margin-bottom: 14px;
    font-size: 16px;
}

.section ul li:last-child {
    margin-bottom: 0;
}

.section ul ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 20px;
}

.section ul ul li {
    line-height: 1.25;
    margin-bottom: 10px;
    font-size: 15px;
}

.section ul ul li::before {
    content: "-";
    margin-right: 5px;
}

.section a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Subtle underline */
    transition: border-color 0.3s ease;
}

.section a:hover {
    border-color: #ffffff; /* Full white on hover */
}

@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-copy {
        gap: 24px;
        order: 2;
    }

    .about-image {
        margin-bottom: 0;
        order: 1;
    }

    .about-image img {
        max-width: 280px;
        border-radius: 6px;
    }

    /* Stack likes/dislikes vertically on tablet/mobile */
    .likes-dislikes-section {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .page {
        margin: 48px auto;
        padding: 0 24px 60px;
    }

    .content {
        margin-top: 32px;
        gap: 44px;
    }

    .name {
        font-size: 2rem;
    }

    .topbar-links {
        gap: 16px;
        font-size: 14px;
    }

    .about-image img {
        max-width: 75%;
    }

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

    .goals-section h3,
    .likes h3,
    .dislikes h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .goals-section ul,
    .likes ul,
    .dislikes ul {
        line-height: 1.85;
        font-size: 15px;
    }

    .section {
        padding-top: 32px;
    }

    .section h2 {
        font-size: 1.65rem;
        margin-bottom: 18px;
    }

    .section ul li {
        line-height: 1.6;
        margin-bottom: 12px;
        /* font-size: 15px; */
    }
}


