﻿
.services-section {
    /* FLUID PADDING */
    padding: var(--space-md-fluid) var(--space-2xl-fluid);
    background: var(--main-bg);
    position: relative;
}

.services-header {
    text-align: center;
    /* FLUID MARGIN */
    margin-bottom: clamp(2rem, 5vw + 1rem, 6rem);
}

.services-title {
    /* FLUID TITLE */
    font-size: var(--text-4xl-fluid);
    font-weight: 800;
    color: var(--text-color);
    /* FLUID MARGIN */
    margin-bottom: var(--space-2xl-fluid);
    background: linear-gradient(135deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    /* FLUID SUBTITLE */
    font-size: var(--text-xl-fluid);
    color: var(--text-secondary);
    /* FLUID MAX-WIDTH */
    max-width: clamp(20rem, 60vw + 10rem, 80rem);
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    /* FLUID GRID */
    grid-template-columns: repeat(auto-fit, minmax(clamp(18rem, 25vw + 5rem, 25rem), 1fr));
    gap: clamp(1.5rem, 3vw + 1rem, 4rem);
    margin-bottom: var(--space-md-fluid);
}

.service-card {
    background: var(--secondary-bg);
    border: 1px solid var(--secondary-bg);
    /* FLUID CARD */
    border-radius: var(--radius-lg-fluid);
    padding: var(--space-lg-fluid);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    /*height: 70%;*/
    position: relative;
    overflow: hidden;
    
}

    .service-card:hover {
        transform: translateY(-8px);
        border-color: var(--accent-color);
        box-shadow: 0 20px 40px rgba(79, 195, 247, 0.15);
        text-decoration: none;
        color: inherit;
    }

.service-image-container,
.service-icon-container {
    width: 100%;
    /* FLUID HEIGHT */
    height: clamp(15rem, 20vw + 5rem, 25rem);
    /* FLUID MARGIN */
    margin-bottom: var(--space-lg-fluid);
    border-radius: var(--radius-md-fluid);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-container {
    background: var(--main-bg);
}

.service-icon-container {
    background: linear-gradient(135deg, var(--secondary-bg), var(--main-bg));
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-icon {
    /* FLUID ICON */
    font-size: clamp(3rem, 6vw + 1rem, 8rem);
    color: var(--accent-color);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--text-color);
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-name {
    /* FLUID SERVICE NAME */
    font-size: var(--text-2xl-fluid);
    font-weight: 700;
    color: var(--text-color);
    /* FLUID MARGIN */
    margin-bottom: var(--space-lg-fluid);
    line-height: 1.2;
}

.service-description {
    /* FLUID DESCRIPTION */
    font-size: var(--text-lg-fluid);
    color: var(--text-secondary);
    line-height: 1.6;
    /* FLUID MARGIN */
    margin-bottom: var(--space-2xl-fluid);
    flex: 1;
}

.service-link {
    display: flex;
    align-items: center;
    /* FLUID GAP */
    gap: var(--space-sm-fluid);
    color: var(--accent-color);
    font-weight: 600;
    /* FLUID FONT */
    font-size: var(--text-lg-fluid);
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    transform: translateX(5px);
}

.services-actions {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    /* FLUID BUTTON */
    gap: var(--space-lg-fluid);
    padding: var(--space-2xl-fluid) clamp(2rem, 5vw + 1rem, 5rem);
    background: linear-gradient(135deg, var(--accent-color), #29B6F6);
    color: white;
    text-decoration: none;
    /* FLUID BORDER RADIUS */
    border-radius: 50px;
    font-weight: 700;
    /* FLUID FONT */
    font-size: var(--text-lg-fluid);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(79, 195, 247, 0.3);
}

    .view-all-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(79, 195, 247, 0.4);
        color: white;
        text-decoration: none;
    }

.no-services {
    /* FLUID MAX-WIDTH */
    max-width: clamp(20rem, 60vw + 10rem, 80rem);
    margin: 0 auto;
}

/* FLUID RESPONSIVE */
@media (max-width: 62rem) {
    .services-section {
        /* TABLET FLUID PADDING */
        padding: var(--space-2xl-fluid) var(--space-xl-fluid);
    }

    .services-grid {
        /* TABLET: 2 sütun */
        grid-template-columns: repeat(auto-fit, minmax(clamp(15rem, 30vw + 5rem, 25rem), 1fr));
        /* TABLET FLUID GAP */
        gap: var(--space-2xl-fluid);
    }

    .service-card {
        /* TABLET FLUID PADDING */
        padding: var(--space-xl-fluid);
    }

    .service-name {
        /* TABLET FLUID FONT */
        font-size: var(--text-xl-fluid);
    }

    .service-description {
        /* TABLET FLUID FONT */
        font-size: var(--text-base-fluid);
    }
}

@media (max-width: 48rem) {
    .services-section {
        /* MOBILE FLUID PADDING */
        padding: var(--space-xl-fluid) var(--space-lg-fluid);
    }

    .services-grid {
        /* MOBILE: 1 sütun */
        grid-template-columns: 1fr;
        /* MOBILE FLUID GAP */
        gap: var(--space-xl-fluid);
    }

    .service-card {
        /* MOBILE FLUID PADDING */
        padding: var(--space-lg-fluid);
    }

    .service-image-container,
    .service-icon-container {
        /* MOBILE FLUID HEIGHT */
        height: clamp(12rem, 30vw + 5rem, 20rem);
        /* MOBILE FLUID MARGIN */
        margin-bottom: var(--space-xl-fluid);
    }

    .service-icon {
        /* MOBILE FLUID ICON */
        font-size: clamp(2.5rem, 8vw + 1rem, 6rem);
    }

    .services-title {
        /* MOBILE FLUID TITLE */
        font-size: var(--text-3xl-fluid);
        /* MOBILE FLUID MARGIN */
        margin-bottom: var(--space-xl-fluid);
    }

    .services-subtitle {
        /* MOBILE FLUID SUBTITLE */
        font-size: var(--text-lg-fluid);
    }

    .view-all-btn {
        /* MOBILE FLUID BUTTON */
        padding: var(--space-xl-fluid) var(--space-2xl-fluid);
        /* MOBILE FLUID FONT */
        font-size: var(--text-base-fluid);
    }
}

/* EKSTRA KÜÇÜK EKRANLAR */
@media (max-width: 36rem) {
    .services-section {
        /* MOBILE FLUID PADDING */
        padding: var(--space-lg-fluid) var(--space-md-fluid);
    }

    .service-card {
        /* MOBILE FLUID PADDING */
        padding: var(--space-md-fluid);
    }

    .service-name {
        /* MOBILE FLUID FONT */
        font-size: var(--text-lg-fluid);
    }

    .service-description {
        /* MOBILE FLUID FONT */
        font-size: var(--text-sm-fluid);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(16rem, 20vw + 4rem, 22rem), 1fr));
    gap: clamp(1rem, 2vw + 0.5rem, 2rem);
    margin-bottom: var(--space-md-fluid);
}

.service-card {
    padding: var(--space-md-fluid);
    height: auto;
}

.service-image-container,
.service-icon-container {
    height: clamp(10rem, 15vw + 3rem, 18rem);
    margin-bottom: var(--space-md-fluid);
}

.service-icon {
    font-size: clamp(2rem, 4vw + 0.5rem, 5rem);
}

.service-name {
    font-size: var(--text-xl-fluid);
    margin-bottom: var(--space-md-fluid);
}

.service-description {
    font-size: var(--text-base-fluid);
    margin-bottom: var(--space-lg-fluid);
}

.services-section {
    padding: var(--space-lg-fluid) var(--space-xl-fluid);
}

.services-header {
    margin-bottom: clamp(1.5rem, 3vw + 0.5rem, 3rem);
}

/* home.css - Güncellenmiş */
.caption-item {
    max-width: 80%;
    padding: var(--space-sm-fluid) var(--space-md-fluid);
    margin: var(--space-xs-fluid) 0;
    color: white;
    position: relative;
    z-index: 3;
    font-size: var(--text-xl-fluid);
    font-style: normal;
    font-weight: normal;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
    /* ✅ SADECE GÖLGE - ARKA PLAN YOK */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9), 1px 1px 4px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6) !important;
}

    .caption-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Gölgeli yazı stilleri */
.text-shadow-bold {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9), 1px 1px 4px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6) !important;
    font-weight: 700 !important;
}

.text-shadow-glow {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 2px 2px 8px rgba(0,0,0,0.9) !important;
}

.text-shadow-light {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7), 0 0 10px rgba(0,0,0,0.5) !important;
}

/* ❌ ARKA PLAN STİLLERİNİ KALDIRIYORUZ */
/* .dark-background-enhanced, .glass-effect, .light-background */

/* Animasyon stilleri (animate.css class'ları için) */
.animate__fadeIn {
    animation: fadeIn 1s ease-out;
}

.animate__slideInUp {
    animation: slideInUp 1s ease-out;
}

.animate__zoomIn {
    animation: zoomIn 1s ease-out;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}