body {
    box-sizing: border-box;
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.fire-animation {
    animation: fire 2s ease-in-out infinite alternate;
}

@keyframes fire {
    0% { transform: scale(1) rotate(-2deg); }
    100% { transform: scale(1.05) rotate(2deg); }
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.typing-animation {
    overflow: hidden;
    border-right: 3px solid #667eea;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #667eea; }
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 🔽 ALT MENÜ - SCROLLLU, KAPANMADAN KAYAN, BODY SCROLLSUZ */
.alt-menu-container {
    position: relative;
    list-style: none;
}

/* Ana link */
.alt-menu-container > a {
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s;
}

/* Hover efekti */
.alt-menu-container > a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #facc15;
}

/* Alt menü kutusu */
.alt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0; /* 💡 ekstra genişlik taşmasın */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    flex-direction: column;
    min-width: 230px;
    max-height: 450px;
    overflow-y: auto;
    margin-top: 0;
    border-radius: 10px;
    z-index: 9999; /* 💡 her şeyin üstünde kalsın */
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease-in-out;
    pointer-events: none;
    overflow-x: hidden; /* 💡 yatay scrollbar’ı da kapat */
}

/* Alt menü iç linkler */
.alt-menu li a {
    display: block;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.alt-menu li a:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #facc15;
    transform: translateX(4px);
}

/* Menü açıkken görünür hale getir */
.alt-menu-container:hover .alt-menu,
.alt-menu-container:focus-within .alt-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Ok işareti animasyonu */
.ok-isareti {
    font-size: 0.8rem;
    margin-left: 4px;
    transition: transform 0.3s;
}

.alt-menu-container:hover .ok-isareti,
.alt-menu-container:focus-within .ok-isareti {
    transform: rotate(180deg);
}

/* Scroll çubuğu tasarımı (şık görünüm) */
.alt-menu::-webkit-scrollbar {
    width: 8px;
}

.alt-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.alt-menu::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.6);
    border-radius: 10px;
}

.alt-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.9);
}

/* 💡 Sayfa alt scrollbar’ını engelle */
body {
    overflow-x: hidden !important;
}

.firingorsel {
    
}

.sabit-buton {
    position: fixed;
    bottom: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 100;
}

.sabit-buton img {
    width: 2rem;
    height: auto;
}

.sabit-buton:hover {
    transform: scale(1.1);
}

.sabit-buton.telefon {
    background-color: #8ac149;
    left: 1rem;
}

.sabit-buton.whatsapp {
    background-color: #25d366;
    right: 1rem;
}