/**
 * @file services.css
 * @description 
 * @author Erdinç Taze
 * @copyright 
 */
 :root {
    --primary-red: #FE0000;
    --primary-red-light: #FF3333;
    --primary-red-dark: #CC0000;
    --primary-red-ultra-light: #FFE6E6;
    --success-red: #FE0000;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Service Hero Slider Styles */
.service-hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.service-hero-slider .slide {
    position: relative;
    width: 100%;
}

.service-hero-slider .slide-content {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.service-hero-slider .slide-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.service-hero-slider .slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    color: white;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.service-hero-slider .slider-title {
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 1px #414141e0;
    font-size: 2rem;
}

/* Slider Navigation Styles */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

@media (max-width: 768px) {
    .slick-prev, .slick-next {
        display: none !important;
    }
    
    .slider-content h1 {
        font-size: 2rem !important;
    }
    
    .slider-breadcrumb-bottom-right {
        bottom: 10px;
        right: 10px;
    }
    
    .slider-breadcrumb-bottom-right .breadcumb-menu {
        padding: 8px 12px;
    }
    
    .slider-breadcrumb-bottom-right .breadcumb-menu li {
        font-size: 12px;
    }
}

/* Breadcrumb Bottom Right Positioning */
.slider-breadcrumb-bottom-right {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 15;
}

.slider-breadcrumb-bottom-right .breadcumb-menu {
    padding: 10px 15px;
    border-radius: 5px;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.slider-breadcrumb-bottom-right .breadcumb-menu li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.slider-breadcrumb-bottom-right .breadcumb-menu li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.slider-breadcrumb-bottom-right .breadcumb-menu li a:hover {
    color: white;
}

.slider-breadcrumb-bottom-right .breadcumb-menu li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcumb-menu li, .breadcumb-menu a, .breadcumb-menu span{
    color:#414141;
}

@media (max-width: 768px) {
    .slider-content h1 {
        font-size: 2rem !important;
    }
    
    .slider-breadcrumb-bottom-right {
        bottom: 10px;
        right: 10px;
    }
    
    .slider-breadcrumb-bottom-right .breadcumb-menu {
        padding: 8px 12px;
    }
    
    .slider-breadcrumb-bottom-right .breadcumb-menu li {
        font-size: 12px;
    }
}

/* Gentle Background System */
.service-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
}

/* Soft Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.05;
    animation: gentleFloat 40s infinite ease-in-out;
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-red-light));
    border-radius: 50% 20% 50% 20%;
    top: 10%;
    left: 10%;
    animation-duration: 50s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-red-light), var(--primary-red));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 20%;
    right: 15%;
    animation-duration: 60s;
    animation-direction: reverse;
}

.shape-3 {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary-red), transparent, var(--primary-red-light));
    border-radius: 20px;
    transform: rotate(45deg);
    top: 60%;
    left: 5%;
    animation-duration: 70s;
}

.shape-4 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--primary-red-light), transparent);
    border-radius: 50%;
    top: 70%;
    right: 10%;
    animation-duration: 55s;
    animation-direction: reverse;
}

.shape-5 {
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-red-dark));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    top: 40%;
    left: 50%;
    animation-duration: 45s;
}

.shape-6 {
    width: 65px;
    height: 65px;
    background: conic-gradient(from 45deg, var(--primary-red), transparent, var(--primary-red-light), transparent, var(--primary-red));
    border-radius: 50%;
    top: 15%;
    left: 70%;
    animation-duration: 80s;
    animation-direction: reverse;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-10px) rotate(5deg) scale(1.02); }
    50% { transform: translateY(0px) rotate(10deg) scale(0.98); }
    75% { transform: translateY(-5px) rotate(15deg) scale(1.01); }
}

/* Subtle Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(254, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: softGridMove 60s linear infinite;
    z-index: 1;
}

@keyframes softGridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Gentle Section Header */
.section-header-wrapper {
    position: relative;
    z-index: 10;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--glass-bg), rgba(254, 0, 0, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: gentleShimmer 6s infinite;
}

@keyframes gentleShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    position: relative;
    z-index: 10;
    line-height: 1.2;
}

.title-word {
    display: inline-block;
    position: relative;
}

.title-word:first-child {
    margin-left: 0;
}

.title-word:last-child {
    margin-right: 0;
}

.title-highlight {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-light), var(--primary-red-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary-red-light), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtleTextShift 8s ease-in-out infinite;
}

@keyframes subtleTextShift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(1px, -1px); }
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    gap: 1rem;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    animation: softLineGlow 4s ease-in-out infinite alternate;
}

.decoration-dot {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, var(--primary-red), var(--primary-red-dark));
    border-radius: 50%;
    position: relative;
    animation: gentleDotPulse 4s ease-in-out infinite;
}

.decoration-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    animation: softRipple 4s ease-in-out infinite;
}

@keyframes softLineGlow {
    0% { opacity: 0.6; transform: scaleX(0.9); }
    100% { opacity: 0.8; transform: scaleX(1); }
}

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

@keyframes softRipple {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* Soft Service Cards */
.service-card {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    transition: all 1s ease-out;
    z-index: 5;
}

.service-card-inner {
    position: relative;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 50%, 
        rgba(248, 249, 250, 0.8) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2rem;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 16px rgba(254, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.8s ease-out;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.01);
}

.service-card:hover .service-card-inner {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 50%, 
        rgba(254, 0, 0, 0.03) 100%);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 4px 20px rgba(254, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
ul.service-list {
    display: flex;
    flex-wrap: wrap;
    padding-top: .5rem;
}

/* Gentle Card Number Badge */
.card-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 6px 15px rgba(254, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.6s ease-out;
}

.card-number::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary-red-light), var(--primary-red), var(--primary-red-dark));
    border-radius: 50%;
    z-index: -1;
    animation: softNumberGlow 6s ease-in-out infinite;
}

@keyframes softNumberGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
}

/* Subtle Card Glow Effect */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(254, 0, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.8s ease-out;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

/* Gentle Icon System */
.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red-ultra-light), rgba(254, 0, 0, 0.08));
    border: 3px solid rgba(254, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.6s ease-out;
}

.icon-bg-effect {
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg, transparent, var(--primary-red-light), transparent);
    border-radius: 50%;
    animation: gentleIconRotate 12s linear infinite;
    opacity: 0.2;
}

@keyframes gentleIconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0.6;
    animation: gentleParticleFloat 8s ease-in-out infinite;
}

.icon-particles span:nth-child(1) {
    top: -25px;
    left: -8px;
    animation-delay: 0s;
}

.icon-particles span:nth-child(2) {
    top: -15px;
    right: -12px;
    animation-delay: 2.5s;
}

.icon-particles span:nth-child(3) {
    bottom: -20px;
    left: 3px;
    animation-delay: 5s;
}

@keyframes gentleParticleFloat {
    0%, 100% { transform: translateY(0) scale(0.8); opacity: 0; }
    50% { transform: translateY(-5px) scale(1); opacity: 0.6; }
}

/* Soft Typography */
.service-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
    transition: all 0.6s ease-out;
}

.title-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    border-radius: 2px;
    transition: width 1.2s ease-out;
}

.service-card:hover .title-underline {
    width: 100%;
}

/* Gentle Service Items */
.service-item {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.8s ease-out;
    animation: gentleItemSlideIn 1.5s ease-out forwards;
    animation-delay: var(--delay);
    position: relative;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    width: 50%;
    font-size: 0.98rem;
}

.service-item:hover {
    background: rgba(254, 0, 0, 0.03);
    transform: translateX(3px);
    padding-left: 0.8rem;
}

.service-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--theme-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 2px 2px 0;

}

.service-item a:hover::before {
	    transform: scaleY(1);
}

.service-item span {
    transition: color 0.6s ease-out;
    word-wrap: break-word;
}

.service-item:hover span {
    color: var(--primary-red);
    font-weight: 500;
}

@keyframes gentleItemSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-15px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Subtle 3D Tilt Effect */
.service-card[data-tilt] {
    transform-style: preserve-3d;
}

.service-card[data-tilt]:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateY(-5px) scale(1.01);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
        word-spacing: 0.2em;
    }
    
    .title-word {
        margin: 0 0.2em;
        display: block;
        text-align: center;
    }
    
    .service-card-inner {
        min-height: 300px;
        padding: 1.5rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .floating-shapes {
        display: none;
    }
    
    .service-card:hover {
        transform: translateY(-3px) scale(1.005);
    }
}

@media (max-width: 400px) {
    .service-item {
        font-size: 0.65rem;
    }
}


@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .title-word {
        display: block;
        text-align: center;
    }
    
    .service-card-inner {
        min-height: 250px;
        padding: 1rem;
    }

    .service-item {
        font-size: 0.70rem;
    }
}

/* Text Color Utilities */
.text-primary-red {
    color: var(--primary-red) !important;
}

.text-success-red {
    color: var(--primary-red) !important;
    font-size: 0.9rem;
    transition: all 0.6s ease-out;
}

.text-success-red:hover {
    transform: scale(1.05);
}
