* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #222;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: white;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #0077b6;
}

.btn {
    display: inline-block;
    background: #0077b6;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #023e8a;
    transform: translateY(-2px);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #222;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0077b6;
    margin: 10px auto 0;
    border-radius: 4px;
}

#hero {
    padding: 80px 0 60px;
    background: white;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ===== CHANGED: h2 → h1 ===== */
.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: #0077b6;
}

#about {
    padding: 70px 0;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 17px;
    color: #444;
}

.about-location h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.about-location p {
    margin-top: 12px;
    color: #555;
}

.map-placeholder {
    margin: 10px 0;
}

#projects {
    padding: 70px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #ddd;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.project-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.project-link {
    color: #0077b6;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.project-link:hover {
    color: #023e8a;
}

/* ===== PHOTOS GALLERY ===== */
#photos {
    padding: 70px 0;
    background: #f8f9fa;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.photo-card {
    background: white;
    padding: 10px 10px 20px 10px;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    transform: rotate(var(--rot, 0deg));
}

.photo-card:nth-child(1) { --rot: -2deg; }
.photo-card:nth-child(2) { --rot: 3deg; }
.photo-card:nth-child(3) { --rot: -1.5deg; }
.photo-card:nth-child(4) { --rot: 2.5deg; }
.photo-card:nth-child(5) { --rot: -3deg; }
.photo-card:nth-child(6) { --rot: 1.5deg; }

.photo-card:hover {
    transform: scale(1.02) rotate(0deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.photo-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.photo-card p {
    margin-top: 10px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

/* ===== EDUCATION (NEW) ===== */
#education {
    padding: 70px 0;
    background: white;
}

.education-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.edu-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.edu-item:last-child {
    border-bottom: none;
}

.edu-icon {
    background: #e3f2fd;
    color: #0077b6;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 4px;
}

.edu-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.edu-meta {
    color: #666;
    font-size: 15px;
}

.edu-meta span {
    margin: 0 8px;
    color: #ccc;
}

/* ===== HOBBIES ===== */
#hobbies {
    padding: 70px 0;
    background: #f8f9fa;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.hobby-item {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.hobby-item:hover {
    transform: translateY(-4px);
}

.hobby-content {
    position: relative;
    z-index: 2;
}

.hobby-content i {
    font-size: 36px;
    color: #0077b6;
    margin-bottom: 12px;
}

.hobby-content h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.hobby-content p {
    font-size: 14px;
    color: #666;
}

/* ===== READING with little ===== */
.hobby-reading {
    padding: 0;
    overflow: hidden;
}

.hobby-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hobby-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hobby-reading .hobby-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px 20px;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hobby-reading .hobby-content i,
.hobby-reading .hobby-content h3,
.hobby-reading .hobby-content p {
    color: white;
}

/* ===== MUSIC - Spotify Style ===== */
.hobby-music {
    background: linear-gradient(145deg, #1DB954, #191414);
    color: white;
}

.hobby-music .hobby-content i,
.hobby-music .hobby-content h3,
.hobby-music .hobby-content p {
    color: white;
}

.music-scroll {
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    padding: 6px 0;
    border-radius: 30px;
    margin-bottom: 15px;
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    animation: scrollLeft 8s linear infinite;
    font-size: 16px;
    font-weight: 600;
    color: white;
    letter-spacing: 2px;
}

@keyframes scrollLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.spotify-bar {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 12px;
    align-items: flex-end;
    height: 24px;
}

.spotify-bar span {
    display: block;
    width: 6px;
    background: #1DB954;
    border-radius: 10px;
    animation: audioWave 1.2s ease-in-out infinite;
}

.spotify-bar span:nth-child(1) { height: 10px; animation-delay: 0s; }
.spotify-bar span:nth-child(2) { height: 18px; animation-delay: 0.2s; }
.spotify-bar span:nth-child(3) { height: 14px; animation-delay: 0.4s; }
.spotify-bar span:nth-child(4) { height: 22px; animation-delay: 0.6s; }
.spotify-bar span:nth-child(5) { height: 12px; animation-delay: 0.8s; }

@keyframes audioWave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

/* ===== COOKING - Food Photo ===== */
.hobby-cooking {
    padding: 0;
    overflow: hidden;
}

.hobby-cooking img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hobby-cooking .hobby-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 20px;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hobby-cooking .hobby-content i,
.hobby-cooking .hobby-content h3,
.hobby-cooking .hobby-content p {
    color: white;
}

/* ===== GAMING - Valorant  ===== */
.hobby-gaming {
    background: linear-gradient(145deg, #ff4655, #0f1923);
    color: white;
}

.hobby-gaming .hobby-content i,
.hobby-gaming .hobby-content h3,
.hobby-gaming .hobby-content p {
    color: white;
}

.gaming-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.gaming-icons img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}


@media (max-width: 900px) {
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== GOALS ===== */
#goals {
    padding: 70px 0;
    background: white;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.goal-card {
    background: #f8f9fa;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.goal-card:hover {
    transform: translateY(-4px);
}

.goal-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #222;
}

.goal-card h3 i {
    color: #0077b6;
    margin-right: 10px;
}

.goal-card ul {
    list-style: none;
}

.goal-card ul li {
    padding: 6px 0;
    color: #444;
    font-size: 15px;
}

.goal-card ul li::before {
    content: '▸ ';
    color: #0077b6;
    font-weight: bold;
}

/* ===== CONTACT ===== */
#contact {
    padding: 70px 0;
    background: #f8f9fa;
}

.contact-content {
    text-align: center;
}

.contact-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: #222;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background: #0077b6;
    color: white;
    transform: translateY(-4px);
}

/* ===== FOOTER ===== */
footer {
   
    color: #aaa;
    padding: 25px 0;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid,
    .goals-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid,
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    header .container {
        flex-direction: column;
        gap: 12px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* ===== CHANGED: h2 → h1 ===== */
    .hero-text h1 {
        font-size: 30px;
    }

    .projects-grid,
    .photos-grid {
        grid-template-columns: 1fr;
    }

    .hobbies-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px;
    }

    .edu-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
