/*
Theme Name: PS6 Repair Child Theme
Theme URI: https://www.PS6Repair.com
Description: Child theme for PS6 Repair website built on Astra
Author: PS6 Repair
Author URI: https://www.PS6Repair.com
Template: astra
Version: 1.0
Text Domain: ps6-repair-child
Domain Path: /languages
*/

/* Import parent theme styles */
@import url('../astra/style.css');

/* Custom CSS Variables */
:root {
    --ps6-primary: #003087;
    --ps6-primary-dark: #001a4d;
    --ps6-accent: #0056b3;
    --ps6-success: #28a745;
    --ps6-bg-light: #f8f9fa;
    --ps6-text-dark: #212529;
    --ps6-border: #dee2e6;
    --ps6-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--ps6-bg-light);
    color: var(--ps6-text-dark);
    line-height: 1.6;
}

/* Hero Section */
.ps6-hero {
    background: linear-gradient(135deg, var(--ps6-primary) 0%, var(--ps6-primary-dark) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    animation: fadeInDown 0.8s ease;
}

.ps6-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ps6-hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button */
.ps6-cta-button {
    display: inline-block;
    background: #00d4ff;
    color: var(--ps6-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--ps6-transition);
    border: 2px solid #00d4ff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.ps6-cta-button:hover {
    background: transparent;
    color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

/* Service Grid */
.ps6-repair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Repair Card */
.ps6-repair-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--ps6-transition);
    cursor: pointer;
    border-left: 4px solid var(--ps6-primary);
}

.ps6-repair-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-left-color: #00d4ff;
}

.ps6-repair-card h3 {
    color: var(--ps6-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.ps6-repair-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.ps6-repair-card button,
.ps6-repair-card a.button {
    background: var(--ps6-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--ps6-transition);
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
}

.ps6-repair-card button:hover,
.ps6-repair-card a.button:hover {
    background: var(--ps6-primary-dark);
    transform: scale(1.02);
}

/* Service Detail */
.ps6-service-detail {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.6s ease;
}

.ps6-service-detail h2 {
    color: var(--ps6-primary);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #00d4ff;
    padding-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyword Section */
.ps6-keyword-section {
    background: #f0f7ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--ps6-accent);
}

.ps6-keyword-section h4 {
    color: var(--ps6-primary);
    margin-bottom: 0.5rem;
}

.ps6-keyword-section p {
    color: #555;
    font-size: 0.95rem;
}

/* Service Content */
.ps6-service-content {
    margin-top: 2rem;
    line-height: 1.8;
}

.ps6-service-content h3 {
    color: var(--ps6-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.ps6-service-content p {
    color: #444;
    margin-bottom: 1rem;
}

/* Image Placeholder */
.ps6-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    color: #999;
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
    border: 2px dashed #ccc;
}

/* Back Button */
.ps6-back-button {
    background: var(--ps6-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--ps6-transition);
    margin-bottom: 2rem;
    text-decoration: none;
    display: inline-block;
}

.ps6-back-button:hover {
    background: var(--ps6-primary-dark);
}

/* Benefits List */
.ps6-benefits-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.ps6-benefits-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-left: 4px solid var(--ps6-success);
    border-radius: 4px;
    transition: var(--ps6-transition);
}

.ps6-benefits-list li:hover {
    background: #e8f5e9;
    transform: translateX(5px);
}

.ps6-benefits-list li::before {
    content: '✓ ';
    color: var(--ps6-success);
    font-weight: 700;
    margin-right: 0.75rem;
}

/* FAQ Section */
.ps6-faq-section {
    margin-top: 3rem;
}

.ps6-faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ps6-faq-question {
    background: #f0f7ff;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--ps6-primary);
    transition: var(--ps6-transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ps6-faq-question:hover {
    background: #e0f1ff;
}

.ps6-faq-answer {
    padding: 1.5rem;
    display: none;
    background: white;
    color: #555;
    line-height: 1.8;
}

.ps6-faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Contact CTA */
.ps6-contact-cta {
    background: linear-gradient(135deg, #00d4ff 0%, var(--ps6-accent) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.ps6-contact-cta h3 {
    margin-bottom: 1rem;
}

/* Meta Description */
.ps6-meta-description {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9f9f9;
    border-left: 3px solid var(--ps6-accent);
}

/* SEO Title */
.ps6-seo-title {
    color: var(--ps6-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Footer */
footer {
    background: var(--ps6-primary);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 3px solid #00d4ff;
}

footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ps6-hero {
        padding: 3rem 1rem;
    }

    .ps6-hero h1 {
        font-size: 2rem;
    }

    .ps6-service-detail {
        padding: 1.5rem;
    }

    .ps6-repair-grid {
        grid-template-columns: 1fr;
    }
}

/* Container */
.ps6-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    .ps6-container {
        padding: 2rem 1rem;
    }
}
