/* Service Page Styles */
.service-page {
    --service-primary: var(--primary, #007acc);
    --service-bg: var(--bg, #ffffff);
    --service-card: var(--card, #f8f9fa);
    --service-text: var(--fg, #333333);
    --service-muted: var(--muted, #666666);
    --service-border: var(--border, #e0e0e0);
    --service-shadow: 0 4px 20px rgba(0,0,0,0.1);
    --service-radius: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, var(--service-bg) 0%, var(--service-card) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.service-hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--service-text);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--service-text), var(--service-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--service-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--service-muted);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    display: none; /* Hero alanında görsel gizlendi */
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--service-radius);
    box-shadow: var(--service-shadow);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.pricing-info {
    margin-top: 1rem;
}

.pricing-info .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--service-primary);
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(var(--service-primary-rgb, 0, 122, 204), 0.1);
    border-radius: var(--service-radius);
}

/* Video Section */
.service-video {
    padding: 80px 0;
    background: var(--service-card);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--service-radius);
    box-shadow: var(--service-shadow);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--service-radius);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--service-text);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--service-primary), var(--accent, #ff6b6b));
    border-radius: 2px;
}

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

/* Desktop için özellikler yan yana */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card, .benefit-card {
    background: var(--service-card);
    padding: 2.5rem;
    border-radius: var(--service-radius);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--service-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--service-border);
}

.feature-card:hover, .benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon, .benefit-icon {
    background: linear-gradient(135deg, var(--service-primary), var(--accent, #ff6b6b));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--service-text);
    margin: 0 0 1rem 0;
}

.feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-content ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--service-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.feature-content ul li::before {
    content: '✓';
    color: var(--service-primary);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit-content p {
    font-size: 1.1rem;
    color: var(--service-muted);
    margin: 0;
    line-height: 1.6;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.package-card {
    background: var(--service-card);
    border-radius: var(--service-radius);
    overflow: hidden;
    box-shadow: var(--service-shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: var(--service-primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.package-card:nth-child(2) {
    transform: scale(1.05);
    border-color: var(--service-primary);
}

.package-card:nth-child(2)::before {
    content: 'Popüler';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--service-primary);
    color: white;
    padding: 5px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.package-header {
    background: linear-gradient(135deg, var(--service-primary), var(--accent, #ff6b6b));
    color: white;
    padding: 2rem;
    text-align: center;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.package-price {
    font-size: 2rem;
    font-weight: 800;
    color: #000000 !important;
}

.package-features {
    padding: 2rem;
}

.package-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--service-border);
}

.package-feature:last-child {
    border-bottom: none;
}

.package-feature i {
    color: var(--service-primary);
    font-size: 1.1rem;
}

.package-footer {
    padding: 2rem;
    text-align: center;
}

.package-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--service-primary);
    color: white;
    border: none;
    border-radius: var(--service-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.package-button:hover {
    background: var(--accent, #ff6b6b);
    transform: translateY(-2px);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--service-primary);
    opacity: 0.3;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--service-primary), var(--accent, #ff6b6b));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--service-shadow);
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--service-text);
    margin: 0;
}

/* Tech Specs */
.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tech-spec-item {
    background: var(--service-card);
    padding: 1.5rem;
    border-radius: var(--service-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--service-primary);
    box-shadow: var(--service-shadow);
    transition: all 0.3s ease;
}

.tech-spec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.spec-name {
    font-weight: 600;
    color: var(--service-text);
    font-size: 1rem;
}

.spec-value {
    color: var(--service-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive için teknik özellikler */
@media (max-width: 768px) {
    .tech-specs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tech-spec-item {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }
    
    .spec-name {
        font-size: 0.95rem;
    }
    
    .spec-value {
        font-size: 0.95rem;
        align-self: flex-end;
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--service-card);
    padding: 2.5rem;
    border-radius: var(--service-radius);
    box-shadow: var(--service-shadow);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--service-primary);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--service-muted);
    margin: 0;
}

.author-name {
    font-weight: 700;
    color: var(--service-text);
    margin-bottom: 0.25rem;
}

.author-company {
    color: var(--service-primary);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--service-card);
    border-radius: var(--service-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--service-shadow);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--service-border);
}

.faq-question:hover {
    background: var(--service-primary);
    color: white;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 2rem;
    display: none;
    background: var(--service-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem 0;
    margin: 0;
    line-height: 1.6;
    color: var(--service-muted);
}

/* CTA Section */
.service-cta {
    background: linear-gradient(135deg, var(--service-primary), var(--accent, #ff6b6b));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.service-cta .cta-content {
    position: relative;
    z-index: 1;
}

.service-cta .cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.service-cta .cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Related Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--service-card);
    border-radius: var(--service-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--service-shadow);
    border: 1px solid var(--service-border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-image:hover img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-title {
    margin: 0 0 1rem 0;
}

.card-title a {
    color: var(--service-text);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--service-primary);
}

.card-excerpt {
    color: var(--service-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--service-primary);
    margin-bottom: 1rem;
}

.card-link {
    color: var(--service-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: var(--accent, #ff6b6b);
    transform: translateX(5px);
}

.card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--service-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--service-primary);
    border-color: var(--service-primary);
}

.btn-outline:hover {
    background: var(--service-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Service CTA Section - Dark Buttons */
.service-cta .btn-primary {
    background: #1a1a1a !important;
    color: white !important;
    border-color: #1a1a1a !important;
}

.service-cta .btn-primary:hover {
    background: #000000 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
}

.service-cta .btn-outline {
    background: #2a2a2a !important;
    color: white !important;
    border-color: #2a2a2a !important;
}

.service-cta .btn-outline:hover {
    background: #1a1a1a !important;
    color: white !important;
    transform: translateY(-2px);
    border-color: #1a1a1a !important;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Template Variations */
.service-template-whatsapp {
    --service-primary: #25D366;
}

.service-template-software {
    --service-primary: #007acc;
}

.service-template-consulting {
    --service-primary: #8b5cf6;
}

.service-template-ecommerce {
    --service-primary: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-hero .container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 60px 0 40px;
        width: 100%;
    }
    
    .service-hero .container {
        text-align: center;
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
        width: 100%;
    }
    
    .section .container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .benefits-grid,
    .packages-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step::after {
        display: none;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .service-cta .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .service-page {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .service-hero {
        padding: 40px 0 30px;
        width: 100%;
    }
    
    .service-hero .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        width: 100%;
    }
    
    .section .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .feature-card,
    .benefit-card,
    .testimonial-card {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .package-header {
        padding: 1.5rem;
    }
    
    .package-features,
    .package-footer {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}