﻿/* Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #052331 0%, #032D63 100%);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
    }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-item {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
}

    .nav-item:hover {
        color: #333;
    }

    .nav-item.active {
        color: #052331;
        font-weight: 500;
    }

        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background-color: #052331;
            border-radius: 1px;
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

    .search-icon:hover {
        color: #052331;
    }

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    width: 24px;
    height: 20px;
    justify-content: center;
}

.menu-line {
    width: 100%;
    height: 2px;
    background-color: #666;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.menu-icon:hover .menu-line {
    background-color: #052331;
}

.menu-icon.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-icon.active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #ffffff;
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo img {
    height: 35px;
}

.mobile-close {
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

    .mobile-close:hover {
        color: #052331;
    }

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-item {
    color: #333;
    font-size: 16px;
    font-weight: 400;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.3s ease;
}

    .mobile-nav-item:hover {
        color: #052331;
    }

    .mobile-nav-item.active {
        color: #052331;
        font-weight: 500;
    }

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .dropdown-toggle:hover {
        color: #052331;
    }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #032D63;
    min-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 30px;
    margin-top: 10px;
}

    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dropdown-item {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .dropdown-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transition: left 0.3s ease;
        z-index: -1;
    }

    .dropdown-item:hover::before {
        left: 0;
    }

    .dropdown-item:hover {
        color: white;
        transform: translateX(5px);
    }

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .search-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.search-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

.search-box {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 600px;
    width: 100%;
    padding: 0 40px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
}

    .search-input:focus {
        border-color: #052331;
    }

.search-btn {
    padding: 15px 30px;
    background-color: #052331;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .search-btn:hover {
        background-color: #8AB84F;
    }

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

    .search-close:hover {
        color: #052331;
    }

/* Main Content */
.main-content {
    min-height: 100vh;
}

/* Footer Styles */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    height: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left {
    flex: 1;
}

.footer-right {
    display: flex;
    align-items: center;
}

.copyright {
    font-size: 10px;
    color: #999;
    font-weight: 400;
}

.developer-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.developer-text {
    font-size: 9px;
    color: #999;
    font-weight: 400;
}

.developer-logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

    .developer-logo:hover {
        transform: scale(1.1);
    }

    .developer-logo img {
        height: 15px;
        width: 50px;
        object-fit: contain;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }

    .developer-logo:hover img {
        opacity: 1;
    }

.cookie-icon {
    width: 40px;
    height: 40px;
    background-color: #052331;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(5, 35, 49, 0.3);
}

    .cookie-icon:hover {
        transform: scale(1.1);
    }

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

    .cookie-modal.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cookie-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 650px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

    .cookie-header h3 {
        font-size: 24px;
        font-weight: 600;
        color: #333;
        margin: 0;
    }

.cookie-close {
    font-size: 30px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cookie-close:hover {
        color: #052331;
    }

.cookie-text {
    margin-bottom: 30px;
}

    .cookie-text p {
        margin-bottom: 15px;
        color: #666;
        line-height: 1.6;
    }

.cookie-more-link {
    color: #052331;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .cookie-more-link:hover {
        color: #8AB84F;
    }

.cookie-categories {
    margin-bottom: 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #052331;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.category-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: #e8f5e8;
    color: #2d7d2d;
    font-weight: 500;
}

    .category-status.active {
        background-color: #052331;
        color: white;
    }

.category-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #052331;
}

    input:checked + .slider:before {
        transform: translateX(24px);
    }

/* Cookie Action Buttons */
.cookie-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

    .cookie-actions button,
    .cookie-actions input[type="submit"] {
        padding: 12px 24px;
        border: none;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1;
        min-width: 140px;
    }

.btn-reject {
    background-color: transparent;
    color: #666;
    border: 2px solid #ddd;
}

    .btn-reject:hover {
        border-color: #999;
        color: #333;
    }

.btn-save {
    background-color: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

    .btn-save:hover {
        background-color: #e9ecef;
        border-color: #ddd;
    }

.btn-accept-all {
    background-color: #052331;
    color: white;
    border: 2px solid #052331;
}

    .btn-accept-all:hover {
        background-color: #8AB84F;
        border-color: #8AB84F;
    }

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mb-5 {
    margin-bottom: 50px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mt-5 {
    margin-top: 50px;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 15px 20px;
    }

    .footer-content {
        flex-direction: row;
        gap: 20px;
        text-align: left;
    }

    .footer-left {
        flex: 1;
    }

    .footer-right {
        flex-shrink: 0;
    }

    .developer-info {
        justify-content: flex-end;
    }

    .copyright {
        font-size: 11px;
    }

    .developer-text {
        font-size: 10px;
    }

    .developer-logo img {
        height: 12px;
        width: 40px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 12px 15px;
    }

    .footer-content {
        flex-direction: row;
        gap: 15px;
    }

    .developer-info {
        flex-direction: row;
        gap: 5px;
    }

    .copyright {
        font-size: 10px;
    }

    .developer-text {
        font-size: 9px;
    }

    .developer-logo img {
        height: 10px;
        width: 35px;
    }
}

/* Language Switcher Styles */
.language-switcher {
    margin-right: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.flag-option {
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 30px;
}

.flag-img {
    width: 32px;
    height: 24px;
    border-radius: 3px;
    border: 1px solid #ddd;
    object-fit: cover;
}

.flag-option:hover {
    transform: scale(1.1);
    border-color: #8AB84F;
    box-shadow: 0 4px 8px rgba(138, 184, 79, 0.3);
}

.flag-option.active {
    border-color: #8AB84F !important;
    background: #f8f9fa !important;
    box-shadow: 0 4px 8px rgba(138, 184, 79, 0.2) !important;
}

.language-dropdown:focus {
    outline: none;
    border-color: #8AB84F;
    box-shadow: 0 0 0 3px rgba(138, 184, 79, 0.1);
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
}

.mobile-language-switcher label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.mobile-language-dropdown {
    width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.mobile-language-dropdown option {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
}

.mobile-language-dropdown:hover {
    border-color: #8AB84F;
    box-shadow: 0 2px 8px rgba(138, 184, 79, 0.15);
}

.mobile-language-dropdown:focus {
    outline: none;
    border-color: #8AB84F;
    box-shadow: 0 0 0 3px rgba(138, 184, 79, 0.1);
}

/* Responsive Language Switcher */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 10px;
    }
    
    .language-dropdown {
        min-width: 70px;
        padding: 6px 10px;
        font-size: 13px;
        padding-right: 25px;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        margin-right: 8px;
    }
    
    .language-dropdown {
        min-width: 60px;
        padding: 5px 8px;
        font-size: 12px;
        padding-right: 20px;
    }
}