/* Services Page Specific Styles */

/* Hero Extensions */
.hero-services {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-subtitle {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    color: var(--accent-developer);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

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

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s var(--ease-custom);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-developer);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-developer);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.service-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-developer);
}

/* Process Timeline (simplified for vertical flow) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    counter-reset: process-counter;
    margin-top: 4rem;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border-left: 1px solid var(--border-subtle);
}

.process-step::before {
    counter-increment: process-counter;
    content: "0" counter(process-counter);
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-developer);
    opacity: 0.5;
    display: block;
    margin-bottom: 1rem;
}

.process-step h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing Tiers */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent-developer);
    background: linear-gradient(180deg, rgba(0, 242, 234, 0.05) 0%, var(--bg-surface) 100%);
}

.pricing-card.featured::after {
    content: "BEST VALUE";
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    background: var(--accent-developer);
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 800;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    color: var(--text-primary);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-developer);
}

/* CTA Section */
.cta-box {
    text-align: center;
    padding: 6rem 2rem;
    background: radial-gradient(circle at center, rgba(0, 242, 234, 0.1) 0%, rgba(0, 0, 0, 0) 60%);
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    margin: 4rem 0;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Utility Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s var(--ease-custom) forwards;
}

/* Light Mode Overrides for Services */
[data-theme="light"] .service-card,
[data-theme="light"] .pricing-card {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hero-bg-accent {
    background: radial-gradient(circle, rgba(0, 242, 234, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Contact Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease-custom);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--accent-developer);
    padding: 3rem;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s var(--ease-custom);
    box-shadow: 0 0 50px rgba(0, 242, 234, 0.1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-family: var(--font-mono);
    color: var(--accent-developer);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    color: var(--text-primary);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-developer);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

select.form-input:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f2ea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}


/* About Me Section Extensions */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-visual {
        order: -1;
        /* Show visual first on mobile */
        transform: scale(0.9);
    }
}

/* Light theme overrides for modal */
[data-theme="light"] .modal-card {
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
    background: #f8f9fa;
    border-color: #ddd;
    color: #333;
}