/* =============================================
   SHARED STYLES - Alper Yıldız Portfolio
   Apply to all HTML pages
   ============================================= */

:root {
    --bauhaus-red: #E53935;
    --bauhaus-yellow: #FDD835;
    --bauhaus-blue: #1E88E5;
    --black: #1A1A1A;
    --white: #FAFAFA;
    --gray: #666;
    --light-gray: hsl(0, 0%, 94%);
    --light-red-orange: #FF6B35;
    --blue-yellow: #4A90E2;
}

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


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Dot Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(150, 150, 150, 0.3) 2px, transparent 2px);
    background-size: 35px 35px;
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    background: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bauhaus-yellow);
    transition: width 0.3s ease;
}

.nav-links li:first-child a::after {
    background: var(--light-red-orange);
}

.nav-links li:nth-child(2) a::after {
    background: var(--bauhaus-blue);
}

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

.nav-links li:first-child a:hover {
    color: var(--light-red-orange);
}

.nav-links li:nth-child(2) a:hover {
    color: var(--bauhaus-blue);
}

.nav-links li:last-child a:hover {
    color: var(--bauhaus-yellow);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
}

/* Footer Shapes */
.footer-circle {
    width: 12px;
    height: 12px;
    background: var(--bauhaus-red);
    border-radius: 50%;
}

.footer-square {
    width: 12px;
    height: 12px;
    background: var(--bauhaus-blue);
}

.footer-triangle {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid var(--bauhaus-yellow);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
        justify-content: space-between;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 1rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem 1.5rem;
        justify-content: space-between;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }
}
