/* Custom Styles for G&G Sigorta */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Navbar Styles */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn-primary {
    @apply inline-flex items-center px-6 py-3 bg-accent text-white font-medium rounded-xl hover:bg-red-700 transition-all duration-200 shadow-sm hover:shadow-md;
}

.btn-secondary {
    @apply inline-flex items-center px-6 py-3 bg-white text-primary font-medium rounded-xl hover:bg-gray-50 transition-all duration-200 border-2 border-gray-200 hover:border-accent;
}

/* Card Styles */
.service-card {
    @apply bg-white p-6 rounded-2xl shadow-sm hover:shadow-lg transition-all duration-300 cursor-pointer border border-gray-100 hover:border-accent;
}

.benefit-card {
    @apply bg-white p-6 rounded-2xl shadow-sm hover:shadow-md transition-all duration-300;
}

.contact-card {
    @apply bg-white p-6 rounded-2xl shadow-sm hover:shadow-md transition-all duration-300;
}

.partner-logo {
    @apply bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition-all duration-300 flex items-center justify-center text-center font-semibold text-gray-600 hover:text-accent cursor-pointer border border-gray-100 hover:border-accent;
}

/* Form Styles */
.form-input {
    @apply w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-accent focus:ring-2 focus:ring-blue-100 outline-none transition-all duration-200;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #1a1a1a 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Section Spacing */
section {
    position: relative;
}

/* Background Patterns */
.bg-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.show {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

/* Cookie Notice Animation */
#cookie-notice.show {
    transform: translateY(0);
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.soft-shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.medium-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.strong-shadow {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    nav,
    footer,
    #cookie-notice {
        display: none;
    }
}