:root {
    --primary-color: #1e3c72;
    --secondary-color: #2196d3;
    --accent-color: #ffd700;
    --dark-color: #222222;
    --text-color: #333333;
    --light-color: #ffffff;
    --background-color: #f5f7fa;
    --border-color: #e4e7eb;
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container,
.section-container {
    width: min(100% - 40px, 1200px);
    margin-left: auto;
    margin-right: auto;
}

/* HEADER */

.site-header,
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar,
nav {
    width: min(100% - 40px, 1200px);
    min-height: 82px;
    margin-left: auto;
    margin-right: auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.company-name {
    color: var(--secondary-color);
    font-family: "Monotype Corsiva", "Brush Script MT", cursive;
    font-size: 1.7rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16rem;
}

.company-subtitle {
    margin-top: 3px;
    color: var(--secondary-color);
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.2;
}

/* NAV */

.nav-links,
nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-links a,
nav ul a {
    display: block;
    padding: 10px 14px;
    color: var(--dark-color);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus,
nav ul a:hover,
nav ul a:focus {
    color: var(--primary-color);
    background-color: rgba(33, 150, 211, 0.1);
}

.nav-links a.active,
nav ul a.active {
    color: var(--light-color);
    background-color: var(--primary-color);
}

/* PAGE HEADER */

.page-header {
    width: 100%;
    padding: 72px 20px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 12px;
}

.page-header p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* FOOTER */

.site-footer,
footer {
    width: 100%;
    padding: 28px 20px;
    text-align: center;
    color: white;
    background-color: var(--primary-color);
}

.site-footer p,
footer p {
    margin: 5px 0;
}

.footer-contact {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-contact a {
    color: white;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* TABLET */

@media screen and (max-width: 900px) {
    .navbar,
    nav {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .logo {
        justify-content: center;
    }

    .nav-links,
    nav ul {
        justify-content: center;
    }
}

/* TELEFON */

@media screen and (max-width: 768px) {
    .container,
    .section-container {
        width: min(100% - 28px, 1200px);
    }

    .navbar,
    nav {
        width: min(100% - 24px, 1200px);
        padding: 12px 0;
        gap: 12px;
    }

    .logo {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .logo img {
        height: 40px;
    }

    .company-name {
        font-size: 1.35rem;
        letter-spacing: 0.08rem;
    }

    .company-subtitle {
        display: none;
    }

    .nav-links,
    nav ul {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .nav-links li,
    nav li {
        width: 100%;
    }

    .nav-links a,
    nav ul a {
        width: 100%;
        padding: 10px 8px;
        text-align: center;
        font-size: 0.9rem;
        border-radius: 10px;
        background-color: #f1f3f5;
    }

    .nav-links a.active,
    nav ul a.active {
        background-color: #dcecf7;
        color: var(--primary-color);
    }

    .page-header {
        padding: 50px 16px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 4px;
    }

    .footer-contact span {
        display: none;
    }
}

/* KÜÇÜK TELEFON */

@media screen and (max-width: 420px) {
    .nav-links,
    nav ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-links a,
    nav ul a {
        font-size: 0.86rem;
        padding: 9px 6px;
    }

    .company-name {
        font-size: 1.2rem;
    }
}