@font-face {
    font-family: 'Montserrat';
    src: url('../font/Montserrat.ttf');
}

@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto.ttf');
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: var(--text-font);
}

h1, h2, h3, h4, h5 {
    font-family: var(--title-font);
}

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

ul { list-style: none; }

:root {
    --primary-color: #2E7D32;
    --secondary-color: #003366;
    --tertiary-color: #db1d22;
    --highlight-color: #FFC107;
    --background-color: #E3F2FD;
    --title-font: 'Montserrat', sans-serif;
    --text-font: 'Roboto';
}

header {
    width: 100%;
    height: 11rem;
    padding: 1rem 10rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 10000;
    transition: .5s all;
}

header .logo {
    height: 100%;
}

header .logo img {
    height: 100%;
}

header nav ul {
    display: flex;
    gap: 2rem;
}

header nav ul li a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--highlight-color);
    transition: .5s all;
    font-family: var(--title-font);
}

header nav ul li a:hover {
    color: #fff;
}

header.scrolled {
    background: var(--secondary-color);
    height: 8rem;
    padding: .5rem 10rem;
}

section {
    padding: 2rem 10rem;
}

section#landing {
    height: 100vh;
    background: transparent;
    position: relative;
}

section#landing .text {
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    font-size: 1.2rem;
    gap: 1rem;
}

section#landing .text p {
    line-height: 2rem;
}

section#landing img#landingbg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -999;
    transition: 20s all;
}

section#landing:hover img#landingbg {
    transform: scale(1.3);
}

section#landing .curtain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    z-index: -99;
}

section#landing .text a {
    display: inline;
    width: max-content;
}

section#landing .text a button {
    padding: 1rem 4rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 500;
    border-radius: 3rem;
    transition: .5s all;
}

section#landing .text a button:hover {
    transform: scale(1.03);
    color: var(--highlight-color);
}

section#hizmetlerimiz {
    background: var(--background-color);
    min-height: 30rem;
    padding: 5rem 10rem;
}

section#hizmetlerimiz ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
}

section#hizmetlerimiz ul li {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: #fff;
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid #ddd;
    transition: .5s all;
}

section#hizmetlerimiz ul li:hover {
    transform: scale(1.04);
}

section#hizmetlerimiz ul li img {
    width: 5rem;
}

section#hizmetlerimiz ul li h2 {
    text-align: center;
}

section#hizmetlerimiz ul li p {
    text-align: center;
}

section#hakkimizda {
    display: flex;
    background: #001c37;
    color: #fff;
    justify-content: center;
    gap: 4rem;
    align-items: center;
    transition: 8s gap;
}

section#hakkimizda .photo {
    max-width: 25rem;
}

section#hakkimizda .photo img {
    width: 100%;
    border: 1px solid var(--primary-color);
    box-shadow: 1px 1px 5px 5px var(--primary-color);
}

section#hakkimizda .text {
    padding: 2rem;
    width: 30rem;
}

section#hakkimizda .text h2 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-family: var(--title-font);
    font-size: 2rem;
    color: #fff;
}

section#hakkimizda .text p {
    font-size: 1.1rem;
}

section#hakkimizda:hover {
    gap: 8rem;
}

section#hakkimizda .text p button {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: .5s all;
}

section#hakkimizda .text p button:hover {
    color: var(--highlight-color);
}

section#turler {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

section#turler ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

section#turler ul li a {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 1rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    transition: .5s all;
}

section#turler ul li:hover a {
    transform: scale(1.03);
}

section#turler ul li a img {
    width: 10rem;
    height: 5rem;
    object-fit: contain;
}

section#turler ul li a p {
    text-align: center;
    font-size: .9rem;
}

section#turler ul li a h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

section#turler h2 {
    text-align: center;
    margin: 2rem 0;
    font-size: 2.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

section#turler a.btn {
    margin: 2rem 0;
    display: block;
    text-align: center;

}

section#turler a.btn button {
    padding: 1rem 2rem;
    font-size: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: .5s all;
}

section#turler a.btn:hover button {
    color: var(--highlight-color);
}

section#turler {
    background: #f5f5f5;
}

section#sss {
    display: flex;
    padding: 0;
    position: relative;
    background-image: url('../img/sss.png');
    background-repeat: no-repeat;
    background-position: 100%;
}

section#sss .text h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

section#sss .text {
    padding: 2rem 0 2rem 4rem;
    width: 50rem;
}

section#sss .text ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

section#sss .text ul li {
    border: 1px solid #ddd;
    padding: 1rem 1.5rem;
    background: #fff;
}

section#sss .text ul li h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

section#sss .text ul li h3 span {
    color: var(--secondary-color);
    font-family: var(--title-font);
}

section#sss .text ul li p {
    display: none;
    transition: .5s all;
}

section#sss .text ul li p.active {
    display: block;
    margin-top: 1rem;
    transition: .5s all;
}

section#guven {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}

section#guven .photo {
    width: 150rem;
}

section#guven .photo img {
    width: 100%;
}

section#guven .text h2 {
    text-align: center;
}

section#guven .text p {
    margin-top: 2rem;
    text-align: center;
}

section#iletisim {
    background: var(--tertiary-color);
}

section#iletisim .logo {
    width: 100%;
}

section#iletisim .logo img {
    width: 100%;
}

section#iletisim .iletisim {
    padding: 2rem 0;
}

section#iletisim .iletisim ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    color: #fff;
}

section#iletisim .iletisim ul li {
    display: flex;
    gap: 2rem;
    align-items: center;
}

section#iletisim .iletisim ul li i {
    font-size: 2rem;
    color: #ddd;
}

section#iletisim .iletisim ul li .text {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

section#iletisim .iletisim ul li .text h3 {
    font-size: 1.4rem;
}

section#iletisim .iletisim ul li .text h4 {
    font-weight: 500;
    font-size: 1.1rem;
}

section#iletisim .iletisim ul li .text h4 a {
    font-family: var(--title-font);
}

footer {
    padding: 1rem 0;
    text-align: center;
}

footer a {
    color: blue;
}

section.intro {
    padding: 0;
    position: relative;
    height: 30rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.intro h1 {
    color: #fff;
    font-size: 2.5rem;
    z-index: 1000;
}

section.intro img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 10;
}

section.intro .curtain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 100;
}

header.sticky {
    position: sticky;
}

main.page, footer.page {
    background: #f5f5f5;
}

footer.page {
    margin-top: -2rem;
}

section.content {
    padding: 2.5rem;
    margin: 0 10rem 2rem 10rem;
    position: relative;
    background: #fff;
    z-index: 10;
    font-size: 1.1rem;
    line-height: 2.5rem;
}

section.content h2 {
    margin: 1rem 0;
}

header i.fa-solid {
    display: none;
}

section#makale {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--secondary-color);
    color: #fff;
}

section#makale p {
    margin: 2rem 0;
}

section#makale ul {
    list-style: inside;
    margin-top: 2rem;
}

section#makale .group {
    display: flex;
    align-items: center;
    gap: 4rem;
}

section#makale .group .image {
    height: 100%;
}

section#makale .group .image img {
    width: 30rem;
    height: 100%;
    object-fit: cover;
    box-shadow: 1px 1px 5px 5px var(--primary-color);
}