/**
 * TemaTwo Theme Styles
 * Modern, clean ve professional tasarım
 */

/* ============================================
   CSS VARIABLES - TEMA TWO COLOR PALETTE
   ============================================ */
:root {
    --primary: #1a6fc4;
    --secondary: #0d4d8c;
    --accent: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --text: #1e293b;
    --gray: #64748b;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --shadow-xl: rgba(0, 0, 0, 0.2);
}

/* ============================================
   SLIDER CAPTION ANIMATIONS - TEMA TWO
   ============================================ */
/* Slider caption içindeki AOS elementleri için başlangıç durumu */
.carousel-caption [data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.carousel-caption [data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: #ffffff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.display-1 {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray);
}

/* ============================================
   NAVBAR - STICKY & PREMIUM
   ============================================ */
.navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary) !important;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    letter-spacing: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    transition: transform 0.3s ease;
    max-height: 50px;
}

.navbar.scrolled .navbar-brand img {
    max-height: 40px;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

/* Navbar Menu Items */
.navbar-nav {
    align-items: center;
    justify-content: center;
    flex: 1;
}

.navbar-nav .nav-item {
    margin: 0 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    background: transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

/* Aktif link için buton stili */
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: #f1f5f9 !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
}

/* Gradient underline için span elementi */
.navbar-nav .nav-link-underline {
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin-top: 0.25rem;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(31, 60, 136, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(31, 60, 136, 0.25);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1.5rem 0;
        text-align: left;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.875rem 1.5rem !important;
        border-radius: 1rem;
        margin: 0.25rem 0;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 1.5rem;
    }
    
    .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .d-flex.align-items-center.gap-3 .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding: 160px 0 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.03em;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.hero-section .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light) 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-header .lead {
    font-size: 1.375rem;
    color: var(--gray);
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.content-body {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text);
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.content-body h2,
.content-body h3,
.content-body h4 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* ============================================
   SECTION SPACING
   ============================================ */
section {
    padding: 96px 0;
}

section.bg-light {
    background: var(--light) !important;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    border-radius: 1rem 1rem 0 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 280px;
    object-fit: cover;
}

.card:hover .card-img-top {
    transform: scale(1.08);
}

.card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
}

.card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary);
}

.card-text {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex: 1;
    line-height: 1.7;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.feature-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 3.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.feature-card h5 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    border-radius: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2A4FA0);
    color: white;
    box-shadow: 0 4px 15px rgba(31, 60, 136, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2A4FA0, var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 60, 136, 0.4);
    color: white;
}

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

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 60, 136, 0.3);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-item {
    text-decoration: none;
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

.gallery-item img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark) !important;
    color: #cbd5e1;
    padding: 5rem 0 2rem; 
}

.footer h3,
.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
}

.footer h5 {
    font-size: 1.125rem;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer p {
    line-height: 1.8;
    color: #94a3b8;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
    color: white;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border-radius: 1rem;
    border: none;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.alert-info {
    background: linear-gradient(135deg, rgba(31, 60, 136, 0.1), rgba(201, 162, 39, 0.1));
    color: var(--dark);
}

/* ============================================
   BLOG DETAIL
   ============================================ */
.blog-detail-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.blog-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-detail-header .container {
    position: relative;
    z-index: 1;
}

.blog-detail-header h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.blog-detail-content figure img {
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================
   GALLERY DETAIL
   ============================================ */
.gallery-detail-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 120px 0 80px;
}

.gallery-detail-header h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
}

.gallery-image-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image-card img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image-card:hover img {
    transform: scale(1.1);
}

/* ============================================
   COMMENTS
   ============================================ */
.comment-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: var(--primary);
}

.comment-avatar {
    position: relative;
}

.comment-avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comment-card:hover .comment-avatar::before {
    opacity: 0.3;
}

/* ============================================
   TABS
   ============================================ */
.nav-tabs {
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 1rem 1rem 0 0;
    padding: 1rem 2rem;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s ease;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    background: rgba(31, 60, 136, 0.05);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background: rgba(31, 60, 136, 0.1);
    border-bottom: 3px solid var(--primary);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    gap: 0.5rem;
}

.page-link {
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.25rem;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), #2A4FA0);
    border-color: var(--primary);
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.125rem;
    }
    
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .display-1 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    section {
        padding: 64px 0;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .blog-detail-header h1,
    .gallery-detail-header h1 {
        font-size: 2.25rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

.shadow-xl {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
}

.rounded-2xl {
    border-radius: 1rem !important;
}

/* Full Width Image Section */
.full-width-image-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    overflow: hidden;
}

.full-width-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px;
}

.home-section {
    overflow-x: hidden;
}


.service-tags .tag-badge{
  background:#f3f6ff;
  color:#1f2d5a;
  border:1px solid rgba(31,45,90,.12);
  font-weight:600;
  font-size:14px;
  padding:10px 14px;
  transition: all .2s ease;
}

.service-tags .tag-badge:hover{
  background:#1f2d5a;
  color:#fff;
  border-color:#1f2d5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(31,45,90,.15);
}
