/* ===================
   GLOBAL RESET + BASE
=================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

h1,
h2,
h3 {
    font-family: baskervillemtw01-smbdit, serif;
    font-weight: 600;
    color: #222;
}

p,
span,
label {
    font-family: futura-lt-w01-book, sans-serif;
}


/* ===================
   HEADER SECTION
=================== */

#header {
    background-color: #fce6dc;
    /* peach background */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 10%;
}

#header .logo {
    position: absolute;
    top: 10px;
    /* push a little from the top */
    left: 10px;
    /* push a little from the left */
    width: 80px;
    /* make it small */
    height: auto;
    /* keep proportions */
}

#header h1 {
    font-size: 48px;
    font-style: italic;
    margin-bottom: 10px;
}

#header span {
    font-size: 18px;
    display: block;
    margin-bottom: 30px;
}

#header img {
    max-width: 50%;
    height: auto;
    border-radius: 6px;
}

.header-text {
    position: absolute;
    left: 25%;
    transform: translateX(-50%);
    z-index: 2;
}

.header-text h1 {
    font-size: 3rem;
    font-family: 'Georgia', serif;
    font-style: italic;
    line-height: 1.2;
    margin: 0;
    color: #333;
}

.header-text span {
    display: block;
    margin-top: 8px;
    font-size: 1.2rem;
    font-family: 'Arial', sans-serif;
    color: #444;
}


/* ===================
   ABOUT SECTION
=================== */

#about {
    background: #fff;
    padding: 100px 15%;
    text-align: center;
}

#about h2 {
    font-size: 32px;
    font-style: italic;
    margin-bottom: 20px;
}

#about p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}


/* ===================
   WORK + EDUCATION CARDS
=================== */

#work,
#education {
    background: transparent;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#work h2,
#education h2 {
    font-size: 28px;
    font-style: italic;
    text-align: center;
    margin-bottom: 40px;
}


/* Card box styling */

.section-card {
    background: #fff;
    border: 6px solid rgb(255, 234, 224);
    /* thin pastel peach border */
    padding: 60px 80px;
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    line-height: 1.8;
}


/* Each item inside the card */

.section-card p {
    margin-bottom: 25px;
    font-size: 15px;
    color: #333;
}

.section-card p:last-child {
    margin-bottom: 0;
}

#inspirational-day h2 {
    text-align: center;
    font-size: 32px;
    font-style: italic;
    margin-bottom: 40px;
}


/* ===================
   SEE MORE BUTTON
=================== */

#myBtn,
#rhymebtn {
    display: block;
    margin: 30px auto;
    padding: 15px 40px;
    background: #fde9e0;
    /* pastel peach */
    border: none;
    border-radius: 4px;
    font-family: 'Georgia', serif;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#myBtn:hover,
#rhymebtn:hover {
    background: #fcd4c4;
    /* slightly darker peach */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

#myBtn:active,
#rhymebtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}


/* ===================
   CONTACT FORM - STYLED LIKE EXAMPLE
=================== */

#contactme {
    background: #fff;
    padding: 80px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contactme form {
    background: #fff;
    border: 2px solid #fde9e0;
    /* pastel peach border */
    padding: 50px;
    max-width: 700px;
    width: 100%;
    box-sizing: border-box;
}

#contactme h2 {
    font-family: 'Georgia', serif;
    font-size: 26px;
    font-style: italic;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}


/* Labels */

#contactme label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: normal;
    color: #333;
}


/* Input fields */

#contactme input[type="text"],
#contactme input[type="email"],
#contactme textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #222;
    border-radius: 0;
    /* sharp edges */
    font-size: 14px;
    font-family: 'Georgia', serif;
    background: #fff;
}

#contactme input::placeholder,
#contactme textarea::placeholder {
    font-style: italic;
    color: #777;
}


/* Textarea height */

#contactme textarea {
    min-height: 120px;
    resize: vertical;
}


/* Submit button */

#contactme input[type="submit"] {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: background 0.3s;
}

#contactme input[type="submit"]:hover {
    background: #333;
}


/* ===================
   FOOTER
=================== */

footer {
    text-align: center;
    padding: 30px;
    font-size: 14px;
    color: #777;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.side-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-dots a {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    border: 2px solid black;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.side-dots a:hover,
.side-dots a.active {
    background: black;
}

.side-dots a::after {
    content: attr(data-label);
    position: absolute;
    right: 150%;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    font-size: 16px;
    font-family: din-next-w01-light, sans-serif;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}


/* Toon tooltip bij hover of active */

.side-dots a:hover::after,
.side-dots a.active::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

html {
    scroll-behavior: smooth;
}


/* ===================
   RESPONSIVE DESIGN
=================== */


/* ----- Tablets (max-width: 1024px) ----- */

@media (max-width: 1024px) {
    #header {
        flex-direction: column;
        padding: 60px 5%;
        text-align: center;
    }

    .header-text {
        position: static;
        transform: none;
        margin-bottom: 30px;
    }

    #header img {
        max-width: 70%;
    }

    #about {
        padding: 80px 10%;
    }

    .section-card {
        padding: 40px 50px;
        margin: 30px auto;
        max-width: 90%;
    }

    #contactme {
        padding: 80px 10%;
    }

    .side-dots {
        right: 10px;
        gap: 12px;
    }
}


/* ----- Phones (max-width: 768px) ----- */

@media (max-width: 768px) {
    body {
        font-size: 15px;
        line-height: 1.5;
    }

    #header {
        padding: 50px 5%;
    }

    #header h1 {
        font-size: 32px;
    }

    #header span {
        font-size: 16px;
        margin-bottom: 20px;
    }

    #header img {
        max-width: 90%;
    }

    #about {
        padding: 60px 8%;
    }

    #about h2 {
        font-size: 26px;
    }

    .section-card {
        padding: 30px 25px;
    }

    .section-card p {
        font-size: 14px;
    }

    #work h2,
    #education h2,
    #contactme h2 {
        font-size: 24px;
    }

    form {
        width: 100%;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 13px;
    }

    input[type="submit"] {
        font-size: 14px;
        padding: 12px;
    }

    .side-dots {
        right: 8px;
    }

    .side-dots a::after {
        font-size: 14px;
        right: 130%;
    }
}


/* ----- Extra Small Phones (max-width: 480px) ----- */

@media (max-width: 480px) {
    #header {
        padding: 40px 5%;
    }

    #header h1 {
        font-size: 26px;
    }

    #about {
        padding: 50px 5%;
    }

    #about p {
        font-size: 14px;
    }

    .section-card {
        padding: 20px 15px;
        margin: 20px auto;
    }

    #contactme {
        padding: 60px 5%;
    }

    footer {
        font-size: 12px;
        padding: 20px;
    }

    .side-dots {
        display: none;
        /* Hide dots on very small screens */
    }
}