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

:root {
    --primary-orange: #ff6b35;
    --dark-orange: #e85d29;
    --light-orange: #ff8c5a;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --mid-gray: #2a2a2a;
    --light-gray: #3a3a3a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--black);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(125deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
    overflow: hidden;
}

.bg-animation::before,
.bg-animation::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.bg-animation::before {
    background: var(--primary-orange);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.bg-animation::after {
    background: var(--dark-orange);
    bottom: -200px;
    right: -200px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary-orange);
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-orange);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    animation: fadeInUp 1s ease-out;
}

.greeting {
    color: var(--primary-orange);
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.name {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-white), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 32px;
    color: var(--primary-orange);
    margin-bottom: 15px;
    font-weight: 600;
}

.subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: var(--text-white);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

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

.floating-card {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--mid-gray), var(--light-gray));
    border-radius: 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    animation: floatCard 6s infinite ease-in-out;
}

.floating-card img {
    width: 400px;
    height: 450px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    animation: floatCard 6s infinite ease-in-out;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    border-radius: 30px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    color: var(--text-gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: var(--primary-orange);
    margin: 10px auto 0;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--dark-orange));
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 120px 20px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.intro {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.highlight {
    color: var(--primary-orange);
    font-weight: 700;
}

.about-text > p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-card {
    background: linear-gradient(135deg, var(--dark-gray), var(--mid-gray));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.skill-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.skill-card p {
    color: var(--primary-orange);
    font-size: 16px;
}

/* Projects Section */
.projects {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
}

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

.project-card {
    background: var(--mid-gray);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.3);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, var(--light-gray), var(--dark-gray));
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.project-info p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Contact Section */
.contact {
    padding: 120px 20px;
}

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

.contact-text {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 50px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    background: linear-gradient(135deg, var(--dark-gray), var(--mid-gray));
    padding: 40px 50px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s;
    border: 1px solid rgba(255, 107, 53, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.contact-icon {
    font-size: 40px;
}

.contact-card span {
    font-size: 18px;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    background: var(--dark-gray);
}

.footer p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.footer-note {
    color: var(--primary-orange);
    font-size: 14px;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        padding: 30px 0;
        gap: 20px;
    }

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

    .name {
        font-size: 42px;
    }

    .tagline {
        font-size: 24px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .floating-card {
        width: 300px;
        height: 300px;
    }

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

    .section-title {
        font-size: 36px;
    }

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

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        align-items: stretch;
    }
}