@import url('./constants.css');

.footer {
    margin-top:5vh;
    background-color: var(--primary-color);
    text-align: center;
    overflow-x: hidden;
}
.container-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px  5% 6px 5%;
    border-bottom: 2px solid var(--grey-color);
    margin-bottom: 40px;
}
.app-link img{
    width:88px;
}

.app-link-communication{
    display: flex;
    flex-direction: column;
    justify-content: right;
    align-items: flex-end;
}
.app-link-communication span:nth-last-of-type(3){
    display: block;
    font-family: "Poppins", serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--white-color);
    text-align: right;
}
.app-link-communication span:nth-last-of-type(2){
    display: block;
    font-family: "Poppins", serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--white-color);
    text-align: right;
    margin: 0.5rem 0;
}
.app-link-communication span:nth-last-of-type(1){
    display: block;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-size: 10px;
    color: var(--white-color);
    text-decoration-line: underline;
    text-align: right;
}
.footer-logo{
    display: flex;
    justify-content: left;
    align-items: center;
}
.footer .container-header .logo{
    width: 60%;
}

/*FOOTER CONTENT*/

.footer-content{
    display: flex;
    padding: 0 5%;
    position: relative;
}

.footer-content .footer-links{
    flex:2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.footer-content .footer-images{
    flex:1;
    z-index: 999;
}
.footer-content .footer-images img {
    width: 419px;
    position: absolute;
    bottom: -50px;
    right: -120px;
}
.footer-content .footer-links .footer-link .footer-link-title{
    display: block;
    font-family: "Poppins", serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--white-color);
}
.footer-content .footer-links .footer-link{
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-right: 2.2rem;
}

.footer-content .footer-links .footer-link .footer-list{
    text-decoration: none;
    justify-content: start;
}
.footer-content .footer-links .footer-link .footer-list li{
    list-style: none;
    margin: 0.5rem 0;
    text-align: left;
}
.footer-content .footer-links .footer-link .footer-list li a{
    text-decoration: none;
    justify-content: left;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--white-color);
}
.footer-end{
    padding: 0 5% 40px 5%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.footer-end .social-media{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.footer-end .social-media .social-media-button{
    display: flex;
    text-align: center;
    justify-content: center;
    border: 1px solid var(--grey-color);
    border-radius: 4px;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 1.0s ease, color 1.0s ease;
}
.footer-end .social-media .social-media-button i{
    display: inline-block;
    color: var(--white-color);
}
.footer-end .social-media .social-media-button:hover{
    border: 1px solid var(--white-color);
    background-color:var(--white-color)
}
.footer-end .social-media .social-media-button:hover i{
    color:var(--grey-color)
}
.footer-end .prest-text{
    font-family: "Poppins", serif;
    font-weight: 400;
    font-size: 15px;
    color: var(--grey-color);
}
.footer-scroll{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin:20px 0;
}
.footer-scroll .footer-scroll-border{
    flex:1;
    height: 2px;
    background-color: var(--grey-color);
    border-radius: 4px;
}
.footer-scroll .footer-scroll-border{
    flex:1;
    height: 1.5px;
    background-color: var(--grey-color);
}
.footer-scroll .footer-scroll-button{
    flex:1;
    padding: 0 10px;
}
.footer-scroll .footer-scroll-button button{
    width: 100%;
    height: 50px;
    background-color: transparent;
    border:2px solid var(--grey-color);
    border-radius: 3px;
    color: var(--white-color);
    font-family: "Poppins", serif;
    font-weight: 400;
    font-size: 20px;
    cursor:pointer;
}



@media (max-width: 1200px) {
   

    .footer-content .footer-images img {
        width: 400px;
        right: -100px;
    }
    
    .app-link img {
    width: 100px;
}
    .footer-logo img {
    width: 250px!important;
}
.app-link-communication span:nth-last-of-type(2),
.app-link-communication span:nth-last-of-type(3),
.app-link-communication span:nth-last-of-type(1),
.footer-content .footer-links .footer-link{font-size:12px;}

.footer-content .footer-links .footer-link .footer-link-title{font-size:14px;}

}

@media (max-width: 720px) {
    .container-header,
    .footer-content,
    .footer-end,
    .footer-scroll {
        flex-direction: column;
        align-items: center;
   
        text-align: center;
    }

    .container-header {
        gap: 20px;
    }

    .app-link img {
        width: 110px;
    }

    .footer-logo img {
        width: 250px !important;
    }

    .app-link-communication {
        align-items: center;
    }

    .footer-content {
        gap: 40px;
    }

    .footer-content .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-content .footer-images img {
        width: 300px;
        position: relative;
        top: 0;
        right: 0;
    }

    .footer-end {
        gap: 20px;
    }

    .footer-end .social-media {
        justify-content: center;
    }
}




@media (max-width: 576px) {
    .footer-content .footer-link {
        text-align: center;
        align-items: center;
    }

    .footer-content .footer-link .footer-list li {
        text-align: center;
    }
    .app-link img {
        width: 90px;
    }

    .footer-logo img {
        width: 200px !important;
    }

    .app-link-communication span:nth-last-of-type(3),
    .app-link-communication span:nth-last-of-type(2) {
        font-size: 14px;
    }

    .app-link-communication span:nth-last-of-type(1) {
        font-size: 10px;
    }

    .footer-content .footer-images img {
        width: 240px;
    }

    .footer-end .prest-text {
        font-size: 12px;
    }

    .footer-end .social-media .social-media-button {
        padding: 8px;
        font-size: 16px;
    }

    .footer-scroll .footer-scroll-button button {
        font-size: 16px;
        height: 44px;
    }

    .footer-link .footer-link-title {
        font-size: 16px;
    }

    .footer-link .footer-list li a {
        font-size: 11px;
    }
}


ol, ul{padding-left:0px!important;}



/* RESPONSIVE DÜZENLEME */

/* 720px altında dikey layout, font boyutları küçültüldü */
@media (max-width: 720px) {
    .footer-content .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-content .footer-links .footer-link {
        align-items: center;
        text-align: center;
        width: 100%;
        margin-right: 0;
    }

    .footer-content .footer-links .footer-link .footer-link-title {
        font-size: 16px;
    }

    .footer-content .footer-links .footer-link .footer-list li {
        text-align: center;
        margin: 0.4rem 0;
    }

    .footer-content .footer-links .footer-link .footer-list li a {
        font-size: 12px;
    }
}

/* 576px altı detay kısma fontları daha da küçült, blok hizala */
@media (max-width: 576px) {
    .footer-content .footer-links .footer-link {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .footer-content .footer-links .footer-link .footer-link-title {
        font-size: 14px;
    }

    .footer-content .footer-links .footer-link .footer-list li a {
        font-size: 11px;
    }
}

/* 400px altı ekstra düzen (dar cihazlar için) */
@media (max-width: 400px) {
    .footer-content .footer-links .footer-link .footer-link-title {
        font-size: 13px;
    }
    .footer-content .footer-links .footer-link .footer-list li a {
        font-size: 10px;
    }
}

.app-link{
    display:flex;
    flex-direction:column;
}
.app-link img:first-of-type {
    margin-bottom: 10px;
}

