@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

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

ol, ul { list-style: none; }

:root {
    --bg-color: #262d50;
    --accent-color: #c19134;
    --main-font: 'Montserrat', sans-serif;
}

body {
    background: var(--bg-color);
}

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

header i {
    display: none;
    visibility: hidden;
}

header.fixed {
    background: #1e233f;
    border-bottom: 1px solid #000;
    top: 0;
}

header .logo {
    height: 100%;
}

header .logo img {
    height: 100%;
}

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

header nav ul li a {
    transition: .5s all;
}

header nav ul li:last-child a {
    font-weight: 500;
    color: var(--accent-color);
}

header nav ul li a:hover {
    color: var(--accent-color);
    text-decoration: dashed;
}

section#first {
    position: relative;
    height: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

section#first img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    object-fit: cover;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
}

section#first .text {
    position: absolute;
    width: 40rem;
    right: 5rem;
    color: #fff;
}

section#first .text h1 {
    font-size: 2.8rem;
}

section#first .text p {
    margin-top: 2rem;
    font-size: 1.2rem;
}

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

section#second .car {
    position: relative;
    width: 100%;
    background-image: url('../img/road.png');
    height: 4rem;
    background-size: contain;
    background-repeat: repeat;
}

section#second .car img {
    position: absolute;
    height: 100%;
    display: inline;
}

section#hizmetlerimiz {
    background: var(--bg-color);
    padding: 5rem 10rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

section#hizmetlerimiz .hizmet {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    padding: 3rem 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: .6s all;
    transform: 0;
}

section#hizmetlerimiz .hizmet i {
    color: var(--accent-color);
    font-size: 2.6rem;
}

section#hizmetlerimiz .hizmet h2 {
    color: var(--accent-color);
    text-align: center;
}

section#hizmetlerimiz .hizmet:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

section#hizmetlerimiz .hizmet p {
    text-align: center;
    font-weight: 500;
}

section#kayit {
    background: var(--bg-color);
    color: #fff;
    padding: 3rem 10rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

section#kayit ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

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

section#kayit ul li i {
    color: var(--accent-color);
}

section#part {
    background: var(--bg-color);
    color: #fff;
    display: flex;
    height: 60rem;
}

section#part img {
    height: 100%;
    width: 70rem;
    object-fit: cover;
}

section#part .text {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.7rem;
}

section#part .text h2 {
    line-height: 2rem;
}

section#harita {
    height: 35rem;
    padding: 4rem 0;
}

section#harita iframe {
    width: 100%;
    height: 100%;
}

section#youtube {
    padding: 2rem 10rem;
    display: flex;
    justify-content: space-between;
}

section#iletisim {
    padding: 2rem 10rem;
    background-image: url('../img/iletisim.jpeg');
}

section#iletisim ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

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

section#iletisim ul li {
    display: flex;
    gap: 1.5rem;
    padding: 3rem 0;
    align-items: center;
    color: #fff;
}

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

section#iletisim ul li .text p {
    font-size: 1.2rem;
    color: skyblue;
}

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