/* Custom Footer Styles - Revised V2 */

/* Font Face Definitions */
@font-face {
    font-family: 'Euclid Circular A';
    src: url('../../fonts/EuclidCircularA-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Euclid Circular A';
    src: url('../../fonts/EuclidCircularA-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Euclid Circular A';
    src: url('../../fonts/EuclidCircularA-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Footer Container */
#footer {
    position: relative;
    background-color: #000;
    font-family: 'Euclid Circular A', sans-serif;
    color: #fff;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Arka plan görseli */
    background-image: url('../../img/footer-bg-new.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* Görselin görünürlüğü */
    z-index: 1;
}

/* Social Share Bar & Top Bar Elements */
.social-share {
    position: relative;
    z-index: 20;
    /* Üstte kalmalı */
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: 9rem !important;
    display: flex !important;
    align-items: center !important;
    /* Toplam yükseklik kullanıcı isteğiyle 9rem yapıldı */
    transition: background 0.5s ease;
}

/* Mobil Menu Toggle Button in Header */
.mobile-menu-toggle-header {
    display: none;
    /* Desktop'ta gizli */
}

@media (max-width: 991px) {

    /* Header Scroll Transparanlık Fix */
    #header.is-scrolled,
    header.header-scrolled,
    .header-sticky.is-sticky {
        background-color: transparent !important;
        /* Kullanıcı isteği: Beyaz olmasın */
        box-shadow: none !important;
    }

    /* Buton Stili */
    .mobile-menu-toggle-header {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        /* Hafif transparan */
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: #fff;
        cursor: pointer;
        position: absolute;
        top: 25px;
        /* Header ortası */
        right: 80px;
        /* Hamburger menünün solu */
        z-index: 1000;
        transition: all 0.3s;
    }

    .mobile-menu-toggle-header:hover,
    .mobile-menu-toggle-header.active {
        background: #fff;
        color: #000;
    }

    .mobile-menu-toggle-header i {
        font-size: 20px;
    }
}

.social-share:has(.instagram a:hover) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Hover durumunda ikonun kendi rengini beyaza çevir (okunabilirlik için) */
.social-share:has(.instagram a:hover) .instagram a {
    background: none;
    -webkit-text-fill-color: initial;
    color: #fff !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.social-share .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 15px !important;
}

/* Sol Taraf: Bizi Takip Edin */
.social-share .social-wrap {
    display: flex;
    justify-content: flex-start;
    /* En sola yasla */
    align-items: center;
    gap: 20px;
    font-size: 14px;
    /* Yazı 14px yapıldı */
    color: #ddd;
    font-weight: 500;
    line-height: normal;
    margin: 0 !important;
}

.social-share ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    /* İkonlar arası boşluk artırıldı */
}

.social-share a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    /* İkonlar metinle orantılı hale getirildi */
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    /* İkon ve metin arası varsa */
}

.social-share a span {
    font-size: 14px;
    /* Yazı 14px yapıldı */
}

.social-share a:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Social Media Hover Colors */
.social-share .facebook a:hover {
    color: #3b5998;
}

.social-share .instagram a:hover {
    /* Instagram Gradient */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* Fallback */
}

.social-share .linkedin a:hover {
    color: #0077b5;
}

.social-share .pinterest a:hover {
    color: #bd081c;
}

/* Sağ Taraf: Yaşayan Site V2.1 */
.living-site-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Boşluk artırıldı */
    font-family: 'Euclid Circular A', sans-serif;
    font-size: 14px;
    /* Yazı 14px yapıldı */
    color: #fff;
    /* Daha parlak beyaz */
    font-weight: 500;
    line-height: normal;
    background: transparent;
    /* Çerçeve kaldırıldı */
    border: none;
    /* Çerçeve kaldırıldı */
    padding: 0;
}

.status-icon {
    width: 10px;
    height: 10px;
    background-color: #00ff6a;
    /* Daha parlak neon yeşil */
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 255, 106, 0.6);
    /* Sürekli parlayan bir hale */
    animation: pulse-green 1.5s infinite;
    /* Biraz hızlandırıldı */
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 106, 0.8);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(0, 255, 106, 0);
        /* Yayılım artırıldı */
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 106, 0);
    }
}

/* Main Footer Content */
.footer-main {
    position: relative;
    z-index: 10;
    padding: 70px 0 50px;
    /* Padding artırıldı */
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Column 1: Info */
.footer-col-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
    /* Elemanlar arası boşluk artırıldı */
}

.footer-logo img {
    max-width: 140px;
    /* Logo küçültüldü (Standart: 180-200px idi) */
    width: 100%;
    height: auto;
}

.footer-address {
    font-size: 1.45rem;
    /* Yazı büyütüldü */
    line-height: 1.7;
    color: #ddd;
    font-weight: 400;
    max-width: 350px;
}

.footer-contact-row {
    display: flex;
    flex-direction: row;
    /* Yan yana */
    flex-wrap: wrap;
    gap: 40px;
    /* Gruplar arası boşluk */
}

.contact-group h4 {
    font-size: 1.2rem;
    /* Başlıklar büyütüldü */
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-group a {
    font-size: 1.35rem;
    /* İletişim bilgileri büyütüldü */
    color: #ccc;
    text-decoration: none;
    display: block;
    line-height: 1.6;
    transition: color 0.3s;
}

.contact-group a:hover {
    color: #fff;
}

/* Column 2: Menus */
.footer-col-menus {
    display: flex;
    justify-content: flex-start;
    /* Sola yaslı daha düzenli */
    gap: 60px;
    /* Sütunlar arası boşluk */
}

.menu-group h4 {
    font-size: 1.4rem;
    /* Başlıklar büyütüldü */
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 1px;
    font-weight: 700;
}

.menu-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-group li {
    margin-bottom: 15px;
    /* Satır aralığı */
}

.menu-group a {
    color: #bbb;
    text-decoration: none;
    font-size: 1.6rem;
    /* Menü linkleri büyütüldü */
    transition: color 0.3s;
    font-weight: 400;
}

.menu-group a:hover {
    color: #fff;
    padding-left: 5px;
    /* Hover efekti */
}

/* Column 3: Newsletter */
.footer-col-newsletter {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.newsletter-text p {
    font-size: 1.7rem;
    /* Açıklama büyütüldü */
    line-height: 1.6;
    font-weight: 400;
    color: #eee;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newsletter-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    /* Çizgi kalınlaştırıldı */
    padding: 15px 0;
    color: #fff;
    font-family: 'Euclid Circular A', sans-serif;
    font-size: 1.5rem;
    /* Input fontu */
    width: 100%;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    border-color: #fff;
}

.newsletter-input::placeholder {
    color: #777;
    font-style: italic;
}

.newsletter-submit {
    background: #fff;
    color: #000;
    border: none;
    padding: 18px;
    /* Buton büyütüldü */
    font-family: 'Euclid Circular A', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    border-radius: 4px;
    /* Hafif yumuşatma */
}

.newsletter-submit:hover {
    background: #000;
    color: #fff;
    outline: 1px solid #fff;
}

/* Footer Bottom Bar */
.footer-bottom {
    position: relative;
    z-index: 10;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    /* Siyah olunca border gereksiz olabilir veya kalabilir */
    background-color: #000;
    /* Siyah zemin */
    padding: 20px 0;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 1.15rem;
    color: #fff;
    /* Beyaz yazı */
}

/* MOBILE SPECIFIC STYLES */
.mobile-menu-toggle {
    display: none;
    /* Desktop'ta gizli */
}

@media (max-width: 991px) {

    /* Genel Yapı */
    .footer-main {
        padding-top: 40px;
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-share {
        height: auto !important;
        padding: 25px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Buton Stili - Küçük ve Yuvarlak (User Request) */
    .mobile-menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        background: #fff;
        color: #000;
        cursor: pointer;
        position: absolute;
        top: 15px;
        /* Social bar hizasına yakın */
        right: 15px;
        z-index: 100;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        transition: all 0.3s;
    }

    .mobile-menu-toggle span {
        display: none;
        /* Metni gizle */
    }

    .mobile-menu-toggle.active {
        background: #000;
        color: #fff;
        border: 1px solid #fff;
    }

    .mobile-menu-toggle i {
        font-size: 20px;
    }

    /* Info Column */
    .footer-col-info {
        align-items: center;
        margin-top: 0;
        padding: 0 20px;
    }

    .footer-logo {
        display: none !important;
    }

    .footer-address {
        max-width: 100%;
        padding: 0;
        font-size: 1.35rem;
        margin-bottom: 30px;
    }

    .footer-contact-row {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    /* Menüler - Mobilde Modern Izgara */
    .footer-col-menus {
        display: none;
        flex-direction: column;
        gap: 40px;
        background: rgba(255, 255, 255, 0.05);
        padding: 40px 20px;
        border-radius: 12px;
        margin: 0 15px;
        text-align: left;
    }

    .footer-col-menus.active {
        display: flex;
        animation: slideDown 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .menu-group h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }

    .menu-group li {
        margin-bottom: 12px;
    }

    .menu-group a {
        font-size: 1.4rem;
    }

    /* Social Share Mobile - Düzenleme */
    .social-share .container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .social-share .social-wrap {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .social-share .social-wrap span {
        margin-bottom: 5px;
    }

    .social-share ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .living-site-badge {
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Menu Focus Mode - User Request */
    #footer.menu-open .social-share,
    #footer.menu-open .footer-col-info,
    #footer.menu-open .footer-col-newsletter,
    #footer.menu-open .footer-bottom {
        display: none !important;
    }

    #footer.menu-open .footer-main {
        padding-top: 20px;
    }

    #footer.menu-open .footer-col-menus {
        margin: 0;
        background: transparent;
        padding: 20px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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