/* ===== SHARED STYLES - Paksoy Yapı ===== */
/* Used across all pages */

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

:root {
    --red: #E31E24;
    --red-dark: #C41A1F;
    --red-light: #FF3B42;
    --dark: #2D2D2D;
    --darker: #1A1A1A;
    --charcoal: #3A3A3A;
    --gray: #6B6B6B;
    --gray-light: #9A9A9A;
    --gray-bg: #F5F5F5;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--red);
    background: rgba(227, 30, 36, 0.05);
}

.nav-links .btn-contact {
    background: var(--red);
    color: var(--white);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    margin-left: 8px;
}

.nav-links .btn-contact:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.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); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 30, 36, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid #ddd;
}
.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-white:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

/* ===== SECTION COMMON ===== */
.section { padding: 120px 0; }

.section-header { max-width: 600px; margin-bottom: 64px; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--red);
    border-radius: 1px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--darker);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--darker) 0%, var(--charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(227,30,36,0.08) 0%, transparent 60%);
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.page-hero .breadcrumb a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb svg { width: 14px; height: 14px; opacity: 0.4; }

.page-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
}

/* ===== PROJECT CARDS ===== */
.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    position: relative;
    overflow: hidden;
}

.project-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #aaa;
}

.project-image-placeholder svg { width: 48px; height: 48px; opacity: 0.5; }
.project-image-placeholder span { font-size: 13px; font-weight: 500; }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

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

.project-info { padding: 24px; }

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(227,30,36,0.08);
    color: var(--red);
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-tag.completed { background: rgba(34,197,94,0.1); color: #16a34a; }
.project-tag.ongoing { background: rgba(234,179,8,0.1); color: #ca8a04; }

.project-info h3 {
    font-size: 20px;
    color: var(--darker);
    margin-bottom: 8px;
}

.project-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.project-meta {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-bg);
}

.project-meta span {
    font-size: 13px;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-meta svg { width: 16px; height: 16px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--darker);
    padding: 64px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand { max-width: 320px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo-img { height: 40px; width: auto; filter: brightness(0) invert(1); }

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    margin-top: 12px;
}

.footer-links { display: flex; gap: 64px; }

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}
.footer-col a:hover { color: var(--red-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 18px; height: 18px; color: rgba(255,255,255,0.5); }
.footer-social a:hover svg { color: var(--white); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section { padding: 80px 0; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
    }
    .nav-links.open { right: 0; }
    .nav-links a { padding: 14px 16px; font-size: 16px; }
    .nav-links .btn-contact { margin-left: 0; text-align: center; margin-top: 12px; }
    .mobile-toggle { display: flex; }

    .logo-img { height: 36px; }

    .page-hero { padding: 120px 0 60px; }
    .page-hero h1 { font-size: 32px; }

    .footer-links { gap: 40px; }
    .btn { justify-content: center; }
}

@media (max-width: 480px) {
    .footer-top { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
