:root {
    --primary-color: #fc5021;
    --primary-color-low: rgba(252, 80, 33, 0.5);
    --primary-color-dark: #d43f0b;

    --secondary-color: #adb5bd;
    --secondary-color-low: rgba(173, 181, 189, 0.5);
    --secondary-color-dark: #6c757d;

    --tertiary-color: #e9ecef;
    --tertiary-color-low: rgba(233, 236, 239, 0.5);
    --tertiary-color-dark: #ced4da;

    --bg-color: #f2f4f8;
    --bg-color-low: rgba(248, 249, 250, 0.5);
    --bg-color-dark: #e4e7eb;

    --text-dark: #343a40;
    --text-dark-low: #495057b9;
    --text-dark-dark: #212529;

    --text-light: #f8f9fa;
    --text-light-low: rgba(248, 249, 250, 0.7);
    --text-light-dark: #e1e4e6;

    --button-color: #02337c;
    --button-color-low: rgba(2, 51, 124, 0.5);
    --button-color-dark: #001a4d;

    --card-bg: #ffffff;
    --card-bg-low: #f3f2f2;
    --smoothline-color: var(--bg-color);
}

footer {
    width: 100%;
    overflow-x: clip;
    margin-top: 5rem;
    font-size: 16px;
    position: relative;
    z-index: 1;
    clear: both;
}

/* Mobilde bottom menü için footer'a padding ekle */
@media (max-width: 1100px) {
    footer {
        padding-bottom: 80px; /* Mobile bottom menü yüksekliği + ekstra boşluk */
    }
}

.footerTop .container {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    padding: 1rem;
}

.footerTop .image {
    width: 100%;
}

.footerTop .image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.footerTop .text {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.footerTop .text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footerTop .text p {
    font-size: 0.8rem;
    color: var(--text-dark-low);
}

.footerTop .text p strong {
    font-weight: 600;
    color: var(--primary-color);
}

.footerTop .text a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footerCta {
    border-top: 1px solid var(--bg-color-dark);
    border-bottom: 1px solid var(--bg-color-dark);
    width: 100%;
    padding: 1.5rem 0;
}

.footerCta .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footerCta .slogan {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.footerCta .slogan h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footerCta .slogan p {
    font-size: 0.8rem;
    color: var(--text-dark-low);
}

.footerCta .ctaCards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footerCta .ctaCards .card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footerCta .ctaCards .card .icon {
    background: var(--card-bg);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    box-shadow: 0 0 5px var(--bg-color-dark);
}

.footerCta .ctaCards .card .icon i {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.footerCta .ctaCards .card .content {
    display: flex;
    flex-direction: column;
}

.footerCta .ctaCards .card .content span {
    font-size: 0.8rem;
    color: var(--text-dark-low);
    text-transform: uppercase;
}

.footerCta .ctaCards .card .content a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}


.footerMenus {
    display: flex;
    background: var(--card-bg);
    padding: 1.5rem 0 2rem;
    position: relative;
}

.footerMenus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right,
            #FF6B00 0%,
            #FF6B00 20%,
            #00A8E1 20%,
            #00A8E1 40%,
            #9B59B6 40%,
            #9B59B6 60%,
            #27AE60 60%,
            #27AE60 80%,
            #FFC107 80%,
            #FFC107 100%);
}

.footerMenus .container {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.footerMenus .menu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    gap: 1.5rem 2rem;
}

.footerMenus .menu .menuItem {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex: 1 1 calc(20% - 1.5rem);
    min-width: 180px;
    max-width: 260px;
}

.footerMenus .menu .menuItem h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.footerMenus .menu .menuItem h3 .toggle-icon {
    display: none !important; /* Mobilde toggle icon gösterilmesin */
    font-size: 1rem;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.footerMenus .menu .menuItem ul {
    gap: 0.35rem;
    display: flex;
    flex-direction: column;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footerMenus .menu .menuItem ul li {
    list-style: none;
    line-height: 1.6;
}

.footerMenus .menu .menuItem a {
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: none;
    padding: 0.2rem 0;
    transition: color 0.2s ease;
    display: inline-block;
}

.footerMenus .menu .menuItem a:hover {
    color: var(--primary-color);
}

.footerMenus .menu .menuItem.collapsed ul {
    max-height: 0;
}

/* Mobilde collapsed class'ı çalışmasın - tüm menüler her zaman açık */
@media screen and (max-width: 768px) {
    /* Tüm menüleri zorla açık tut - collapsed class'ı olsa bile */
    .footerMenus .menu .menuItem ul {
        max-height: 1000px !important;
        overflow: visible !important;
        padding: 0.5rem !important;
        display: flex !important;
    }
    
    .footerMenus .menu .menuItem.collapsed ul {
        max-height: 1000px !important; /* Mobilde her zaman açık */
        overflow: visible !important;
        padding: 0.5rem !important;
        display: flex !important;
    }
    
    .footerMenus .menu .menuItem h3 {
        cursor: default; /* Mobilde tıklanabilir görünmesin */
    }
    
    /* Menü itemlarının görünür olduğundan emin ol */
    .footerMenus .menu .menuItem {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .footerMenus .menu .menuItem ul li {
        display: list-item !important;
        visibility: visible !important;
    }
}

/* Footer Bottom Menu Styles */
.footerMenus .footer-bottom-menu {
    border-top: 1px solid #e9ecef;
    padding-top: 1.75rem;
    margin-top: 0.25rem;
}

.footerMenus .footer-bottom-menu .menuItem {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 220px;
    max-width: 300px;
}

/* Social Links */
.footerMenus .social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footerMenus .social-links li {
    list-style: none;
}

.footerMenus .social-links li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #495057;
    text-decoration: none;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.footerMenus .social-links li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footerMenus .social-links li a i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.footerMenus .social-links li a:hover i {
    transform: scale(1.2);
}

/* Help List Styles - Simple & Clean */
.footerMenus .help-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footerMenus .help-list li {
    list-style: none;
}

.footerMenus .help-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: none;
    padding: 0.2rem 0;
    transition: all 0.2s ease;
}

.footerMenus .help-list a i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.footerMenus .help-list a:hover {
    color: var(--primary-color);
    transform: translateX(2px);
}

.footerMenus .help-list a:hover i {
    transform: scale(1.1);
}

.socialCards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-color-dark);
}

.socialCards .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.socialCards .socialCard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.socialCards .socialCard .title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    text-align: center;
}

.socialCards .socialCard .socialIcons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.socialCards .socialCard .socialIcons a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.socialCards .socialCard .socialIcons a:hover {
    transform: translateY(-3px);
    background: var(--primary-color-dark);
}

.socialCards .socialCard .socialIcons a i {
    color: var(--text-light);
    font-size: 1rem;
}


.copyrightArea {
    display: flex;
}

.copyrightArea .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyrightArea .copyrightText {
    font-size: 0.8rem;
    color: var(--text-dark-low);
}

.copyrightArea .links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.copyrightArea .links a {
    font-size: 0.8rem;
    color: var(--text-dark-low);
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyrightArea .links a:hover {
    color: var(--primary-color);
}

/* Responsive CSS for Footer */
@media screen and (max-width: 1200px) {
    .footerMenus .menu {
        gap: 15px;
    }

    .footerMenus .menu .menuItem {
        flex: 1 1 180px;
    }

    .footerCta .ctaCards {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 992px) {
    .footerCta .container {
        flex-direction: column;
    }

    .footerCta .slogan {
        margin-bottom: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .footerCta .ctaCards {
        width: 100%;
        justify-content: space-around;
    }

    .footerMenus .menu .menuItem h3 {
        font-size: 1rem;
    }

    .footerMenus .menu .menuItem a {
        font-size: 0.8rem;
    }

    .socialCards .socialCard .title {
        font-size: 1rem;
    }

    .socialCards .socialCard .socialIcons a {
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 768px) {
    .footerCta .ctaCards .card .icon {
        width: 40px;
        height: 40px;
    }

    .footerCta .ctaCards .card .icon i {
        font-size: 1rem;
    }

    .footerCta .ctaCards .card .content a {
        font-size: 0.8rem;
    }

    .footerCta .ctaCards .card .content span {
        font-size: 0.7rem;
    }

    .footerMenus .menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footerMenus .menu .menuItem {
        width: calc(50% - 0.5rem);
        flex: 0 0 calc(50% - 0.5rem);
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--bg-color-dark);
        min-width: 0;
        max-width: none;
    }

    .footerMenus .menu .menuItem h3 {
        padding: 0.2rem 0.5rem;
        margin: 0;
    }

    .footerMenus .menu .menuItem h3 .toggle-icon {
        display: none !important; /* Mobilde toggle icon gösterilmesin */
    }

    .footerMenus .menu .menuItem ul {
        padding: 0.5rem !important;
        max-height: none !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Menü linklerinin görünür olduğundan emin ol */
    .footerMenus .menu .menuItem ul li a {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .footerMenus .footer-bottom-menu .menuItem {
        width: calc(50% - 0.5rem);
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 0;
        max-width: none;
    }

    .copyrightArea .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .copyrightArea .links {
        justify-content: center;
    }
    
    /* Mobilde copyright alanının görünür olması için padding */
    .copyrightArea {
        padding-bottom: 1rem;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 576px) {
    footer {
        font-size: 14px;
    }

    .footerCta {
        padding: 1rem 0;
    }

    .footerCta .slogan h3 {
        font-size: 1.1rem;
    }

    .footerCta .slogan p {
        font-size: 0.7rem;
    }

    .footerCta .ctaCards {
        gap: 1rem;
    }

    .footerCta .ctaCards .card {
        gap: 0.3rem;
    }

    .footerCta .ctaCards .card .icon {
        width: 35px;
        height: 35px;
    }

    .footerCta .ctaCards .card .icon i {
        font-size: 0.9rem;
    }

    .socialCards .socialCard .socialIcons {
        gap: 0.7rem;
    }

    .socialCards .socialCard .socialIcons a {
        width: 32px;
        height: 32px;
    }

    .socialCards .socialCard .socialIcons a i {
        font-size: 0.9rem;
    }

    .copyrightArea .links {
        gap: 1rem;
    }

    .copyrightArea .links a,
    .copyrightArea .copyrightText {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 375px) {
    .footerTop .text h3 {
        font-size: 1rem;
    }

    .footerTop .text p,
    .footerTop .text a {
        font-size: 0.7rem;
    }

    .footerCta .ctaCards {
        justify-content: space-between;
    }
}