/* ===================================
   SERVICE DETAIL PAGE - AYDINLIK TEMA
   =================================== */

/* Variable aliases — style.css tokens ile eşleştir */
:root {
    --pearl-white: var(--white);
    --sterile-platinum: var(--cloud);
    --ocean-turquoise: var(--primary);
    --electric-cyan: var(--primary-light);
    --midnight: var(--gray-700);
    --brushed-silver: var(--gray-400);
    --glow-shadow: var(--primary-bg);
}

/* Service Hero */
.service-hero {
    padding: 14rem 5% 6rem;
    background: linear-gradient(135deg, var(--ocean-turquoise) 0%, #065f7a 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,145,178,0.85) 0%, rgba(4,60,80,0.92) 100%);
    pointer-events: none;
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.service-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.service-hero-badge::before,
.service-hero-badge::after {
    content: '';
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
}

.service-hero-title {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Service Content */
.service-content {
    padding: 5rem 0;
    background: var(--pearl-white);
}

.service-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
}

.service-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Service Section */
.service-section {
    background: var(--pearl-white);
    border: 1px solid rgba(14, 165, 233, 0.15);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.08);
}

.service-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--ocean-turquoise), var(--electric-cyan));
}

.service-section-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ocean-turquoise), var(--electric-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.service-section-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.service-section h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 2rem;
    color: var(--midnight);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--brushed-silver);
}

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

.service-feature-card {
    background: var(--pearl-white);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(14, 165, 233, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-feature-card:hover::before {
    opacity: 1;
}

.service-feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--ocean-turquoise);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.15);
}

.service-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ocean-turquoise), var(--electric-cyan));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-feature-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.service-feature-card h3 {
    font-size: 1.3rem;
    color: var(--midnight);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-feature-card p {
    font-size: 0.95rem;
    color: var(--brushed-silver);
    line-height: 1.6;
}

/* Process - Yeni Modern Tasarım */
.service-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-item {
    background: linear-gradient(135deg, var(--pearl-white) 0%, rgba(14, 165, 233, 0.02) 100%);
    border: 2px solid rgba(14, 165, 233, 0.1);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-turquoise), var(--electric-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.process-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-item:hover::before {
    transform: scaleX(1);
}

.process-item:hover::after {
    opacity: 1;
}

.process-item:hover {
    border-color: var(--ocean-turquoise);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.15);
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ocean-turquoise), var(--electric-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    font-family: 'Urbanist', sans-serif;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
}

.process-number::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(135deg, var(--ocean-turquoise), var(--electric-cyan));
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
}

.process-item h3 {
    font-size: 1.4rem;
    color: var(--midnight);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.process-item p {
    color: var(--brushed-silver);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* CTA Card */
.service-cta-card {
    background: linear-gradient(135deg, var(--ocean-turquoise), var(--electric-cyan));
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.3);
}

.service-cta-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 40px;
    opacity: 0.3;
    animation: float 25s linear infinite;
}

.service-cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(10px);
}

.service-cta-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.service-cta-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 800;
}

.service-cta-card p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: #fff;
    color: var(--ocean-turquoise);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-cta-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: var(--midnight);
    color: #fff;
}

.service-cta-btn:hover svg {
    transform: translateX(5px);
}

/* Contact Card */
.service-contact-card {
    background: var(--pearl-white);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 2.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.2s;
}

.service-contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-contact-card h3 {
    font-size: 1.3rem;
    color: var(--midnight);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(14, 165, 233, 0.08);
    border: 2px solid var(--ocean-turquoise);
    color: var(--ocean-turquoise);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-contact-phone svg {
    width: 26px;
    height: 26px;
}

.service-contact-phone:hover {
    background: var(--ocean-turquoise);
    color: #fff;
    transform: scale(1.05);
}

/* Related Services */
.service-related-card {
    background: var(--pearl-white);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.4s;
}

.service-related-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-related-card h3 {
    font-size: 1.3rem;
    color: var(--midnight);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(14, 165, 233, 0.15);
    font-weight: 700;
}

.service-related-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-related-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: rgba(14, 165, 233, 0.03);
    border: 1px solid rgba(14, 165, 233, 0.1);
    color: var(--midnight);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.service-related-item svg {
    width: 18px;
    height: 18px;
    color: var(--ocean-turquoise);
    transition: transform 0.3s ease;
}

.service-related-item:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--ocean-turquoise);
    color: var(--ocean-turquoise);
    transform: translateX(8px);
}

.service-related-item:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-container {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        order: -1;
    }

    .service-process {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 10rem 5% 5rem;
    }

    .service-section {
        padding: 2rem;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }

    .service-process {
        grid-template-columns: 1fr;
    }

    .process-number {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .process-item h3 {
        font-size: 1.2rem;
    }
}
