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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #f5f5f7;
    background-color: #000000;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d30 100%);
    position: relative;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: #f5f5f7;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #a1a1a6;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007aff;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid #a1a1a6;
    border-bottom: 2px solid #a1a1a6;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    border-color: #007aff;
}

/* Sections */
.section {
    padding: 6rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.section-header {
    text-align: left;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: #f5f5f7;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #a1a1a6;
    font-weight: 300;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #d1d1d6;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.image-placeholder:hover {
    transform: scale(1.05);
}

/* Work Section */
.work-section {
    background: #1a1a1a;
}

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

.work-item {
    background: #2d2d30;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.work-item .image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.project-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.work-item:hover .project-thumbnail {
    transform: scale(1.05);
}

.work-content {
    padding: 2rem;
}

.work-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f5f5f7;
}

.work-description {
    color: #a1a1a6;
    line-height: 1.6;
}

/* CV Section */
.cv-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cv-document {
    background: #2d2d30;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.cv-document:hover {
    transform: translateY(-5px);
}

.cv-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f5f5f7;
}

.cv-header p {
    color: #a1a1a6;
    margin-bottom: 2rem;
}

.cv-section-item {
    padding: 1rem 0;
    border-bottom: 1px solid #48484a;
}

.cv-section-item:last-child {
    border-bottom: none;
}

.cv-section-title {
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cv-section-content {
    margin-left: 0.5rem;
}

.cv-item {
    color: #d1d1d6;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.cv-item:last-child {
    margin-bottom: 0;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #34c759;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.download-button:hover {
    background: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(52, 199, 89, 0.3);
}

.download-icon {
    font-size: 1.2rem;
}

.cv-note {
    color: #a1a1a6;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: #1a1a1a;
}

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

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

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f5f5f7;
}

.contact-item a {
    color: #007aff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.7;
}

.contact-item span {
    color: #d1d1d6;
}

.contact-form {
    background: #2d2d30;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #48484a;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: #1a1a1a;
    color: #f5f5f7;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a1a1a6;
}

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

.submit-button {
    width: 100%;
    padding: 1rem;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #000000;
    color: #a1a1a6;
    text-align: left;
    padding: 2rem 0;
}

.footer .container {
    text-align: left;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .cv-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}