﻿/* =========================================
   GENEL AYARLAR
========================================= */

:root {
    --primary-green: #008c45;
    --primary-green-dark: #003b2b;
    --header-green: #002f23;
    --footer-green: #001f17;
    --text-dark: #151515;
    --text-muted: #777777;
    --white: #ffffff;
    --border-color: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */

.site-header {
    position: relative;
    z-index: 1000;
    height: 92px;
    background-color: #043a2c;
}

.header-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: 92px;
    margin: 0 auto;
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-brand {
    position: relative;
    min-width: 360px;
    height: 92px;
    display: flex;
    align-items: center;
}
.site-logo {
    position: absolute;
    left: 0;
    top: 50%;
    width: 200px;
    height: 220px;
    object-fit: contain;
    transform: translateY(-50%);
    z-index: 2;
}
.brand-text {
    margin-left: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.brand-title {
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.brand-subtitle {
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-navigation {
    padding-left: 30px;
    display: flex;
    align-items: center;
}

.navigation-list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navigation-link {
    position: relative;
    display: inline-block;
    padding: 34px 0 32px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s ease;
}
    .navigation-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 19px;
        width: 0;
        height: 2px;
        border-radius: 2px;
        background-color: #0fc474;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    .navigation-link:hover::after,
    .navigation-link.active::after {
        width: 100%;
    }
    .navigation-link:hover,
    .navigation-link.active {
        color: #ffffff;
    }
/* =========================================
   MOBİL MENÜ BUTONU
========================================= */

.mobile-menu-button {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
}

.mobile-menu-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background-color: var(--white);
}

    .mobile-menu-icon::before,
    .mobile-menu-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        background-color: var(--white);
    }

    .mobile-menu-icon::before {
        top: -7px;
    }

    .mobile-menu-icon::after {
        top: 7px;
    }

/* =========================================
   ANA İÇERİK
========================================= */

.site-main {
    min-height: 500px;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding: 65px 0 25px;
    color: rgba(255, 255, 255, 0.68);
    background-color: var(--footer-green);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    column-gap: 180px;
    row-gap: 40px;
    padding-bottom: 45px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.footer-brand-title {
    margin-bottom: 4px;
    color: var(--white);
    font-size: 23px;
    font-weight: 500;
}

.footer-brand-subtitle {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.footer-description {
    margin-top: 27px;
    font-size: 13px;
    line-height: 1.8;
}

.footer-heading {
    margin-bottom: 35px;
    color: var(--white);
    font-size: 30px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    font-size: 13px;
    transition: color 0.25s ease;
}

    .footer-link:hover {
        color: #19c677;
    }

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================
   SCROLL TO TOP
========================================= */

.scroll-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1200;
    width: 52px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    background-color: #00a65a;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

    .scroll-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-to-top:hover {
        background-color: #008f4d;
        box-shadow: 0 13px 27px rgba(0, 0, 0, 0.34);
        transform: translateY(-2px);
    }

    .scroll-to-top i {
        font-size: 17px;
        line-height: 1;
    }
   
/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {
    .navigation-list {
        gap: 16px;
    }

    .navigation-link {
        font-size: 10px;
    }
}

@media (max-width: 1024px) {
    .site-brand {
        width: auto;
        min-height: 82px;
        padding: 7px 20px;
    }

    .site-logo {
        width: 55px;
        height: 66px;
    }

    .header-container {
        min-height: 82px;
        padding-right: 20px;
    }
    .site-header,
    .header-container {
        min-height: 82px;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        padding: 15px 20px 25px;
        background-color: var(--header-green);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

        .main-navigation.open {
            display: block;
        }

    .navigation-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navigation-link {
        display: block;
        padding: 14px 4px;
        font-size: 12px;
    }

        .navigation-link::after {
            display: none;
        }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .site-logo {
        width: 48px;
        height: 58px;
    }

    .brand-title {
        font-size: 19px;
    }

    .brand-subtitle {
        max-width: 170px;
        font-size: 9px;
        white-space: normal;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .scroll-to-top {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
    }
}
/* Küçük telefonlar: iPhone SE ve benzeri ekranlar */
@media (max-width: 600px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-header,
    .site-main,
    .site-footer {
        width: 100%;
        max-width: 100%;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-inline: 14px;
        margin-inline: auto;
    }

    .header-container {
        width: 100%;
        height: 72px;
        min-height: 72px;
        padding: 0 14px;
    }

    .site-header {
        height: 72px;
        min-height: 72px;
    }

    .site-brand {
        width: auto;
        min-width: 0;
        height: 72px;
        min-height: 72px;
        padding: 0;
        flex: 1;
    }

    .site-logo {
        position: static;
        width: 46px;
        height: 54px;
        flex-shrink: 0;
        transform: none;
    }

    .brand-text {
        min-width: 0;
        margin-left: 10px;
        gap: 3px;
    }

    .brand-title {
        font-size: 18px;
    }

    .brand-subtitle {
        max-width: 190px;
        font-size: 8px;
        white-space: nowrap;
    }

    .mobile-menu-button {
        width: 40px;
        height: 40px;
        display: block;
        flex: 0 0 40px;
    }

    .main-navigation {
        top: 72px;
        width: 100%;
        padding: 12px 14px 20px;
    }
}