/* 
   Project: Lens & Code - Professional Portfolio
   Theme: Cinematic Tech (Dark Mode, Gold & Cyan Accents)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sacramento&family=Sora:wght@400;600;700;800&display=swap');

:root {
    /* Colors - Soft Studio Palette */
    --bg-color: #FDFBF7;
    /* Creamy White */
    --bg-secondary: #F5F0E6;
    /* Light Beige for cards */
    --text-primary: #4A4A4A;
    /* Soft Charcoal */
    --text-secondary: #717171;
    /* Medium Gray */
    --accent-art: #ED8B70;
    /* Warm Terracotta-Peach */
    --accent-tech: #5B8AC0;
    /* Muted Blue */
    --nav-height: 80px;
    --gradient-hero: linear-gradient(135deg, rgba(253, 251, 247, 0.95) 0%, rgba(245, 240, 230, 0.9) 100%);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;

    /* Transitions */
    --transition-base: all 0.3s ease;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora', sans-serif;
    /* Cinematic Tech touch */
    color: var(--text-primary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-art), var(--accent-tech));
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

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

.btn-outline {
    border-color: var(--text-primary);
    background: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-base);
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
}

.logo span {
    color: var(--accent-art);
}

.logo span:last-child {
    color: var(--accent-tech);
}

.logo-icon {
    height: 140px;
    width: auto;
    margin-top: -40px;
    margin-bottom: -35px;
    position: relative;
    z-index: 1001;
    transition: var(--transition-base);
}

.nav-contact-btn {
    padding: 5px 20px;
    border-radius: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-art), var(--accent-tech));
    transition: var(--transition-base);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)),
        url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    /* You can replace this URL with a local asset later */
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    line-height: 1.6;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero .highlight-art {
    color: var(--accent-art);
    font-style: italic;
}

.hero .highlight-tech {
    color: var(--accent-tech);
    font-family: 'Inter', sans-serif;
    /* Monospace tech feel */
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services / Hybrid Identity */
.services {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Specific styling for art vs tech cards */
.service-card.art:hover {
    border-bottom: 4px solid var(--accent-art);
}

.service-card.tech:hover {
    border-bottom: 4px solid var(--accent-tech);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card.art .service-icon {
    color: var(--accent-art);
}

.service-card.tech .service-icon {
    color: var(--accent-tech);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Portfolio Preview */
.portfolio {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.filter-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--accent-tech);
    color: var(--accent-tech);
    background: rgba(6, 182, 212, 0.1);
}

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

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    color: #fff;
    margin-bottom: 5px;
}

.portfolio-overlay span {
    font-size: 0.8rem;
    color: var(--accent-art);
}

.portfolio-item.tech .portfolio-overlay span {
    color: var(--accent-tech);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image,
.about-text {
    flex: 1;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--accent-tech);
    width: 100%;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-image {
        order: -1;
    }
}

/* Contact Section */
/* Contact Section */
.contact {
    padding: var(--section-padding);
    text-align: center;
    background: linear-gradient(rgba(253, 251, 247, 0.9), rgba(253, 251, 247, 0.95)),
        url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-attachment: fixed;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-tech);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 10px;
    color: var(--text-secondary);
}

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

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    /* Header & Nav */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        /* Hide off-screen */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(15px);
        padding: 80px 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1999;
        /* Nav menü hamburgerin altında kalsın ama sliderın üstünde */
        justify-content: flex-start;
        gap: 25px;
    }

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

    .hamburger {
        display: block;
        z-index: 2100;
        /* En üstte, her şeyden yukarıda */
        position: relative;
        padding: 5px;
        /* Tıklama alanını genişlet */
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }

    .logo-wrapper {
        max-width: calc(100% - 60px);
        /* Hamburger için yer bırak */
        display: flex;
        align-items: center;
    }

    .logo small {
        white-space: normal !important;
        /* Taşmayı önlemek için sarmaya izin ver */
        line-height: 1.1;
        max-width: 180px;
    }

    /* Hero */
    .hero .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* About Section */
    .about-content {
        gap: 30px;
    }

    .stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .logo-icon {
        height: 60px !important;
        /* Mobil için daha uygun boyut */
        margin-top: -10px !important;
        margin-bottom: -10px !important;
    }
}

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

    .section-title {
        font-size: 2rem;
    }

    .logo-wrapper {
        max-width: calc(100% - 50px);
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo-icon {
        height: 50px !important;
        margin-top: -5px !important;
        margin-bottom: -5px !important;
    }

    .logo small {
        font-size: 0.65rem !important;
    }
}