﻿:root {
    --pink: #ffafbd;
    --pink-strong: #ff6f91;
    --peach: #ffc3a0;
    --blue: #a1c4fd;
    --light: #fdfcfb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    margin: 0;
    background-color: var(--light);
    color: #333;
    line-height: 1.6;
}

.home-page {
    background: linear-gradient(135deg, var(--pink), var(--peach));
    min-height: 100vh;
}

.home-page .site-footer {
    background: transparent;
}


.about-page {
    background: #9cc3ff;
    min-height: 100vh;
}

.contact-page {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    min-height: 100vh;
}

.about-page .container {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    padding: 50px 28px;
    box-shadow: 0 20px 50px rgba(18, 34, 64, 0.18);
    margin: 40px auto 80px;
}

.about-page .page-hero {
    padding-bottom: 30px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.about-page .page-hero p {
    color: rgba(255, 255, 255, 0.95);
}

a {
    color: inherit;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar .logo {
    font-weight: bold;
    text-decoration: none;
    color: #333;
    letter-spacing: 2px;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
}

.navbar .nav-links a:hover {
    color: #222;
}

/* Theme switch (from Uiverse.io by JustCode14) */
.switch {
    font-size: 14px;
    position: relative;
    display: inline-block;
    width: 4em;
    height: 2.2em;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2a2a2a;
    transition: 0.4s;
    border-radius: 30px;
    overflow: hidden;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.2em;
    width: 1.2em;
    border-radius: 20px;
    left: 0.5em;
    bottom: 0.5em;
    transition: 0.4s;
    transition-timing-function: cubic-bezier(0.81, -0.04, 0.38, 1.5);
    box-shadow: inset 8px -4px 0px 0px #fff;
}

.switch input:checked + .slider {
    background-color: #00a6ff;
}

.switch input:checked + .slider:before {
    transform: translateX(1.8em);
    box-shadow: inset 15px -4px 0px 15px #ffcf48;
}

.star {
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    width: 5px;
    transition: all 0.4s;
    height: 5px;
}

.star_1 {
    left: 2.5em;
    top: 0.5em;
}

.star_2 {
    left: 2.2em;
    top: 1.2em;
}

.star_3 {
    left: 3em;
    top: 0.9em;
}

.switch input:checked ~ .slider .star {
    opacity: 0;
}

.cloud {
    width: 3.5em;
    position: absolute;
    bottom: -1.4em;
    left: -1.1em;
    opacity: 0;
    transition: all 0.4s;
}

.switch input:checked ~ .slider .cloud {
    opacity: 1;
}

.switch--floating {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1001;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus {
    outline: none;
}

.menu-toggle:active {
    background: transparent;
    box-shadow: none;
}

.menu-toggle:hover {
    background: transparent;
    box-shadow: none;
}

.navbar.nav-open .menu-toggle {
    background: transparent;
    box-shadow: none;
}

.menu-icon {
    display: grid;
    gap: 4px;
}

.menu-bar {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: #444;
    border-radius: 999px;
}

.menu-label {
    display: none;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--pink), var(--peach));
    color: white;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: 5px;
    margin: 0;
}

.hero-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(18, 34, 64, 0.18);
    transition: 0.3s;
    font-size: 1.2rem;
}

.scroll-icon {
    width: 20px;
    height: 20px;
}

.scroll-down:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) translateY(4px);
}

.hero-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: white;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-btn--solid {
    background: white;
    color: #ff6f91;
    border-color: white;
    box-shadow: 0 10px 20px rgba(18, 34, 64, 0.15);
}

.hero-btn--solid:hover {
    background: rgba(255, 255, 255, 0.9);
}

.home-main {
    padding: 80px 20px 120px;
}

.home-panel {
    background: linear-gradient(135deg, rgba(255, 175, 189, 0.9), rgba(255, 195, 160, 0.92));
    border-radius: 28px;
    color: #3a2f2f;
    max-width: 1100px;
    margin: 0 auto;
    padding: 44px 48px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.35);
    position: relative;
    overflow: hidden;
}

.about-page .home-panel {
    background: rgba(255, 255, 255, 0.8);
    color: #2f2f2f;
    box-shadow: 0 20px 40px rgba(18, 34, 64, 0.12);
}

.about-page .home-panel::before {
    opacity: 0.2;
}

.about-page .chip {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(156, 195, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.about-page .chip-icon,
.about-page .mini-icon {
    background: rgba(156, 195, 255, 0.4);
    color: #2f4a7a;
}

.about-page .mini-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(156, 195, 255, 0.25);
    box-shadow: 0 12px 24px rgba(76, 115, 170, 0.15);
}

.about-page .panel-title,
.about-page .panel-subtitle {
    color: #2f4a7a;
}

.home-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.45) 0, transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.25) 0, transparent 50%),
        radial-gradient(circle at 88% 78%, rgba(255, 170, 200, 0.35) 0, transparent 55%);
    opacity: 0.9;
}

.panel-inner {
    position: relative;
    z-index: 1;
}

.panel-title {
    margin: 0 0 24px;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.panel-subtitle {
    margin: 40px 0 18px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: #3a2f2f;
}

.chip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 175, 189, 0.65);
    color: #7a2f3f;
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    font-weight: 700;
}

.card-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
}

.mini-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    display: grid;
    gap: 10px;
    place-items: center;
    box-shadow: 0 16px 30px rgba(255, 175, 189, 0.25);
}

.mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 175, 189, 0.6);
    color: #7a2f3f;
    font-size: 0.75rem;
    font-weight: 700;
}

.mini-card span:last-child {
    font-weight: 600;
    color: #3a2f2f;
}

.page-hero {
    padding: 48px 20px;
    text-align: center;
    color: white;
}

.page-hero--contact {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

.page-hero--about {
    background: #9cc3ff;
}

.container {
    padding: 50px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.education-list {
    margin-top: 30px;
    text-align: left;
}

.about-page .education-list {
    margin-bottom: 28px;
}

.about-page .home-panel {
    margin-top: 28px;
}

.edu-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 5px solid var(--pink);
    display: flex;
    gap: 18px;
    align-items: center;
}

.about-page .edu-item {
    background: rgba(255, 255, 255, 0.92);
    border-left-color: #6fa7ff;
    box-shadow: 0 10px 24px rgba(18, 34, 64, 0.1);
}

.edu-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    padding: 8px;
}

.edu-content {
    flex: 1;
}

.edu-item h3 {
    margin: 0;
    color: #444;
    font-size: 1.2rem;
}

.edu-item p {
    margin: 5px 0 0;
    color: #777;
}

.edu-date {
    font-weight: 600;
    color: #555;
}

.about-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: left;
}

.about-card {
    background: white;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.about-page .about-card {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(18, 34, 64, 0.12);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto 60px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.contact-icons {
    text-align: center;
}

.contact-icons p {
    color: #555;
    margin-top: 8px;
}

.icon-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 22px;
    flex-wrap: wrap;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.icon-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.icon {
    width: 22px;
    height: 22px;
}

.contact-container h2 {
    margin-top: 0;
    color: #444;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #eee;
    font-size: 1rem;
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: var(--pink);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: var(--pink-strong);
}

.site-footer {
    padding: 40px 20px 60px;
    text-align: center;
    font-style: italic;
    color: #777;
    background: white;
}

.footer-contact {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    color: var(--pink-strong);
    border: 2px solid var(--pink-strong);
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 18px rgba(18, 34, 64, 0.12);
}

.footer-contact:hover {
    background: var(--pink);
    color: white;
    box-shadow: 0 12px 24px rgba(18, 34, 64, 0.18);
}

@media (max-width: 700px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .navbar {
        flex-direction: row;
        gap: 12px;
    }

    .nav-actions {
        gap: 8px;
    }

    .switch {
        font-size: 11px;
    }

    .switch--floating {
        top: 12px;
        right: 12px;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
        z-index: 1;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .navbar.nav-open .nav-links {
        display: flex;
    }

    .navbar .nav-links a {
        padding: 10px 12px;
        border-radius: 12px;
        background: transparent;
        box-shadow: none;
    }

    .home-panel {
        padding: 32px 22px;
    }
}

.theme-dark {
    background-color: #0f1115;
    color: #e8e8e8;
}

.theme-dark .navbar {
    background: rgba(15, 17, 21, 0.92);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.theme-dark .navbar .logo,
.theme-dark .navbar .nav-links a {
    color: #e8e8e8;
}

.theme-dark .navbar .nav-links a:hover {
    color: #ffffff;
}

@media (max-width: 700px) {
    .theme-dark .navbar .nav-links {
        background: rgba(18, 22, 30, 0.96);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
    }

    .theme-dark .navbar .nav-links a {
        background: transparent;
        color: #f1f1f1;
    }
}

.theme-dark .switch {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.theme-dark .home-page {
    background: linear-gradient(135deg, #1c212c, #111318);
}

.theme-dark .hero {
    background: linear-gradient(135deg, #1c212c, #111318);
    color: #f3f3f3;
}

.theme-dark .hero-btn {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #f3f3f3;
}

.theme-dark .hero-btn--solid {
    background: #f3f3f3;
    color: #1c212c;
    border-color: #f3f3f3;
}

.theme-dark .about-page {
    background: linear-gradient(135deg, #1d2331, #12141a);
}

.theme-dark .contact-page {
    background: linear-gradient(135deg, #1f2128, #14161b);
}

.theme-dark .about-page .page-hero {
    background: linear-gradient(135deg, #1d2331, #12141a);
}

.theme-dark .about-page .page-hero--about {
    background: linear-gradient(135deg, #1d2331, #12141a);
}

.theme-dark .contact-page .page-hero--contact {
    background: linear-gradient(135deg, #1f2128, #14161b);
}

.theme-dark .contact-page .page-hero {
    background: linear-gradient(135deg, #1f2128, #14161b);
}

.theme-dark .contact-container h2 {
    color: #f5f5f5;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.theme-dark .home-panel {
    background: linear-gradient(135deg, rgba(35, 40, 52, 0.96), rgba(22, 25, 34, 0.98));
    color: #e6e6e6;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.theme-dark .chip,
.theme-dark .mini-card,
.theme-dark .about-card,
.theme-dark .contact-container,
.theme-dark .edu-item {
    background: rgba(24, 28, 36, 0.9);
    color: #e2e2e2;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
}

.theme-dark .chip-icon,
.theme-dark .mini-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #f0f0f0;
}

.theme-dark .about-page .container {
    background: rgba(18, 22, 30, 0.9);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.theme-dark .about-page .home-panel {
    background: linear-gradient(135deg, rgba(26, 30, 40, 0.98), rgba(18, 21, 29, 0.98));
    color: #e6e6e6;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
}

.theme-dark .about-page .chip {
    background: rgba(24, 28, 36, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.theme-dark .about-page .chip-icon,
.theme-dark .about-page .mini-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #f0f0f0;
}

.theme-dark .about-page .mini-card {
    background: rgba(24, 28, 36, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.theme-dark .about-page .panel-title,
.theme-dark .about-page .panel-subtitle {
    color: #f0f0f0;
}

.theme-dark .page-hero {
    color: #f3f3f3;
}

.theme-dark .contact-icons p,
.theme-dark .edu-item p,
.theme-dark .mini-card span:last-child {
    color: #cfcfcf;
}

.theme-dark .icon-link,
.theme-dark .icon-link:hover {
    background: rgba(24, 28, 36, 0.9);
    color: #f1f1f1;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45);
}
