@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

a {
    text-decoration: none;
    color: black;
}

body {
    position: relative;
}

::selection {
    background-color: rgb(129, 129, 129, 0.6);
    color: #eeeeee;
}


/* ----------------------------- HEADER ----------------------------- */

.container {
    background-color: #e4e4e4;
    height: 100%;
    width: 100%;
    position: relative;
}

@keyframes headerAnimation {
    from {top: -170px;}
    to {top: 0;}
}

.header-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 9;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15% 0 15%;
    height: 140px;
    width: 90%;
    background-color: rgb(27, 27, 27, 0.8);
    margin-top: 20px;
    border-radius: 2px;
    box-shadow: 0 0 10px black;
    animation-name: headerAnimation;
    animation-duration: 1.4s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    position: absolute;
    top: 0;
}

.header-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 50px;
    height: 100%;
}

.header-navbar-item {
    color: #e4e4e4;
    font-weight: 500;
    font-size: 22px;
    transition: 0.1s ease;
    position: relative;
}

.header-navbar-item::before {
    content: "";
    height: 2px;
    width: 0%;
    background-color: #afafaf;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.1s ease;
}

.header-navbar-item-container {
    transition: 0.1s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@keyframes dropdownMenu {
    from {top: 100px;}
    to {top: 140px;}
}

.dropdown-menu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1b1b1b;
    box-shadow: 0 0 10px black;
    position: absolute;
    top: 140px;
    width: 180px;
    animation-name: dropdownMenu;
    animation-duration: 0.3s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    display: none;
}

.dropdown-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    list-style: none;
    width: 100%;
    height: 100%;
}

.dropdown-menu-list {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.dropdown-menu-list-item {
    color: #c0c0c0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.dropdown-menu-list:hover {
    background-color: #2c2c2c;
}

.header-navbar-item-container:hover .dropdown-menu-container {
    display: block;
}

.header-navbar-item-container:hover .header-navbar-item {
    color: #afafaf;
    transform: scale(1.1);
}

.header-navbar-item-container:hover .header-navbar-item::before {
    width: 100%;
}

.header-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    height: 136px;
    width: 190px;
    background-color: #2c2e36;
    border-radius: 20px;
    border: 3px solid #41434b;
}

.header-img {
    border-radius: 20px;
}

.header-menu-btn {
    font-size: 40px;
    color: #c0c0c0;
    border: 2px solid #818181;
    background-color: rgb(78, 78, 78, 0.5);
    height: 70px;
    width: 70px;
    cursor: pointer;
    border-radius: 100%;
}

.header-menu {
    display: none;
    position: absolute;
    right: 20px;
}



.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background-color: rgb(206, 206, 206, 0.5);
    z-index: 100;
}

@keyframes menuAnimation {
    from {left: -500px; opacity: 0;}
    to {left: 0; opacity: 1;}
}

@keyframes linkAnimation {
    from {left: -500px; opacity: 0;}
    to {left: 50%; transform: translate(-50%); opacity: 1;}
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    background-color: #1b1b1b;
    height: 100vh;
    width: 450px;
    border-radius: 2px;
    box-shadow: 0 0 10px #1b1b1b;
    animation-name: menuAnimation;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
}

.menu-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 50px;
    position: absolute;
    animation-name: linkAnimation;
    animation-duration: 0.7s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
}

.menu-link {
    font-size: 40px;
    font-weight: 600;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    transition: 0.2s ease;
}

.menu-link:hover {
    transform: scale(1.1);
    color: #8b8b8b;
}

.menu-list-number {
    background-color: #41434b;
    border: 2px solid #6e6e6e;
    height: 60px;
    width: 60px;
    font-size: 45px;
    font-weight: 400;
    color: #c0c0c0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.menu-btn {
    font-size: 25px;
    color: #c0c0c0;
    border: 2px solid #818181;
    background-color: rgb(78, 78, 78, 0.5);
    height: 50px;
    width: 50px;
    cursor: pointer;
    border-radius: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
}


/* ----------------------------- WORKS ----------------------------- */

.works {
    height: 70vh;
    font-size: 60px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e4e4e4;
    text-shadow: 0 0 10px #1b1b1b;
    background-image: url(image1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

.gradient {
    background: linear-gradient(0deg, rgba(27,27,27,1) 0%, rgba(27,27,27,1) 25%, rgba(27,27,27,0.8379726890756303) 50%, rgba(255,255,255,0) 100%);
    position: absolute;
    bottom: 0;
    height: 30%;
    width: 100%;
    color: #1b1b1b;
}

.works-header {
    z-index: 2;
    font-family: "Dancing Script", cursive;
}


.slider-images-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    transition: 0.5s ease;
}

.slider-images {
    display: flex;
    align-items: center;
    justify-content: left;
    height: 100%;
    width: 100%;
}

.slider-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


/* ----------------------------- SECTION 2 ----------------------------- */

.section2 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 2500px;
    background-color: #1b1b1b;
}

.section2-cards-row {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    margin-top: 100px;
}

.section2-cards-row-private {
    margin-top: 0px;
}

.section2-card {
    background-image: url(nejat-jobs.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    width: 550px;
    box-shadow: 0 0 10px rgb(224, 224, 224, 0.5);
    border: 4px solid #6e6e6e;
}

.section2-card1 {
    background-image: url(1.jpg);
}

.section2-card2 {
    background-image: url(2.jpg);
}

.section2-card3 {
    background-image: url(3.jpg);
}

.section2-card4 {
    background-image: url(4.jpg);
}

.section2-card5 {
    background-image: url(5.jpg);
}

.section2-card6 {
    background-image: url(6.jpg);
}

.section2-card7 {
    background-image: url(7.jpg);
}

.section2-card8 {
    background-image: url(8.jpg);
}

.section2-card9 {
    background-image: url(9.jpg);
}

.section2-card10 {
    background-image: url(10.jpg);
}

.section2-card11 {
    background-image: url(11.jpg);
}

.section2-card12 {
    background-image: url(12.jpg);
}


/* ----------------------------- SECTION 4 ----------------------------- */

.section4 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 450px;
    background-color: #1b1b1b;
}

.section4-cards {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.section4-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 350px;
    width: 500px;
    background-color: #e4e4e4;
    text-align: center;
    border-radius: 2px;
    transition: 0.2s ease;
}

.section4-card:hover {
    transform: scale(1.05);
}

.section4-card-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    color: #6e6e6e;
}

.section4-card-text {
    font-size: 18px;
    font-weight: 500;
}

/* ----------------------------- FOOTER ----------------------------- */

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background-color: #1b1b1b;
    border-top: 1px solid #818181;
    height: 100px;
    width: 100%;
    color: #c0c0c0;
    text-align: center;
}

.location {
    filter: grayscale(80%);
    border-left: 100px solid #1b1b1b;
    border-right: 100px solid #1b1b1b;
    border-bottom: 30px solid #1b1b1b;
    border-top: 30px solid #1b1b1b;
}

.slider-images-container2 {
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    transition: 0.5s ease;
}

.slider-img2 {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.display {
    display: none;
}


@media only screen and (max-width: 1700px) {
    .section2 {height: 2000px;}
    .section2-card {height: 400px; width: 450px;}
}

@media only screen and (max-width: 1550px) {
    .header {padding: 0 10% 0 10%;}
}

@media only screen and (max-width: 1400px) {
    .section2 {height: 1600px;}
    .section2-card {height: 300px; width: 350px;}
}

@media only screen and (max-width: 1250px) {
    .header {padding: 0 8% 0 8%;}
}

@media only screen and (max-width: 1100px) {
    .header {padding: 0 5% 0 5%;}
    .section2 {height: 1400px;}
    .section2-card {height: 250px; width: 300px;}
}

@media only screen and (max-width: 1000px) {
    .header {justify-content: center; padding: 0 0 0 0;}
    .header-navbar {display: none;}
    .header-menu {display: block;}
    .footer {font-size: 15px;}
    .section2 {height: 6800px;}
    .section2-cards-row {flex-direction: column; row-gap: 50px; margin-top: 50px;}
    .section2-card {height: 500px; width: 550px;}
}

@media only screen and (max-width: 600px) {
    .header-image-container {position: absolute; left: 20px; width: 130px; height: 106px;}
    .header-img {height: 100px;}
    .header {height: 120px;}
    .section2 {height: 5500px;}
    .section2-card {height: 400px; width: 450px;}
}

@media only screen and (max-width: 500px) {
    .menu {width: 320px;}
    .menu-links {row-gap: 30px;}
    .menu-link {font-size: 30px; row-gap: 10px;}
    .menu-list-number {font-size: 35px; height: 50px; width: 50px;}
    .section2 {height: 4000px;}
    .section2-card {height: 280px; width: 330px;}
    .works {font-size: 35px;}
}

@media only screen and (max-width: 450px) {
    .location {border-left: 30px solid #1b1b1b; border-right: 30px solid #1b1b1b;}
    .slider-images-container1 {display: none;}
    .slider-images-container2 {display: flex;}
}