:root {
    --color-bg: #FFFFFF;
    --color-surface: #F8F9FA;
    --color-border: #DEE2E6;
    --color-white: #FFFFFF;
    --color-text-primary: #212529;
    --color-text-secondary: #6C757D;
    --color-primary: #8A4DAB;
    --color-secondary: #A96DCA;
    --color-danger: #DC3545;
    --color-blue: #00AFFF;
    --color-gradient: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    --font-family: 'Inter', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

body {
    opacity: 0;
    animation: bodyFadeIn 0.5s 0.3s forwards;
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    color: var(--color-text-secondary);
    font-weight: 400;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.body-visible {
    opacity: 1;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}


html {
  scrollbar-width: auto;
  scrollbar-color: var(--color-blue) var(--color-border);
}
::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background-color: var(--color-border);
}
::-webkit-scrollbar-thumb {
  background-color: var(--color-blue);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #0099D4;
}
::-webkit-scrollbar-button {
  display: none;
}

html, body {
    overflow-x: hidden;
}

body.mobile-menu-open {
    overflow-y: hidden;
    position: fixed;
    width: 100%;
}

@keyframes bodyFadeIn {
    to {
        opacity: 1;
    }
}
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-image: var(--color-gradient);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    color: var(--color-white);
}
main {
    flex: 1 0 auto;
}
/* Mobil ekranlar için */
@media (max-width: 768px) {
  .container, .ana-kutu, .hakkimizda-kutu {
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .slider, .hakkimizda {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
    .footer-map-bg, .footer-map-pins {
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }
}
.listing-card-v11 .v11-title a {
    color: var(--color-white);
}
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-toast-notification {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    color: #fff;
    min-width: 300px;
    max-width: 450px;
    opacity: 0;
    transform: translateX(100%);
    animation: toast-slide-in 0.5s forwards;
}

.custom-toast-notification.success {
    background-color: #28a745;
}
.custom-toast-notification.error {
    background-color: #dc3545;
}
.custom-toast-notification.info {
    background-color: #17a2b8;
}

.custom-toast-notification.fade-out {
    animation: toast-fade-out 0.5s forwards;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-message {
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-word;
}

@keyframes toast-slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toast-fade-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}