
/* Temel stiller */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;300;400;700;900&display=swap');

html {
    font-family: 'Roboto Slab', serif;
}

a {
    text-decoration: none;
}

strong {
    color: black;
    font-weight: bolder;
}

/* Cursor stili */

body {
  cursor: url('/images/cursor.cur'), auto;
}

/* --------------------------------------------------------- */

/* WhatsApp butonu stilleri */

.whatsapp-button {
    position: fixed;
    z-index: 999;
    left: 20px;
    bottom: 20px;
    animation: vibrate 2s ease infinite, pulse-wp 2s ease infinite;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.7), 0 0 20px rgba(37, 211, 102, 0.5);
    border-radius: 50%;
}

.whatsapp-button img {
    width: 60px;
    height: auto;
}

.whatsapp-button:hover {
    animation: shake-on-hover 0.75s ease, pulse-wp 2s ease infinite;
}

@keyframes vibrate {
    0%, 50% { transform: translate(0, 0); }
    55% { transform: translate(-2px, 2px); }
    60% { transform: translate(2px, -2px); }
    65% { transform: translate(-2px, -2px); }
    70% { transform: translate(2px, 2px); }
    75% { transform: translate(0, 0); }
    100% { transform: translate(0, 0); }
}

@keyframes pulse-wp {
    0%, 50% { box-shadow: 0 0 10px rgba(37, 211, 102, 0.7); }
    50% { box-shadow: 0 0 20px rgba(37, 211, 102, 1); }
    100% { box-shadow: 0 0 10px rgba(37, 211, 102, 0.7); }
}

/* Mobil stili */

@media (max-width: 1080px) {
    .whatsapp-button {
        left: 10px;
        bottom: 10px;
    }

    .whatsapp-button img {
        width: 45px;
        height: auto;
    }
}

/* --------------------------------------------------------- */

/* Menu bari stilleri */

nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    width: 100%;
    height: 40px;
    top: 0px;
    padding: 5px;
    background-color: #00645f; 
    border-bottom: solid 3px white
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    flex-grow: 1;
    padding: 0;
    margin: 0;
    font-size: small;
    background-color: #00645f;
}

nav ul li {
    position: relative;
    display: inline-block;
}

nav ul li a {
    display: block;
    text-decoration: none;
    padding: 7px 12px;
    color: white;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #004d4d;
}

nav ul li ul {
    display: none;
    position: absolute;
    z-index: 999;
    opacity: 0;
    min-width: 175px;
    padding: 10px 0px;
    left: 0;
    background-color: #00645f;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

nav ul li:hover > ul,
nav ul li ul.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.3s ease-out;
}

nav ul li ul li {
    width: 100%;
}

nav ul li ul li a {
    display: block;
    text-decoration: none;
    padding: 10px;
    background-color: #00645f;
    color: white;
    transition: background-color 0.3s ease;    
}

nav ul li ul li a:hover {
    background-color: #004d4d;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Mobil stili */

@media (max-width: 1080px) {
    nav ul li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 5px 0;
    }
    
    nav ul li a span {
        display: none;
    }

    nav ul {
        display: flex;
        justify-content: center;
        padding: 0;
        margin: 0;
        flex-grow: 1;
    }
    
    nav ul li ul {
        min-width: 120px;
    }
    
    .menu-icon {
        width: 30px;
        height: 30px;
        margin: 0px 10px;
    }  
}

/* --------------------------------------------------------- */ 

/* Menu bilgi stilleri */

nav .nav-left {
    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: small;
    color: white;  
}

nav .nav-left a {
    text-decoration: none;
    margin-left: 5px;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav .nav-left a:hover {
    color: white;
    transform: scale(1.1);
}

nav .nav-right {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: small;
    color: white;  
}

.menu-icon {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 5px;    
}

/* Mobil stili */

@media (max-width: 1080px) {
    nav .nav-left, nav .nav-right {
        display: none;
    }
}

/* --------------------------------------------------------- */ 

/* Header stilleri */

header {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: white;
    margin: 50px 0px;    
}

.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 100px;
    background: white;
}

.banner-logo {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.banner-logo img {
    width: 250px;
    height: auto;
    display: block;
}

.banner-logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.1) 70%);
    transform: skewX(-25deg);
    animation: shine 6s infinite linear;
}

.search-container {
    display: flex;
}

.search-container input {
    width: 500px;
    padding: 8px;
    font-size: small;
    border: 2px solid #dcdcdc;
    border-radius: 5px;   
}

.search-container button {
    display: flex;
    padding: 8px 10px;
    cursor: pointer;
    font-size: small;
    background-color: #00645f;
    color: white; 
    border: none;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.5s ease, transform 0.5s ease;
}

.search-container button:hover {
    background-color: #004d4d;
    transform: scale(1.2);
}

.search-container .search-icon {
    width: 20px;
    height: auto;
    transition: transform 0.5s ease;
}

.search-container button:hover .search-icon {
    transform: scale(1.2);
}

.language-select {
    display: flex;
}

.language-select img {
    cursor: pointer;
    width: 40px;
    height: auto;
    margin-right: 5px;
    transition: transform 0.5s, opacity 0.5s;
}

.language-select img:hover {
    opacity: 0.8;
    transform: scale(1.2) rotate(15deg);
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Mobil stili */

@media (max-width: 1080px) {
    .banner {
        flex-direction: column;
        align-items: center;
    }

    .banner-logo {
        margin-bottom: 10px;
    }

    .language-select {
        justify-content: center;
        margin-top: 20px;
    }

    .search-container {
        display: flex;
        justify-content: center;
        width: 100%;
        height: auto;
        margin-top: 30px;
    }

    .search-container input {
        width: 80%;
        max-width: 300px;
        margin-right: 5px;
    }

    .search-container button {
        padding: 8px 10px;
    }
}

/* --------------------------------------------------------- */

/* Ileri-geri buton stilleri */

.nav-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    pointer-events: auto;
    top: 50%;
    width: 60px;
    height: 30%;
    padding: 20px 0;
    transform: translateY(-50%);
}

.left-nav {
    left: 20px;
}

.right-nav {
    right: 10px;
}

.nav-icon {
    position: relative;
    cursor: pointer;
    opacity: 0;
    width: 55px;
    height: 55px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-container:hover .nav-icon {
    opacity: 1;
}

.left-nav #back-button {
    transform: translateY(-50px);
}

.right-nav #next-button {
    transform: translateY(50px);
}

.left-nav:hover #back-button {
    transform: translateY(0);
}

.right-nav:hover #next-button {
    transform: translateY(0);
}

.left-nav:not(:hover) #back-button {
    transform: translateY(-50px);
}

.right-nav:not(:hover) #next-button {
    transform: translateY(50px);
}

/* Mobil stili */

@media (max-width: 1080px) {
    .left-nav, .right-nav {
        display: none;
    }
}

/* --------------------------------------------------------- */

/* Footer ust bilgi stilleri */ 

footer {
    text-align: center;
    width: 100%;
    background-color: #00645f;
    color: white;
    box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.1);
    background-image: url('images/footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 95, 0.75);
    z-index: 0;
}

footer * {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    align-items: center;
    padding: 50px 100px;
}

.footer-info {
    text-align: left;
}

.contact-info {
    display: flex;
    flex: 1;
    justify-content: center;
}

.social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#footer-owner {
    font-size: 20px;
    color: white;
    margin: 15px 0px;
}

.footer-logo {
    width: 225px;
    height: auto;
}

.footer-icon {
    width: 20px;
    height: auto;
    margin-right: 10px;
}

.footer-info p {
    font-size: 15px;
    line-height: 1.6;
}

.contact-info ul {
    list-style-type: disc;
    text-align: left;
}

.contact-info li {
    border-bottom: 2px solid white;
}

.contact-info a {
    display: block;
    margin: 7px 0px;
    font-size: 15px;
    color: white;
}

.contact-info a:hover {
    text-decoration: underline;
    color: white;
}

.social-media h3 {
    font-size: 20px;
    color: white;
    text-decoration: underline;
}

.social-media .social-icons {
    display: flex;
    gap: 15px;
}

.social-media img {
    width: 35px;
    height: auto;
    transition: transform 0.3s ease;
}

.social-media a:hover img {
    transform: scale(1.3);
}

.working-hours{
    width: 250px;
    height: auto;
}

.working-hours-h1 {
    text-align: left;
    margin: 10px 0px;
}

.working-hours ul {
    list-style-type: none;
    font-size: 15px;  
}

.working-hours li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0px;
    border-bottom: 2px solid white;
}

.current-status {
    display: flex;
    font-size: 15px;
    margin-top: 10px;
}

#status-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: red;
    margin-right: 10px;
}

#current-status-text {
    margin: 0;
}

/* Mobil stili */

@media (max-width: 1080px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 15px;
    }
    
    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin: 10px 10px;
    }
    
    .footer-logo {
        align-self: flex-start;
        width: 175px;
    }

    .footer-info p {
        text-align: left;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
        margin: 20px;
    }
    
    .social-media {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        margin-top: 15px;
    }
    
    .social-media h3 {
        text-align: left;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .social-media .social-icons {
        display: flex;
        gap: 10px;
    }
    
    .working-hours {
        text-align: left;
        width: 100%;
        margin-top: 15px;
    }
}

/* --------------------------------------------------------- */

/* Doviz bolumu stilleri */

.currency-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
    font-size: 15px;
    gap: 10px;
    color: white;
}

.currency-container img {
    width: 35px;
    height: auto;
}

/* --------------------------------------------------------- */

/* Footer alt bilgi stilleri */

.newsletter {
    margin-bottom: 20px;
}

.newsletter h3 {
    font-size: 17px;
    text-decoration: underline;
    margin-bottom: 10px;
}

.newsletter form {
    justify-content: center;
    gap: 5px;
}

.newsletter input[type="email"] {
    border: none;
    font-size: 15px;
    padding: 10px;
    border-radius: 5px;   
}

.newsletter button {
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    padding: 8px 16px;
    background-color: #555;
    color: white;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #9b1212;
}

.legal-info {
    font-size: 14px;
    line-height: 1.3;
}

.legal-info a {
    color: white;
    text-decoration: none;
}

.legal-info a:hover {
    text-decoration: underline;
}

#powered {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; 
    padding-bottom: 10px;
    color: white;   
}

#powered:hover {
    text-decoration: underline;
}

#powered-sign {
    width: 35px;
    height: auto;
    margin: 5px 0px 0px 10px;
}

/* Mobil stili */

@media (max-width: 1080px) {
    .newsletter {
        margin-bottom: 10px;
    }

    .newsletter h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .newsletter form {
        flex-direction: column;
        align-items: center; 
        gap: 5px;
    }

    .newsletter input[type="email"] {
        font-size: 13px;
        padding: 8px;
    }

    .newsletter button {
        max-width: 120px;
        font-size: 13px;
        padding: 6px 12px; 
    }

    .legal-info {
        text-align: center;
        font-size: 12px;
        margin: 5px 0px;
    }

    #powered {
        flex-direction: row;
        text-align: center;
        font-size: 12px;
    }

    #powered-sign {
        width: 35px;
        height: auto;
    }
}

/* --------------------------------------------------------- */

/* En uste cik butonu stilleri */

#scroll-to-top {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #00645f;
    color: white;
    border: 2px solid white;
    border-radius: 5px;  
    transition: opacity 0.5s, transform 0.5s;
    z-index: 999;
}

#scroll-to-top:hover {
    transition: 500ms;
    background-color: #00877a;
}
  
#scroll-to-top::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid white;
}
  
#scroll-to-top.show {
    opacity: 1;
    transform: translateY(0);
}
  
#scroll-to-top.hide {
    opacity: 0;
    transform: translateY(100px);
}

/* Mobil stili */

@media (max-width: 1080px) {
    #scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        border-radius: 5px;
    }

    #scroll-to-top::before {
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 12px solid white;
    }
}

/* --------------------------------------------------------- */

/* Yeni mesajiniz var butonu stilleri */

#new-message {
    position: fixed;
    cursor: pointer;
    z-index: 999;
    right: -250px;
    top: 60%;
    width: 80px;
    transition: right 3s;
    animation: auto-shake 3s ease infinite;
}

#new-message-image {
    width: 80px;
    height: auto;
}

#new-message:hover {
    animation: shake-on-hover 0.75s;
    animation-iteration-count: infinite;
}

@keyframes shake-on-hover {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

@keyframes auto-shake {
    0%, 50% { transform: translateX(0); }
    10%, 40% { transform: translateX(-5px); }
    20%, 30% { transform: translateX(5px); }
}

/* Mobil stili */

@media (max-width: 1080px) {
    #new-message {
        right: -150px;
        top: 70%;
        width: 60px;
        transition: right 2s;
    }

    #new-message-image {
        width: 60px;
        height: auto;
    }

    #new-message:hover {
        animation: shake-on-hover 0.75s;
    }
}

/* --------------------------------------------------------- */

/* MES Asistan stilleri */

#chat-window {
    display: none;
    position: fixed;
    z-index: 1000;
    opacity: 0;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    width: 280px;
    height: 360px;
    background-color: #ffffff;
    border: 2px solid #00645f;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

#chat-window.open {
    transform: translateY(0);
    opacity: 1;
}

#chat-window.close {
    transform: translateY(100%);
    opacity: 0;
}

#chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-header h3 {
    margin: 0;
    font-size: 20px;
    padding-bottom: 5px;
    margin-left: 75px;
    color: #00645f;
    border-bottom: 2px solid #00645f;
}

#close-button {
    cursor: pointer;
    opacity: 1;
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease;
}

#close-button:hover {
    opacity: 0.5;
}

#chat-content {
    overflow-y: auto;
    height: 70%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border: 1px solid #00645f;
    border-radius: 5px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  
}

.message-icon {
    width: 135px;
    height: 135px;
    margin-bottom: -10px;
}

.message-text {
    text-align: left;
    width: 100%;
    margin: 10px;
    font-size: 13px;
    line-height: normal;
    color: #333;   
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    width: 100%;
    height: 40px;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #00645f;
    transition: background-color 0.3s ease;  
}

.submit-button img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.submit-button:hover {
    background-color: #007d74;
}

/* Mobil stili */

@media (max-width: 1080px) {
    #chat-window {
        bottom: 10px;
        right: 10px;
        width: 60%;
        height: 400px;
        border-radius: 10px;
    }
}

/* --------------------------------------------------------- */

/* Loader stilleri */

.loader {
    position: fixed;
    z-index: 999;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    background: conic-gradient(#00645f 25%, transparent 0%);
    transform: translate(-50%, -50%) rotate(0deg);
    animation: spin 0.9s linear infinite;
}

.loader::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    background-color: #f0f0f0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.loader-image {
    position: absolute;
    z-index: 1000;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    transform: translate(-50%, -50%);
    padding-left: 10px;
    padding-bottom: 5px;
}

.hidden {
    display: none;
}


@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --------------------------------------------------------- */

