/*
Theme Name: CNC Kalıp Teması
Theme URI: https://cnc-kalip-temasi.com
Author: CNC Kalıp Ekibi
Author URI: https://cnc-kalip-temasi.com
Description: CNC plastik enjeksiyon kalıpçı firmaları için profesyonel, responsive, SEO dostu tanıtım teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cnc-kalip-temasi
Tags: cnc, kalıp, enjeksiyon, plastik, responsive, seo, kurumsal, tanıtım
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a5f9e;
    --primary-dark: #0d3a5c;
    --secondary: #e67e22;
    --secondary-light: #f39c12;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
}

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

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

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

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
}

.top-bar-info a:hover {
    color: var(--secondary-light);
}

.top-bar-info i {
    font-size: 1.1rem;
}

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

.top-bar-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.site-logo-text span {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== NAVIGATION ===== */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    gap: 5px;
}

.main-navigation a {
    display: block;
    padding: 10px 18px;
    font-weight: 500;
    color: var(--dark);
    border-radius: var(--radius);
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.current {
    color: var(--primary);
    background: rgba(26, 95, 158, 0.05);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation a.current::after {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Karartma artık --slider-overlay CSS değişkeni ile ::after pseudo-element üzerinden yapılıyor */
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: slideUp 0.8s ease-out;
}

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

.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--secondary);
    border-color: var(--white);
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    color: var(--white);
    font-size: 1.2rem;
    border: none;
}

.slider-arrow:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

/* ===== HIZMETLER ===== */
.services-section {
    background: var(--light);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(26, 95, 158, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== HAKKIMIZDA ===== */
.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius);
    z-index: -1;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.about-feature span {
    font-weight: 500;
    color: var(--dark);
}

/* ===== İSTATİSTİKLER ===== */
.stats-section {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PORTFÖY ===== */
.portfolio-section {
    background: var(--light);
}

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

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    height: 300px;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 95, 158, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

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

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-overlay p {
    color: rgba(255,255,255,0.8);
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

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

/* ===== REFERANSLAR ===== */
.references-section {
    background: var(--white);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.reference-logo {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
}

.reference-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.reference-logo img {
    max-height: 60px;
    width: auto;
}

/* ===== SOSYAL MEDYA PAYLAŞIM ===== */
.social-share-section {
    background: var(--primary);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.social-share-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.social-share-section p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.3);
}

.social-share-btn:hover {
    transform: translateY(-3px);
    border-color: transparent;
}

.social-share-btn.facebook { background: #1877f2; }
.social-share-btn.twitter { background: #1da1f2; }
.social-share-btn.linkedin { background: #0077b5; }
.social-share-btn.whatsapp { background: #25d366; }
.social-share-btn.email { background: #ea4335; }

/* ===== İLETİŞİM ===== */
.contact-section {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(26, 95, 158, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-item:hover .contact-info-icon {
    background: var(--primary);
    color: var(--white);
}

.contact-info-text h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-info-text p,
.contact-info-text a {
    color: var(--gray);
    font-size: 1rem;
}

.contact-info-text a:hover {
    color: var(--primary);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-top: 10px;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 158, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
/* =====================================================
   FOOTER — TAM MOBİL UYUMLU
   ===================================================== */

/* ── GENEL ─────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
}

/* ── ÜST KISIM ─────────────────────────────────────── */
.footer-top {
    padding: 60px 0 40px;
}

/* ── GRID: Masaüstü 4 sütun ─────────────────────────── */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* ── MARKA SÜTUNU ──────────────────────────────────── */
.footer-logo-wrap {
    margin-bottom: 14px;
}
.footer-logo-wrap img {
    max-height: 60px;
    width: auto;
}
.footer-site-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    margin: 0 0 12px;
    line-height: 1.2;
}
.footer-tagline {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

/* Sosyal medya ikonları */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
    text-decoration: none;
}
.footer-social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: #fff;
}

/* Hızlı iletişim butonları (mobilde görünür, masaüstünde gizli) */
.footer-quick-contact {
    display: none;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    flex: 1;
    min-width: 130px;
    justify-content: center;
}
.footer-quick-phone {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}
.footer-quick-phone:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}
.footer-quick-wa {
    background: #25d366;
    color: #fff;
    border: 2px solid #25d366;
}
.footer-quick-wa:hover {
    background: #1da851;
    border-color: #1da851;
    color: #fff;
}

/* ── LİNK SÜTUNLARI ─────────────────────────────────── */
.footer-heading {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Accordion toggle butonu: masaüstünde sadece metin, mobilde buton */
.footer-accordion-toggle {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: default;
}
.footer-accordion-icon {
    display: none; /* masaüstünde gizli */
    transition: transform 0.25s ease;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* Navigasyon listesi */
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-style: normal;
}
.footer-nav-list li {
    margin-bottom: 10px;
}
.footer-nav-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.92rem;
    transition: var(--transition);
    line-height: 1.4;
}
.footer-nav-list a:hover {
    color: var(--secondary);
    padding-left: 4px;
}
.footer-nav-list .fa-chevron-right {
    font-size: 0.65rem;
    color: var(--secondary);
    flex-shrink: 0;
}

/* ── İLETİŞİM SÜTUNU ────────────────────────────────── */
.footer-address {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
}
.footer-contact-icon {
    width: 20px;
    text-align: center;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.95rem;
}
.footer-contact-item a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}
.footer-contact-item a:hover {
    color: var(--secondary);
}

/* ── ALT BAR ─────────────────────────────────────────── */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.footer-legal-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-legal-nav a {
    font-size: 0.875rem;
    color: var(--secondary);
    text-decoration: none;
    transition: opacity 0.2s;
}
.footer-legal-nav a:hover { opacity: 0.8; }
.footer-legal-nav span {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

/* ── WHATSAPP FLOATING ───────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 4px 18px rgba(37,211,102,0.45);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
    color: #fff;
}
.whatsapp-float-tooltip {
    position: absolute;
    right: 66px;
    background: #25d366;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
}
@keyframes cnc-wa-pulse {
    0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45); }
    50%      { box-shadow: 0 4px 28px rgba(37,211,102,0.7); }
}
.whatsapp-float { animation: cnc-wa-pulse 2.5s infinite; }

/* ── YUKARI ÇIK ──────────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s, transform 0.2s;
    z-index: 9998;
    border: none;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ===================================================
   RESPONSİF — TABLET (768px – 991px)
   =================================================== */
@media (max-width: 991px) {
    .footer-top { padding: 50px 0 36px; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
    }
    /* Marka sütunu tam genişlik */
    .footer-col.footer-brand {
        grid-column: 1 / -1;
    }
    /* Tablet'te hızlı butonlar göster */
    .footer-quick-contact { display: flex; }
}

/* ===================================================
   RESPONSİF — MOBİL (< 768px)
   =================================================== */
@media (max-width: 767px) {
    .footer-top { padding: 36px 0 28px; }

    /* Tek sütun */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-col {
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 0 0 4px;
    }
    .footer-col:last-child { border-bottom: none; }

    /* Marka sütunu: accordion değil, her zaman açık */
    .footer-col.footer-brand {
        padding-bottom: 24px;
        margin-bottom: 0;
    }
    .footer-quick-contact { display: flex; }

    /* ── ACCORDION ── */
    .footer-heading {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .footer-heading::after { display: none; } /* Çizgiyi kaldır */
    .footer-accordion-toggle {
        cursor: pointer;
        padding: 16px 4px;
    }
    .footer-accordion-icon { display: block; } /* Oku göster */
    .footer-accordion-toggle[aria-expanded="true"] .footer-accordion-icon {
        transform: rotate(180deg);
    }

    /* Liste varsayılan olarak gizli */
    .footer-nav-list {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding-bottom: 0;
    }
    /* Açık durum — JS .open sınıfı ekler */
    .footer-nav-list.open {
        max-height: 600px;
        padding-bottom: 16px;
    }

    /* İletişim sütunu accordion ile uyumlu */
    .footer-address {
        gap: 14px;
    }

    /* Alt bar */
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .footer-legal-nav { justify-content: center; }

    /* Floating butonlar — mobilde biraz daha küçük */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 16px;
        right: 16px;
    }
    .whatsapp-float-tooltip { display: none; } /* Tooltip mobilde gereksiz */
    .scroll-top {
        width: 42px;
        height: 42px;
        bottom: 16px;
        left: 16px;
        font-size: 1rem;
    }

    /* WhatsApp ve scroll-top çakışmasın */
    .whatsapp-float { bottom: 76px; right: 16px; }
}

/* ===================================================
   RESPONSİF — ÇOK KÜÇÜK (< 400px)
   =================================================== */
@media (max-width: 399px) {
    .footer-site-name { font-size: 1.3rem; }
    .footer-tagline { font-size: 0.88rem; }
    .footer-quick-btn { font-size: 0.85rem; padding: 10px 14px; }
    .footer-social-link { width: 36px; height: 36px; font-size: 0.9rem; }
    .footer-contact-item { font-size: 0.85rem; }
    .footer-copyright, .footer-legal-nav a { font-size: 0.8rem; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.breadcrumb-section h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.breadcrumb-nav a:hover {
    color: var(--secondary);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--dark);
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pagination a:hover,
.pagination span.current {
    background: var(--primary);
    color: var(--white);
}

/* ===== 404 PAGE ===== */
.error-404 {
    text-align: center;
    padding: 100px 20px;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.error-404 h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.error-404 p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE - MOBILE FIRST ===== */
/* Extra Small Devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    html { font-size: 14px; }
    .container { padding: 0 15px; }
    .section-padding { padding: 50px 0; }
    .section-title h2 { font-size: 1.8rem; }
    .section-title p { font-size: 1rem; }

    .hero-slider { height: 450px; }
    .slide-content h2 { font-size: 1.8rem; }
    .slide-content p { font-size: 1rem; }
    .slide-buttons { flex-direction: column; gap: 10px; }
    .slide-buttons .btn { width: 100%; text-align: center; }

    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 30px 20px; }

    .about-content { grid-template-columns: 1fr; gap: 30px; }
    .about-image { order: -1; }
    .about-image::after { display: none; }
    .about-features { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-number { font-size: 2.2rem; }

    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item { height: 250px; }

    .references-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .reference-logo { height: 100px; padding: 20px; }

    .social-share-buttons { flex-direction: column; gap: 10px; }
    .social-share-btn { width: 100%; justify-content: center; }

    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-form { padding: 25px; }

    .top-bar .container { justify-content: center; text-align: center; }
    .top-bar-info { justify-content: center; gap: 15px; }
    .top-bar-social { display: none; }

    .menu-toggle { display: flex; }
    .main-navigation { position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px; height: 100vh; background: var(--white); flex-direction: column; padding: 80px 30px 30px; transition: var(--transition); box-shadow: -5px 0 25px rgba(0,0,0,0.1); }
    .main-navigation.active { right: 0; }
    .main-navigation ul { flex-direction: column; width: 100%; }
    .main-navigation a { padding: 15px; border-bottom: 1px solid #eee; }

    .error-404 h1 { font-size: 5rem; }
    .breadcrumb-section h1 { font-size: 1.8rem; }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .references-grid { grid-template-columns: 1fr 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .about-image { order: -1; }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .references-grid { grid-template-columns: 1fr 1fr 1fr; }
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .services-grid { grid-template-columns: 1fr 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .services-grid { grid-template-columns: 1fr 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #1a1a2e;
        --dark: #f8f9fa;
        --white: #1a1a2e;
    }
    body { background: #0d0d1a; color: #f8f9fa; }
    .site-header { background: #1a1a2e; }
    .service-card { background: #1a1a2e; }
    .contact-form { background: #1a1a2e; }
    .contact-info-item { background: #1a1a2e; }
    .reference-logo { background: #1a1a2e; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

/* ===== WORDPRESS DEFAULTS ===== */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
    padding: 10px;
    background: var(--light);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item img {
    border-radius: var(--radius);
}

blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--light);
    font-style: italic;
    font-size: 1.1rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== SEO SCHEMA MARKUP STYLES ===== */
.schema-hidden {
    display: none !important;
}

/* ===== GOOGLE HARITA ===== */
.contact-map {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .contact-map iframe {
        height: 280px;
    }
}

/* ===== DİNAMİK HEADER STİL DESTEĞİ ===== */
body.header-transparent .site-header:not(.scrolled) {
    background: rgba(0,0,0,0.15) !important;
    box-shadow: none;
}
body.header-transparent .site-header:not(.scrolled) .site-logo-name,
body.header-transparent .site-header:not(.scrolled) .main-navigation a {
    color: #fff;
}
body.header-gradient .site-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
}

/* ===== DİNAMİK FOOTER STİL DESTEĞİ ===== */
body.footer-light .site-footer,
body.footer-light .footer-top {
    background: var(--light) !important;
    color: var(--dark) !important;
}
body.footer-light .site-footer h3,
body.footer-light .site-footer h4,
body.footer-light .footer-bottom p {
    color: var(--dark) !important;
}
body.footer-light .site-footer a,
body.footer-light .footer-links a {
    color: var(--primary) !important;
}
body.footer-light .footer-bottom {
    background: var(--gray) !important;
    color: #fff !important;
}

body.footer-primary .site-footer,
body.footer-primary .footer-top {
    background: var(--primary) !important;
    color: #fff !important;
}
body.footer-primary .footer-bottom {
    background: var(--primary-dark) !important;
}

/* ==========================================================================
   Makale Bölümü: CNC Kalıpçılığı Nedir? (SEO Article Section)
   Fully responsive, mobile-first friendly
   ========================================================================== */
.article-section {
    background: #ffffff;
}

.cnc-article {
    max-width: 860px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 126, 34, 0.12);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.article-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.article-lead {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #555;
    max-width: 680px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    color: var(--primary);
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #333;
}

.article-body p {
    margin-bottom: 20px;
    word-wrap: break-word;
}

.article-body h3 {
    font-size: clamp(1.2rem, 2.6vw, 1.5rem);
    color: var(--primary-dark);
    margin: 36px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--secondary);
}

.article-body strong {
    color: var(--primary-dark);
}

.article-list {
    margin: 0 0 24px;
    padding-left: 0;
    list-style: none;
}

.article-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    border-bottom: 1px dashed #e5e5e5;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list.article-list-numbered {
    counter-reset: cnc-step;
}

.article-list:not(.article-list-numbered) li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 0.9rem;
}

.article-list-numbered li {
    counter-increment: cnc-step;
}

.article-list-numbered li::before {
    content: counter(cnc-step);
    position: absolute;
    left: 0;
    top: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-cta .btn {
    white-space: nowrap;
}

@media (max-width: 991px) {
    .cnc-article {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .article-body {
        font-size: 1rem;
        line-height: 1.75;
    }

    .article-meta {
        gap: 12px;
        font-size: 0.82rem;
    }

    .article-list li {
        padding-left: 26px;
    }

    .article-cta {
        flex-direction: column;
    }

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

@media (max-width: 399px) {
    .article-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .article-body h3 {
        margin: 28px 0 12px;
    }
}
