/* mathPT Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    background-image: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    background-attachment: fixed;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Özel Navbar Background - Logo Dark Blue */
.bg-custom {
    background: #084c8c !important; /* Logo mavisinin biraz koyusu */
    border-bottom: 2px solid #0A5FAF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    color: #ffffff !important;
}

.navbar-brand:hover {
    opacity: 0.9;
    color: #FB6F00 !important; /* Logo Turuncusu */
}

.navbar-brand img {
    border-radius: 8px;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-1px);
    color: #FB6F00 !important; /* Logo Turuncusu */
}

.navbar-nav .nav-link.active {
    background-color: rgba(251, 111, 0, 0.15); /* Hafif turuncu arka plan */
    border-radius: 4px;
    color: #FB6F00 !important;
}

/* Giriş Butonu */
.navbar .btn-outline-light {
    border-color: #FB6F00;
    color: #FB6F00;
    transition: all 0.3s ease;
}

.navbar .btn-outline-light:hover {
    background-color: #FB6F00;
    border-color: #FB6F00;
    color: white;
    transform: translateY(-1px);
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.navbar-nav .dropdown-item {
    transition: background-color 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* User dropdown */
.navbar-nav .dropdown-menu-end {
    right: 0;
    left: auto;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Enhancement */
footer {
    background: #084c8c !important;
    margin-top: auto;
    border-top: 3px solid #FB6F00 !important;
}

footer h5 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

footer .list-unstyled li {
    margin-bottom: 8px;
}

footer .list-unstyled a:hover {
    color: #FB6F00 !important;
    text-decoration: underline;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Tam ekran yükseklik */
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 100%;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmi tam göster, boşluk oluşabilir */
    object-position: center;
    background-color: #000; /* Siyah arka plan */
}

.hero-slider .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
}

.hero-slider .carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
}

.hero-slider .carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 400px;
        max-height: 70vh;
    }

    .hero-slider .carousel-caption {
        padding: 15px;
        width: 95%;
    }

    .hero-slider .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 300px;
        max-height: 60vh;
    }

    .hero-slider .carousel-caption {
        padding: 10px;
        bottom: 10px;
    }

    .hero-slider .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* Carousel Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    opacity: 1;
}

/* Carousel Indicators (optional) */
.hero-slider .carousel-indicators {
    bottom: 10px;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.hero-slider .carousel-indicators button.active {
    background-color: #fff;
}

footer p {
    margin: 0;
    color: #adb5bd;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer .row > div {
        margin-bottom: 20px;
        text-align: center;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-nav .nav-link {
        text-align: center;
        padding: 8px 12px;
    }
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Button Styles */
.btn {
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

/* Alert Styles */
.alert {
    border-radius: 6px;
    border: none;
}

.alert-info {
    background-color: #e7f3ff;
    color: #004085;
}

/* Footer Styles */
footer {
    background-color: #084c8c !important;
    margin-top: auto;
    border-top: 3px solid #FB6F00 !important;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .card {
        margin-bottom: 15px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: #6c757d;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Announcement Marquee Banner */
.announcement-banner {
    background: linear-gradient(90deg, #fd7e14 0%, #ffc107 100%); /* Turuncu tonları */
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.announcement-banner i {
    margin-right: 15px;
    margin-left: 15px;
    font-size: 1.2rem;
    z-index: 2;
    background: inherit;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

