/* =========================================
   1. TEMEL AYARLAR VE RENK PALETİ
   ========================================= */
:root {
    --bg-color: #F8F7F3;
    --text-color: #333333;
    --nav-text: #DDDDDD;
    --hero-text: #FFFFFF;
    --btn-bg: #FFFFFF;
    --btn-text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden; 
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sayfa yüksekliği en az ekran kadar olsun */
    margin: 0;
}

/* Telefon Numaralarının Mavi Olmasını Engelleme */
a[href^="tel"], 
a[href^="mailto"], 
.phone-number, 
.contact-info p,
.contact-info a, 
.iletisim-container a {
    color: inherit !important;
    text-decoration: none !important;
}

/* =========================================
   2. NAVİGASYON (HEADER & TOPBAR)
   ========================================= */
.main-header {
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 1000; 
    transition: all 0.3s ease; 
    color: white;
}

.main-header.scrolled {
    background-color: rgba(34, 34, 34, 0.98); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 60px;
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 13px;
    color: #DDDDDD;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.main-header.scrolled .topbar {
    padding: 6px 60px; 
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.social-icons a {
    color: #DDDDDD;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icons a:hover {
    color: #FFFFFF;
}

.topbar-divider {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.3);
}

.topbar-contact, .topbar-address {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 20px 60px; 
    position: relative; 
    width: 100%;
    transition: padding 0.3s ease;
}

.main-header.scrolled .navbar {
    padding: 15px 60px; 
}

.logo {
    position: absolute;
    left: 60px;
    display: flex;
    align-items: center;
}
.logo a {
    color: inherit !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    width: 100%;
    display: flex;
    justify-content: center; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--hero-text);
    border-bottom: 2px solid var(--hero-text);
    padding-bottom: 4px;
}

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

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease-in-out;
}

/* =========================================
   3. ALT SAYFALAR İÇİN HEADER DÜZELTMESİ
   ========================================= */
.main-header.alt-header {
    position: sticky !important; 
    top: 0;
    background-color: #1a1a1a !important; 
}

.main-header.alt-header .topbar {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.page-padding {
    padding-top: 40px !important; 
}

/* =========================================
   4. HERO SECTION (ANA EKRAN) & ANİMASYON
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('/images/index.png'); 
    background-color: #8c7b6c;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--hero-text);
}

@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    line-height: 1.2;
    opacity: 0; 
    animation: heroFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.6s; 
}

.hero-content .btn-primary {
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.9s; 
}

.btn-primary {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    padding: 16px 32px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.3s, transform 0.2s;
}

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

/* =========================================
   5. HAKKIMIZDA BÖLÜMÜ
   ========================================= */
.about-section {
    padding: 60px 20%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
}

.about-left {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateX(100px); 
    transition: all 1s ease-out;
    text-align: center;
}

.about-right {
    flex: 1; 
    opacity: 0;
    transform: translateY(30px); 
    transition: all 1s ease-out 0.3s; 
}

.about-section.animate-active .about-left,
.about-section.animate-active .about-right {
    opacity: 1;
    transform: translate(0); 
}

.about-left h2 {
    font-size: 36px;
    color: #222222;
    letter-spacing: 2px;
    line-height: 1.3;
}

#year-counter { color: #111111; }

.about-right p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
}

/* =========================================
   6. HİZMETLERİMİZ BÖLÜMÜ
   ========================================= */
.services-section {
    background-color: #FFFFFF;
    padding: 100px 10%;
    text-align: center;
}

.services-header {
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 32px;
    color: #222;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.services-header p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-color); 
    padding: 50px 30px;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #EEEEEE;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: #e0e0e0;
}

.service-icon {
    margin-bottom: 25px;
    color: #333;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1); 
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #111;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.service-link {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
}

.service-card:hover .service-link {
    color: #8c7b6c; 
    border-bottom: 1px solid #8c7b6c;
}

/* =========================================
   7. SÜRECİMİZ BÖLÜMÜ
   ========================================= */
.process-section {
    height: 250vh; 
    position: relative;
    background-color: #111; 
}

.process-sticky-container {
    position: sticky; 
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('/images/tasarim.png'); 
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.process-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 30, 30, 0.85); 
    z-index: 1;
}

.process-content-wrapper {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1100px;
    display: flex; 
    align-items: center;
    gap: 60px; 
}

.process-tabs {
    display: flex;
    flex-direction: column; 
    gap: 15px;
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 0 0 300px; 
}

.process-tab {
    padding: 15px 20px;
    text-align: left; 
    color: #888888; 
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.process-tab.active {
    background-color: #000000; 
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    padding-left: 30px; 
}

.process-steps-container {
    position: relative;
    flex: 1; 
    min-height: 300px; 
    display: flex;
    align-items: center;
}

.process-step {
    position: absolute; 
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px); 
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.process-step.active {
    opacity: 1;
    transform: translateY(0); 
    pointer-events: auto;
}

.step-text {
    width: 100%;
    color: #ffffff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 1px;
    padding: 50px 60px;
    background: rgba(255, 255, 255, 0.03); 
    border-left: 4px solid #ffffff;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    backdrop-filter: blur(5px);
}

.step-text::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

/* =========================================
   8. ÇAĞRI (CALL TO ACTION) BÖLÜMÜ
   ========================================= */
.cta-section {
    background-color: #1a1a1a; 
    padding: 80px 10%;
    border-bottom: 1px solid #333333; 
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.cta-text {
    flex: 1; 
    max-width: 800px;
}

.cta-text h2 {
    font-size: 32px;
    color: #FFFFFF;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.cta-text p {
    font-size: 15px;
    color: #AAAAAA;
    line-height: 1.6;
}

.cta-action {
    flex-shrink: 0; 
}

.cta-btn {
    background-color: #FFFFFF; 
    color: #111111;
    text-decoration: none; 
    display: inline-block;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #cccccc;
    transform: translateY(-2px);
}

/* =========================================
   9. İKİLİ ÖZELLİKLER BÖLÜMÜ
   ========================================= */
.features-split {
    display: flex;
    width: 100%;
    height: 600px; 
}

.feature-box {
    flex: 1; 
    position: relative;
    display: flex;
    align-items: flex-end; 
    justify-content: center; 
    padding-bottom: 50px;
    text-align: center;
    background-size: cover;
    background-position: center;
    text-decoration: none; 
    cursor: pointer; 
    overflow: hidden; 
}

.design-box {
    background-image: url('/images/tasarim.png'); 
    background-color: #d4c8bd; 
}

.production-box {
    background-image: url('/images/atolye.png'); 
    background-color: #a38c7a;
}

.feature-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
    transition: background 0.4s ease; 
}

.feature-box:hover .feature-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(0,0,0,0.85) 100%);
}

.feature-box h2 {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    transition: transform 0.4s ease; 
}

.feature-box:hover h2 {
    transform: translateY(-10px);
}

/* =========================================
   10. PORTFOLYO BÖLÜMÜ
   ========================================= */
.portfolio-section {
    background-color: #FFFFFF;
    padding: 40px 60px 80px 60px;
    color: var(--text-color);
}

.portfolio-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px; 
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-sidebar {
    flex: 0 0 250px; 
    position: sticky; 
    top: 120px; 
}

.sidebar-title {
    font-size: 13px;
    letter-spacing: 2px;
    color: #888888;
    margin-bottom: 25px;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 15px;
}

.portfolio-filters {
    list-style: none;
    display: flex;
    flex-direction: column; 
    gap: 8px;
}

.portfolio-filters button {
    background: transparent;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: left; 
    width: 100%;
}

.portfolio-filters button:hover, 
.portfolio-filters button.active {
    background-color: #F8F7F3; 
    color: #111111;
    padding-left: 20px; 
    font-weight: 600;
}

.portfolio-grid-container {
    flex: 1; 
}

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

.portfolio-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 2px;
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.02);
}

.card-info {
    padding: 15px 0;
}

.card-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222222;
}

.card-info p {
    font-size: 13px;
    color: #888888;
}

/* =========================================
   11. TASARIM FİKİRLERİ SAYFASI
   ========================================= */
.designs-page {
    padding-top: 60px !important;
}

.designs-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.designs-header h1 {
    font-size: 32px;
    color: #222;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.designs-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

/* =========================================
   12. İLETİŞİM SAYFASI
   ========================================= */
.contact-section {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 60px 10%;
    background-color: var(--bg-color);
}

.contact-info {
    flex: 1;
    max-width: 400px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222222;
}

.contact-info p {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 40px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #888888;
}

.info-block p {
    margin-bottom: 0;
    color: #222222;
    font-weight: 500;
}

.contact-form-container {
    flex: 1;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777777;
    margin-bottom: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #DDDDDD;
    background-color: transparent;
    font-size: 15px;
    color: #333333;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-bottom: 1px solid #333333;
}

.form-group textarea {
    resize: vertical;
}

/* =========================================
   13. FOOTER (ALT BİLGİ) BÖLÜMÜ
   ========================================= */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 20px 30px 20px;
    margin-top: auto; /* İŞTE BU KOD FOOTER'I KESİN OLARAK DİBE İTER! */
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap; 
    gap: 80px; 
    text-align: center; 
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 15px;
    max-width: 300px;
}

.footer-logo span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #888888;
}

.footer-links, .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 12px;
}

.footer-links h4, .footer-social h4 {
    font-size: 12px;
    color: #555555;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-links a, .footer-social a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-social a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333333; 
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #666666;
    letter-spacing: 1px;
}

/* =========================================
   14. WHATSAPP WIDGET & YAZI
   ========================================= */
.whatsapp-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px; 
}

.whatsapp-text {
    background-color: #ffffff;
    color: #333333;
    padding: 10px 20px;
    border-radius: 25px; 
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    white-space: nowrap; 
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none; 
    animation: slideInWhatsapp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.5s; 
}

.whatsapp-text::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

@keyframes slideInWhatsapp {
    to { opacity: 1; transform: translateX(0); }
}

.whatsapp-widget {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* =========================================
   15. PROJE DETAY MODALI (SPLIT LAYOUT)
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 40px 20px;
}

/* Modalin İçindeki Beyaz Kutu */
.modal-split-container {
    background-color: #ffffff;
    max-width: 1100px;
    margin: 20px auto;
    border-radius: 20px; /* Görseldeki gibi yuvarlak hatlar */
    display: flex;
    overflow: hidden; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    min-height: 500px;
}

/* Sol Taraf: Yazılar */
.modal-text-side {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text-side h2 {
    font-size: 28px;
    color: #111;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.modal-divider {
    height: 1px;
    background-color: #e5e5e5;
    margin-bottom: 25px;
    width: 100%;
}

.modal-detail-block {
    margin-bottom: 25px;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

.modal-detail-block strong {
    color: #000;
    font-weight: 700;
    margin-right: 5px;
}

/* Sağ Taraf: Resim(ler) */
.modal-image-side {
    flex: 1;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 20px; 
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto; 
}

/* Sağ Taraf Scrollbar Ayarı */
.modal-image-side::-webkit-scrollbar { width: 6px; }
.modal-image-side::-webkit-scrollbar-track { background: transparent; }
.modal-image-side::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

.modal-image-side img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* Resimlerin köşeleri yuvarlak */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    object-fit: cover;
}

/* Çarpı Butonu */
.close-modal {
    position: fixed; 
    top: 20px; 
    right: 40px; 
    color: #ffffff; 
    font-size: 45px; 
    font-weight: 300; 
    cursor: pointer; 
    z-index: 2001;
    transition: transform 0.3s, color 0.3s;
}
.close-modal:hover { color: #ff4d4d; transform: scale(1.1); }

/* Mobil Görünüm (Alt Alta Dizilim) */
@media (max-width: 768px) {
    .modal-split-container { flex-direction: column; margin-top: 40px; }
    .modal-text-side { padding: 30px 20px; }
    .modal-text-side h2 { font-size: 22px; }
    .modal-image-side { max-height: none; padding: 15px; }
    .close-modal { top: 10px; right: 20px; }
}

/* =========================================
   16. RESPONSIVE (MOBİL UYUMLULUK)
   ========================================= */
@media (max-width: 768px) {
    
    /* Header, Topbar ve Hamburger Menü */
    .topbar { 
        flex-direction: row; 
        justify-content: space-between; 
        padding: 10px 15px; 
        text-align: left;
    }
    .topbar-left, .topbar-right { 
        flex-direction: row; 
        gap: 12px; 
        align-items: center;
    }    .topbar-divider { display: none; }
    .topbar-divider { 
        display: none; /* Dar ekranda aradaki dikey çizgi kalabalık yapmasın diye gizliyoruz */
    }
    .topbar span { 
        font-size: 11px; /* Ekrana yan yana sığmaları için fontu biraz küçülttük */
    }
    .topbar svg { 
        width: 14px; /* İkonlar da aynı oranda küçültüldü */
        height: 14px; 
    }
    .navbar { flex-direction: row; justify-content: space-between; padding: 15px 20px; }
    .logo { position: static; }
    
    .menu-toggle { display: flex; position: absolute; right: 20px; top: 22px; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-menu { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background-color: rgba(0, 0, 0, 0.75); 
        backdrop-filter: blur(10px); 
        padding: 30px 0; 
        flex-direction: column; 
    }
    .nav-menu.active { display: flex; }
    .nav-links { flex-direction: column; gap: 20px; align-items: center; }

    .main-header.scrolled .topbar { display: none; }
    .main-header.scrolled .navbar { padding: 15px 20px; }
    .main-header.scrolled .nav-menu {
        background-color: rgba(34, 34, 34, 0.98);
        backdrop-filter: none; 
    }
    
    .page-header { padding: 20px 20px 15px 20px; }
    .page-header .navbar { justify-content: space-between; }
    
    /* Alt Sayfa Header Menüsü (Beyaz zemin) */
    .page-header .nav-menu {
        background-color: #F8F7F3;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    .page-header .nav-links a { font-size: 15px; padding: 10px; display: block; }

    /* Hero Bölümü */
    .hero { background-position: center right; height: 80vh; min-height: 500px; }
    .hero-content { padding: 0 20px; }
    .hero-content h1 { font-size: 34px; letter-spacing: 1px; }
    .hero-content p { font-size: 16px; margin-bottom: 30px; }
    .btn-primary { padding: 12px 24px; }

    /* Hakkımızda Bölümü */
    .about-section { padding: 60px 20px; }
    .about-content { flex-direction: column; gap: 30px; }
    .about-left h2 { font-size: 28px; text-align: center; }
    .about-right p { font-size: 15px; text-align: center; }
    .about-left, .about-right { transform: none; opacity: 1; } 

    /* Hizmetlerimiz Bölümü */
    .services-section { padding: 60px 20px; }
    .services-container { gap: 20px; }
    .service-card { padding: 40px 20px; }

    /* Sürecimiz Bölümü */
    .process-content-wrapper { flex-direction: column; gap: 30px; }
    .process-tabs { flex: auto; width: 100%; flex-direction: row; flex-wrap: wrap; gap: 5px; padding: 10px; }
    .process-tab { flex: 1 1 45%; padding: 12px 10px; font-size: 13px; text-align: center; }
    .process-tab.active { padding-left: 10px; }
    
    .process-step { position: static; transform: none; opacity: 1; display: none; margin-top: 10px; }
    .process-step.active { display: block; }
    .step-text { font-size: 16px; padding: 30px 20px 30px 40px; }
    .step-text::before { left: 10px; font-size: 60px; top: 5px; }

    /* CTA Bölümü */
    .cta-section { padding: 60px 20px; }
    .cta-container { flex-direction: column; text-align: center; gap: 30px; }
    .cta-text h2 { font-size: 26px; }
    .cta-text p { font-size: 14px; }
    .cta-btn { width: 100%; }

    /* İkili Yapı (Split Section) */
    .features-split { flex-direction: row; height: 250px; }
    .feature-box { height: 100%; width: 50%; padding-bottom: 20px; }
    .feature-box h2 { font-size: 15px; letter-spacing: 1px; }

    /* Portfolyo Bölümü */
    .portfolio-section { padding: 40px 20px; }
    .portfolio-layout { flex-direction: column; gap: 30px; }
    .portfolio-sidebar { flex: auto; width: 100%; position: static; }
    .portfolio-filters { flex-direction: row; flex-wrap: wrap; gap: 10px; }
    .portfolio-filters button { width: auto; padding: 8px 15px; }
    .portfolio-filters button:hover, .portfolio-filters button.active { padding-left: 15px; }

    /* Tasarım Fikirleri Sayfası */
    .designs-page { padding-top: 20px !important; }
    .designs-header { margin-bottom: 30px; }
    .designs-header h1 { font-size: 24px; }
    .designs-header p { font-size: 14px; }
    
    .close-modal { top: 10px; right: 20px; font-size: 35px; }
    .modal-content { padding-top: 50px; }

    /* İletişim Bölümü */
    .contact-section { flex-direction: column; padding: 40px 20px; gap: 40px; }
    .contact-info { max-width: 100%; text-align: center; }
    .contact-form-container { padding: 30px 20px; }
    
    /* Footer */
/* YENİLENMİŞ FOOTER (SAĞLI SOLLU YERLEŞİM) */
    .footer { padding: 40px 20px 20px 20px; }
    
    .footer-content { 
        display: flex;
        flex-direction: row; /* Yan yana dizer */
        flex-wrap: wrap; /* Sığmazsa aşağı atar */
        justify-content: space-between; 
        align-items: flex-start; 
        gap: 20px; 
        margin-bottom: 30px; 
    }
    
    .footer-logo { 
        width: 100%; /* Logo tam genişlik kaplayıp üstte kalır */
        display: flex;
        flex-direction: column;
        align-items: center; 
        margin-bottom: 20px;
    }
    
    /* Sol Taraf (Menü) */
    .footer-links { 
        display: flex;
        flex-direction: column; 
        align-items: flex-start; /* Sola yaslar */
        width: 45%; /* Genişliğin yarısını alır */
        gap: 12px; 
    }
    
    /* Sağ Taraf (Sosyal Ağlar) */
    .footer-social { 
        display: flex;
        flex-direction: column; 
        align-items: flex-end; /* Sağa yaslar */
        width: 45%; /* Genişliğin yarısını alır */
        gap: 12px; 
    }
    
    /* Başlıkların hizalamaları */
    .footer-links h4 { text-align: left; width: 100%; color: #777; margin-bottom: 5px; }
    .footer-social h4 { text-align: right; width: 100%; color: #777; margin-bottom: 5px; }

    .footer-links a, .footer-social a { padding: 2px 0; }

    /* Mobil WhatsApp Widget */
    .whatsapp-wrapper { bottom: 20px; right: 20px; gap: 10px; }
    .whatsapp-text { font-size: 12px; padding: 8px 15px; }
    .whatsapp-widget { width: 50px; height: 50px; }
    .whatsapp-widget svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 28px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card img { height: 220px; }
}
/* =========================================
   ÖNE ÇIKAN ÇALIŞMALAR (ÇIKINTILI & ZİKZAK)
   ========================================= */
.featured-works {
    background-color: #fafafa;
    padding: 80px 0;
}

.work-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 30px; /* Çizimindeki gibi uzun hap/oval görünüm */
    padding: 30px;
    margin-bottom: 80px; /* Kutular arası boşluk (çıkıntılar değmesin diye) */
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    position: relative;
}

/* 2. satırda Zikzak (Sağlı-Sollu) efekti */
.work-card.reverse {
    flex-direction: row-reverse;
}

/* --- İŞTE ÇIKINTIYI (PROTRUSION) YAPAN KISIM --- */
.work-img-container {
    flex: 0 0 45%;
    position: relative;
    z-index: 2;
    /* Resmi yukarıdan, aşağıdan ve SOL taraftan kutunun dışına taşırıyoruz */
    margin-top: -40px;
    margin-bottom: -40px;
    margin-left: -40px; 
}

/* Zikzak olan kartta çıkıntı SAĞ taraftan taşsın */
.work-card.reverse .work-img-container {
    margin-left: 0;
    margin-right: -40px; 
}

.work-img-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Çıkıntıya gölge verip 3D hissi katıyoruz */
}

.work-text-container {
    flex: 1;
    padding: 30px 40px;
}

.work-text-container h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #222;
}

.work-text-container p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* --- Soluk (Faded) Kısım ve Daha Fazlası --- */
.work-faded-wrapper {
    position: relative;
    margin-top: 100px;
}

.faded-card {
    opacity: 0.25; /* Kartı silikleştirir */
    filter: blur(5px); /* Kartı bulanıklaştırır */
    pointer-events: none; /* Tıklanmasını engeller */
    margin-bottom: 0;
}

.placeholder-img {
    width: 100%; height: 300px; background: #d0d0d0; border-radius: 20px;
}
.placeholder-text {
    height: 25px; background: #d0d0d0; margin-bottom: 20px; border-radius: 5px; width: 100%;
}
.placeholder-text.short { width: 50%; }

.more-btn-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.more-btn-container a {
    transition: all 0.3s ease;
}
.more-btn-container a:hover {
    transform: scale(1.05);
    background-color: #333;
}

/* --- Aşağıdan Yukarı Animasyon Sınıfları --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobil Görünüm (Telefonda üstten çıkıntı yapar) --- */
@media (max-width: 768px) {
    .work-card, .work-card.reverse {
        flex-direction: column;
        padding: 20px;
        margin-bottom: 60px;
    }
    .work-img-container, .work-card.reverse .work-img-container {
        width: 100%;
        margin-top: -50px; /* Mobilde resim kutunun üstünden dışarı fırlar */
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }
    .work-text-container {
        padding: 30px 10px 10px 10px;
        text-align: center;
    }
}
/* --- Daha Fazlası Butonu (Masaüstü) --- */
.more-btn {
    font-size: 16px; 
    padding: 15px 40px; 
    border-radius: 40px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); 
    background-color: #1a1a1a; 
    color: #ffffff;
    white-space: nowrap; /* Yazının alt alta kaymasını kesin olarak engeller */
    display: inline-block;
    text-decoration: none; /* İŞTE ALT ÇİZGİYİ KALDIRAN KOD BURASI */
}

/* --- Mobil Görünümdeki Buton Ayarları --- */
@media (max-width: 768px) {
    .more-btn {
        font-size: 14px; /* Mobilde yazı fontu küçülür */
        padding: 12px 25px; /* Mobilde iç boşluklar daralır */
    }
    
    .more-btn-container {
        width: 100%;
        text-align: center;
    }
}