/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-white: #FEFCFB;
    --color-black: #202020;
    --color-red: #B41B3A;
    --color-orange: #E97433;
    --color-gold: #E9A947;
    --color-text: #1a1a1a;
}

h1, h2, h3, h4 {
    font-family: 'Halant', serif;
    color: var(--color-text);
}

h5, h6 {
    font-family: 'Libre Bodoni', serif;
    color: var(--color-text);
}

p {
    font-family: 'Playfair Display', serif;
    color: var(--color-text);
}

small {
    font-family: 'Playfair', serif;
    color: var(--color-text);
    font-size: 0.85rem;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

body {
    background: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
}


.hero {
    background: url('img/header-bg.jpg') no-repeat center center/cover;
    height: 350px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 40px;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-black);
    text-shadow: 1px 1px 4px rgba(255,255,255,0.7);
    margin-bottom: 20px;
    z-index: 5;
}

.profile {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.profile-left {
    text-align: center;
    flex-shrink: 0;
}

.profile-pic {
    width: 220px;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 8px;
}

.fun-fact {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--color-black);
    margin-top: 5px;
}

.profile-text {
    flex: 1;
    max-width: 700px;
}

.profile-text p {
    margin-bottom: 15px;
}

.cta {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}

.cta:hover {
    background: #82282b; /* darker shade of red */
}

.socials {
    position: fixed;
    left: 20px;
    top: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: var(--color-gold);
    padding: 20px 12px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}

.socials img {
    width: 30px;
    height: 30px;
    display: block;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: relative;
    min-width: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 0 0 10px 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.carousel-btn:hover { background: #82282b; }

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.bullets {
    padding: 20px;
}

.bullets h2 {
    color: var(--color-orange);
    margin-bottom: 10px;
}

.bullets ul {
    list-style: square;
    padding-left: 20px;
}

.education {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
}

.portfolio {
    padding: 20px;
}

.portfolio h2 {
    margin-bottom: 10px;
    color: var(--color-red);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.portfolio-grid img {
    width: 100%;
    border-radius: 8px;
}
