:root {
    --primary-color: #ffc107;
    --secondary-color: #ffc107;
    --bg-dark: #0a0d17;
    --bg-card: #151a2f;
    --bg-hover: #1f2640;
    --text-primary: #e0e6ed;
    --text-secondary: #a0aec0;
    --accent: #ffc107;
    --border-color: #2d3a52;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Courier+Prime:wght@400;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

code, pre {
    font-family: 'Courier Prime', monospace;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Quicksand', sans-serif;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.3rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

.link {
    color: var(--accent);
    text-decoration: underline;
}

.link:hover {
    opacity: 0.8;
}

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

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    border-radius: 2px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

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

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-dark);
}

.about-content {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.skills-section {
    margin-top: 4rem;
}

.skills-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skills-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.skill-tag {
    background: var(--bg-card);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

/* Featured Works Section */
.featured-works {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark), rgba(15, 25, 60, 0.1));
}

.works-grid {
    display: grid;
    gap: 40px;
    margin-top: 3rem;
}

.work-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.work-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.work-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.work-item:nth-child(even) > * {
    direction: ltr;
}

.work-image {
    height: 300px;
    background: linear-gradient(135deg, var(--bg-hover), rgba(0, 212, 255, 0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 200px;
    height: 200px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    color: var(--secondary-color);
    border: 2px dashed var(--border-color);
}

.work-content {
    padding: 40px;
}

.work-content h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.work-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.tag {
    background: rgba(0, 212, 255, 0.15);
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.cta-button {
    text-align: center;
    margin-top: 4rem;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 25, 60, 0.15), rgba(20, 35, 80, 0.1));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-dark);
}

.contact-subtitle {
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
    margin: -2rem auto 3rem;
    color: var(--text-secondary);
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--accent);
}

.contact-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(10, 124, 184, 0.1), rgba(0, 212, 255, 0.05));
    border-bottom: 1px solid var(--border-color);
}

.social-links .container {
    text-align: center;
}

.social-links h3 {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    padding: 30px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

.footer p {
    margin: 0.5rem 0;
}

.heart {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .avatar-placeholder {
        width: 200px;
        height: 200px;
        font-size: 60px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    h2 {
        font-size: 2rem;
    }

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

    .work-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .work-image {
        height: 250px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .skill-card {
        padding: 20px;
    }

    .work-content {
        padding: 20px;
    }

    .work-content h3 {
        font-size: 1.3rem;
    }

    .stats .container {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-item {
        padding: 20px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}
