/* corporate-pro/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-content.quill-content iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 1.5rem auto;
    display: block;
    border-radius: var(--radius);
}

[data-theme="dark"] {
    --primary: #3b82f6;
    --dark: #f1f5f9;
    --light: #0f172a;
    --border: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: #1e293b;
    line-height: 1.7;
    transition: var(--transition);
}

.container { max-width: 1280px; }

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 500;
    color: #475569 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary) !important;
}

/* Hero Section */
.hero {
  position: relative;
    min-height: 40vh;
    width: 100%;  /* veya istediğiniz yüzde */
    max-width: 1300px;  /* Maksimum genişlik ekleyebilirsiniz */
    margin: 0 auto;  /* Ortalama */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
}

/* Video Arkaplan */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    max-width: 100%;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    width: 100%;
    height: 360px;      /* istediğin sabit yükseklik */
    object-fit: cover;  /* ALANI TAM DOLDURUR */
    object-position: center;  /* ortalamalı */
    border-radius: 12px 12px 0 0;
}




.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-title a {
    color: inherit;
    text-decoration: none;
}

.card-title a:hover {
    color: var(--primary);
}

.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    font-size: 0.75rem;
}

/* Sidebar */
.sidebar .card {
    border: none;
    box-shadow: var(--shadow);
}

.list-group-item {
    border: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* Dark Mode Toggle */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #64748b;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 60px 1rem;
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-video video {
        opacity: 0.6;
    }
}

/* Quill.js Editör İçeriği Stilleri */
.post-content.quill-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1e293b;
    margin-top: 1.5rem;
}

.post-content.quill-content p {
    margin-bottom: 1.25rem;
}

.post-content.quill-content h1,
.post-content.quill-content h2,
.post-content.quill-content h3,
.post-content.quill-content h4,
.post-content.quill-content h5,
.post-content.quill-content h6 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
}

.post-content.quill-content h1 {
    font-size: 2.5rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
}

.post-content.quill-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.4rem;
}

.post-content.quill-content h3 {
    font-size: 1.75rem;
}

.post-content.quill-content h4 {
    font-size: 1.5rem;
}

.post-content.quill-content h5 {
    font-size: 1.25rem;
}

.post-content.quill-content h6 {
    font-size: 1.125rem;
}

.post-content.quill-content ul,
.post-content.quill-content ol {
    margin: 1.25rem 0;
    padding-left: 2rem;
}

.post-content.quill-content ul li,
.post-content.quill-content ol li {
    margin-bottom: 0.5rem;
}

.post-content.quill-content ul {
    list-style-type: disc;
}

.post-content.quill-content ol {
    list-style-type: decimal;
}

.post-content.quill-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s;
}

.post-content.quill-content a:hover {
    color: var(--primary-dark);
}

.post-content.quill-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.post-content.quill-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #64748b;
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.post-content.quill-content code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
    color: #e11d48;
}

.post-content.quill-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.post-content.quill-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
    font-size: 0.9rem;
    line-height: 1.6;
}

.post-content.quill-content hr {
    border: none;
    border-top: 2px solid var(--border);
    margin: 2rem 0;
}

.post-content.quill-content strong,
.post-content.quill-content b {
    font-weight: 700;
    color: var(--dark);
}

.post-content.quill-content em,
.post-content.quill-content i {
    font-style: italic;
}

.post-content.quill-content u {
    text-decoration: underline;
}

.post-content.quill-content s,
.post-content.quill-content strike {
    text-decoration: line-through;
}

.post-content.quill-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.post-content.quill-content table th,
.post-content.quill-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
}

.post-content.quill-content table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-align: left;
}

.post-content.quill-content table tr:nth-child(even) {
    background: #f8fafc;
}

/* İframe stili kaldırıldı - sabit boyut için */

/* YouTube Video - Tam Genişlik */
.post-content.quill-content div[style*="width: 100%"] {
    width: 100% !important;
    max-width: none !important;
}

.post-content.quill-content .youtube-short-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 1.5rem auto;
    border-radius: var(--radius);
    overflow: hidden;
}

.post-content.quill-content video,
.post-content.quill-content audio {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .post-content.quill-content {
        font-size: 1rem;
    }
    
    .post-content.quill-content h1 {
        font-size: 2rem;
    }
    
    .post-content.quill-content h2 {
        font-size: 1.75rem;
    }
    
    .post-content.quill-content h3 {
        font-size: 1.5rem;
    }
    
    .post-content.quill-content pre {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .post-content.quill-content table {
        font-size: 0.9rem;
    }
    
    .post-content.quill-content table th,
    .post-content.quill-content table td {
        padding: 0.5rem;
    }
}
/* EN BASİT ÇÖZÜM – sadece okları siyah yap + biraz gölge */
#featuredCarousel .carousel-control-prev-icon,
#featuredCarousel .carousel-control-next-icon {
    background-image: none !important;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

#featuredCarousel .carousel-control-prev-icon::before {
    content: "◄";
    color: #000;
    font-size: 30px;
    font-weight: bold;
}

#featuredCarousel .carousel-control-next-icon::before {
    content: "►";
    color: #000;
    font-size: 30px;
    font-weight: bold;
}
/* Carousel görselleri KESİNLİKLE KESİLMESİN + TAM OTURSUN */
#featuredCarousel .carousel-image {
    width: 100%;
    height: 400px;
    object-fit: contain !important;        /* ← BU ANAHTAR */
    object-position: center;
    background: #000 !important;           /* video arka planla uyumlu */
    padding: 40px;                          /* görsel ile kenar arasında hafif boşluk */
    box-sizing: border-box;
    background-clip: content-box;           /* padding alanı siyah kalmasın diye */
    transition: transform 0.4s ease;
}

/* Hover’da hafif büyüsün (isteğe bağlı ama çok güzel duruyor) */
#featuredCarousel .carousel-item:hover .carousel-image {
    transform: scale(1.03);
}
