/* ============================================
   EYVAN HALI YIKAMA - CSS STYLESHEET
   Renk Paleti ve Temel Stiller
   ============================================ */

/* CSS Variables - Renk Paleti */
:root {
    --primary-blue: #A0D9F7;      /* Ana Renk - Temizlik & Güven */
    --accent-green: #9FE2BF;      /* Vurgu Rengi - Doğallık & Hijyen */
    --neutral-gray: #E0E0E0;      /* Nötr Renk - Profesyonellik */
    --text-dark: #0c0c38;         /* Metin Rengi - Okunabilirlik */
    --secondary-orange: #FFB74D;  /* İkincil Vurgu - Enerji */
    --whatsapp-green: #25D366;    /* WhatsApp Yeşili */
    --white: #FFFFFF;
    --black: #000000;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-blue);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.35rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px;
    max-height: 120px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
    background-color: rgba(160, 217, 247, 0.1);
}

/* Hamburger Menu (Mobil) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Header Call-to-Action Box */
.header-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    margin-left: 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary-orange), var(--accent-green));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: headerCallPulse 1.8s ease-in-out infinite;
}

.header-call::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.45), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.header-call-inner {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    z-index: 1;
}

.header-call-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.header-call-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header-call-text span:first-child {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-call-text span:last-child {
    font-size: 0.9rem;
    font-weight: 600;
}

.header-call:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(160, 217, 247, 0.1) 80%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero_carpet_cleaning.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    z-index: 1;
}

/* Hero background overrides per page */
.hero.home::before {
    background-image: url('images/hero-image_mainpage.jpg');
}

.hero.about::before {
    background-image: url('images/hero-image_about_us.jpg');
}

.hero.services::before {
    background-image: url('images/hero-image_our_services.jpg');
}

.hero.contact::before {
    background-image: url('images/hero-image_contact_us.jpg');
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: heroFadeSlide 1s ease-out forwards 0.2s;
}

.hero h1 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: heroTitle 0.9s ease-out forwards 0.25s;
}

.hero.home h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(12px);
    animation: heroSubtitle 0.9s ease-out forwards 0.4s;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
}

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

.btn-primary:hover {
    background-color: #7FD4A8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(159, 226, 191, 0.4);
}

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

.btn-secondary:hover {
    background-color: #7FC8E8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(160, 217, 247, 0.4);
}

.cta-buttons .btn:nth-child(1) {
    animation: heroButton 0.9s ease-out forwards 0.55s;
}

.cta-buttons .btn:nth-child(2) {
    animation: heroButton 0.9s ease-out forwards 0.7s;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.service-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-card .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose {
    background-color: var(--neutral-gray);
    padding: 4rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ============================================
   PORTFOLIO/GALLERY SECTION
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--neutral-gray);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.contact-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-dark);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

.contact-item:hover {
    transform: translateY(-4px);
    background-color: #f5f7f9;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--neutral-gray);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--neutral-gray);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--white);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SERVICE DETAIL PAGE STYLES
   ============================================ */
.service-detail {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.service-detail-header img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.service-detail-image {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.service-detail:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .hero {
        min-height: 400px;
    }

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

    .hero.home h1 {
        font-size: 2.2rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.55rem 0.6rem;
    }

    .logo img {
        height: 100px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ============================================
   KEYFRAMES - HERO ANIMATIONS
   ============================================ */
@keyframes heroFadeSlide {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes heroTitle {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroSubtitle {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroButton {
    0% { opacity: 0; transform: translateY(14px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes headerCallPulse {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); }
    50% { transform: scale(1.04); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); }
    100% { transform: scale(1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); }
}

