/* Custom CSS - Skybelt Şemsiye */

/* Custom Properties */
:root {
    --primary-red: #dc2626;
    --primary-red-dark: #b91c1c;
    --primary-gray: #1f2937;
    --primary-gray-light: #f9fafb;
    --accent-blue: #2563eb;
    --accent-green: #16a34a;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-gray);
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Custom Button Styles */
.btn-primary {
    @apply inline-flex items-center justify-center px-6 py-3 bg-red-600 text-white font-semibold rounded-lg hover:bg-red-700 transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-1;
}

.btn-secondary {
    @apply inline-flex items-center justify-center px-6 py-3 border-2 border-red-600 text-red-600 font-semibold rounded-lg hover:bg-red-600 hover:text-white transition-all duration-300 transform hover:-translate-y-1;
}

.btn-outline {
    @apply inline-flex items-center justify-center px-6 py-3 border-2 border-gray-300 text-gray-700 font-medium rounded-lg hover:border-red-600 hover:text-red-600 transition-all duration-300;
}

/* Custom Card Styles */
.card {
    @apply bg-white rounded-xl shadow-lg overflow-hidden transition-all duration-300 hover:shadow-xl transform hover:-translate-y-2;
}

.card-hover {
    @apply hover:shadow-2xl hover:scale-105 transition-all duration-500;
}

/* Custom Form Styles */
.form-input {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent transition-all duration-300;
}

.form-textarea {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent transition-all duration-300 resize-none;
}

.form-label {
    @apply block text-sm font-medium text-gray-700 mb-2;
}

/* Custom Section Styles */
.section-padding {
    @apply py-20 lg:py-32;
}

.section-title {
    @apply text-3xl lg:text-4xl font-bold text-gray-900 mb-4;
}

.section-subtitle {
    @apply text-xl text-gray-600 max-w-3xl mx-auto;
}

/* Custom Grid Styles */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Custom Background Patterns */
.bg-pattern-dots {
    background-image: radial-gradient(circle, #e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-pattern-grid {
    background-image: linear-gradient(rgba(0,0,0,.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,0,0,.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-dark);
}

/* Custom Selection */
::selection {
    background: var(--primary-red);
    color: white;
}

/* Custom Focus Styles */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

/* Custom Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-xl {
    @apply text-4xl lg:text-6xl font-bold leading-tight;
}

.heading-lg {
    @apply text-3xl lg:text-5xl font-bold leading-tight;
}

.heading-md {
    @apply text-2xl lg:text-4xl font-bold leading-tight;
}

.heading-sm {
    @apply text-xl lg:text-3xl font-bold leading-tight;
}

/* Custom Spacing */
.space-section {
    @apply py-16 lg:py-24;
}

.space-section-sm {
    @apply py-12 lg:py-16;
}

.space-section-lg {
    @apply py-24 lg:py-32;
}

/* Custom Shadows */
.shadow-soft {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.shadow-medium {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.shadow-strong {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.16);
}

/* Custom Borders */
.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--primary-red), var(--accent-blue)) 1;
}

.border-dashed-custom {
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
}

/* Custom Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Custom Responsive Utilities */
@media (max-width: 640px) {
    .mobile-hidden {
        display: none;
    }
    
    .mobile-full {
        width: 100%;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .tablet-hidden {
        display: none;
    }
}

/* Custom Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .page-break {
        page-break-before: always;
    }
}

/* Custom Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-gray: #f9fafb;
        --primary-gray-light: #1f2937;
    }
}

/* Custom High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-red: #000000;
        --primary-gray: #000000;
    }
    
    .btn-primary {
        border: 2px solid #000000;
    }
}

/* Custom Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
