/* Kurumsal Site Stilleri */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --header-bg: #ffffff;
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    scroll-behavior: smooth;
    padding-top: 80px; /* navbar height offset - increased for better spacing */
}

/* Navigation - Hard Fixed Header */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transition: var(--transition);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    min-height: 70px;
    
    /* Prevent any interference */
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    
    /* Enhanced styling */
    -webkit-backdrop-filter: blur(15px);
    will-change: transform, opacity;
}

/* Navbar stays fixed on all devices */
@media (max-width: 768px) {
    .navbar {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
    }
}

.navbar-brand {
    transition: var(--transition);
    font-weight: 800 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.nav-link {
    position: relative;
    transition: var(--transition);
    color: var(--dark-color) !important;
    margin: 0 10px;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar toggler enhancement */
.navbar-toggler {
    border: 2px solid var(--primary-color) !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    transition: var(--transition);
}

.navbar-toggler:hover {
    background-color: var(--primary-color) !important;
    transform: scale(1.05);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Sections */
.section {
    position: relative;
}

.row-section {
    position: relative;
    overflow: hidden;
}

/* Content Types */
.text-content {
    padding: 20px 0;
}

.text-content h1, 
.text-content h2, 
.text-content h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.text-content h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.text-content h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

.text-content h3 {
    font-size: 2rem;
    line-height: 1.4;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.image-content img {
    transition: var(--transition);
    max-height: 500px;
    object-fit: cover;
}

.image-content img:hover {
    transform: scale(1.02);
}

/* Forms */
.form-content {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Toast Notifications */
.toast {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Footer */
footer {
    margin-top: 0;
}

footer h5 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer .text-muted {
    color: #adb5bd !important;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .text-content h1 {
        font-size: 2.5rem;
    }
    
    .text-content h2 {
        font-size: 2rem;
    }
    
    .text-content h3 {
        font-size: 1.5rem;
    }
    
    .content-text {
        font-size: 1rem;
    }
    
    .form-content {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav-link {
        margin: 0 5px;
    }
}

@media (max-width: 576px) {
    .text-content h1 {
        font-size: 2rem;
    }
    
    .text-content h2 {
        font-size: 1.75rem;
    }
    
    .form-content {
        padding: 1rem;
    }
}

/* Scroll Animations */
.section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Helper Classes */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* Custom Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3) !important;
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
}

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

.rounded-lg {
    border-radius: 15px !important;
}

/* PDF Content Styles */
.pdf-content {
    padding: 0;
}

.pdf-viewer {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    background: #f8f9fa;
}

.pdf-viewer embed {
    border: none;
    display: block;
    background: white;
}

.pdf-fallback {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pdf-fallback:hover {
    border-color: #dc3545;
    transform: translateY(-2px);
}

.pdf-fallback .fa-file-pdf {
    color: #dc3545;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .pdf-viewer embed {
        height: 300px !important;
    }
    
    .pdf-content h3 {
        font-size: 1.5rem;
    }
} 