/*
Theme Name: Bornova Belediyesi Başvuru Teması
Theme URI: https://basvuru.bornova.bel.tr
Author: Bornova Belediyesi
Author URI: https://bornova.bel.tr
Description: Bornova Belediyesi online başvuru sistemi için özel olarak tasarlanmış modern ve responsive WordPress teması
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bornova
Tags: responsive, accessibility-ready, custom-menu, featured-images
*/

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

:root {
    --primary-blue: #1e88e5;
    --dark-blue: #0d47a1;
    --light-blue: #bbdefb;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(30, 136, 229, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Header */
.header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section img {
    height: 70px;
    width: auto;
}

/* Header Social Media */
.header-social-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.header-social-links .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--text-dark);
    background: var(--light-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.header-social-links .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.header-social-links .social-icon:hover {
    color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 16px rgba(30, 136, 229, 0.3);
}

.header-social-links .social-icon:hover::before {
    opacity: 1;
}

.header-social-links svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    min-height: 500px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.7) 0%, rgba(13, 71, 161, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Services Section */
.services {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.service-box {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--light-blue);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-image-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--light-gray);
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
    display: block;
}

.service-box:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 10;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.btn-primary:focus,
.btn-primary:active {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
}

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

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-info h4 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    font-size: 1.05rem;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .header-social-links {
        gap: 1.5rem;
    }

    .hero {
        padding: 4rem 1rem;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-content {
        padding: 1.5rem;
    }

    .logo-section img {
        height: 50px;
    }

    .header-social-links a {
        width: 36px;
        height: 36px;
    }

    .header-social-links svg {
        width: 20px;
        height: 20px;
    }
}
