/* Base styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ff0000;
    --accent-color: #ff1a1a;
    --text-color: #ffffff;
    --background-color: #0a0a0a;
    --card-bg: rgba(255, 0, 0, 0.1);
    --hover-color: #ff3333;
}

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

body {
    padding-top: 70px; /* Navbar'ın yüksekliği kadar padding ekliyoruz */
    padding-bottom: 60px; /* Footer'ın yüksekliği kadar padding */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background: linear-gradient(to right, #000000, #1a0000, #000000);
    min-height: 100vh;
    position: relative;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--secondary-color);
}

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

.nav-brand a {
    text-decoration: auto;
}

.nav-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-brand h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-brand h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-brand h2:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-content: center;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.active {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: bold;
}

.nav-links a.mini-games {
    font-size: 0.9em;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-links a.mini-games:hover {
    color: #007bff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(-45deg, #000000, #330000, #660000, #000000);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

/* Gradient animasyonu */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Hero içeriği için parlama efekti */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 0, 0, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: linear-gradient(45deg, #fff, #ff0000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 8px rgba(255, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-content .description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
    margin-bottom: 60px; /* Footer'ın yüksekliği kadar margin */
}

section {
    margin-bottom: 3rem;
}

h1, h2, h3 {
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.3);
}

h2 {
    color: #a1050596;
    font-weight: bold;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

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

.skill-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.skill-card:hover img {
    transform: scale(1.05);
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-form {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
}

button {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--hover-color);
}

/* References Page */
.references-header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(-45deg, #000000, #330000, #660000, #000000);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    margin-bottom: 2rem;
}

.references-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.references-header .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    opacity: 0.9;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.project-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    background: rgba(255, 0, 0, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-content {
    flex: 1;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.project-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(255, 0, 0, 0.1);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--secondary-color);
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.project-meta .date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-meta .company {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .project-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tech-stack {
        justify-content: center;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 0.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--secondary-color);
    z-index: 1000;
}

/* Footer Styles */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }

    .hamburger {
        display: flex;
        order: -1;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        width: 100%;
        justify-content: center;
        font-size: 1.2rem;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -8px);
    }

    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .hero-content .subtitle {
        font-size: 1.5rem;
    }
    
    .hero-content .description {
        font-size: 1rem;
    }

    .language-selector {
        margin: 1rem 0;
        justify-content: center;
    }
}

/* Form validation styles */
.error-message {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: var(--secondary-color);
}

.g-recaptcha {
    margin-bottom: 1rem;
}

/* SweetAlert özelleştirmeleri */
.swal2-popup {
    background: var(--background-color);
    color: var(--text-color);
}

.swal2-title {
    color: var(--text-color);
}

.swal2-html-container {
    color: var(--text-color);
}

.contact-info {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.contact-info ul li {
    list-style-type: circle;
    cursor: help;
}
.contact-info ul li:hover {
   color:#ff1a1a;
}
.contact-info ul li i {
    margin: 1px 15px;
}

#map {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#map:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 20px;
    border: 1px solid var(--secondary-color);
}

.lang-switch a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.lang-switch span {
    color: var(--secondary-color);
    margin: 0 0.2rem;
}

.lang-switch a.active {
    color: var(--secondary-color);
    font-weight: bold;
    background: none;
}

.lang-switch a:hover:not(.active) {
    color: var(--secondary-color);
}

.lang-switch {
    margin: 1rem auto;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.language-selector a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.language-selector a.active {
    background-color: var(--secondary-color);
    color: white;
}

.language-selector a:hover:not(.active) {
    background-color: rgba(255, 0, 0, 0.1);
} 