/* =============================================
   O NAS - Styles for the About Us page
   ============================================= */

/* --- Hero Section --- */
.onas-hero {
    position: relative;
    height: 640px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.onas-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 15, 10, 0.55) 0%, rgba(10, 15, 10, 0.75) 100%);
    z-index: 1;
}

.onas-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    padding-top: 80px;
}

.onas-hero-title {
    font-size: 72px;
    color: #fff;
    margin: 20px 0 30px;
    letter-spacing: -1px;
}

.onas-hero-accent {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-style: italic;
    text-transform: none;
    display: block;
    font-size: 64px;
    line-height: 1;
    color: rgba(255,255,255,0.8);
}

.onas-hero-desc {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Transformation Section --- */
.transform-section {
    background: #fff;
}

.transform-header {
    margin-bottom: 80px;
}

.transform-subtitle {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.8;
    max-width: 500px;
    margin: 15px auto 0;
}

.transform-card {
    background: var(--color-light);
    border-radius: 24px;
    padding: 40px;
    flex: 1;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.timeline-item.active .transform-card {
    opacity: 1;
    transform: translateY(0);
}

.transform-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.transform-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.transform-card-icon svg {
    width: 32px;
    height: 32px;
}

.transform-card-label {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 10px;
}

.transform-card-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.transform-card-desc {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Stress meter */
.stress-meter {
    margin-top: 10px;
}

.stress-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.stress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.stress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0;
}

.timeline-item.active .stress-fill--high {
    width: 92%;
    background: var(--color-secondary);
}

.timeline-item.active .stress-fill--medium {
    width: 50%;
    background: var(--color-primary);
}

.timeline-item.active .stress-fill--low {
    width: 12%;
    background: var(--color-accent);
}

.transform-image-float {
    width: 280px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.transform-image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Domek Break Section --- */
.domek-break {
    padding: 120px 0;
    background: #fff;
}

.domek-break-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.domek-break-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.1);
}

.domek-break-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Amenities Section --- */
.amenities-header {
    margin-bottom: 60px;
}

.amenities-subtitle {
    color: var(--color-text-muted);
    font-size: 16px;
    margin-top: 15px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.amenity-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 35px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.amenity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.amenity-card:hover::before {
    transform: scaleX(1);
}

.amenity-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(110, 142, 132, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    background: var(--color-accent);
    color: #fff;
}

.amenity-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.amenity-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.amenity-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(110, 142, 132, 0.1);
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

/* --- Testimonials Section --- */
.testimonials-header {
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px 35px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: #F39C12;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.testimonial-name {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.testimonial-date {
    display: block;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    margin-top: 3px;
}

.testimonial-domek-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    max-height: 450px;
}

.testimonial-domek-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-domek-caption {
    position: absolute;
    bottom: 25px;
    left: 30px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-dark);
}

/* --- CTA Section --- */
.onas-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .onas-hero-title { font-size: 56px; }
    .onas-hero-accent { font-size: 48px; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .domek-break-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .onas-hero {
        height: auto;
        min-height: 500px;
        padding: 100px 0 60px;
    }
    .onas-hero-title { font-size: 38px; }
    .onas-hero-accent { font-size: 32px; }
    .onas-hero-content {
        padding: 0 10px;
    }
    
    .transform-image-float {
        width: 100%;
        max-height: 250px;
    }
    .transform-card {
        padding: 25px;
    }
    .transform-card-title { font-size: 24px; }

    .amenities-grid { grid-template-columns: 1fr; }
    .amenity-card { padding: 30px 25px; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 30px 25px; }

    .domek-break { padding: 60px 0; }
    .domek-break-grid { grid-template-columns: 1fr; gap: 30px; }

    .onas-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .onas-cta-buttons .btn {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        justify-content: center;
    }
}
