﻿:root {
    --bg-light: #fffaf6;
    --text-dark: #0b1220;
    --accent-pink: #ff468c;
    --accent-orange: #ff7a45;
    --accent-yellow: #ffd54a;
    --muted-gray: #f2f4f6;
    --black: #000000;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

header {
    padding: 30px 20px;
    text-align: center;
}

.logo {
    font-size: 10rem;
    font-weight: 800;
    color: var(--accent-pink);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 0;
    margin-top: 14px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
}

    nav a::after {
        content: '';
        display: block;
        width: 0%;
        height: 2px;
        background: var(--accent-pink);
        transition: width .25s;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    nav a:hover::after {
        width: 100%;
    }

/* hero */
#hero {
    padding: 60px 40px;
    background-color: var(--accent-yellow);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}

.hero-image {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.hero-text h1 {
    font-size: 2.4rem;
    margin: 0 0 12px;
}

.cta-button {
    display: inline-block;
    margin-top: 12px;
    background: var(--accent-pink);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
}

/* sections */
section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

#about .about-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

#about img {
    max-width: 360px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* portfolio grid */
.grid-portfolio {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.project {
    background: white;
    border: 2px solid var(--accent-orange);
    border-radius: 12px;
    padding: 20px;
    min-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform .25s ease;
}

    .project:hover {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .project h3 {
        color: var(--accent-orange);
        margin-top: 12px;
    }

/* carousel */
.carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    width: 240px;
    height: 240px;
    overflow: hidden;
    display: block;
    border-radius: 10px;
    background: var(--muted-gray);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 10px;
}

    .carousel-image.active {
        display: block;
    }

/* arrow buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0,0,0,0.5);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.prev {
    left: 8px;
}

.next {
    right: 8px;
}

    .prev:focus, .next:focus {
        outline: 2px solid rgba(255,255,255,0.5);
    }

/* hide arrows when not needed */
.hidden {
    display: none !important;
}

#contact {
    text-align: center;
    background: var(--muted-gray);
    border-radius: 12px;
    padding: 40px;
}

footer {
    background: var(--black);
    color: white;
    text-align: center;
    padding: 18px;
    margin-top: 30px;
}
.highlight-pink-box {
    background-color: #ff468c; /* Pink background */
    color: #ffffff; /* White text */
    padding: 0.2em 0.5em; /* Space around the text */
    border-radius: 8px; /* Rounded corners */
    font-weight: bold; /* Make it stand out */
}


/* Spaciing on the contact v projects*/
#contact {
    margin-top: 5rem; /* value needs to be adjust up or down to comfort. */
}
.highlight-pink {
    color: #ff468c;
    font-weight: bold; /* optional */
    text-decoration: none; /* optional to remove underline */
}

    .highlight-pink:hover {
        text-decoration: underline; /* keep underline on hover */
    }
