/* Forever Medical Solutions - Custom Styles */
/* Kurumsal Renk Paleti */
:root {
    --primary-color: #00A3E0;        /* C:77 M:21 Y:12 K:1 - Ana mavi */
    --secondary-color: #2D4A69;      /* C:90 M:57 Y:36 K:25 - Koyu mavi-gri */
    --accent-color: #0B0B0B;         /* C:91 M:79 Y:62 K:97 - Siyah */
    --light-color: #f8fafc;
    --white: #ffffff;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --dark-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
}

/* Simple soft sticky header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 6.1s ease-out, opacity 5.1s ease-out;
    transform: translateY(0);
    opacity: 1;
}

/* Header hidden state */
.sticky-header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Header visible state */
.sticky-header.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Add top padding to body to compensate for fixed header */
body.has-fixed-header {
    padding-top: 80px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1e40af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom shadows */
.shadow-medical {
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
}

/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Form styles */
.form-input {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all;
}

.form-textarea {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all resize-none;
}

.form-select {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all bg-white;
}

.btn-primary {
    background-color: var(--primary-color);
    @apply text-white px-6 py-3 rounded-lg font-semibold transition-colors;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    @apply bg-gray-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-gray-700 transition-colors;
}

.btn-success {
    @apply bg-green-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-green-700 transition-colors;
}

.btn-danger {
    @apply bg-red-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-red-700 transition-colors;
}

/* Medical themed colors */
.bg-medical-gradient {
    background: var(--primary-gradient);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.border-primary {
    border-color: var(--primary-color);
}

/* Product card styles */
.product-card {
    @apply bg-white rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 overflow-hidden;
}

.product-card:hover {
    transform: translateY(-4px);
}

/* Breadcrumb styles */
.breadcrumb {
    @apply flex items-center space-x-2 text-sm text-gray-600;
}

.breadcrumb a {
    @apply hover:text-blue-600 transition-colors;
}

.breadcrumb .separator {
    @apply text-gray-400;
}

/* Alert styles */
.alert {
    @apply p-4 rounded-lg mb-4;
}

.alert-success {
    @apply bg-green-100 border border-green-200 text-green-800;
}

.alert-error {
    @apply bg-red-100 border border-red-200 text-red-800;
}

.alert-warning {
    @apply bg-yellow-100 border border-yellow-200 text-yellow-800;
}

.alert-info {
    @apply bg-blue-100 border border-blue-200 text-blue-800;
}

/* Navigation Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    width: 12rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-out;
    z-index: 50;
}

.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s ease;
}

.dropdown-menu a:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.dropdown-menu a:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.dropdown-menu a:hover {
    background-color: #f9fafb;
    color: var(--primary-color);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.dropdown-toggle:hover {
    color: var(--primary-color);
}

.dropdown-toggle i {
    margin-left: 0.25rem;
    font-size: 0.75rem;
    transition: transform 0.15s ease;
}

.dropdown-container:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Table styles */
.table {
    @apply w-full border-collapse bg-white rounded-lg overflow-hidden shadow;
}

.table th {
    @apply bg-gray-50 px-6 py-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider;
}

.table td {
    @apply px-6 py-4 whitespace-nowrap text-sm text-gray-900 border-t border-gray-200;
}

.table tbody tr:hover {
    @apply bg-gray-50;
}

/* Modal styles */
.modal-overlay {
    @apply fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4;
}

.modal-content {
    @apply bg-white rounded-lg max-w-md w-full p-6 transform transition-all;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive image gallery */
.image-gallery {
    @apply grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4;
}

.image-gallery img {
    @apply w-full h-32 object-cover rounded-lg cursor-pointer hover:opacity-80 transition-opacity;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dark-mode {
        @apply bg-gray-900 text-white;
    }
    
    .dark-mode .bg-white {
        @apply bg-gray-800;
    }
    
    .dark-mode .text-gray-900 {
        @apply text-white;
    }
    
    .dark-mode .border-gray-200 {
        @apply border-gray-700;
    }
}

/* Focus indicators for accessibility */
.focus\:ring-medical:focus {
    --tw-ring-color: rgba(30, 64, 175, 0.5);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .high-contrast {
        filter: contrast(150%);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive fix */
* {
    box-sizing: border-box;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Custom utilities */
.text-gradient {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
}

/* File upload styles */
.file-upload {
    @apply relative overflow-hidden bg-white border-2 border-dashed border-gray-300 rounded-lg p-6 text-center hover:border-blue-500 transition-colors cursor-pointer;
}

.file-upload input[type="file"] {
    @apply absolute inset-0 w-full h-full opacity-0 cursor-pointer;
}

/* Notification styles */
.notification {
    @apply fixed top-4 right-4 z-50 p-4 rounded-lg shadow-lg transform transition-all duration-300;
}

.notification.show {
    @apply translate-x-0 opacity-100;
}

.notification.hide {
    @apply translate-x-full opacity-0;
} 

/* Modern PDF Download Button Styles */
.btn-pdf-download {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-width: 200px;
}

.btn-pdf-download:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-pdf-download:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.btn-pdf-download:hover:before {
    opacity: 1;
}

.btn-pdf-download:active {
    transform: translateY(-2px);
}

.btn-pdf-download .btn-icon {
    position: relative;
    z-index: 1;
    margin-right: 8px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-pdf-download .btn-text {
    position: relative;
    z-index: 1;
}

.btn-pdf-download:hover .btn-icon {
    transform: scale(1.1);
}

/* Loading state for PDF download */
.btn-pdf-download.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Premium PDF Download Button */
.btn-pdf-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-width: 280px;
}

.btn-pdf-premium:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-pdf-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(255, 107, 107, 0.4);
    text-decoration: none;
    color: white;
}

.btn-pdf-premium:hover:before {
    left: 100%;
}

.btn-pdf-premium .btn-icon {
    margin-right: 12px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-pdf-premium:hover .btn-icon {
    transform: scale(1.2);
}

/* Glassmorphism PDF Button */
.btn-pdf-glass {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.btn-pdf-glass:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-pdf-glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #2d3748;
}

.btn-pdf-glass:hover:before {
    opacity: 1;
}

.btn-pdf-glass .btn-icon {
    margin-right: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-pdf-glass:hover .btn-icon {
    transform: none;
}

/* Animated PDF Download Button */
.btn-pdf-animated {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #00A3E0 0%, #2D4A69 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    min-width: 220px;
}

.btn-pdf-animated:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-pdf-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 163, 224, 0.3);
    text-decoration: none;
    color: white;
}

.btn-pdf-animated:hover:before {
    width: 300px;
    height: 300px;
}

.btn-pdf-animated .btn-icon {
    margin-right: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-pdf-animated .btn-text {
    position: relative;
    z-index: 1;
}

.btn-pdf-animated:hover .btn-icon {
    transform: none;
}

/* Download progress indicator */
.btn-pdf-progress {
    position: relative;
    overflow: hidden;
}

.btn-pdf-progress:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.btn-pdf-progress.downloading:after {
    width: 100%;
    animation: downloadProgress 2s ease-out;
}

@keyframes downloadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-pdf-download,
    .btn-pdf-premium,
    .btn-pdf-glass,
    .btn-pdf-animated {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 180px;
    }
    
    .btn-pdf-premium {
        padding: 16px 32px;
        font-size: 16px;
        min-width: 240px;
    }
} 

/* Corporate PDF Download Button Styles */
.btn-pdf-corporate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #00A3E0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 163, 224, 0.2);
}

.btn-pdf-corporate:hover {
    background: #2D4A69;
    box-shadow: 0 4px 12px rgba(0, 163, 224, 0.3);
    text-decoration: none;
    color: white;
}

.btn-pdf-corporate .btn-icon {
    margin-right: 8px;
    font-size: 14px;
}

.btn-pdf-corporate-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: transparent;
    color: #00A3E0;
    border: 2px solid #00A3E0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-pdf-corporate-outline:hover {
    background: #00A3E0;
    color: white;
    text-decoration: none;
}

.btn-pdf-corporate-outline .btn-icon {
    margin-right: 8px;
    font-size: 14px;
}

/* Small Corporate Buttons */
.btn-pdf-small {
    padding: 8px 16px;
    font-size: 13px;
    min-width: 120px;
    border-radius: 6px;
}

.btn-pdf-small .btn-icon {
    margin-right: 6px;
    font-size: 12px;
}

/* Simple Corporate Card */
.catalog-card-simple {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-card-simple:hover {
    border-color: #00A3E0;
    box-shadow: 0 4px 16px rgba(0, 163, 224, 0.1);
}

.catalog-card-simple .catalog-icon {
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.catalog-card-simple:hover .catalog-icon {
    background: #00A3E0;
    border-color: #00A3E0;
    color: white;
}

.catalog-card-simple .catalog-icon i {
    font-size: 20px;
    color: #6b7280;
    transition: color 0.3s ease;
}

.catalog-card-simple:hover .catalog-icon i {
    color: white;
}

.catalog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-content h3 {
    margin-bottom: 12px;
}

.catalog-content p {
    margin-bottom: 16px;
    flex: 1;
}

.catalog-info {
    margin-bottom: 16px;
}

.catalog-button {
    margin-top: auto;
}

/* Corporate section styling */
.section-corporate {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e5e7eb;
}

.section-corporate h2 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-corporate p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

/* Corporate info badges */
.info-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
    margin-right: 8px;
}

.info-badge i {
    margin-right: 4px;
    font-size: 10px;
}

/* Responsive adjustments for corporate styles */
@media (max-width: 768px) {
    .btn-pdf-corporate,
    .btn-pdf-corporate-outline {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 140px;
    }
    
    .btn-pdf-small {
        padding: 8px 14px;
        font-size: 12px;
        min-width: 100px;
    }
    
    .catalog-card-simple {
        padding: 20px;
    }
    
    .section-corporate {
        padding: 24px;
    }
} 

/* DISABLE ALL ANIMATIONS ON E-CATALOG PAGE */
body.e-catalog-page *,
body.e-catalog-page *:before,
body.e-catalog-page *:after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

body.e-catalog-page .btn-pdf-corporate:hover,
body.e-catalog-page .btn-pdf-corporate-outline:hover {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

body.e-catalog-page .btn-icon {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

body.e-catalog-page .btn-icon:hover {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

/* Force disable Tailwind animations */
body.e-catalog-page .animate-pulse,
body.e-catalog-page .animate-spin,
body.e-catalog-page .animate-bounce {
    animation: none !important;
} 