/* ========================================
   Yalçınlar Sulama - Ana Stil Dosyası
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2d5a87;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --border-color: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* ========================================
   Header & Navigation
   ======================================== */
.navbar-main {
    background: white;
    box-shadow: var(--shadow-md);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-main .navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-main .navbar-brand i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.navbar-main .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 1.25rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--accent-color);
}

.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
    width: 80%;
}

.navbar-main .btn-call {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.navbar-main .btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
    color: white;
}

/* ========================================
   Hero / Slider Section
   ======================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(45, 90, 135, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
}

.btn-hero-primary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.btn-hero-whatsapp {
    background: #25d366;
    color: white;
    border: none;
}

.btn-hero-whatsapp:hover {
    background: #20bd5a;
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.section-light {
    background: var(--bg-light);
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    color: white;
}

.service-card h4 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   Product Cards
   ======================================== */
.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 3rem;
}

.product-body {
    padding: 1.5rem;
}

.product-body h5 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success-color);
}

.product-price.call {
    color: var(--accent-color);
    font-size: 1rem;
}

.product-footer {
    padding: 0 1.5rem 1.5rem;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: var(--gradient-primary);
    color: white;
}

.about-section h2 {
    color: white;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature h5 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.about-feature p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: var(--gradient-accent);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand i {
    color: var(--accent-color);
    font-size: 2rem;
}

.footer h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ========================================
   Cookie Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

/* ========================================
   WhatsApp Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    justify-content: center;
    margin: 0;
    background: transparent;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item.active {
    color: white;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-info-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-info-card h5 {
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-muted);
    margin: 0;
}

.contact-info-card a {
    color: var(--text-color);
    font-weight: 600;
}

/* ========================================
   Utilities
   ======================================== */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-accent);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.btn-outline-primary {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary-gradient {
    background: var(--gradient-primary);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-slide {
        min-height: 500px;
    }

    .section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Mobile Navigation */
    .navbar-main {
        padding: 0.5rem 0;
    }

    .navbar-main .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-main .navbar-brand i {
        font-size: 1.5rem;
    }

    .navbar-main .navbar-toggler {
        border: none;
        padding: 0.5rem;
        background: transparent;
    }

    .navbar-main .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-main .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231e3a5f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-main .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-top: 1px solid var(--border-color);
        padding: 1rem 0;
        z-index: 1000;
    }

    .navbar-main .navbar-nav {
        padding: 0 1rem;
    }

    .navbar-main .nav-link {
        padding: 1rem 1.25rem !important;
        border-radius: 0.5rem;
        margin: 0.25rem 0;
    }

    .navbar-main .nav-link:hover {
        background: var(--bg-light);
    }

    .navbar-main .nav-link::after {
        display: none;
    }

    .navbar-main .btn-call {
        margin: 1rem;
        justify-content: center;
        width: calc(100% - 2rem);
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-slide {
        min-height: 400px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        min-width: auto;
    }

    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .top-bar {
        display: none !important;
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .footer {
        padding: 2.5rem 0 0;
    }

    .footer-brand {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .service-card,
    .product-card {
        margin-bottom: 1rem;
    }

    .product-image {
        height: 180px;
    }

    .about-feature {
        flex-direction: column;
        text-align: center;
    }

    .about-feature i {
        margin: 0 auto 1rem;
    }
}

/* Lazy Loading */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[data-src].loaded {
    opacity: 1;
}