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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    color: #f59e0b;
    font-size: 2rem;
}

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

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

.nav-menu a:hover {
    color: #f59e0b;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: #f59e0b;
    border-radius: 50%;
    pointer-events: none;
}

.particle-small {
    width: 2px;
    height: 2px;
    animation: floatFast 8s infinite linear;
}

.particle-medium {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #f59e0b, #fbbf24);
    animation: floatMedium 12s infinite linear;
}

.particle-large {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #fbbf24, #f59e0b, transparent);
    animation: floatSlow 15s infinite linear;
}

.particle-glow {
    width: 3px;
    height: 3px;
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b, 0 0 20px #f59e0b, 0 0 30px #f59e0b;
    animation: floatGlow 10s infinite linear;
}

.particle-star {
    width: 4px;
    height: 4px;
    background: #fbbf24;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: floatStar 14s infinite linear;
}

@keyframes floatGlow {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
        box-shadow: 0 0 5px #f59e0b;
    }
    5% {
        opacity: 1;
        transform: translateY(95vh) translateX(12px) rotate(90deg) scale(1);
        box-shadow: 0 0 15px #f59e0b, 0 0 25px #f59e0b;
    }
    20% {
        transform: translateY(80vh) translateX(-18px) rotate(200deg) scale(1.8);
        box-shadow: 0 0 20px #f59e0b, 0 0 35px #f59e0b, 0 0 45px #fbbf24;
    }
    40% {
        transform: translateY(60vh) translateX(22px) rotate(350deg) scale(1.2);
        box-shadow: 0 0 25px #f59e0b, 0 0 40px #fbbf24;
    }
    60% {
        transform: translateY(40vh) translateX(-15px) rotate(500deg) scale(1.5);
        box-shadow: 0 0 30px #fbbf24, 0 0 50px #f59e0b;
    }
    80% {
        transform: translateY(20vh) translateX(8px) rotate(650deg) scale(1);
        box-shadow: 0 0 20px #f59e0b, 0 0 30px #fbbf24;
    }
    95% {
        opacity: 1;
        transform: translateY(5vh) translateX(-4px) rotate(720deg) scale(0.8);
        box-shadow: 0 0 10px #f59e0b;
    }
    100% {
        transform: translateY(-15vh) translateX(0) rotate(720deg) scale(0);
        opacity: 0;
        box-shadow: none;
    }
}

@keyframes floatStar {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    8% {
        opacity: 0.9;
        transform: translateY(92vh) translateX(-15px) rotate(45deg) scale(1);
    }
    25% {
        transform: translateY(75vh) translateX(20px) rotate(180deg) scale(1.4);
    }
    50% {
        transform: translateY(50vh) translateX(-22px) rotate(360deg) scale(0.8);
    }
    75% {
        transform: translateY(25vh) translateX(15px) rotate(540deg) scale(1.2);
    }
    92% {
        opacity: 0.9;
        transform: translateY(8vh) translateX(-8px) rotate(720deg) scale(0.7);
    }
    100% {
        transform: translateY(-15vh) translateX(0) rotate(720deg) scale(0);
        opacity: 0;
    }
}

@keyframes floatFast {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateY(95vh) translateX(15px) rotate(45deg) scale(1);
    }
    25% {
        transform: translateY(75vh) translateX(-20px) rotate(180deg) scale(1.5);
    }
    50% {
        transform: translateY(50vh) translateX(25px) rotate(270deg) scale(1);
    }
    75% {
        transform: translateY(25vh) translateX(-15px) rotate(450deg) scale(1.2);
    }
    95% {
        opacity: 1;
        transform: translateY(5vh) translateX(8px) rotate(720deg) scale(0.5);
    }
    100% {
        transform: translateY(-15vh) translateX(0) rotate(720deg) scale(0);
        opacity: 0;
    }
}

@keyframes floatMedium {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    8% {
        opacity: 0.8;
        transform: translateY(92vh) translateX(-18px) rotate(60deg) scale(1);
    }
    30% {
        transform: translateY(70vh) translateX(30px) rotate(200deg) scale(1.3);
    }
    60% {
        transform: translateY(40vh) translateX(-25px) rotate(400deg) scale(0.8);
    }
    85% {
        transform: translateY(15vh) translateX(18px) rotate(600deg) scale(1.1);
    }
    92% {
        opacity: 0.8;
        transform: translateY(8vh) translateX(-8px) rotate(720deg) scale(0.6);
    }
    100% {
        transform: translateY(-15vh) translateX(0) rotate(720deg) scale(0);
        opacity: 0;
    }
}

@keyframes floatSlow {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateY(90vh) translateX(12px) rotate(30deg) scale(1);
    }
    35% {
        transform: translateY(65vh) translateX(-25px) rotate(150deg) scale(1.5);
    }
    65% {
        transform: translateY(35vh) translateX(20px) rotate(300deg) scale(0.7);
    }
    90% {
        opacity: 0.6;
        transform: translateY(10vh) translateX(-12px) rotate(540deg) scale(1);
    }
    100% {
        transform: translateY(-15vh) translateX(0) rotate(540deg) scale(0);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 90vw;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #f59e0b, #fbbf24, #ffffff, #f59e0b);
    background-size: 300% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
    white-space: nowrap;
    position: relative;
    max-width: 100%;
    word-break: keep-all;
}

.highlight {
    color: #f59e0b;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.8), 0 0 60px rgba(245, 158, 11, 0.4);
    animation: glow 2s ease-in-out infinite alternate;
}

/* Add glow animation */
@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(245, 158, 11, 0.8), 0 0 40px rgba(245, 158, 11, 0.4);
    }
    to {
        text-shadow: 0 0 40px rgba(245, 158, 11, 1), 0 0 80px rgba(245, 158, 11, 0.6), 0 0 120px rgba(245, 158, 11, 0.3);
    }
}

/* Add gradient shift animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

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

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #000000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    border: 2px solid #f59e0b;
    color: #f59e0b;
}

.btn-secondary:hover {
    background: #f59e0b;
    color: #000000;
    transform: translateY(-3px);
}

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

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #f59e0b;
    border-bottom: 2px solid #f59e0b;
    transform: rotate(45deg);
}

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

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

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

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #f59e0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #111111, #1a1a2e);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f59e0b;
}

.about-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.about-content blockquote {
    border-left: 4px solid #f59e0b;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background: rgba(245, 158, 11, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.stat-item h4 {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
}

.info-card i {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.info-card h4 {
    margin-bottom: 0.5rem;
    color: #f59e0b;
}

/* Focus Areas */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.focus-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.focus-card:hover::before {
    left: 100%;
}

.focus-icon {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.focus-card h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.focus-card p {
    opacity: 0.8;
}

/* Portfolio */
.portfolio {
    background: linear-gradient(135deg, #111111, #1a1a2e);
}

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

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
}

.portfolio-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000000;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.portfolio-item h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.portfolio-item p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Contact */
.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #f59e0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.contact-item i {
    color: #f59e0b;
    font-size: 1.2rem;
    width: 20px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    color: #f59e0b;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f59e0b;
    color: #000000;
    transform: translateY(-3px);
}



/* Footer */
.footer {
    background: #0a0a0a;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo i {
    color: #f59e0b;
    font-size: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #f59e0b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
        white-space: nowrap;
        overflow: visible;
        max-width: 100vw;
        box-sizing: border-box;
    }

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

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

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

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

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
        white-space: nowrap;
        overflow: visible;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
        white-space: normal;
        line-height: 1.2;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
        word-spacing: 0.1em;
    }
    
    .hero-content {
        padding: 0 15px;
        max-width: 95vw;
    }
}

@media (max-width: 350px) {
    .hero-title {
        font-size: 1.3rem;
        white-space: normal;
        line-height: 1.3;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
} 