/* ===========================
   piSPOR Frontend CSS
   =========================== */

:root {
    --primary-color: #1e40af;
    --secondary-color: #f59e0b;
    --danger-color: #dc2626;
    --success-color: #059669;
    --warning-color: #d97706;
    --light-bg: #f3f4f6;
    --dark-bg: #1f2937;
    --border-color: #e5e7eb;
}

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

html {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ===========================
   HEADER / NAVBAR
   =========================== */

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    padding: 20px 0;  /* Başlangıç padding'i - YÜKSEK */
    transition: all 0.3s ease;  /* Animasyon */
}
/* Scroll sonrası küçülmüş navbar */
.navbar.navbar-scrolled {
    padding: 10px 0;  /* Küçülmüş padding */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
/* Scroll sonrası logo küçülsün */
.navbar.navbar-scrolled .navbar-brand img {
    height: 35px !important;  /* Küçülmüş logo */
}
.navbar-brand img {
    height: 50px;  /* Başlangıç logo yüksekliği - BÜYÜK */
    width: auto;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: white !important;
}
.btn-deneme {
    background: linear-gradient(135deg, #ff6b35, #f59e0b);
    color: white !important;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-deneme:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* ===========================
   HERO / SLIDER
   =========================== */

.hero-slider {
    margin-top: 60px;
    min-height: 400px;
    padding: 0 !important;
}

.carousel-item {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===========================
   SECTIONS
   =========================== */

section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
}

.bg-light-section {
    background: linear-gradient(180deg, #f9fafb, #f3f4f6);
}

/* ===========================
   CARDS
   =========================== */

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

/* ===========================
   BUTTONS
   =========================== */

.btn {
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
    color: white;
}

.btn-primary:hover {
    color: white;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

/* ===========================
   FOOTER
   =========================== */

footer {
    background: var(--dark-bg);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

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

footer a:hover {
    color: white;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

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

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}