/* index2-style-20251223.css
   Page-specific styles for index2.php only.
   Keeps index.php safe from changes.
*/

/* What We Offer (index2.php - static modern layout) */
.offers-list {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Row layout (no card box) */
.offer-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 26px 0;
}

/* subtle page-level band (extends outside container) */
.offer-row::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: rgba(0, 102, 153, 0.04);
    border-radius: 26px;
    z-index: 0;
}

.offer-row--reverse {
    flex-direction: row-reverse;
}

/* Left image + angled shape (behind image) */
.offer-art {
    flex: 0 0 44%;
    min-height: 280px;
    position: relative;
    z-index: 1;
    --shape-skew: -12deg;
}

.offer-art::before,
.offer-art::after {
    content: "";
    position: absolute;
    border-radius: 0;
    transform: skewY(var(--shape-skew));
    transform-origin: center;
    z-index: 0;
}

.offer-art::before {
    left: -8px;
    right: 54px;
    top: 6px;
    bottom: 6px;
    background: rgba(0, 102, 153, 0.32);
}

.offer-art::after {
    left: 34px;
    right: -8px;
    top: 28px;
    bottom: -10px;
    background: rgba(0, 102, 153, 0.62);
}

.offer-image {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 60px);
    height: 250px;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    object-position: center;
    background: var(--white);
    z-index: 2;
}

.offer-row--reverse .offer-image {
    left: auto;
    right: -60px;
}

/* Mirror the shape geometry for alternate rows */
.offer-row--reverse .offer-art {
    --shape-skew: 12deg;
}

.offer-row--reverse .offer-art::before {
    left: 54px;
    right: -8px;
}

.offer-row--reverse .offer-art::after {
    left: -8px;
    right: 34px;
}

/* Right content */
.offer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 6px;
    position: relative;
    z-index: 1;
}

.offer-body h3 {
    margin: 0 0 12px;
    color: var(--dark-color);
    font-size: 1.7rem;
}

.offer-body p {
    margin: 0;
    color: #666;
    line-height: 1.8;
}

.offer-icons {
    margin: 18px 0 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.offer-icon {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
}

.offer-icon i {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-top: 2px;
}

.offer-icon span {
    font-size: 0.95rem;
}

.offer-body .service-link {
    margin-top: auto;
}

@media (max-width: 768px) {
    .offers-list {
        gap: 18px;
    }

    .offer-row,
    .offer-row--reverse {
        flex-direction: column;
        gap: 16px;
        padding: 18px 0 22px;
    }

    .offer-row::before {
        border-radius: 18px;
    }

    .offer-art {
        width: 100%;
        flex-basis: auto;
        min-height: 220px;
    }

    .offer-art::before,
    .offer-art::after {
        left: 10px;
        right: 10px;
        top: 10px;
        bottom: 10px;
        border-radius: 0;
        transform: skewY(-10deg);
    }

    .offer-image {
        position: relative;
        left: 0;
        right: auto;
        top: 0;
        transform: none;
        width: 100%;
        height: 210px;
        border-radius: 16px;
    }

    .offer-body {
        padding-right: 0;
    }

    .offer-body h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .offer-icons {
        grid-template-columns: 1fr 1fr;
        margin: 14px 0 12px;
    }
}

/* FAQ image (index2 only) */
.faq-image--index2 {
    max-width: 520px;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    transform: scaleX(-1);
}

/* Language switcher (index2 only) */
.lang-item {
    display: flex;
    align-items: center;
}

.lang-dropdown {
    position: relative;
}

.lang-dropdown summary {
    list-style: none;
}

.lang-dropdown summary::-webkit-details-marker {
    display: none;
}

.lang-trigger {
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    outline: none;
}

.lang-trigger i {
    color: var(--primary-color);
}

.lang-trigger:focus,
.lang-dropdown[open] .lang-trigger {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.18);
}

.lang-flag {
    font-size: 1.05rem;
    line-height: 1;
}

.lang-name {
    font-size: 0.95rem;
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 170px;
    padding: 8px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 50;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
}

.lang-option:hover {
    background: rgba(0, 102, 153, 0.08);
}

.lang-option-text {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .lang-menu {
        right: auto;
        left: 0;
    }
}
