/* Custom CSS for SanalOperator */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Logo animasyonları */
@keyframes logo-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

header img {
    transition: all 0.3s ease;
}

header img:hover {
    animation: logo-float 2s ease-in-out infinite;
}

.hero-image {
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

/* Background effects */
.bg-blur {
    backdrop-filter: blur(8px);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button hover effects */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

/* Card hover effects */
.feature-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness tweaks */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    h3 {
        font-size: 1.4rem !important;
    }
    
    .countdown-timer {
        margin-top: 2rem !important;
    }
    
    .countdown-timer .flex {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    .countdown-box {
        margin-bottom: 10px;
    }
    
    .py-16 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-16 {
        margin-bottom: 2rem !important;
    }
    
    .mb-12 {
        margin-bottom: 1.5rem !important;
    }
    
    section {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    audio {
        width: 100% !important;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .glass-effect {
        padding: 1.5rem !important;
    }
}

/* Küçük mobil cihazlar için ek ayarlar */
@media (max-width: 480px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    h1 {
        font-size: 1.7rem !important;
    }
    
    .countdown-box div {
        width: 16vw !important;
        padding: 0.5rem !important;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    #days, #hours, #minutes, #seconds {
        font-size: 1.2rem !important;
    }
    
    .social-icons {
        justify-content: center !important;
    }
    
    .pt-6 {
        padding-top: 1rem !important;
    }
}

/* Dropdown menu for mobile navbar */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(17, 24, 39, 0.95);
    transition: right 0.3s ease;
    z-index: 100;
    padding: 40px 20px;
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    right: 0;
}

/* Form input focus styles */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Custom animations for page elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom styles for form elements */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Glass effect styling */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Mobil Uyumlu Footer */
@media (max-width: 768px) {
    footer .flex {
        flex-direction: column;
        text-align: center;
    }
    
    footer .mb-4 {
        margin-bottom: 1rem !important;
    }
}

/* Mobil Cihazlarda Formlar */
@media (max-width: 768px) {
    form input, form textarea, form button {
        font-size: 1rem !important;
    }
    
    form .mb-4 {
        margin-bottom: 1rem !important;
    }
}

/* Mobil Geri Sayım Timer Düzeltmeleri */
@media (max-width: 480px) {
    .countdown-timer .flex {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem !important;
    }
    
    .countdown-box div {
        width: auto !important;
    }
} 