﻿/* =========================================
   ORTAK SAYFA HERO ALANI
========================================= */

.page-hero {
    position: relative;
    min-height: 210px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 52, 38, 0.88);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
}

    .page-hero-content h1 {
        margin-bottom: 14px;
        font-size: 38px;
        font-weight: 800;
        line-height: 1.2;
    }

    .page-hero-content p {
        max-width: 680px;
        margin: 0 auto;
        color: rgba(255, 255, 255, 0.82);
        font-size: 15px;
        line-height: 1.7;
    }

@media (max-width: 560px) {
    .page-hero {
        min-height: 185px;
    }

    .page-hero-content h1 {
        font-size: 31px;
    }

    .page-hero-content p {
        font-size: 14px;
    }
}
/* Dinamik web bağlantıları paneli */
.social-links-menu {
    position: fixed;
    left: 28px;
    bottom: 30px;
    z-index: 1000;
}

.social-links-toggle {
    width: 53px;
    height: 53px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #078b4d;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, background-color 0.3s ease;
}

    .social-links-toggle:hover {
        background: #056f3d;
    }

.social-links-menu.is-open .social-links-toggle {
    transform: rotate(135deg);
}

.social-links-panel {
    position: absolute;
    left: 0;
    bottom: 67px;
    width: 310px;
    padding: 14px;
    border: 1px solid rgba(7, 139, 77, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 44, 28, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transform-origin: left bottom;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.social-links-menu.is-open .social-links-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.social-links-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 3px;
    color: #183c2d;
}

    .social-links-panel-header span {
        font-size: 15px;
        font-weight: 700;
    }

    .social-links-panel-header small {
        color: #718078;
        font-size: 12px;
    }

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 3px;
}

.social-links-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px;
    border-radius: 12px;
    color: #263c32;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .social-links-item:hover {
        color: #078b4d;
        background: #f0f8f4;
        transform: translateY(-1px);
    }

.social-links-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
}

.social-links-name {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-links-grid::-webkit-scrollbar {
    width: 6px;
}

.social-links-grid::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #b8c9c0;
}

@media (max-width: 576px) {
    .social-links-menu {
        left: 18px;
        bottom: 82px;
    }

    .social-links-toggle {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .social-links-panel {
        bottom: 65px;
        width: min(310px, calc(100vw - 36px));
    }

    .social-links-grid {
        max-height: 250px;
    }
}