/* Oberwinterthur Page Specific Styles */
/* Ensure font-display swap for web fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(rgba(10, 14, 39, 0.85), rgba(26, 31, 58, 0.85)), url('../img/oberwinterthur/oberwinterthur-hero-bg.webp') center/cover;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 18, 48, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons .btn {
    padding: 14px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.hero-buttons .btn-primary {
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
}

.hero-buttons .btn-primary:hover {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-buttons .btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border: 2px solid #25d366;
}

.hero-buttons .btn-whatsapp:hover {
    background: transparent;
    color: #25d366;
    border-color: #25d366;
}

.hero-buttons .btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.hero-buttons .btn-secondary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Modern Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #e91e63);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(196, 18, 48, 0.2);
    position: relative;
    overflow: hidden;
}

.section-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.section-tag:hover::before {
    left: 100%;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent), #e91e63);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 24px;
    font-weight: 400;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 64px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 48px 36px;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(196, 18, 48, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: opacity 0.3s ease;
}

.service-link:hover {
    opacity: 0.8;
}

/* Trust Section - Modern Design */
.trust {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(196, 18, 48, 0.03) 0%, transparent 70%);
    z-index: 1;
}

.trust .container {
    position: relative;
    z-index: 2;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 64px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), #e91e63, #9c27b0);
    transform: translateY(-4px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px 24px 0 0;
}

.trust-item:hover::before {
    transform: translateY(0);
}

.trust-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(196, 18, 48, 0.1);
}

.trust-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--accent), #e91e63)!important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(196, 18, 48, 0.25);
}

.trust-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: transform 0.6s ease;
    transform: translateX(-100%);
}

.trust-item:hover .trust-icon::before {
    transform: translateX(100%);
}

.trust-icon svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.trust-item h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.trust-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

.trust-item strong {
    color: var(--accent);
    font-weight: 700;
}

/* Additional trust item styling */
.trust-item:nth-child(1) .trust-icon {
    background: linear-gradient(135deg, #00c851, #007e33);
    box-shadow: 0 8px 24px rgba(0, 200, 81, 0.25);
}

.trust-item:nth-child(2) .trust-icon {
    background: linear-gradient(135deg, #ff6b00, #cc5500);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.25);
}

.trust-item:nth-child(3) .trust-icon {
    background: linear-gradient(135deg, var(--accent), #e91e63);
    box-shadow: 0 8px 24px rgba(196, 18, 48, 0.25);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 50%, #f8fafc 100%);
    color: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(196, 18, 48, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
    position: relative;
}

.cta h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent), #e91e63);
    border-radius: 2px;
}

.cta p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-primary {
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 18, 48, 0.2);
}

.cta-buttons .btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-buttons .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 14, 39, 0.2);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid var(--accent);
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.testimonial-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.testimonial-details p {
    font-size: 14px;
    color: var(--text-light);
}

/* FAQ styling */
.faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
}

.faq-a {
    display: none;
    padding: 0 20px 16px 20px;
    color: var(--text);
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .faq-q {
    background: var(--bg-light);
}

/* Advanced Responsive Design */

/* Large Tablets - 1024px and down */
@media (max-width: 1024px) {
    .services-grid {
        gap: 32px;
        max-width: 800px;
    }
    
    .trust-items {
        gap: 40px;
        max-width: 700px;
    }
    
    .section-header h2 {
        font-size: 38px;
    }
}

/* Small Tablets - 768px and down */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 18px;
        margin-bottom: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-buttons .btn {
        padding: 14px 20px;
        font-size: 16px;
        justify-content: center;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 48px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 17px;
    }

    .section-tag {
        font-size: 13px;
        padding: 8px 18px;
    }

    /* Grid Layouts */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 500px;
    }
    
    .trust-items {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 500px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Service Cards */
    .service-card {
        padding: 36px 28px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }

    /* Trust Items */
    .trust-item h3 {
        font-size: 20px;
    }

    /* CTA Section */
    .cta h2 {
        font-size: 28px;
    }

    .cta p {
        font-size: 17px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .cta-buttons .btn {
        padding: 16px 32px;
        font-size: 16px;
        width: 100%;
        max-width: 320px;
    }
}

/* Large Mobile - 600px and down */
@media (max-width: 600px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 17px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .services,
    .trust,
    .testimonials {
        padding: 80px 0;
    }
    
    .service-card {
        padding: 32px 24px;
    }
}

/* Small Mobile - 480px and down */
@media (max-width: 480px) {
    /* Hero Section */
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-buttons .btn {
        padding: 12px 18px;
        font-size: 15px;
    }

    .hero-buttons {
        gap: 8px;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 15px;
    }

    .section-tag {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* Sections */
    .services,
    .trust,
    .testimonials {
        padding: 60px 0;
    }

    /* Service Cards */
    .service-card {
        padding: 28px 20px;
    }
    
    .service-card h3 {
        font-size: 19px;
    }
    
    .service-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 20px;
    }
    
    .service-icon svg {
        width: 32px;
        height: 32px;
    }

    /* Trust Items */
    .trust-icon {
        width: 56px;
        height: 56px;
        margin: 0 auto 16px;
    }
    
    .trust-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    /* CTA Section */
    .cta {
        padding: 60px 0;
    }
    
    .cta h2 {
        font-size: 24px;
    }

    .cta p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .cta-buttons .btn {
        padding: 14px 24px;
        font-size: 15px;
        max-width: 280px;
    }
}

/* Extra Small Mobile - 375px and down */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 26px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .service-card {
        padding: 24px 16px;
    }
    
    .cta-buttons .btn {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Container & General Responsive Improvements */
.container {
    padding: 0 20px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* Process Section Responsive */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    
    .process-timeline {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: center !important;
    }
}

/* FAQ Section Responsive */
@media (max-width: 768px) {
    .faq-q {
        padding: 16px;
        font-size: 15px;
    }
    
    .faq-a {
        padding: 0 16px 12px 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .faq-q {
        padding: 14px;
        font-size: 14px;
    }
    
    .faq-a {
        padding: 0 14px 10px 14px;
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Testimonials Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 28px 24px;
    }
    
    .testimonial-quote {
        font-size: 15px;
    }
    
    .testimonial-avatar {
        width: 44px;
        height: 44px;
    }
    
    .testimonial-details h4 {
        font-size: 15px;
    }
    
    .testimonial-details p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 24px 20px;
    }
    
    .testimonial-quote {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .testimonial-details h4 {
        font-size: 14px;
    }
    
    .testimonial-details p {
        font-size: 12px;
    }
}