/* ============================================
   KALKAN SİGORTA - Kurumsal Sigorta Teması
   Güvenilir, Profesyonel, Modern
   ============================================ */

/* === Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: #1f2937;
    overflow-x: hidden;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1.3;
}

/* === Hero Section === */
.hero-gradient {
    background: linear-gradient(135deg, #1e3a5f 0%, #0c4a6e 40%, #059669 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #ffffff, transparent);
}

/* === Shield Pattern Background === */
.shield-pattern {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='white'%3E%3Cpath d='M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* === Card Styles === */
.insurance-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.insurance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a5f, #059669);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.insurance-card:hover::before {
    transform: scaleX(1);
}

.insurance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}

/* === Feature Cards === */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

/* === Stats Counter Animation === */
.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
}

.stat-item:last-child::after {
    display: none;
}

/* === Testimonial Cards === */
.testimonial-card {
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Nunito', sans-serif;
    font-size: 120px;
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: 20px;
    color: #059669;
    opacity: 0.08;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(30, 58, 95, 0.1);
}

/* === Form Styles === */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.form-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    outline: none;
}

.form-select {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-select:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    outline: none;
}

/* === File Upload Area === */
.file-upload-area {
    border: 2px dashed #d1d5db;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: #059669;
    background-color: #f0fdfa;
}

/* === Page Header Banner === */
.page-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0c4a6e 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v22H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z'/%3E%3C/g%3E%3C/svg%3E");
}

/* === Company Logos === */
.company-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.company-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* === Pulse Animation === */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 3px solid #059669;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

/* === Float Animation === */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* === Fade In Animation === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-up-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-up-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* === Gradient Text === */
.gradient-text {
    background: linear-gradient(135deg, #1e3a5f, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Section Divider === */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1e3a5f, #059669);
    border-radius: 2px;
}

/* === Insurance Detail Section === */
.insurance-detail-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.insurance-detail-card:hover {
    border-left-color: #059669;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
}

/* === Value Cards === */
.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: scale(1.03);
}

/* === Contact Card === */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(30, 58, 95, 0.12);
}

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

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a5f;
}

/* === Selection Color === */
::selection {
    background-color: rgba(5, 150, 105, 0.2);
    color: #1e3a5f;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .hero-gradient::after {
        height: 40px;
    }

    .shield-pattern {
        width: 250px;
        height: 250px;
        right: -10%;
    }

    .stat-item::after {
        display: none;
    }
}

/* === Print Styles === */
@media print {
    nav, footer, .fixed {
        display: none !important;
    }
    body {
        color: #000;
    }
}
