body {
    font-family: 'Inter', sans-serif;
    text-align: left;
    background: rgba(224, 220, 210, 0.6);
}

/* GENEL GÜVENLİK */
* {
    box-sizing: border-box;
}


#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: rgba(224, 220, 210, 0.052);
    z-index: 1100;
}


#header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 40px;
    background: rgba(224, 220, 210, 0.286);
    border-bottom: 1px solid #222;
    position: relative;
}


#overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;
    pointer-events: none;

    transition: 0.3s ease;
    z-index: 1000;
}

#overlay.active {
    opacity: 1;
    pointer-events: auto;
}


.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}


.left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo {
    width: 170px;
    height: auto;
}

.unvan {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.unvan h1,
.unvan h2 {
    margin: 0;
}

.unvan h1 {
    font-size: 20px;
}

.unvan h2 {
    font-size: 20px;
}


.menu {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    z-index: 1003;
}

.menu a {
    text-decoration: none;
    font-weight: 500;
    color: black;
}

.menu a:hover {
    color: #555;
}



/* anasayfa */ 
.section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.text {
    line-height: 1.8;
    font-size: 16px;
}

.img {
    width: 260px;
    border-radius: 10px;
    margin: 10px 25px 15px 0;
}

.img.left {
    float: left;
}

.img.right {
    float: right;
    margin: 10px 0 15px 25px;
}

.section::after {
    content: "";
    display: block;
    clear: both;
}

.section h1 {
    margin-bottom: 15px;
}

.section p {
    line-height: 1.7;
    margin-bottom: 12px;
    text-align: left;
}

/* FOOTER */
.footer {
    background: rgba(224, 220, 210, 0.052);
    color: #222;
    margin-top: 80px;
    border-top: 1px solid #ccc;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
    gap: 60px;
}


.footer-middle,
.footer-right,
.footer-social {
    flex: 1;
    max-width: 280px;
}


.footer h3,
.footer h4 {
    color: #111;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
}


.footer-line {
    display: block;
    width: 35px;
    height: 2px;
    background: #111;
    margin-bottom: 15px;
}


.footer-middle {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-middle a {
    color: #222;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: 0.3s;
}


.footer-middle a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: #111;
    transition: 0.3s;
}

.footer-middle a:hover::after {
    width: 100%;
}

.footer-middle a:hover {
    color: #000;
}


.footer-right p {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}


.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.social-icons img {
    width: 20px;
    height: 20px;
}


.social-icons a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}


.footer-bottom {
    text-align: center;
    border-top: 1px solid #ccc;
    padding: 15px;
    font-size: 13px;
    color: #666;
}


.footer-right p {
    font-size: 14px;
    color: black;
    margin-bottom: 8px;
}


.footer-bottom {
    border-top: 1px solid #222;
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: black;
}


.footer-social {
    margin-top: 15px;
    display: flex;
    gap: 12px;
}


.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}


.footer-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.footer-social a:hover {
    background: #c9a96e; 
    transform: translateY(-3px);
}

/*Uzmanlıklar */ 
.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 

    gap: 30px;

    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.card-item {
    width: 100%;
}

.card {
    width: 100%;
    height: 380px;

    border-radius: 16px;
    overflow: hidden;
    position: relative;

    cursor: pointer;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card-bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    transition: transform 0.4s ease;
}

.card:hover .card-bg {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;

    color: white;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.card-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.card-item.active .card-detail {
    max-height: 500px; 
    opacity: 1;
    margin-top: 10px;
    padding: 10px;
}

.card-detail p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.card-item.active .card {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/*makaleler */ 
#modalImage {
    display: block;
    max-width: 100%;
    max-height: 250px;

    margin: 15px auto;

    border-radius: 10px;
    }

    #modalImage {
        text-align: center;
    }

    .modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    }
    
    .modal{
        position:fixed;
        inset:0;
        background: rgba(224, 220, 210, 0.6);
        display:flex;
        align-items:center;
        justify-content:center;
        opacity:0;
        visibility:hidden;
        transition:.25s ease;
        z-index:9999;
    }

    .modal.show{
        opacity:1;
        visibility:visible;
    }

    .modal-content{
        background:#fff;
        width:90%;
        max-width:750px;
        border-radius:12px;
        padding:25px;
        position:relative;

        max-height:85vh;
        overflow-y:auto;

        transform:scale(.7);
        opacity:0;
        transition:.25s ease;
    }

    .modal.show .modal-content{
        transform:scale(1);
        opacity:1;
    }

    .close{
        position:absolute;
        right:15px;
        top:10px;
        font-size:28px;
        cursor:pointer;
    }

    #shareBtn{
        margin-top:15px;
        padding:8px 12px;
        border:none;
        background:#111;
        color:#fff;
        border-radius:6px;
        cursor:pointer;
    }

/* iletişim */ 

.contact-section {
    display: flex;
    gap: 40px;

    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.contact-map {
    flex: 1;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-form form{
    width: 100%;
    max-width: 400px;
}

.contact-form h2,
.contact-form h6 {
    text-align: center;
}

.contact-form h2 {
    margin-bottom: 5px;
}

.contact-form h6 {
    margin-bottom: 20px;
    color: #777;
    font-weight: 400;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;

    border: 1px solid #ddd;
    border-radius: 8px;

    font-size: 14px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    border: none;
    background: black;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #333;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup.show {
    display: flex;
}

.popup-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: pop 0.3s ease;
}

.popup-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

.popup-content button {
    padding: 8px 15px;
    border: none;
    background: #1a73e8;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.hidden {
    display: none;
}

@keyframes pop {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.kvkk-modal {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.5);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;

    transition: 0.3s ease;
    z-index: 2000;
}

.kvkk-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.kvkk {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px 0;
}

.kvkk input[type="checkbox"] {
    width: auto;
    margin: 4px 0 0 0;
    flex-shrink: 0;
    cursor: pointer;
}

.kvkk label {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    cursor: pointer;
    text-align: left;
}

.kvkk a {
    color: black;
    text-decoration: underline;
    cursor: pointer;
}

.kvkk-box {
    background: white;
    padding: 25px;
    border-radius: 12px;

    max-width: 600px;
    width: 90%;

    max-height: 80vh;
    overflow: hidden;

    position: relative;
}

.kvkk-content {
    max-height: 60vh;
    overflow-y: auto;
    margin-top: 10px;
}

.kvkk-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.kvkk-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}

.kvkk-content {
    max-height: 50vh;
    overflow-y: auto;

    margin-top: 15px;
    padding-right: 10px;
}

.kvkk-accept {
    margin-top: 20px;
    width: 100%;
    padding: 12px;

    background: black;
    color: white;
    border: none;
    border-radius: 8px;

    font-size: 14px;
    cursor: pointer;

    transition: 0.3s;
}

.kvkk-accept:hover {
    background: #333;
}

.kvkk-content {
    max-height: 50vh;
    overflow-y: auto;
}

.kvkk-content::-webkit-scrollbar {
    width: 6px;
}

.kvkk-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.kvkk-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 10px;
}

.fixed-contact {
    position: fixed;
    right: 20px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    gap: 15px; 
    z-index: 1005;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-icon:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* tablet görünümü */
@media (max-width: 1024px) {

    .hamburger {
        display: block;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(224, 220, 210);

        flex-direction: column;
        text-align: center;

        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;

        transition: 0.3s ease;
        z-index: 1003;
    }

    .menu a {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    #header {
        padding: 15px 20px;
    }

    .logo {
        width: 140px;
    }

    .unvan h1 {
        font-size: 16px;
    }

    .unvan h2 {
        font-size: 13px;
    }

    .card-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .card {
        height: 340px;
    }

    .card-content h3 {
        font-size: 18px;
    }

    .card-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .card {
        height: 340px;
    }

    .card-content h3 {
        font-size: 18px;
    }

    .contact-section {
        flex-direction: row;
        gap: 25px;
        align-items: stretch;
    }

    .contact-map {
        flex: 1;
        height: 380px;
    }

    .contact-form {
        flex: 1;
        align-items: flex-start;
    }

    .contact-form form {
        width: 100%;
        max-width: 100%;
    }

    .kvkk {
        max-width: 100%;
    }

    .contact-form button {
        width: 100%;
        max-width: 100%;
    }

    .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    }
}

#topBtn {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: black;
    color: white;

    font-size: 18px;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: all 0.3s ease;
    z-index: 1005;
}

#topBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#topBtn:hover {
    background: #333;
    transform: translateY(-3px) scale(1.05);
}

/* mobil görünümü */ 
@media (max-width: 768px) {

    #header {
        padding: 12px 15px;
    }

    .logo {
        width: 120px;
        margin-right: 10px;
    }

    .unvan h1 {
        font-size: 14px;
    }

    .unvan h2 {
        font-size: 12px;
    }

    .hamburger {
        display: block;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(224, 220, 210);

        flex-direction: column;
        text-align: center;

        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;

        transition: 0.3s ease;
        z-index: 1003;
    }

    .menu a {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .img {
        float: none;
        display: block;
        margin: 20px auto;
        width: 100%;
        max-width: 320px;
    }

    .section p {
        text-align: center;
    }

    .card-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 50px auto;
    }

    .card {
        height: 300px;
    }

    .card-content {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .card-content h3 {
        font-size: 17px;
    }

    .card-detail {
        font-size: 14px;
    }
    
    .article-box{
        flex-direction:column;
    }

    .article-img{
        width:100%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-line {
        margin: 0 auto 15px auto;
    }

    .footer-social {
        align-items: center;
    }

    .contact-section {
        flex-direction: column;
        gap: 25px;
        margin: 50px auto;
    }

    .contact-map {
        width: 100%;
        height: 280px;
    }

    .contact-form {
        align-items: center;
        text-align: center;
    }

    .contact-form form {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .contact-form h2,
    .contact-form h6 {
        text-align: center;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .kvkk {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .kvkk label {
        font-size: 12px;
    }

    .contact-form button {
        width: 100%;
    }

    /* sağ alt sabit ikonlar */
    .fixed-contact {
        right: 15px;
        bottom: 80px;
        gap: 10px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }
}