/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --color-navy: #0a1929;
    --color-navy-light: #1a2942;
    --color-navy-lighter: #2a3a54;
    --color-gold: #D4AF37;
    --color-gold-light: #E5C158;
    --color-gold-dark: #B8941F;
    --color-white: #ffffff;
    --color-gray: #94a3b8;
    --color-gray-dark: #64748b;
    --color-red: #dc2626;
    
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--color-navy);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--color-gold-light);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

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

.lead {
    font-size: 1.25rem;
    color: var(--color-white);
    font-weight: 500;
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

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

.section-number {
    display: block;
    font-size: 1rem;
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.8;
}

.logo-name {
    color: var(--color-white);
}

.logo-surname {
    color: var(--color-red);
}

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

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.title-line.accent {
    color: var(--color-gold);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-gold);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(20px); opacity: 1; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.btn-block {
    width: 100%;
}

/* ============================================
   Hakkında Section
   ============================================ */
.hakkinda {
    background: var(--color-navy-light);
}

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

.hakkinda-image {
    position: sticky;
    top: 8rem;
}

.image-frame {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid var(--color-gold);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
    pointer-events: none;
}

.image-frame:hover .profile-img {
    transform: scale(1.05);
}

.hakkinda-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.expertise {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.expertise h3 {
    color: var(--color-white);
    margin-bottom: 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.expertise-item {
    background: var(--color-navy);
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-gold);
    transition: var(--transition);
}

.expertise-item:hover {
    transform: translateX(8px);
    background: var(--color-navy-lighter);
}

.expertise-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.expertise-item h4 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.expertise-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   Projeler Section
   ============================================ */
.projeler {
    background: var(--color-navy);
}

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

.project-card {
    background: var(--color-navy-light);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--color-navy-lighter), var(--color-navy));
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 41, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-link {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.project-content {
    padding: 2rem;
}

.project-title {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-description {
    margin-bottom: 1.5rem;
    color: var(--color-gray);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    font-size: 0.875rem;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ============================================
   İletişim Section
   ============================================ */
.iletisim {
    background: var(--color-navy-light);
}

.iletisim-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.iletisim-info h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    border-radius: 8px;
    border: 2px solid var(--color-gold);
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--color-white);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-details a {
    color: var(--color-gray);
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--color-gold);
}

.contact-details p {
    color: var(--color-gray);
    margin: 0;
}

/* Form Styles */
.contact-form {
    background: var(--color-navy);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--color-navy-light);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: var(--color-navy-lighter);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-navy);
    padding: 3rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.footer-logo-img {
    height: 35px;
    width: auto;
    opacity: 0.9;
}

.footer-text {
    color: var(--color-gray);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy-light);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    color: var(--color-gold);
    font-weight: 600;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-3px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .hakkinda-content,
    .iletisim-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hakkinda-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 80px);
        background: var(--color-navy-light);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-image {
        height: 150px;
    }
}

/* Footer Network Linkleri */
.network-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Çok hafif bir üst çizgi */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 0.8rem;
    opacity: 0.6; /* Genel olarak sönük durması için */
    transition: opacity 0.3s ease;
}

.network-links:hover {
    opacity: 1; /* Mouse ile yaklaşınca biraz daha belirginleşsin */
}

.network-label {
    font-weight: 600;
    color: #888;
    margin-right: 5px;
}

.network-links a {
    color: #888; /* Koyu gri, çok parlak değil */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Linklerin arasına nokta koymak için şık bir yöntem */
.network-links a:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -10px;
    color: #444; /* Noktalar daha da silik olsun */
    font-size: 10px;
}

.network-links a:hover {
    color: #bbb; /* Üzerine gelince hafif açılsın rengi */
}

/* Mobil uyum için */
@media (max-width: 768px) {
    .network-links {
        gap: 10px;
        line-height: 1.6;
    }
    .network-links a:not(:last-child)::after {
        content: ""; /* Mobilde noktaları kaldır, alt alta gelebilirler */
        display: none;
    }
}
