/**
 * TemizHalı - Custom Styles
 * Professional Carpet Cleaning Website
 */

/* ===================================
   ROOT VARIABLES
   =================================== */
:root {
    --primary-color: #00A8E8;
    --primary-dark: #007EA7;
    --primary-light: #33C3F0;
    --secondary-color: #7BD389;
    --accent-color: #FFB347;
    --dark-color: #2D3436;
    --light-color: #F8F9FA;
    --text-muted: #636E72;
    --white: #FFFFFF;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===================================
   BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ===================================
   TOP BAR
   =================================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: var(--white);
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.top-contact a {
    margin-right: 1.5rem;
}

.btn-whatsapp-top {
    background-color: #25D366;
    color: var(--white) !important;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

.btn-whatsapp-top:hover {
    background-color: #128C7E;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    padding: 1rem 0;
    background-color: var(--white) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* ===================================
   HERO SLIDER - MODERN DESIGN
   =================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Modern Gradient Overlay */
.hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 78, 146, 0.85) 0%, rgba(0, 168, 232, 0.75) 50%, rgba(0, 126, 167, 0.8) 100%);
}

/* Slide Content Wrapper */
.hero-slider .slide-content-wrapper {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Slide Badge */
.hero-slider .slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slider .slide-badge i {
    color: #FFD700;
}

/* Slide Title */
.hero-slider .slide-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Slide Description */
.hero-slider .slide-description {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
    text-align: center;
}

/* CTA Buttons */
.hero-slider .slide-cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.hero-slider .btn-cta-primary,
.hero-slider .btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-slider .btn-cta-primary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.hero-slider .btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.hero-slider .btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-slider .btn-cta-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--white);
}

.hero-slider .btn-cta-primary i,
.hero-slider .btn-cta-secondary i {
    font-size: 1.25rem;
}

/* Trust Badges */
.hero-slider .slide-trust-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slider .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-slider .trust-item i {
    font-size: 1.25rem;
    color: #4ADE80;
}

/* Swiper Navigation - Hidden by default, show on hover */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 1.125rem;
    font-weight: 700;
}

.hero-slider:hover .swiper-button-next,
.hero-slider:hover .swiper-button-prev {
    opacity: 1;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.hero-slider .swiper-button-next {
    right: 20px;
}

.hero-slider .swiper-button-prev {
    left: 20px;
}

/* Swiper Pagination */
.hero-slider .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

.hero-slider .swiper-pagination {
    bottom: 30px;
}

/* ===================================
   PAGE HEADER
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.page-title {
    color: var(--white);
}

.page-description {
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   BREADCRUMB
   =================================== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   SERVICES SECTION - MODERN DESIGN
   =================================== */
.services-section {
    background-color: var(--light-color);
}

/* Modern Service Card */
.service-card-modern {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 168, 232, 0.2);
}

/* Service Image Wrapper */
.service-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Content Modern */
.service-content-modern {
    padding: 1.75rem;
}

.service-title-modern {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.service-description-modern {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Service Price Modern */
.service-price-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1) 0%, rgba(0, 126, 167, 0.1) 100%);
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.service-price-modern i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.service-price-modern span {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

/* Button Service Modern */
.btn-service-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-service-modern:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.35);
}

.btn-service-modern i {
    transition: transform 0.3s ease;
}

.btn-service-modern:hover i {
    transform: translateX(5px);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.feature-item {
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--border-radius-lg);
}

.experience-badge {
    bottom: -20px;
    right: -20px;
    min-width: 150px;
}

.about-features .feature-item {
    transition: var(--transition);
}

.about-features .feature-item:hover {
    transform: translateX(10px);
}

.stat-item {
    transition: var(--transition);
}

.stat-item:hover {
    transform: scale(1.05);
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.stats-section .stat-item i {
    opacity: 0.8;
}

.stats-section .counter {
    font-size: 2.5rem;
}

.stats-section .stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    background-color: var(--light-color);
}

.testimonial-card {
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-name {
    color: var(--dark-color);
}

.testimonial-rating {
    color: var(--warning);
}

.testimonial-comment {
    font-style: italic;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.cta-title {
    color: var(--white);
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.footer h5 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: var(--primary-color);
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ===================================
   SCROLL TO TOP
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--box-shadow-lg);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===================================
   FAQ SECTION
   =================================== */
.accordion-button:not(.collapsed) {
    background-color: rgba(0, 168, 232, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 232, 0.25);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-form-wrapper {
    background: var(--white);
}

.contact-card {
    background: var(--white);
}

.contact-icon {
    flex-shrink: 0;
}

.quick-contact-buttons .btn {
    transition: var(--transition);
}

.quick-contact-buttons .btn:hover {
    transform: translateY(-3px);
}

/* ===================================
   SERVICE DETAIL CARD
   =================================== */
.service-detail-card {
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--box-shadow-lg);
}

.service-image-wrapper {
    min-height: 300px;
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process-section {
    background-color: var(--light-color);
}

.process-step {
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

/* ===================================
   RATING SUMMARY
   =================================== */
.rating-box {
    background: var(--white);
}

.rating-stars i {
    margin: 0 2px;
}

/* ===================================
   FEATURE BOX
   =================================== */
.feature-box {
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.feature-box .feature-icon {
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
}

/* ===================================
   MAP SECTION
   =================================== */
.map-wrapper iframe {
    width: 100%;
    border: 0;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-slider .slide-title {
        font-size: 2.5rem;
    }
    
    .hero-slider .slide-description {
        font-size: 1rem;
    }
    
    .hero-slider .slide-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-slider .btn-cta-primary,
    .hero-slider .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
    
    .hero-slider .swiper-button-next {
        right: 10px;
    }
    
    .hero-slider .swiper-button-prev {
        left: 10px;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
        box-shadow: var(--box-shadow-lg);
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-slider {
        min-height: 600px;
    }
    
    .hero-slider .slide-title {
        font-size: 1.75rem;
    }
    
    .hero-slider .slide-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slider .btn-cta-primary,
    .hero-slider .btn-cta-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }
    
    .top-bar {
        text-align: center;
    }
    
    .top-contact,
    .top-social {
        justify-content: center;
    }
    
    .stats-section .counter {
        font-size: 2rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.shadow-sm {
    box-shadow: var(--box-shadow) !important;
}

.rounded-3 {
    border-radius: var(--border-radius-lg) !important;
}

/* ===================================
   FIXED WHATSAPP BUTTON
   =================================== */
.fixed-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
}

.fixed-whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.fixed-whatsapp-btn i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 767.98px) {
    .fixed-whatsapp-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.25rem;
    }
    
    .scroll-to-top {
        right: 80px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
}
