@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);
}

#page-about {
    border-bottom: 2px solid azure;
}

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;
}

#menu-icon {
    display: none;
}

/**** main-area ****/
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 155px;
    flex-grow: 1;
    background-color: azure;
}

#container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

#aboutus {
    position: relative;
    width: 45%;
    height: 650px;
    /* min-width: 500px; */
    background-color: #45a6e7;
    color: white;
    overflow: auto;
    box-sizing: border-box;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (max-height: 900px) {
    #aboutus {
        height: 750px;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    #owners {
        height: 300px;
    }

    #container {
        height: auto;
    }
}

.centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-content p {
    padding-left: 25px;
    padding-right: 25px;
    margin-top: 30px;
    color: white;
}

.centered-content a {
    border-top: 2px solid azure;
    border-bottom: 2px solid azure;
}

.centered-content a:hover {
    transform: scale(1.1);
}

#owners {
    height: 300px;
    position: relative;
    display: flex;
    width: 530px;
    background-color: #45a6e7;
    border-radius: 50px;
    overflow-y: auto;
    gap: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.divider {
    position: relative;
    border-left: 1px dashed white;
    height: 100%;
    left: 2px;
}

.owners-ppf {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: white;
    text-align: center;
    gap: 30px;
}

.owners-pps {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: white;
    text-align: center;
    gap: 30px;
}

.owners-img {
    width: 150px;
    height: 130px;
    border: 2px dashed white;
    border-radius: 50px;
    margin-top: 3px;
}

/**** FOOTER ****/
footer {
    width: 100%;
    height: 50px;
    background-color: #45a6e7;
    color: white;
    text-align: center;
    line-height: 50px;
    margin-top: auto;
    flex-shrink: 0;
}

.menu-container {
    display: none;
}

@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: 1024px) and (max-width: 1350px) {
    #container {
        gap: 1%;
    }
}

@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;
        overflow: hidden;
    }

    /* 🔹 Hamburger */
    .hamburger {
        width: 32px;
        cursor: pointer;
        display: block;
        margin-left: auto;
        margin-right: 25px;
        padding-right: 15px;
        overflow: hidden;
    }

    .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;
    }

    /* main */
    main {
        background-color: azure;
    }

    #container {
        flex-direction: column;
        height: auto;
    }

    #aboutus {
        width: 100%;
        height: 100%;
        margin-top: 30px;
    }

    .centered-content p {
        margin-top: 0;
    }

    #owners {
        height: 430px;
    }

    .mailto {
        font-size: 0.95rem;
    }

    /*** footer ***/
    footer {
        margin-top: 10px;
    }
}

@media (max-width: 600px) {

    /**** topbar ****/
    .topbar {
        justify-content: space-between;
        gap: 0;
    }

    .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 ****/
    .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;
        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 */
    main {
        background-color: rgb(172, 172, 172);
    }

    #container {
        height: auto;
        flex-direction: column;
        margin-top: 30px;
        gap: 2%;
    }

    #aboutus {
        min-width: 100%;
        height: 100%;
        margin-top: 0px;
    }

    .centered-content p {
        margin-top: 0;
    }

    .centered-content a {
        border-top: 2px solid azure;
        border-bottom: 2px solid azure;
    }

    #owners {
        width: 100%;
        height: 430px;
    }

    .owners-ppf,
    .owners-pps {
        margin: 0;
        width: 100%;
    }

    .mailto {
        font-size: 0.685rem;
    }

    footer {
        font-size: 0.9rem;
        margin-top: 10px;
    }
}