/* Header ve Footer CSS */

/* Top Bar */
.top-bar {
    background: var(--dark-gray);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-bar .container .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
}

.top-bar .col-md-6 {
    padding: 0;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 0 0 auto;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: flex-end;
}

.top-bar-item {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.top-bar-item:hover {
    color: var(--primary-orange-light);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.btn-student-login {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-student-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    color: white;
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-gray);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.2;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-item:hover {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
    background-image: url('https://olimpiyatozelders.com/images/slider/home1/slide3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://olimpiyatozelders.com/images/slider/home1/slide3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(4px);
    opacity: 0.4;
    z-index: 0;
}

.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.85) 0%, rgba(139, 92, 246, 0.85) 100%);
    z-index: 0;
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

.main-footer .footer-top .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.main-footer .footer-top .row > [class*="col-lg-"] {
    display: flex;
    flex-direction: column;
}

/* Masaüstünde menülerin yan yana gözükmesi için */
@media (min-width: 992px) {
    .main-footer .footer-top .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .main-footer .footer-top .row > .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .main-footer .footer-top .row > .col-lg-3:first-child {
        padding-left: 0;
    }
    
    .main-footer .footer-top .row > .col-lg-3:last-child {
        padding-right: 0;
    }
}

.footer-top {
    padding-bottom: 40px;
}

.footer-widget {
    margin-bottom: 2rem;
    min-height: 1px; /* Flexbox için */
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .footer-widget {
        margin-bottom: 0;
    }
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    padding-bottom: 0.75rem;
    position: relative;
    width: auto;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.widget-title i {
    color: white;
}

.footer-description {
    color: white;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.footer-links a i {
    font-size: 0.875rem;
    color: white;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.8);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: white;
}

.footer-contact i {
    color: white;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-contact div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-contact strong {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.footer-contact span,
.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-contact a:hover {
    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    color: white;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.footer-bottom .container .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
}

.footer-bottom .col-md-6 {
    padding: 0;
}

.footer-bottom .col-md-6:first-child {
    text-align: left;
    flex: 0 0 auto;
}

.footer-bottom .col-md-6:last-child {
    text-align: right;
    flex: 0 0 auto;
    margin-left: auto;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: rgba(255,255,255,0.8);
}

.footer-bottom-links .separator {
    color: white;
    margin: 0 0.5rem;
}

.copyright {
    color: white;
    margin: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.scroll-to-top i {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .logo-title {
        font-size: 1.25rem;
    }
    
    .logo-subtitle {
        font-size: 0.75rem;
    }
    
    .footer-bottom .container .row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom .col-md-6:first-child,
    .footer-bottom .col-md-6:last-child {
        text-align: center;
        width: 100%;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .main-footer {
        padding: 40px 0 0;
    }
}

