/* ATF Antalya - Layout Styles - Modernized */

/* Force Light Theme */
html,
body {
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
}

/* Language Buttons Styling */
.language-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-base);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    opacity: 0.6;
    cursor: pointer;
}

.language-btn:hover {
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.language-btn.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.language-btn.active .flag-icon {
    filter: none;
}

.language-btn:not(.active) .flag-icon {
    filter: grayscale(0.3) brightness(0.8);
}

.flag-icon {
    width: 28px;
    height: 20px;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 2px;
    overflow: hidden;
}

.flag-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.language-btn:hover .flag-icon {
    transform: scale(1.15);
}

.language-btn.active .flag-icon {
    box-shadow: var(--shadow-sm);
}

/* Dropdown Menu Styling */
.navbar-nav .dropdown-menu {
    background: var(--bg-surface);
    border: 1px solid rgba(237, 28, 36, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 12px 0;
    min-width: 280px;
    margin-top: 12px;
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .dropdown-menu-3d {
    min-width: 320px;
}

.navbar-nav .dropdown-header {
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
}

.navbar-nav .dropdown-item {
    padding: 12px 20px;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    position: relative;
}

.navbar-nav .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-red);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.navbar-nav .dropdown-item:hover::before {
    transform: scaleY(1);
}

.navbar-nav .dropdown-item:hover {
    background: var(--primary-red-light);
    color: var(--primary-red);
    padding-left: 24px;
}

.navbar-nav .dropdown-item:active {
    background: var(--primary-red);
    color: #ffffff;
}

.navbar-nav .dropdown-item i {
    width: 24px;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.navbar-nav .dropdown-item:hover i {
    transform: scale(1.1);
}

.navbar-nav .dropdown-divider {
    margin: 8px 0;
    border-color: var(--border-color);
}

.navbar-nav .dropdown-item .badge {
    margin-left: auto;
    font-size: 0.65rem;
    padding: 3px 8px;
}

/* Navbar and Logo Styling - ATF Kırmızı Teması */
.navbar-custom {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    margin-right: 30px;
}

.navbar-brand img {
    display: none;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: var(--font-heading);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 18px;
    margin: 0 4px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* ===== PROFESYONEL MOBİL NAVBAR TASARIMI ===== */
@media (max-width: 991.98px) {
    .navbar-custom {
        padding: 12px 0;
    }

    .navbar-brand img {
        height: 40px;
        width: auto;
        max-width: 150px;
        padding: 6px 10px;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .navbar-toggler {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: var(--radius-md);
        padding: 8px 12px;
    }

    .navbar-collapse {
        background: var(--bg-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
        margin-top: 20px;
        padding: 20px;
        border: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link {
        color: var(--text-main) !important;
        padding: 12px 16px;
        margin: 4px 0;
        border-radius: var(--radius-md);
    }

    .navbar-nav .nav-link:hover {
        background: var(--primary-red-light);
        color: var(--primary-red) !important;
        transform: translateX(5px);
    }
}

/* Sticky Footer */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    padding-bottom: 60px;
}

.site-footer {
    flex-shrink: 0;
    background-color: var(--navy-dark);
    color: #ffffff;
    padding-top: 60px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-logos img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    background: transparent;
    display: block;
}

.footer-eyebrow {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-brand h5 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.footer-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.footer-cta,
.footer-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
    text-align: center;
    justify-content: center;
}

.footer-cta {
    background: var(--primary-red);
    color: #ffffff;
}

.footer-cta:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
}

.footer-ghost {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-ghost:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: rgba(237, 28, 36, 0.1);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-lead {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.footer-meta li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-meta li i {
    margin-right: 10px;
    color: var(--primary-red);
}

.footer-label {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links-list a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.7);
}

.footer-list li i {
    margin-right: 12px;
    margin-top: 4px;
    color: var(--primary-red);
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-list a:hover {
    color: #ffffff;
}

.footer-updates li {
    margin-bottom: 20px;
    border-left: 2px solid var(--primary-red);
    padding-left: 15px;
}

.footer-updates span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.footer-updates p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-social {
    margin-top: 30px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition-base);
}

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

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-links a {
        margin: 0 10px;
    }
}