/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: #999;
    --background: #ffffff;
    --border: #e5e5e5;
    --accent: #2563eb;
    --hover: #3b82f6;
    --card-bg: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-greeting {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.hero-name {
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
}

.hero-highlights {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.highlight-badge {
    background: var(--text-primary);
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 2px;
}

.highlight-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* About Section */
.about-content {
    max-width: 800px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.skill-category {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.skill-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}

.skill-list li:last-child {
    border-bottom: none;
}

/* Projects Section */
.projects {
    background: var(--card-bg);
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.project-number {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.project-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-title:hover {
    color: var(--accent);
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.project-image,
.project-media {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.project-image img,
.project-media video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--card-bg);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Gallery Styles */
.gallery-hero {
    padding: 160px 0 80px;
    text-align: center;
}

.gallery-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.featured-photo {
    padding: 80px 0;
}

.photo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.photo-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.photo-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.photo-award {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.award-badge {
    background: var(--text-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    width: fit-content;
}

.award-event {
    font-size: 1rem;
    color: var(--text-secondary);
}

.photo-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.photo-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-item {
    display: flex;
    gap: 1rem;
}

.meta-item strong {
    font-weight: 500;
    min-width: 80px;
}

/* Hobbies Section */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hobby-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.hobby-card:hover {
    transform: translateY(-5px);
}

.hobby-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hobby-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hobby-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--card-bg);
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item strong {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.contact-item span {
    color: var(--text-secondary);
    font-size: 1rem;
}

.status-available {
    color: var(--accent) !important;
    font-weight: 500;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .photo-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text {
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .gallery-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--background);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .project-card {
        padding: 2rem;
    }
    
    .project-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .section-label {
        font-size: 0.9rem;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .photo-title {
        font-size: 1.5rem;
    }
    
    .skills-grid,
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}