:root {
    scroll-behavior: smooth !important;
}

body {
    background-color: #FFE771;
    font-family: 'Arial', sans-serif;
}

/* ===========================
   LOGO & NAVIGATION
   =========================== */

header {
    z-index: 100;
}

.valeri-logo {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #FF7BAC;
}

.nav-link {
    color: #FF7BAC;
    font-weight: 600;
    font-size: 1.125rem;
    transition: 0.2s;
}

.nav-link:hover {
    opacity: 0.7;
}

/* ===========================
   MARQUEE ANIMATION
   =========================== */

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 22s linear infinite;
    padding-right: 1rem;
}

.marquee-text {
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0.5rem;
    color: white;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .marquee-text {
        font-size: 2.5rem;
    }
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about-wrapper {
    background-color: #FFE771;
    padding-top: 40px;
    padding-bottom: 60px;
}

.about-top {
    background-color: #FF7BAC;
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.about-photo {
    width: 1000px;
    border-radius: 30px;
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-title {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.about-desc {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.about-bottom {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

/* ===========================
   CUSTOM FONT
   =========================== */

@font-face {
    font-family: 'MyFont';
    src: url('Font-CSS/Font/FontsFree-Net-GelatoScript.ttf') format('truetype');
}

.custom-font {
    font-family: 'MyFont';
    font-size: 100px;
    line-height: 0.75;
    margin-bottom: -1px;
    display: inline-block;
}

/* ===========================
   SMOOTH SCROLLING
   =========================== */

html {
    scroll-behavior: smooth;
}

#about {
    scroll-margin-top: 120px;
}

#work {
    scroll-margin-top: 120px;
}

#contact {
    scroll-margin-top: 120px;
}

/* ===========================
   EDUCATION & EXPERIENCE CARDS
   =========================== */

.edu-exp-wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 60px auto;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.edu-card,
.exp-card {
    width: 470px;
    height: 500px;
    background-color: #FF7BAC;
    padding: 40px;
    border-radius: 60px;
    color: white;
    overflow: hidden;
}

.exp-card {
    overflow-y: auto;
    padding-right: 12px;
}

/* Hilangkan scrollbar */
.exp-card::-webkit-scrollbar {
    width: 0;
}

.exp-card {
    scrollbar-width: none;
}

.edu-title,
.exp-title {
    font-family: MyFont;
    font-size: 32px;
    margin-bottom: 20px;
}

.skills-title {
    font-family: MyFont;
    font-size: 32px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.skills-img {
    width: 100%;
    height: auto;
    margin-top: 10px;
}

.edu-card p,
.exp-card p {
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ===========================
   WORK SECTION
   =========================== */

.work-wrapper {
    background-color: #FFE771;
    padding: 60px 20px;
}

.work-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.work-content {
    padding: 20px;
}

.work-title {
    font-size: 20px;
    font-weight: 700;
    color: #FF7BAC;
    margin-bottom: 10px;
}

.work-desc {
    font-size: 14px;
    color: #FF7BAC;
    line-height: 1.6;
    font-weight: 600;
}

/* ===========================
   MODAL POPUP
   =========================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    border-radius: 60px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    margin: 20px auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    font-weight: 300;
    color: #FF7BAC;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s;
    line-height: 1;
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-body {
    display: flex;
    padding: 50px;
    gap: 40px;
}

.modal-left {
    flex: 1;
    padding-right: 20px;
}

.modal-title {
    font-family: 'MyFont';
    font-size: 48px;
    color: #FF7BAC;
    margin-bottom: 20px;
    line-height: 1.2;
}

.modal-description {
    color: #FF7BAC;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.youtube-link {
    display: inline-block;
    color: #FF7BAC;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.youtube-link:hover {
    color: #ff5a96;
    transform: translateX(5px);
}

.modal-tools {
    margin-top: 30px;
}

.tools-title {
    color: #FF7BAC;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tools-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: contain;
}

.modal-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
    max-height: 400px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        padding: 30px;
    }

    .modal-title {
        font-size: 36px;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 32px;
    }

    .tool-icon {
        width: 50px;
        height: 50px;
    }
}

/* ===========================
   CONTACT ME SECTION
   =========================== */

.contact-wrapper {
    background-color: white;
    padding: 50px 20px 60px 20px;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.contact-left {
    flex: 1;
}

.contact-thanks {
    font-family: 'MyFont';
    font-size: 90px;
    color: #FF7BAC;
    line-height: 0.8;
    margin-bottom: 15px;
}

.contact-message {
    color: #FF7BAC;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.contact-question {
    color: #FF7BAC;
    font-size: 14px;
    font-weight: 600;
}

.contact-right {
    background-color: #FF7BAC;
    border-radius: 60px;
    padding: 40px 60px;
    text-align: center;
    min-width: 320px;
}

.contact-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background-color: white;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #FF7BAC;
}

.contact-icon:hover {
    transform: translateY(-3px);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-thanks {
        font-size: 70px;
    }

    .contact-right {
        min-width: auto;
        width: 100%;
        padding: 35px 40px;
    }
}