/*
Theme Name: Arcelik Servisi WordPress Temasi
Description: Istanbul Arcelik Servisi icin ozel WordPress temasi
Version: 1.0
Author: Arcelik Servisi
Text Domain: arcelik-servisi
*/

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

body.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e31e24;
}

.logo a {
    text-decoration: none;
    color: #e31e24;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #e31e24 0%, #d4001a 100%);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    overflow-y: auto;
}

.side-menu.active {
    right: 0;
}

.side-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    transition: padding-left 0.3s ease;
}

.side-menu a:hover {
    padding-left: 10px;
}

.brands-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 -30px;
    padding: 0 30px;
}

.brands-submenu.active {
    max-height: 600px;
    padding: 10px 30px;
}

.brand-toggle {
    display: block;
    padding: 8px 0 8px 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: padding-left 0.3s ease;
    position: relative;
}

.brand-toggle:hover {
    padding-left: 30px;
}

.brand-toggle:after {
    content: "▼";
    position: absolute;
    right: 10px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.brand-toggle.active:after {
    transform: rotate(180deg);
}

.district-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 -30px;
    padding: 0 30px;
}

.district-submenu.active {
    max-height: 400px;
    padding: 5px 30px 15px;
}

.district-submenu a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 6px 0 6px 40px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.district-submenu a:hover {
    padding-left: 50px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.brands-toggle {
    position: relative;
}

.brands-toggle:after {
    content: "▼";
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.brands-toggle.active:after {
    transform: rotate(180deg);
}

.hero {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    position: relative;
    padding: 120px 20px 50px;
}

.welcome-banner {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(45deg, #e31e24, #ff4757);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(227, 30, 36, 0.3);
    z-index: 999;
}

body.admin-bar .welcome-banner {
    top: 102px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .welcome-banner {
        top: 116px;
    }
}

.banner-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    font-size: 1rem;
    font-weight: bold;
}

@keyframes scroll {
    0% { 
        transform: translateX(100%); 
    }
    100% { 
        transform: translateX(-100%); 
    }
}

.kitchen-image {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.hero-content {
    margin-top: 0;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: #e31e24;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-article {
    background: #fff;
    padding: 40px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    text-align: left;
}

.services-article h2,
.services-article h3 {
    color: #e31e24;
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-left: 4px solid #e31e24;
    padding-left: 15px;
    margin-top: 25px;
}

.services-article h2 {
    font-size: 1.6rem;
}

.services-article h3:first-child,
.services-article h2:first-child {
    margin-top: 0;
}

.services-article p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.services-article ul {
    margin: 15px 0;
    padding-left: 25px;
}

.services-article li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.highlight-service {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #e31e24;
}

.hero-btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #e31e24, #ff4757);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
    margin-top: 30px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.4);
    color: white;
    text-decoration: none;
}

.call-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: linear-gradient(45deg, #e31e24, #ff4757);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
}

.call-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.5);
    color: white;
    text-decoration: none;
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
    100% { 
        transform: scale(1); 
    }
}

.phone-icon {
    font-size: 1.2rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.district-hero {
    padding-top: 140px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .banner-text {
        font-size: 1rem;
    }

    .call-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .services-article {
        padding: 25px;
        margin: 20px;
    }

    .services-article h3 {
        font-size: 1.2rem;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .side-menu {
        width: 280px;
        right: -280px;
    }
    
    .hero {
        padding: 140px 15px 50px;
    }
    
    body.admin-bar .hero {
        padding-top: 160px;
    }
}