/* SU USTA TESİSAT - Ana Stil Dosyası */

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

/* Hero gradient overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.92) 0%, rgba(3, 105, 161, 0.85) 50%, rgba(234, 88, 12, 0.75) 100%);
}

/* Hizmet kartları hover efekti */
.hizmet-kart {
    transition: all 0.3s ease;
}
.hizmet-kart:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(3, 105, 161, 0.15);
}

/* İkon daire hover */
.ikon-daire {
    transition: all 0.3s ease;
}
.hizmet-kart:hover .ikon-daire {
    background-color: #ea580c;
    transform: scale(1.1);
}

/* İstatistik sayaç animasyonu */
.stat-item {
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: scale(1.05);
}

/* Fiyat tablosu satır hover */
.fiyat-satir {
    transition: background-color 0.2s ease;
}
.fiyat-satir:hover {
    background-color: #f0f9ff;
}

/* Pulse animasyonu - acil buton */
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 3px solid currentColor;
    animation: pulse-ring 1.5s ease-out infinite;
}

/* Scroll to top butonu */
.scroll-top {
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}
.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Form input focus */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0369a1;
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
}

/* Timeline çizgi */
.timeline-line {
    position: relative;
}
.timeline-line::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    bottom: 0;
    width: 2px;
    background-color: #0369a1;
}
.timeline-line:last-child::before {
    display: none;
}

/* Acil yanıp sönen ikon */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.blink {
    animation: blink 1s ease-in-out infinite;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #0369a1, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive gizleme yardımcıları */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
}


/* ===== Overflow / Tasma Korumasi ===== */
body {
    overflow-x: hidden;
}

*, *::before, *::after {
    max-width: 100%;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

p, li, td, th, a, span, h1, h2, h3, h4, h5, h6, label, blockquote {
    overflow-wrap: break-word;
    word-break: break-word;
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

pre, code {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
