/* son.css - Profesyonel Su Kaçak Tespiti Sitesi Stili */
:root {
    --primary-blue: #0066cc;
    --secondary-blue: #004d99;
    --accent-blue: #0088ff;
    --whatsapp-green: #25D366;
    --light-bg: #f0f8ff;
    --dark-text: #1a365d;
    --light-text: #2d3748;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--light-text);
    background-color: var(--white);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 136, 255, 0.05) 0%, transparent 20%);
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - İncelttik ve Logo Ortaladık */
header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 0.6rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

header img {
    max-width: 180px;
    height: auto;
    transition: var(--transition);
}

header img:hover {
    transform: scale(1.05);
}

/* Telefon Numarası - Daha Profesyonel Banner */
.phone-banner {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 1.2rem 0;
    text-align: center;
    position: sticky;
    top: 68px;
    z-index: 999;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
}

.phone-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.phone-banner .call-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.phone-banner .phone-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
}

.phone-banner .phone-number::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: var(--transition);
}

.phone-banner .phone-number:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    background: var(--light-bg);
}

.phone-banner .phone-number:hover::before {
    left: 100%;
}

.phone-banner .phone-icon {
    font-size: 1.3rem;
    animation: pulse 1.5s infinite;
    color: var(--primary-blue);
}

.phone-banner .phone-availability {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        color: var(--primary-blue);
    }
    50% { 
        transform: scale(1.2); 
        color: var(--accent-blue);
    }
}

/* Navigation Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    margin: 2rem 0;
    padding: 0.8rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-link:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Main Content Styles */
.content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-blue);
}

.content h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}

.content h2 {
    color: var(--secondary-blue);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-blue);
}

.content p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.content ul {
    list-style: none;
    margin: 1.5rem 0;
}

.content ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.content ul li:last-child {
    border-bottom: none;
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 3rem 0;
    border: 2px solid var(--accent-blue);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%230066cc" opacity="0.1" d="M0,0 L100,0 L100,100 Z"/></svg>');
    background-size: cover;
}

.contact-section h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-section p {
    margin: 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-section strong {
    color: var(--secondary-blue);
}

.contact-section a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.contact-section a:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* WhatsApp Sabit Butonu */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    header {
        padding: 0.5rem 0;
    }
    
    header img {
        max-width: 150px;
    }
    
    .phone-banner {
        top: 60px;
        padding: 1rem 0;
    }
    
    .phone-banner .call-text {
        font-size: 1rem;
    }
    
    .phone-banner .phone-number {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
    
    .phone-banner .phone-availability {
        font-size: 0.8rem;
    }
    
    .content {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .content h1 {
        font-size: 2rem;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .phone-banner-content {
        gap: 0.6rem;
    }
    
    .phone-banner .phone-number {
        font-size: 1.1rem;
        padding: 0.7rem 1.3rem;
    }
    
    .content h1 {
        font-size: 1.8rem;
    }
    
    .content h2 {
        font-size: 1.3rem;
    }
    
    .contact-section h2 {
        font-size: 1.5rem;
    }
    
    .back-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-float img {
        width: 25px;
        height: 25px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content, .contact-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.content ul li:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
    transition: var(--transition);
}

/* Print Styles */
@media print {
    .back-link, .contact-section, .phone-banner, .whatsapp-float {
        display: none;
    }
    
    .content {
        box-shadow: none;
        border: none;
    }
}
