:root {
    --tw-primary: #f34d1b;   /* Logo turuncusu */
    --tw-dark: #473f3d;      /* Logo koyu rengi */
    --tw-bg: #fff8f4;        /* Çok hafif turuncu kırık beyaz */
    --tw-light: #ffffff;
}

/* Genel */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #fff8f4 0, #ffffff 55%);
    color: var(--tw-dark);
}

/* NAVBAR */
.tw-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.tw-navbar .navbar-brand {
    color: var(--tw-dark);
}

.tw-navbar .nav-link {
    color: #6b625f;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-left: 0.75rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.tw-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.1rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tw-primary), #ff7b3c);
    transition: width 0.2s ease;
}

.tw-navbar .nav-link:hover,
.tw-navbar .nav-link:focus {
    color: var(--tw-dark);
}

.tw-navbar .nav-link:hover::after,
.tw-navbar .nav-link:focus::after {
    width: 70%;
}

/* Active Nav Link */
.tw-navbar .nav-link.active {
    color: var(--tw-primary) !important;
}

.tw-navbar .nav-link.active::after {
    width: 70%;
}

/* Navbar Scroll Effect */
.tw-navbar.scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Butonlar */
.tw-btn-accent {
    background: linear-gradient(135deg, var(--tw-primary), #ff7b3c);
    border: none;
    color: #fff;
    box-shadow: 0 12px 26px rgba(243, 77, 27, 0.35);
}

.tw-btn-accent:hover {
    background: linear-gradient(135deg, #ff7b3c, var(--tw-primary));
    color: #fff;
}

.tw-btn-ghost {
    border-color: rgba(71, 63, 61, 0.25);
    color: var(--tw-dark);
    background: transparent;
}

.tw-btn-ghost:hover {
    background: rgba(243, 77, 27, 0.03);
    color: var(--tw-dark);
}

/* Logo */
.tw-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tw-logo-img:hover {
    transform: scale(1.05);
}

/* HERO */
.tw-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 88px;
    background: radial-gradient(circle at top left, #ffe6d8 0, #ffffff 55%);
}

.tw-badge-soft {
    background: rgba(243, 77, 27, 0.06);
    border: 1px solid rgba(243, 77, 27, 0.12);
    color: var(--tw-dark);
    border-radius: 999px;
    font-size: 0.75rem;
}

.tw-hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #908582;
}

.tw-hero-title {
    font-size: clamp(2.3rem, 3.8vw, 3.3rem);
    font-weight: 700;
    color: var(--tw-dark);
}

.tw-hero-title span {
    color: var(--tw-primary);
}

.tw-hero-sub {
    font-size: 0.98rem;
    color: #6b625f;
}

/* Chips */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(71, 63, 61, 0.12);
    font-size: 0.75rem;
    color: #655c59;
    background: #fff7f3;
}

/* Cards */
.tw-card {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #f1e3db;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
}

.tw-card-soft {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #f1e3db;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
}

.tw-divider {
    border-color: #f1e3db;
}

/* Sections */
.tw-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    background: #ffffff;
    scroll-margin-top: 90px;
}

.tw-section:nth-of-type(even) {
    background: #fff8f4;
}

.tw-section-last {
    padding-bottom: 5rem;
}

/* Başlıklar */
.section-title {
    font-weight: 500;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: #a3948f;
}

.section-heading {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--tw-dark);
}

/* Badges */
.tw-badge-pill {
    background: #fff0e8;
    color: #7c2a09;
    font-size: 0.7rem;
    border-radius: 999px;
}

.tw-badge-icon {
    background: rgba(243, 77, 27, 0.1);
    color: var(--tw-primary);
    border-radius: 999px;
}

/* Form / Inputs */
.tw-input {
    background: #ffffff;
    border-color: #e3d7d0;
    color: var(--tw-dark);
    font-size: 0.85rem;
}

.tw-input:focus {
    border-color: var(--tw-primary);
    box-shadow: 0 0 0 0.12rem rgba(243, 77, 27, 0.25);
    background: #ffffff;
    color: var(--tw-dark);
}

/* Footer */
.tw-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.25rem 0;
    background: var(--tw-dark);
    color: #f9fafb;
}

.tw-footer .small {
    color: #f5e9e4 !important;
}

/* Footer Hover Efektleri */
.tw-footer a:hover {
    color: var(--tw-primary) !important;
    transition: color 0.2s ease;
}

.tw-footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
}

.tw-footer .btn-outline-light:hover {
    background: var(--tw-primary);
    border-color: var(--tw-primary);
    color: white;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
}

/* Typography helpers */
.small {
    font-size: 0.8rem;
}

.tiny {
    font-size: 0.7rem;
}

/* Mobil */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1.5rem;
        border-radius: 1rem;
        margin-top: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
    
    .tw-navbar .nav-link {
        margin-left: 0;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .tw-navbar .nav-link::after {
        display: none;
    }
    
    .tw-navbar .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .tw-navbar .btn-sm {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

@media (max-width: 767.98px) {
    .tw-hero {
        padding-top: 80px;
    }
    
    .tw-hero-title {
        font-size: 2rem;
    }
    
    .tw-logo-img {
        height: 50px;
    }
    
    .tw-footer .col-md-6 {
        text-align: center !important;
    }
    
    .tw-footer .d-flex.gap-2 {
        justify-content: center;
    }
}


/* ============================================
   BLOG SAYFASI
============================================ */

/* Hero Small */
.tw-hero-small {
    background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.tw-hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/pattern.png') repeat;
    opacity: 0.03;
}

/* Blog Card */
.tw-blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.tw-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(218, 165, 32, 0.15);
}

/* Blog Image */
.tw-blog-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.tw-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tw-blog-card:hover .tw-blog-image img {
    transform: scale(1.1);
}

/* Kategori Badge */
.tw-blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--tw-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Blog Content */
.tw-blog-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Blog Meta */
.tw-blog-meta {
    color: #999;
    font-size: 0.9rem;
}

.tw-blog-meta i {
    color: var(--tw-primary);
}

/* Blog Title */
.tw-blog-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
}

.tw-blog-title a {
    color: var(--tw-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tw-blog-title a:hover {
    color: var(--tw-primary);
}

/* Blog Excerpt */
.tw-blog-excerpt {
    color: #666;
    line-height: 1.7;
    flex: 1;
}

/* Blog Link */
.tw-blog-link {
    color: var(--tw-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tw-blog-link:hover {
    gap: 8px;
    color: var(--tw-dark);
}

.tw-blog-link i {
    transition: transform 0.3s ease;
}

.tw-blog-link:hover i {
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    gap: 8px;
}

.page-link {
    border: 2px solid #e0e0e0;
    color: var(--tw-dark);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--tw-primary);
    border-color: var(--tw-primary);
    color: #fff;
}

.page-item.active .page-link {
    background: var(--tw-primary);
    border-color: var(--tw-primary);
    color: #fff;
}

.page-item.disabled .page-link {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
}

/* CTA Section */
.tw-cta-section {
    background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tw-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/pattern.png') repeat;
    opacity: 0.03;
}

/* Responsive */
@media (max-width: 768px) {
    .tw-hero-small {
        padding: 80px 0 40px;
    }
    
    .tw-blog-image {
        height: 220px;
    }
    
    .tw-blog-content {
        padding: 20px;
    }
    
    .tw-blog-title {
        font-size: 1.2rem;
    }
    
    .page-link {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}
