/* Genel Vücut Stilleri */
body {
    background: linear-gradient(135deg, #22606f 0%, #6a757d 100%); /* Blue to Teal Gradient */
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Allow content to stack vertically */
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.navbar {
    background-color: rgba(33, 147, 176, 0.9) !important; /* Slightly darker teal, semi-transparent */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInDownNavbar 0.8s ease-out;
}
.navbar-brand, .nav-link {
    color: #fff !important;
    font-weight: bold;
    transition: color 0.3s ease;
}
.navbar-brand:hover, .nav-link:hover {
    color: #ffed4a !important; /* Yellow on hover */
}

/* Kartlar */
.device-card {
    border-radius: 12px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid var(--bs-border-color); /* Temaya göre kenarlık */
}

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

.card-body {
    padding: 1.5rem;
}

/* İkon Boyutları (bi-pc-display) */
.bi-pc-display {
    font-size: 4rem !important; /* İkon boyutunu daha da artır */
    transition: color 0.3s ease;
}

/* Tema Değiştirme Butonu (Toggle) */
.custom-theme-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem; /* İkonların boyutunu ayarlayın */
}

.custom-theme-switch .form-check-input {
    width: 2.5em; /* Anahtarın genişliği */
    height: 1.2em; /* Anahtarın yüksekliği */
    margin-right: 0.5rem;
    cursor: pointer;
    background-color: var(--bs-tertiary-bg); /* Arka plan rengi */
    border-color: var(--bs-border-color-translucent);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-theme-switch .form-check-input:checked {
    background-color: var(--bs-primary); /* Dark mode'da anahtar rengi */
    border-color: var(--bs-primary);
}

.custom-theme-switch .form-check-label .light-icon,
.custom-theme-switch .form-check-label .dark-icon {
    display: none; /* Varsayılan olarak gizli, JS ile kontrol edilecek */
    vertical-align: middle;
    font-size: 1.5rem; /* İkon boyutları */
    line-height: 1; /* Satır yüksekliği */
}

/* Temaya göre metin renkleri */
html[data-bs-theme="dark"] .custom-theme-switch .form-check-label {
    color: var(--bs-light) !important;
}

html[data-bs-theme="light"] .custom-theme-switch .form-check-label {
    color: var(--bs-dark) !important; /* Light mode'da navbar değişmezse koyu kalabilir */
}


/* Toast Bildirimleri */
.toast-container {
    z-index: 1080; /* Navbar ve modal üstünde görünmesi için */
}

.toast {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: slideInRight;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Toast animasyonları */
@keyframes slideInRight {
  from {
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideOutRight {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(100%, 0, 0);
  }
}

.toast.show {
    animation-name: slideInRight;
}

.toast.hide {
    animation-name: slideOutRight;
}


/* Genel Responsive İyileştirmeler */
@media (max-width: 767.98px) { /* Küçük ekranlar için */
    .navbar-brand {
        font-size: 1.25rem; /* Logoyu küçült */
    }
    .custom-theme-switch {
        margin-top: 1rem;
        justify-content: center; /* Ortala */
    }
}

.content-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 1; /* Ensure content is above background effects */
}
.content-section.welcome {
    padding-top: 100px; /* More space for welcome */
    padding-bottom: 50px;
}
.content-section h1, .content-section h2 {
    color: #fff !important;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 30px;
    animation: slideInDown 0.8s ease-out;
}
.content-section p.lead {
    font-size: 1.5rem;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out;
}
.btn-primary {
    background-color: #ff6b6b; /* Vibrant Red */
    border-color: #ff6b6b;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #ee5253; /* Slightly darker red on hover */
    border-color: #ee5253;
    transform: translateY(-3px);
}
.btn-outline-secondary {
    color: #fff; /* White for outline secondary */
    border-color: #fff;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-outline-secondary:hover {
    background-color: #fff;
    color: #2193b0; /* Teal text on hover */
    transform: translateY(-3px);
}
.modal-content {
    border-radius: 10px;
    animation: zoomIn 0.5s ease-out;
}
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Carousel Specific Styles */
#programCarousel {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    overflow: hidden;
    margin-top: -1px; /* To prevent gap with navbar */
}
.carousel-item img {
    width: 100%;
    height: 400px; /* Match carousel height */
    object-fit: cover; /* Cover the area, crop if necessary */
    filter: brightness(0.7); /* Darken images slightly for text readability */
}
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for caption */
    border-radius: 8px;
    padding: 15px;
    animation: fadeIn 1s ease-out;
}
.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.carousel-caption p {
    font-size: 1.2rem;
}

/* Feature Items */
.feature-item {
    margin-bottom: 30px;
    animation: fadeInUp 0.7s ease-out forwards;
    opacity: 0; /* Start hidden for staggered animation */
    background: rgba(255, 255, 255, 0.15); /* Slightly transparent white for feature boxes */
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}
.feature-item h4 {
    color: #fff !important; /* Yellow for feature headings */
    margin-bottom: 15px;
}
.feature-item p {
    color: #eee;
}
.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }
.feature-item:nth-child(4) { animation-delay: 0.8s; }

/* Setup Steps */
.setup-steps {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 50px;
    margin-top: 60px;
    animation: fadeInScale 1s ease-out;
}
.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    text-align: left;
}
.step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2193b0; /* Teal color */
    margin-right: 20px;
    line-height: 1;
    width: 50px; /* Fixed width for number */
    flex-shrink: 0;
}
.step-content h4 {
    color: #ff6b6b; /* Red for step headings */
    margin-bottom: 10px;
}
.step-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}


/* Animations */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes slideInDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes slideInDownNavbar {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* LOGIN */
/* Stil tanımlarınızın geri kalanını bu stil bloğunun dışında tutun veya buraya taşıyın */
.modal-content {
    border-radius: 15px; /* Daha yumuşak köşeler */
    overflow: hidden; /* İçerik taşmasını önler */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.modal-header {
    background-color: #f8f9fa; /* Hafif bir arka plan */
}
.modal-title {
    color: #2193b0 !important; /* Programınızın ana rengi */
}
.modal-body {
    padding-top: 20px;
    padding-bottom: 20px;
}
.input-group-text {
    background-color: #e9ecef;
    border-right: none;
    border-radius: 8px 0 0 8px; /* Input ile uyumlu border-radius */
}
.form-control {
    border-left: none;
    border-radius: 0 8px 8px 0; /* Input ile uyumlu border-radius */
}
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(33, 147, 176, 0.25); /* Focus rengi */
    border-color: #2193b0;
}
.btn-primary {
    background-color: #ff6b6b; /* Canlı kırmızı */
    border-color: #ff6b6b;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
    background-color: #ee5253; /* Daha koyu kırmızı hover */
    border-color: #ee5253;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.modal-footer {
    background-color: #f8f9fa; /* Footer için hafif arka plan */
    border-top: 1px solid #dee2e6;
}
.modal-footer a {
    color: #2193b0 !important; /* Teal rengi */
    transition: color 0.3s ease;
}
.modal-footer a:hover {
    color: #17a2b8 !important; /* Hafif koyu teal hover */
    text-decoration: underline !important;
}
