/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 248, 231, 0.94);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #b8873a;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #b8873a;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d7a64a;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d7a64a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #b8873a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: url('image/new-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.hero .hero-container {
    position: relative;
    z-index: 2;
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-blur-box {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #2f3d33;
}

.highlight {
    color: #d7a64a;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #b8873a;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #6f5a2a;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #fbbf24;
    color: #1f2937;
    border-color: #fbbf24;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fbbf24;
    border-color: #fbbf24;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #b8873a;
    border-color: #d7c08a;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.85);
    color: #b8873a;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    border-radius: 50%;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #fbbf24, #d7a64a, #f4d03f, #c9a961);
    background-size: 400% 400%;
    border-radius: 50%;
    z-index: -1;
    /* animation: gradientShift 3s ease infinite; */
}

.profile-card::after {
    content: none;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #d7a64a 0%, #f4d03f 100%);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: #f9fafb;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.8;
}

.projects-blur-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.projects-blur-box .section-title {
    margin-bottom: 2rem;
    margin-top: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d7a64a 0%, #f4d03f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #1f2937;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #b8873a;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #d7a64a;
}

/* Hobbies Section */
.hobbies {
    background-color: #f9fafb;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.hobbies-projects {
    margin-top: 3rem;
}

.hobbies-subsection-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #2f3d33;
}

.hobby-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.hobby-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d7a64a 0%, #f4d03f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.hobby-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #1f2937;
}

.hobby-card p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.9rem;
}

.hobby-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.hobby-card-link:hover {
    transform: translateY(-8px);
}

.hobby-card-link:hover .hobby-card {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
#contact {
    background-image: url('image/new-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

#contact .container {
    position: relative;
    z-index: 2;
}

.contact-blur-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.contact-blur-box .section-title {
    margin-bottom: 2rem;
    margin-top: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #374151;
}

.contact-item i {
    color: #d7a64a;
    width: 20px;
}

.contact-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #d7a64a;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d7a64a 0%, #f4d03f 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d7a64a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 248, 231, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-blur-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .profile-card {
        width: 280px;
        height: 280px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-blur-box {
        padding: 2rem;
    }

    .projects-grid,
    .hobbies-grid {
        grid-template-columns: 1fr;
    }

    .projects-blur-box {
        padding: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .hero-blur-box {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .profile-card {
        width: 250px;
        height: 250px;
    }

    .projects-blur-box {
        padding: 1.5rem;
    }

    .contact-blur-box {
        padding: 1.5rem;
    }
}

.all-projects {
    padding: 80px 0;
    background-color: #f9fafb;
}

.nav-link.active {
    color: #d7a64a;
}

.nav-link.active::after {
    width: 100%;
}

/* Hobby Pages Styles */
.hobby-hero {
    padding: 120px 0 80px;
    background: url('image/new-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #4A4A4A;
    text-align: center;
}

.hobby-hero-blur-box {
    background: rgba(255, 248, 231, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 3rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.hobby-hero-content {
    text-align: center;
}

.hobby-hero-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #FFF8E7;
    font-size: 3rem;
}

.hobby-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #D4AF37;
}

.hobby-hero-subtitle {
    font-size: 1.2rem;
    color: #4A4A4A;
    margin-bottom: 0;
}

.vlogs-section {
    padding: 80px 0;
    background-color: #F5F0E1;
}

.vlogs-blur-box {
    background: rgba(255, 248, 231, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
    margin-top: 2rem;
}

.vlogs-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.vlogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.vlog-card {
    background: #FFF8E7;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
}

.vlog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vlog-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF8E7;
    font-size: 4rem;
}

.vlog-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.vlog-content {
    padding: 1.5rem;
}

.vlog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #4A4A4A;
}

.vlog-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.vlog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.vlog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.vlog-link {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.vlog-link:hover {
    color: #C9A961;
}

.back-to-hobbies {
    padding: 80px 0;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: #FFF8E7;
    text-align: center;
}

.back-to-hobbies-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFF8E7;
}

.back-to-hobbies-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 248, 231, 0.95);
}

.back-to-hobbies .btn-primary {
    background-color: #FFF8E7;
    color: #D4AF37;
    border-color: #FFF8E7;
}

.back-to-hobbies .btn-primary:hover {
    background-color: transparent;
    color: #FFF8E7;
    border-color: #FFF8E7;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
