@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
}

.site-header {
    position: fixed;
    display: block;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 155px;
}

/**** topbar ****/
.topbar {
    position: relative;
    display: flex;
    justify-content: end;
    width: 100%;
    height: 85px;
    background-color: rgb(255, 255, 255);
    top: 0;
    z-index: 9998;
    gap: 88px;
}

.topbar.hidden {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    margin: 0;
}

.logo {
    display: flex;
    position: relative;
    width: 150px;
    height: 92px;
    bottom: 2px;
}

.infobar {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-right: 20px;
    width: 65%;
    min-height: 40px;
    height: auto;
    font-size: larger;
    gap: 50px;
}

.info-item {
    white-space: nowrap;
}

.nav-num {
    display: flex;
    align-items: center;
}

#nav-num-alt {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-img {
    width: 20px;
    height: 20px;
}

.contact-text {
    position: relative;
    bottom: 4px;
    left: 6px;
    padding-right: 9px;
    color: rgb(69, 166, 231);
    margin-top: 3px;
}

/**** navbar ****/
.navbar {
    position: relative;
    display: flex;
    width: 100%;
    height: 70px;
    background-color: #45a6e7;
    justify-content: center;
    align-items: center;
    gap: 430px;
    z-index: 9999;
}

.navbar.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pagebar {
    display: flex;
    width: 30%;
    height: 70%;
}

.pages {
    position: relative;
    width: 100%;
}

ul {
    list-style-type: none;
    display: flex;
}

ul li {
    margin-right: 30px;
    position: relative;
}

.page-list::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: azure;
    transform-origin: bottom right;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.page-list:hover::before {
    transform-origin: bottom left;
    transform: scaleX(1);
}

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

.page,
#page-services {
    transition: transform 0.2s ease;
    display: inline-block;
}

#page-services:hover {
    transform: scale(1.1);
}

#about-us {
    padding-bottom: 4px;
    border-bottom: 2px solid white;
}

.page:hover {
    transform: scale(1.1);
}

.page:active>a:not(#page-services) {
    transform: scale(0.8);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.arrow-down {
    position: fixed;
    margin-top: 3px;
    margin-left: 5px;
    font-size: 0.8em;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #45a6e7;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%;
    left: -20px;
    border-radius: 4px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #68c3ff;
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.arrow-right {
    margin-left: auto;
    font-size: 0.8em;
}

.dropdown-submenu {
    position: relative;
    display: block;
}

.dropdown-submenu>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 15px;
    padding: 12px 16px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.submenu-content {
    display: none;
    position: absolute;
    background-color: #45a6e7;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;

    top: 0;
    left: 100%;

    border-radius: 4px;
    overflow: hidden;
}

.submenu-content a {
    color: white;
    font-size: 15px;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.2s ease;
}

.submenu-content a:hover {
    background-color: #68c3ff;
    color: #fff;
}

.dropdown-submenu:hover .submenu-content {
    display: block;
}

.dropdown-submenu:hover>a {
    background-color: #68c3ff;
    color: #fff;
}

/* Ücretsiz Keşif */
.contact-us-t {
	display: none;
}

.contact-us {
    display: flex;
    color: azure;
    border: 2px solid white;
    padding: 5px;
    transition: transform 0.3s ease;
    transform: scale(1);
    position: relative;
}

.contact-us.active {
    transform: scale(1.1);
}

.dropdown-contact {
    position: absolute;
    top: 110%;
    left: -150px;
    background-color: rgba(69, 166, 231, 0.8);
    border: 1px solid #ccc;
    border-radius: 5px;
    color: white;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    width: 400px;
    height: 420px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: scaleY(0.95);
    transform-origin: top;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;

    /*transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;*/
}

.dropdown-contact.open {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    pointer-events: auto;
}

.dropdown-contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cust {
    display: flex;
    justify-content: center;
}

.cust2 {
    display: flex;
    justify-content: end;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    gap: 100px;
}

.input-wrapper {
    display: flex;
    justify-content: center;
}

.input-wrappe {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.input-wrappe input {
    width: 40%;
    height: 23px;
    justify-items: center;
    border-radius: 5px;
    border: none;
}

.input-wrapper:not(#ilce-wrapper) input {
    width: 80%;
    height: 23px;
    justify-items: center;
    border-radius: 5px;
    border: none;
}

#ilce-wrapper {
    display: flex;
    justify-content: center;
    gap: 5px;
}

#ilce-wrapper select {
    width: 30%;
    border: none;
    border-radius: 5px;
    height: 23px;
    margin-top: 12px;
}

#ilce-wrapper input {
    width: 49%;
    border: none;
    border-radius: 5px;
    height: 23px;
    margin-top: 12px;
    padding: 5px;
    font-size: 0.7rem;
}

.dropdown-contact textarea {
    width: 80%;
    height: 110px;
    resize: none;
    border-radius: 5px;
    border: none;
}

.sent {
    display: flex;
    justify-content: center;
}

#sent {
    width: 18%;
    height: 23px;
    border-radius: 7px;
    border: none;
    color: #45a6e7;
    transition: transform 0.2s ease;
    margin-top: 5px;
}

#sent:hover {
    transform: scale(1.1);
}

#sent:active {
    transform: scale(0.8);
}

.contact-us:active .dropdown-contact {
    display: flex;
}

.dropdown-contact.show {
    display: flex;
}

/**** main-area ****/
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* background-color: #000000; */
    margin-top: 155px;
    flex-grow: 1;
    /* gap: 30px; */
}

.slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 155px);
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail {
    width: 60px;
    height: 40px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.thumbnail:hover {
    opacity: 1;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/**** content ****/
#content-home {
    display: flex;
    height: 800px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* background: black; */
    flex-grow: 1;
    margin-top: 20px;
}

.info-area {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 200px;
    background-color: #45a6e7;
    border-bottom: 2px dashed white;
    align-items: center;
    font-size: 2rem;
    gap: 20px;
    color: azure;
}

.info-area img {
    width: 300px;
    height: 100%;
    margin-left: 30px;
}

.info-area span {
    margin: auto;
}

.info-area-r {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    height: 200px;
    background-color: #45a6e7;
    border-bottom: 2px dashed white;
    align-items: center;
    font-size: 2rem;
    color: azure;
}

.info-area-r img {
    width: 300px;
    height: 100%;
    margin-right: 30px;
}

.info-area-r span {
    margin: auto;
}

/**** FOOTER ****/
footer {
	width: 100%;
    height: 50px;
    background-color: #45a6e7;
    color: white;
    text-align: center;
    line-height: 50px;
    margin-top: 20px;
    flex-shrink: 0;
}

.menu-container {
    display: none;
}

/**** ANİMASYON ****/
@keyframes slide {

    0% {
        transform: translateX(0);
    }

    26.66% {
        transform: translateX(0);
    }

    33.33% {
        transform: translateX(-100%);
    }

    60% {
        transform: translateX(-100%);
    }

    66.66% {
        transform: translateX(-200%);
    }

    93.33% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (hover: hover) and (pointer: fine) {
    .contact-us:hover {
        transform: scale(1.1);
        cursor: default;
    }

    .contact-us:hover .dropdown-contact {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
        pointer-events: auto;
    }
}

@media (min-width: 600px) and (max-width: 1024px) {

    /**** topbar ****/
    .topbar {
        justify-content: end;
    }

    .logo {
        display: flex;
        position: relative;
        width: 100%;
        height: 92px;
        left: 13%;
        top: -2px;
    }

    .infobar {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: start;
        padding-bottom: 5px;
        right: 0;
        margin-right: 0;
        padding-right: 10px;
        top: 5px;
        gap: 5px;
    }

    .info-item {
        width: 100%;
        display: flex;
        text-decoration: none;
        white-space: nowrap;
    }

    #info-map {
        white-space: nowrap;
    }

    #nav-num-alt {
        flex-direction: row;
        gap: 20px;
    }

    .contact-img {
        width: 17px;
        height: 17px;
    }

    .contact-text {
        margin-top: 3px;
        font-size: 12px;
    }

    .navbar {
        position: sticky;
    }

    .pagebar {
        display: none;
    }

    /**** navbar ****/
    .menu-container {
        display: block;
        width: 100%;
        position: fixed;
        top: 100px;
        z-index: 3;
    }

    /* 🔹 Hamburger */
    .hamburger {
        width: 32px;
        cursor: pointer;
        display: block;
        margin-left: auto;
        margin-right: 25px;
    }

    .hamburger input {
        display: none;
    }

    .hamburger svg {
        height: 3em;
        transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line {
        fill: none;
        stroke: white;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 3;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
            stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line-top-bottom {
        stroke-dasharray: 12 63;
    }

    .hamburger input:checked+svg {
        transform: rotate(-45deg);
    }

    .hamburger input:checked+svg .line-top-bottom {
        stroke-dasharray: 20 300;
        stroke-dashoffset: -32.42;
    }

    /* 🔹 Mobil Menü (varsayılan) */
    .menu {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
        background-color: #45a6e7;
        overflow-x: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 155px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(83, 83, 83, 0.685);
        z-index: 2;
    }

    .menu-overlay.active {
        display: block;
    }

    .menu.open {
        max-height: calc(100vh - 370px);
        overflow-y: auto;
    }

    .menu li,
    .menu a {
        padding: 12px;
        width: 100%;
        color: white;
        cursor: pointer;
        border-bottom: 1px dashed #ffffff;
    }

    .menu li:active {
        background-color: #68c3ff;
    }

    .has-submenu {
        margin-bottom: 5px;
    }

    /* Alt menü */
    .submenu {
        top: 10px;
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .submenu.open {
        max-height: none;
        margin-top: 12px;
    }

    .submenu li {
        padding: 10px 20px;
        border-bottom: 1px dashed #ffffff;
    }

    .contact-us-t {
        display: flex;
        color: azure;
        border: 2px solid white;
        padding: 5px;
        position: relative;
        z-index: 1000;
    }

    .contact-us {
        display: none;
    }
	
	.info-area span {
        font-size: 1.5rem;
    }
	
	.info-area-r span {
        font-size: 1.5rem;
    }

    /**** SLIDER ****/
    .slider {
        height: 50%;
    }
}

@media (max-width: 600px) {

    /**** topbar ****/
    .topbar {
        justify-content: space-between;
        gap: 5px;
    }

    .logo {
        display: flex;
        width: 100%;
        height: 90px;
        left: 0;
        top: -2px;
    }

    .infobar {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: start;
        padding-bottom: 5px;
        right: 0;
        margin-right: 0;
        padding-right: 10px;
        top: 5px;
        gap: 4px;
    }

    .info-item {
        width: 100%;
        display: flex;
        text-decoration: none;
        white-space: nowrap;
    }

    #info-map {
        white-space: nowrap;
    }

    #nav-num-alt {
        flex-direction: row;
        gap: 20px;
    }

    .contact-img {
        width: 17px;
        height: 17px;
    }

    .contact-text {
        margin-top: 3px;
        font-size: 12px;
    }

    .pagebar {
        display: none;
    }

    /**** navbar ****/
    /**** navbar ****/
    .menu-container {
        display: block;
        width: 100%;
        position: fixed;
        top: 100px;
        z-index: 200;
        overflow: hidden;
    }

    /* 🔹 Hamburger */
    .hamburger {
        width: 32px;
        cursor: pointer;
        display: block;
        margin-left: auto;
        margin-right: 25px;
    }

    .hamburger input {
        display: none;
    }

    .hamburger svg {
        height: 3em;
        transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line {
        fill: none;
        stroke: white;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 3;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
            stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line-top-bottom {
        stroke-dasharray: 12 63;
    }

    .hamburger input:checked+svg {
        transform: rotate(-45deg);
    }

    .hamburger input:checked+svg .line-top-bottom {
        stroke-dasharray: 20 300;
        stroke-dashoffset: -32.42;
    }

    /* 🔹 Mobil Menü (varsayılan) */
    .menu {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
        background-color: #45a6e7;
        overflow-x: hidden;
		overflow-y: auto;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 155px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(83, 83, 83, 0.685);
        z-index: 2;
    }

    .menu-overlay.active {
        display: block;
    }

    .menu.open {
        max-height: calc(100vh - 252px);
        overflow-y: auto;
    }

    .menu li,
    .menu a {
        padding: 12px;
        width: 100%;
        color: white;
        cursor: pointer;
        border-bottom: 1px dashed #ffffff;
    }

    .menu li:active {
        background-color: #68c3ff;
    }

    .has-submenu {
        margin-bottom: 5px;
    }

    /* Alt menü */
    .submenu {
        top: 10px;
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .submenu.open {
        max-height: none;
        margin-top: 12px;
    }

    .submenu li {
        padding: 10px 20px;
        border-bottom: 1px dashed #ffffff;
    }

    .contact-us-t {
        display: flex;
        color: azure;
        border: 2px solid white;
        padding: 5px;
        position: relative;
        z-index: 1000;
    }

    .contact-us {
        display: none;
    }
	
    /**** main ****/
	#content-home {
        height: 600px;
    }

    .info-area {
        height: 150px;
    }
	
    .info-area img {
        width: 200px;
        height: 100%;
        margin-left: 0;
    }

    .info-area span {
        font-size: 0.93rem;
        margin-right: 5px;
    }

    .info-area-r img {
        width: 250px;
        height: 100%;
        margin-right: 0;
    }

    .info-area-r span {
        font-size: 0.97rem;
        margin-left: 5px;
    }

    /**** SLIDER ****/
    .slider {
        height: 30%;
    }

    footer {
        font-size: 0.9rem;
		width: 100%;
    }
}