/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    --bg-dark: #1a1a1a;
    --bg-darker: #141414;
    --bg-card: #2a2a2a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --text-light-gray: #8a8a8a;
    --accent-orange: #f97316;
    --accent-blue: #3b82f6;
    --gradient-blue: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--accent-orange);
}

.centered {
    text-align: center;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.btn-download {
    background-color: var(--accent-orange);
    color: var(--text-white);
    font-size: 0.85rem;
    padding: 10px 20px;
}

.btn-download:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
}

.btn-contact {
    background-color: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    padding: 12px 32px;
}

.btn-contact:hover {
    background-color: var(--accent-orange);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* ========================================
   Header
   ======================================== */
.header {
    position: absolute;
    top: 20px;
    right: 30px;
    left: auto;
    z-index: 1000;
    padding: 0;
    background: transparent;
}

.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 20px 60px;
}

.hero-content {
    max-width: 600px;
}

.hero-greeting {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-white);
}

.hero-name {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-title {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.social-links {
    margin-top: 20px;
}

.social-label {
    font-size: 0.75rem;
    color: var(--text-light-gray);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 160px 0 80px;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-content {
    flex: 1;
    max-width: 450px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.about-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.7;
}

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

.image-frame {
    position: relative;
    width: 450px;
    height: 450px;
}

.image-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   Skills Section
   ======================================== */
.skills {
    padding: 80px 0;
}

.skills-description {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 260px));
    gap: 30px;
    justify-content: center;
}

.skill-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 12px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    width: 100%;
    height: 100px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.skill-text {
    color: #5a5a5a;
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ========================================
   Tools & Knowledge Section
   ======================================== */
.tools-knowledge {
    padding: 60px 0;
}

.tools-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.tools-section {
    flex: 1;
}

.knowledge-section {
    flex: 1.5;
}

.subsection-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.tools-icons {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px;
    justify-content: start;
}

.tools-icons .tool-icon:last-child {
    grid-column: 1 / -1;
    justify-self: center;
}

.tool-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.tool-icon:hover {
    transform: scale(1.1);
}

.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-icon.photoshop {
    background: linear-gradient(135deg, #001e36 0%, #31a8ff 100%);
    color: #31a8ff;
}

.tool-icon.illustrator {
    background: linear-gradient(135deg, #330000 0%, #ff9a00 100%);
    color: #ff9a00;
}

.tool-icon.figma {
    background: transparent;
    padding: 5px;
    width: 90px;
    height: 90px;
}

.tool-icon.figma img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    width: 130px;
    flex-shrink: 0;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #3a3a3a;
    border-radius: 10px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue) 0%, #60a5fa 100%);
    border-radius: 10px;
    position: relative;
    transition: width 1s ease;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    border: 3px solid #ffffff;
}

/* ========================================
   Collaboration Section
   ======================================== */
.collaboration {
    padding: 80px 0;
}

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

.collaboration-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--bg-darker);
    padding: 25px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-light-gray);
}

.footer-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-white);
}

.footer-name .highlight {
    color: var(--text-white);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social {
    width: 32px;
    height: 32px;
    background-color: #3a3a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.footer-social:hover {
    background-color: var(--accent-orange);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 900px) {
    .about-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-content {
        max-width: 100%;
    }

    .image-frame {
        width: 250px;
        height: 250px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .tools-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .tools-section,
    .knowledge-section {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-name {
        font-size: 2.2rem;
    }

    .hero-greeting {
        font-size: 1.4rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .progress-label {
        width: 100%;
    }

    .progress-bar {
        width: 100%;
    }
}

/* ========================================

   Contact Modal

======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 35px 40px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-white);
    transform: scale(1.1);
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 30px;
    margin-top: 10px;
}

/* Simplified Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background-color: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 0.9rem;
    color: var(--text-white);
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light-gray);
}

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

.btn-submit {
    background-color: #6366f1;
    color: var(--text-white);
    padding: 12px 40px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 10px;
    width: auto;
    align-self: center;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #5558e3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

@media (max-width: 600px) {
    .modal-content {
        padding: 25px 20px;
    }

    .modal-subtitle {
        font-size: 1rem;
    }
}