/**
 * Real Su Deposu Temizlik ve Dezenfektan
 * Complete Futuristic CSS - Part 2
 */
/* Hero Section Styles */
.hero-home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0066CC 0%, #00CCFF 100%);
}
[data-theme="dark"] .hero-home {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
}
#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}
.hero-content-home {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 2rem;
}
.hero-title-main {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.title-line {
    display: block;
}
.gradient-text {
    background: linear-gradient(135deg, #00FFFF 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle-main {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-cta-home {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    cursor: pointer;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}
/* Section Styles */
section {
    padding: 4rem 0;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
}
/* Services Grid */
.services-section {
    background: var(--bg-secondary);
    position: relative;
}
.services-section .services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(6, 182, 212, 0.9));
}
[data-theme="light"] .services-section .services-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(6, 182, 212, 0.88));
}
.services-section .section-title,
.services-section .section-subtitle {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.services-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card-home {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
[data-theme="dark"] .service-card-home {
    background: #111827;
    /* Darker, solid background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .service-title-home {
    color: #f3f4f6;
}
[data-theme="dark"] .service-desc-home {
    color: #9ca3af;
}
[data-theme="dark"] .service-card-home:hover {
    background: #1f2937;
    border-color: var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}
.service-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}
.service-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}
.service-card-home:hover .service-image img {
    transform: scale(1.1);
}
.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}
.service-card-inner {
    padding: 2rem;
}
.service-icon-home {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.service-title-home {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.service-desc-home {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.service-link-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: gap var(--transition-fast);
}
.service-link-home:hover {
    gap: 1rem;
}
/* Districts Grid */
.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.district-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
    color: var(--text-color);
}
.district-card:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
    transform: translateX(5px);
}
.district-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}
.district-card h3 {
    flex: 1;
    margin: 0;
    font-size: 1.1rem;
}
.district-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}
.district-card:hover .district-arrow {
    transform: translateX(5px);
}
/* Testimonials */
.testimonials-section {
    background: var(--bg-secondary);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
}
.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #FFD700;
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}
.testimonial-author strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}
.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
/* CTA Section */
.cta-section-home {
    background: var(--gradient-primary);
    color: #ffffff;
    text-align: center;
    padding: 5rem 0;
}
.cta-content-home h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.cta-content-home p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}
.cta-buttons-home {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* Footer */
.main-footer {
    background: var(--bg-secondary);
    color: var(--text-color);
    padding-top: 3rem;
}
.footer-top {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.footer-desc {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform var(--transition-fast);
}
.social-links a:hover {
    transform: translateY(-3px);
}
.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}
.footer-links a:hover {
    color: var(--primary-color);
}
.footer-contact {
    list-style: none;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}
.footer-bottom {
    padding: 1.5rem 0;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
/* Utility Classes */
.text-center {
    text-align: center;
}
.mt-4 {
    margin-top: 2rem;
}
/* Responsive */
@media (max-width: 768px) {
    .hero-cta-home,
    .cta-buttons-home {
        flex-direction: column;
        align-items: center;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .services-grid-home,
    .districts-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* Service Page Styles (Migrated from Template) */
.service-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.dark-mode .service-card,
[data-theme="dark"] .service-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.2);
}
.dark-mode .service-card:hover,
[data-theme="dark"] .service-card:hover {
    background: #1f2937;
    border-color: var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
}
.service-card .service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.service-card:hover .service-image img {
    transform: scale(1.1);
}
.service-card .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.8), rgba(0, 204, 255, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover .service-overlay {
    opacity: 1;
}
.service-card .service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card .service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}
.dark-mode .service-card .service-title,
[data-theme="dark"] .service-card .service-title {
    color: #f3f4f6;
}
.service-card .service-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
}
.dark-mode .service-card .service-description,
[data-theme="dark"] .service-card .service-description {
    color: #9ca3af;
}
/* Common Dark Modes */
.dark-mode .bg-light,
[data-theme="dark"] .bg-light {
    background: rgba(255, 255, 255, 0.02) !important;
}
/* Missing Services Grid Styles (Restored) */
.services-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
.services-grid {
    position: relative;
}
.services-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 0;
}
.dark-mode .services-grid::before,
[data-theme="dark"] .services-grid::before {
    background: rgba(10, 10, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.services-grid .container {
    position: relative;
    z-index: 1;
}