/* 
 * Nazife Gülnur Portfolio 
 * Theme: Modern, Architectural, Premium
 */

:root {
    /* Color Palette - Elegant & Architectural */
    --bg-color: #FAFAF9;
    /* Warm White */
    --text-color: #1F2937;
    /* Slate 800 */
    --text-light: #4B5563;
    /* Slate 600 */
    --primary-color: #111827;
    /* Near Black */
    --accent-color: #C6A87C;
    /* Muted Gold / Bronze */
    --nav-bg: rgba(250, 250, 249, 0.95);
    --card-bg: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 120px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: var(--nav-bg);
    padding: 20px 8%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
}

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

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

#lang-toggle {
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid var(--text-color);
    border-radius: 2px;
    transition: all 0.3s;
    letter-spacing: 1px;
}

#lang-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at center, rgba(198, 168, 124, 0.05) 0%, rgba(250, 250, 249, 0) 70%);
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 48px;
    font-weight: 300;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 0;
    /* Architectural sharp edges */
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sections Global */
section {
    padding: var(--spacing-xl) 8%;
}

.section-title {
    text-align: left;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--accent-color);
}

/* About */
#about {
    background-color: #FFFFFF;
}

.about-container {
    display: flex;
    flex-direction: row;
    max-width: 900px;
    align-items: center;
    /* Vertically center image and text */
    gap: 60px;
}

.about-image {
    flex: 0 0 250px;
    /* Fixed width for image container */
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 1;
    /* Take remaining space */
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.9;
}

/* Responsive adjustment for About section */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        /* Smaller gap for mobile */
    }

    .about-image {
        flex: none;
        /* Prevent flex-basis from desktop interfering */
        width: 180px;
        height: 180px;
        border-width: 4px;
        /* margin-bottom handled by gap */
    }
}

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

.portfolio-item {
    background: transparent;
    cursor: pointer;
}

.portfolio-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #f0f0f0;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.portfolio-info {
    padding: 0 10px;
}

.portfolio-info h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 400;
}

.portfolio-info p {
    font-size: 0.95rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Contact */
#contact {
    text-align: center;
    background-color: var(--bg-color);
    padding: var(--spacing-xl) 20px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
    font-family: var(--font-heading);
}

/* Footer */
footer {
    background-color: #FFFFFF;
    color: var(--text-light);
    text-align: center;
    padding: 40px 0;
    font-size: 0.8rem;
    border-top: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

    .nav-links {
        display: none;
        /* Keep generic for now, user didn't ask for mobile menu logic yet */
    }

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

    section {
        padding: var(--spacing-lg) 5%;
    }
}