/* Beylikdüzü Klima Servisi - SEO Optimized Styles */
/* Mobile First Design System */

:root {
    --primary-blue: #0066cc;
    --primary-dark: #004499;
    --accent-light-blue: #e6f2ff;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --light-gray: #f5f7fa;
    --whatsapp-green: #25d366;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Top Sticky Call Bar */
.top-call-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    padding: 12px 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow);
}

.top-call-bar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.top-call-bar .close-bar {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    width: 100%;
    pointer-events: none;
    z-index: 999;
}

.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    pointer-events: auto;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    left: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--whatsapp-green), #128c7e);
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(0,102,204,0.4); }
    50% { box-shadow: 0 4px 25px rgba(0,102,204,0.7); }
}

.floating-btn svg {
    width: 28px;
    height: 28px;
}

/* Header */
.header {
    background: var(--white);
    padding: 80px 20px 30px;
    text-align: center;
    border-bottom: 3px solid var(--primary-blue);
}

.logo-section h1 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 8px;
}

.tagline {
    color: var(--text-gray);
    font-size: 14px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent-light-blue);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Services Section */
.section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-blue);
}

.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Neighborhoods Section */
.neighborhoods-section {
    background: var(--light-gray);
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.neighborhood-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.neighborhood-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.neighborhood-card h3 {
    font-size: 15px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.neighborhood-card span {
    font-size: 12px;
    color: var(--text-gray);
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.why-icon svg {
    width: 24px;
    height: 24px;
}

.why-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.why-content p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Map Section */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ Section */
.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Reviews Section */
.reviews-section {
    background: var(--light-gray);
}

.review-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.review-meta h4 {
    font-size: 15px;
    color: var(--text-dark);
}

.review-meta .stars {
    color: #ffc107;
    font-size: 14px;
}

.review-text {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    font-style: italic;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
}

.footer-cta h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

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

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin: 10px 0;
    font-size: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
}

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

.copyright {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 15px 20px;
    font-size: 13px;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-gray);
}

/* Content Styling */
.content-section {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    color: var(--primary-blue);
    font-size: 24px;
    margin: 30px 0 15px;
}

.content-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul {
    margin: 15px 0;
    padding-left: 20px;
    color: var(--text-gray);
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .header {
        padding: 90px 30px 40px;
    }

    .logo-section h1 {
        font-size: 36px;
    }

    .hero {
        padding: 80px 30px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .cta-group {
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .neighborhoods-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 70px 30px;
    }

    .map-container {
        height: 400px;
    }

    .trust-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-badge {
        padding: 30px 20px;
    }

    .gallery-img {
        height: 250px;
    }

    .real-image-item img {
        height: 300px;
    }
}

/* Mobile: Stack images vertically */
@media (max-width: 767px) {
    .real-images-row {
        flex-direction: column;
    }

    .real-image-item img {
        height: 200px;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .neighborhoods-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .trust-container {
        grid-template-columns: repeat(6, 1fr);
    }

    .service-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .trust-section {
        padding: 50px 30px;
    }

    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 32px;
    }

    .content-section {
        padding: 50px 30px;
    }
}

/* Trust Badges Section */
.trust-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    padding: 40px 20px;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.trust-badge:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
}

.trust-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.trust-badge h4 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 700;
}

.trust-badge p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

/* Service Gallery Section */
.gallery-section {
    background: var(--light-gray);
}

/* Real Images Row - Side by Side */
.real-images-row {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 30px;
    flex-direction: row;
}

.real-image-item {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.real-image-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.gallery-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gallery-img svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* Scrolling Reviews Section */
.reviews-scrolling-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.reviews-scrolling-container::before,
.reviews-scrolling-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.reviews-scrolling-container::before {
    left: 0;
    background: linear-gradient(to right, var(--light-gray), transparent);
}

.reviews-scrolling-container::after {
    right: 0;
    background: linear-gradient(to left, var(--light-gray), transparent);
}

.reviews-track {
    display: flex;
    gap: 20px;
    animation: scrollReviews 40s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.scroll-review {
    width: 320px;
    flex-shrink: 0;
    margin-bottom: 0;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.scroll-review .review-header {
    margin-bottom: 12px;
}

.scroll-review .review-avatar {
    width: 45px;
    height: 45px;
    font-size: 16px;
}

.scroll-review .review-text {
    font-size: 13px;
    line-height: 1.6;
}

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

/* Duplicate reviews for seamless loop */
.reviews-track {
    display: flex;
    gap: 20px;
}

/* Reviews Stats */
.reviews-stats {
    margin-top: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-blue);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.hidden { display: none; }

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Print Styles */
@media print {
    .floating-buttons,
    .top-call-bar {
        display: none;
    }
}
