/*
Theme Name: Anela Pflegedienst Theme
Theme URI: https://anela-pflegedienst.de
Author: Custom Theme Developer
Author URI: https://anela-pflegedienst.de
Description: Özel geliştirilmiş Anela Pflegedienst bakım hizmetleri 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: anela-pflegedienst
Tags: healthcare, care-service, responsive, modern

This theme, like WordPress, is licensed under the GPL.
*/

/* ========================================
   GENEL STILLER
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #0a58ca;
    --accent-color: #17a2b8;
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.top-info {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 2px solid #e8f0fe;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.top-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555555;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-item i {
    color: #888888;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    color: var(--primary-color);
}

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 40px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    max-height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

nav a {
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
    font-size: 16px;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 3px;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ========================================
   HERO SLIDER
======================================== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.slide-subtitle {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.slide-description {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   HERO SLIDER
======================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8), rgba(10, 88, 202, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 40px;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .slide-content {
    animation: slideUp 1s ease-out;
}

.slide-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    background: rgba(23, 162, 184, 0.2);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid var(--accent-color);
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
    color: #ffffff;
}

.slide-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-weight: 400;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--white);
    width: 35px;
    border-radius: 6px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.slider-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0;
}

@keyframes progressBar {
    from { width: 0; }
    to { width: 100%; }
}

.slide-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.2);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* ========================================
   SECTIONS
======================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 50%;
    border-radius: 10px;
    border: 5px solid var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-text h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--white);
    border-radius: 5px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h5 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Cost Section */
.cost-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cost-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cost-text h4 {
    margin-bottom: 10px;
}

.cost-text h2 {
    margin-bottom: 30px;
}

.cost-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cost-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.cost-item h5 {
    margin-bottom: 10px;
    font-size: 18px;
}

.cost-item p {
    opacity: 0.9;
    line-height: 1.7;
}

.cost-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Why Choose Us Section */
.why-choose-section {
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.why-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-card h5 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Memorial Section */
.memorial-section {
    background: var(--white);
}

.memorial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.memorial-text {
    padding: 30px;
}

.memorial-text h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-style: italic;
}

.memorial-text h2 {
    margin-bottom: 30px;
}

.memorial-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 17px;
}

.memorial-image img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-section h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Footer pattern overlay */
footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding: 40px 0;
}

.footer-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-section i {
    color: var(--accent-color);
    margin-right: 8px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.2);
    margin: 0 -15px -20px -15px;
    padding: 30px 15px 20px;
}

.footer-bottom p {
    margin: 10px 0;
}

.footer-bottom a {
    color: var(--accent-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .header-content nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    
    .header-content nav.active {
        right: 0;
    }
    
    .header-content nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .about-content,
    .cost-content,
    .memorial-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image-secondary {
        display: none;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
}