/* ===== SLIDESHOW ===== */

.slideshow {
    position: relative;
    width: calc(100% - 80px);
    height: 700px;
    overflow: hidden;
    margin: 80px 40px 0 40px;
    border-radius: 16px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1,42,158,0.78) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 60px 20px;
    text-align: center;
}

.slide-overlay h2 {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: white;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    cursor: pointer;
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}

.slideshow-arrow:hover { background: rgba(255, 255, 255, 0.45); }
.slideshow-arrow.prev { left: 16px; }
.slideshow-arrow.next { right: 16px; }

.sjameira-btn {
    display: inline-block;
    padding: 13px 36px;
    background: white;
    color: #012a9e;
    border: none;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sjameira-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

/* ===== BEFORE/AFTER TRANSFORM CARDS ===== */
.transform-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: crosshair;
}

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

.transform-card .img-after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.transform-card:hover .img-after {
    opacity: 1;
}

.extra-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease;
}

.extra-photos.revealed {
    max-height: 900px;
    opacity: 1;
}

.extra-photos img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
}

.sjameira-reveal {
    display: inline-block;
    margin-top: 20px;
    padding: 11px 28px;
    background: #012a9e;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.sjameira-reveal:hover {
    background: #001f7a;
    transform: translateY(-2px);
}

/* ===== SERVICE SECTIONS ===== */

.service-section {
    max-width: 960px;
    margin: 72px auto;
    padding: 0 24px;
}

.service-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.service-section-header a { text-decoration: none; color: #111; transition: color 0.2s; }
.service-section-header a:hover { color: #012a9e; }

.service-section-header h2 {
    font-size: 1.75rem;
    font-weight: 900;
    margin: 0;
    color: #012a9e;
    letter-spacing: 0.5px;
}

.service-section p.service-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 700px;
}

.photos-single img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.photos-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.photos-two img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    transition: transform 0.25s, box-shadow 0.25s;
}

.photos-two img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.sjameira-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 11px 28px;
    background: #012a9e;
    color: white;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.2s;
}

.sjameira-link:hover {
    background: #001f7a;
    transform: translateY(-2px);
}

.section-divider {
    max-width: 960px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid #e8ecf1;
}

@media (max-width: 700px) {
    .slideshow { width: 100%; margin: 80px 0 0 0; border-radius: 0; height: 420px; }
    .slide img { height: 420px; }
    .slide-overlay h2 { font-size: 1.7rem; }
    .photos-two { grid-template-columns: 1fr; }
}
