/* Kahramanmaraş Su Tesisatçısı - CSS */

:root {
    --primary-color: #1a3a52;
    --accent-color: #ff6b35;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --green: #22c55e;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Desktop */
.header-desktop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .header-desktop {
        display: block;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon {
    font-size: 18px;
    color: var(--accent-color);
    margin-right: 5px;
}

.header-title {
    font-weight: bold;
    font-size: 18px;
}

.btn-call {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-call:hover {
    background: #e55100;
    transform: scale(1.05);
}

/* Header - Mobile */
.header-mobile {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    z-index: 100;
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .header-mobile {
        display: none;
    }
}

.mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.mobile-header-content h1 {
    font-size: 16px;
    font-weight: bold;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    display: none;
    background: var(--secondary-color);
    border-top: 3px solid var(--accent-color);
    flex-direction: column;
}

.mobile-menu.active {
    display: flex;
}

.menu-item {
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: background 0.3s;
}

.menu-item:hover {
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0 50px;
    margin-top: 60px;
}

@media (max-width: 767px) {
    .hero {
        margin-top: 70px;
        padding: 40px 0;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 767px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 32px;
    }
}

.subtitle {
    font-size: 20px;
    color: #ddd;
    margin-bottom: 15px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    margin: 15px 0;
}

.hero-description {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e55100;
    transform: scale(1.05);
}

.btn-whatsapp {
    background: var(--green);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #16a34a;
    transform: scale(1.05);
}

.btn-dark {
    background: var(--primary-color);
    color: var(--white);
}

.btn-dark:hover {
    background: #0f2438;
    transform: scale(1.05);
}

.hero-image {
    display: none;
}

@media (min-width: 768px) {
    .hero-image {
        display: block;
    }
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Features Section */
.features {
    background: var(--light-bg);
    padding: 50px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-icon i {
    display: inline-block;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-card p {
    color: #666;
    font-size: 14px;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 28px;
    }
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

/* Services Section */
.services {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.service-icon i {
    display: inline-block;
}

.service-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 14px;
}

/* Districts Section */
.districts {
    background: var(--light-bg);
    padding: 60px 0;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.district-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s;
}

.district-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.district-card h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.district-card p {
    font-size: 13px;
    color: #666;
}

/* Why Us Section */
.why-us {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.why-us h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.why-card h3 {
    font-size: 20px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.why-card p {
    color: #ddd;
    line-height: 1.8;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e55100 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p,
.footer-section li {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 14px;
}

/* Mobile Tab Bar */
.mobile-tab-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    border-top: 3px solid var(--accent-color);
    z-index: 99;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .mobile-tab-bar {
        display: none;
    }
}

.tab-item {
    flex: 1;
    padding: 12px;
    text-align: center;
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    transition: background 0.3s;
    border-right: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tab-item i {
    font-size: 18px;
}

.tab-item span {
    font-size: 11px;
}

.tab-item:last-child {
    border-right: none;
}

.tab-item:hover {
    background: var(--secondary-color);
}

.tab-call {
    background: var(--accent-color);
}

.tab-call:hover {
    background: #e55100;
}

.tab-whatsapp {
    background: var(--green);
}

.tab-whatsapp:hover {
    background: #16a34a;
}

/* Mobile Social Buttons */
.mobile-social-buttons {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 20px;
    top: 100px;
    gap: 10px;
    z-index: 98;
}

@media (min-width: 768px) {
    .mobile-social-buttons {
        display: none;
    }
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s;
    color: var(--white);
}

.social-btn i {
    font-size: 24px;
}

.social-btn:hover {
    transform: scale(1.1);
}

.call-btn {
    background: var(--accent-color);
    color: var(--white);
}

.instagram-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

.whatsapp-btn {
    background: var(--green);
    color: var(--white);
}

/* Padding for mobile bottom tab */
@media (max-width: 767px) {
    body {
        padding-bottom: 80px;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}
