/**
 * SERVICES PAGE STYLES
 * Fanny Kocziszky - Services page specific styles
 */

/* ==========================================================================
   SERVICES PAGE LAYOUT
   ========================================================================== */

.services-page {
    min-height: 100vh;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.services-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/patterns/textile-pattern.svg') repeat;
    opacity: 0.03;
    z-index: 1;
}

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

.services-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-hero .hero-subtitle {
    font-size: 1.5rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.services-hero .hero-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   SERVICES OVERVIEW
   ========================================================================== */

.services-overview {
    padding: 80px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-highlight {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-highlight:hover::before {
    transform: scaleX(1);
}

.service-highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-highlight h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-highlight p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.service-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #2980b9;
}

/* ==========================================================================
   DETAILED SERVICES SECTIONS
   ========================================================================== */

.textile-services,
.restoration-services,
.consultation-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.restoration-services {
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

.availability-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #856404;
}

.notice-icon {
    font-size: 1.2rem;
}

/* ==========================================================================
   SERVICE DETAILS
   ========================================================================== */

.services-detailed {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-detail {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-summary {
    font-size: 1.1rem;
    color: #3498db;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.service-description {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.included-services h4,
.difficulty-factors h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.included-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.included-item {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.difficulty-factors p {
    color: #5a6c7d;
    font-style: italic;
}

.service-details {
    background: #f8f9fa;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid #e9ecef;
}

.service-pricing .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.duration,
.lead-time {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.duration-label,
.lead-time-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.duration-value,
.lead-time-value {
    color: #5a6c7d;
}

.consultation-note {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1976d2;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.consultation-icon {
    font-size: 1.1rem;
}

.service-action {
    margin-top: auto;
}

/* ==========================================================================
   SMALL SERVICE CARDS
   ========================================================================== */

.services-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f3f4;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card .service-pricing {
    margin-bottom: 1.5rem;
}

.service-card .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3498db;
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */

.process-timeline {
    padding: 80px 0;
    background: #fff;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    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: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.timeline-step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-step p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */

.pricing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-info {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-note {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-note p {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 1.1rem;
}

.pricing-factors {
    margin-bottom: 4rem;
}

.factor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.factor-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f3f4;
}

.factor-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.factor-item p {
    color: #5a6c7d;
    line-height: 1.6;
}

.pricing-ranges h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.ranges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.range-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f3f4;
    text-align: center;
    transition: transform 0.3s ease;
}

.range-item:hover {
    transform: translateY(-4px);
}

.range-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.75rem;
}

.range-item p {
    color: #5a6c7d;
    font-size: 0.9rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #3498db;
}

.faq-item.active {
    border-color: #3498db;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-item.active .faq-question {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.faq-arrow {
    font-size: 1.5rem;
    color: #3498db;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   CALL TO ACTION
   ========================================================================== */

.services-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta-content > p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.cta-option {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.cta-option:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.cta-option h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cta-option p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-info strong {
    color: #fff;
}

.response-time {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.4);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .services-hero {
        padding: 80px 0 60px;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-highlight {
        padding: 2rem;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .service-content,
    .service-details {
        padding: 2rem;
    }
    
    .service-details {
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
    
    .timeline-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .factor-grid,
    .ranges-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-options {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .service-highlight,
    .service-content,
    .service-details {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 14px 20px;
        width: 100%;
    }
    
    .btn-large {
        padding: 18px 24px;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

.service-highlight,
.service-detail,
.timeline-step,
.factor-item,
.range-item {
    animation: fadeInUp 0.6s ease-out;
}

.service-highlight:nth-child(2) { animation-delay: 0.1s; }
.service-highlight:nth-child(3) { animation-delay: 0.2s; }

.timeline-step:nth-child(2) { animation-delay: 0.1s; }
.timeline-step:nth-child(3) { animation-delay: 0.2s; }
.timeline-step:nth-child(4) { animation-delay: 0.3s; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }