/* İzmir Su Tesisat Ustası - Ana CSS Dosyası */

/* Temel stiller */
:root {
    --primary-color: #2563eb; /* Blue 600 */
    --primary-dark: #1d4ed8; /* Blue 700 */
    --primary-light: #3b82f6; /* Blue 500 */
    --secondary-color: #1e40af; /* Blue 800 */
    --accent-color: #06b6d4;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --success-color: #16a34a;
    --warning-color: #ea580c;
    --danger-color: #dc2626;
    --text-color: #374151; /* Gray 700 */
    --text-light: #6b7280; /* Gray 500 */
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --white: #ffffff;
    --light-gray: #f3f4f6; /* Gray 100 */
    --border-gray: #e5e7eb; /* Gray 200 */
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigasyon Menüsü Stilleri */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.logo-icon {
    margin-right: 10px;
    color: var(--primary-color);
}

.logo-text-primary {
    color: var(--primary-color);
}

.logo-text-secondary {
    color: var(--secondary-color);
}

.nav-container {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(14, 116, 144, 0.1);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(14, 116, 144, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 10px;
}

.mobile-menu-button {
    color: var(--text-color);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    background-color: rgba(14, 116, 144, 0.1);
    color: var(--primary-color);
}

.mobile-menu-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Navigasyon Menü Container */
.nav-container {
    display: flex;
    background: linear-gradient(to right, #ffffff, #f0fdfa);
    border-radius: 0.5rem;
    padding: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Header özel stilleri */
.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--box-shadow);
    border-bottom: 1px solid var(--border-gray);
}

/* Animasyonlar */
.animated {
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        visibility: visible;
    }
    to {
        transform: translateY(0);
    }
}

.slideInDown {
    animation-name: slideInDown;
}

/* Resim ve Ikon Stilleri */
.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Mobil Uyumluluk Düzeltmeleri */
@media (max-width: 640px) {
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Form Elemanları İçin Özel Stiller */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0d9488; /* teal-600 */
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Özel Button Hover Efektleri */
.btn-hover-effect {
    transition: all 0.3s ease;
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
}

/* Görüntüler İçin Özel Efektler */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.3s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Özel Renk Tanımlamaları */
.text-primary {
    color: #0d9488; /* teal-600 */
}

.bg-primary {
    background-color: #0d9488; /* teal-600 */
}

.border-primary {
    border-color: #0d9488; /* teal-600 */
}

/* Yardımcı Sınıflar */
.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Sayfa Geçişleri İçin Scroll Düzeltmesi */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Logo stili */
.logo-wrapper {
    display: flex;
    align-items: center;
}

/* Ana Sayfa Hero Bölümü */
.hero-section {
    position: relative;
    background-image: linear-gradient(rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.7)), url('/assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hizmetler Kartları */
.service-card {
    border-radius: 0.5rem;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    margin-bottom: 1.25rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ===== İletişim Formu ===== */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* ===== Bildiri Stili ===== */
.notification {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Responsive Stilleri ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Animasyonlar ===== */
.animated {
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -10%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInDown {
    animation-name: slideInDown;
}

/* ===== Footer Stili ===== */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-title {
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

/* ===== Bize Ulaşın Bölümü ===== */
.contact-info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

/* ===== Google Harita ===== */
.map-container {
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* ===== Sayfa Banner Stili ===== */
.page-banner {
    background-image: linear-gradient(rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.7)), url('/assets/img/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== CSS Değişkenleri ===== */
:root {
    --primary-color: #2563eb; /* Blue 600 */
    --primary-dark: #1d4ed8; /* Blue 700 */
    --primary-light: #3b82f6; /* Blue 500 */
    --secondary-color: #1e40af; /* Blue 800 */
    --accent-color: #06b6d4;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --success-color: #16a34a;
    --warning-color: #ea580c;
    --danger-color: #dc2626;
    --text-color: #374151; /* Gray 700 */
    --text-light: #6b7280; /* Gray 500 */
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --white: #ffffff;
    --light-gray: #f3f4f6; /* Gray 100 */
    --border-gray: #e5e7eb; /* Gray 200 */
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Navigasyon Menüsü Stilleri ===== */
/* Üst bilgilendirme çubuğu */
.bg-blue-900 {
    background: linear-gradient(to right, #1e40af, #1d4ed8);
}

@media (max-width: 768px) {
    .bg-blue-900 .text-xs {
        font-size: 0.7rem;
    }
}

/* Logo & İkon stilleri */
.logo-icon-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.logo-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(219, 234, 254, 0.8), rgba(219, 234, 254, 0));
    pointer-events: none;
}

/* Telefon ikonu rotasyonu */
.rotate-phone {
    transform: rotate(135deg) !important;
}

/* Mobil görünümde telefon numarası */
@media (max-width: 400px) {
    .phone-number {
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .phone-number {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.2);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.animate-pulse {
    animation: pulse-shadow 2s infinite;
}

/* Ana header stili */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--box-shadow);
    border-bottom: 1px solid var(--border-gray);
}

/* Navigasyon bağlantıları */
.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobil menü */
#mobile-menu {
    transform-origin: top center;
}

.mobile-menu-link {
    transition: var(--transition);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
}

.mobile-menu-link:hover {
    background-color: var(--light-gray);
    padding-left: 1.25rem;
}

.mobile-menu-link.active {
    color: var(--primary-color);
    font-weight: 500;
    background-color: rgba(219, 234, 254, 0.5);
}

/* ===== Animasyonlar ===== */
.animated {
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -10%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInDown {
    animation-name: slideInDown;
}

/* ===== Responsive Düzenlemeler ===== */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .logo-icon-wrapper {
        width: 10px;
        height: 10px;
    }
    
    .nav-link {
        padding: 8px 12px;
    }
} 