/**
 * SERVICE PAGE LAYOUT TYPES CSS
 * Bu faylda bütün layout types üçün stilər var
 * Hər service-ə tətbiq olunur: service-layout-{layout-type}
 */

/* ═════════════════════════════════════════════════════════════ */
/* BASE STYLES */
/* ═════════════════════════════════════════════════════════════ */

.service-detail-hero {
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.service-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* SLIDER WRAPPER */
.service-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.service-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(255,255,255,0.1);
}

.service-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.service-slide.active {
    opacity: 1;
}

.service-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DOTS */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #fff;
}

/* THUMBNAILS */
.service-gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding: 8px 0;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    min-width: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #ffc107;
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.5);
}

/* CONTENT */
.service-detail-content {
    color: #fff;
}

.service-content-inner {
    max-width: 600px;
}

.service-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #fff;
}

.service-description p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
}

.service-features-list h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffc107;
}

.service-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features-list ul li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    border-left: 2px solid rgba(255,193,7,0.3);
    margin-bottom: 8px;
}

.service-features-list ul li:before {
    content: "●";
    position: absolute;
    left: 10px;
    color: #ffc107;
}

/* ═════════════════════════════════════════════════════════════ */
/* CLASSIC-LEFT */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-classic-left .service-detail-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* ═════════════════════════════════════════════════════════════ */
/* IMAGE-RIGHT */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-image-right .service-detail-container {
    direction: rtl;
}

.service-layout-image-right .service-slider-wrapper,
.service-layout-image-right .service-detail-content {
    direction: ltr;
}

/* ═════════════════════════════════════════════════════════════ */
/* FULL-HERO */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-full-hero {
    align-items: flex-start;
}

.service-layout-full-hero .service-detail-container {
    max-width: 1100px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
}

.service-layout-full-hero .service-slider-wrapper {
    max-width: 100%;
}

.service-layout-full-hero .service-slider {
    height: 520px;
}

/* ═════════════════════════════════════════════════════════════ */
/* OVERLAP-IMAGE */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-overlap-image .service-detail-container {
    align-items: center;
    gap: 0;
}

.service-layout-overlap-image .service-slider-wrapper {
    max-width: 640px;
    margin-right: -110px;
    z-index: 2;
}

.service-layout-overlap-image .service-detail-content {
    background: rgba(0, 0, 0, 0.72);
    border-radius: 16px;
    padding: 30px 34px 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(205, 185, 105, 0.5);
    position: relative;
    z-index: 1;
}

/* ═════════════════════════════════════════════════════════════ */
/* OVERLAP-TEXT */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-overlap-text .service-detail-container {
    align-items: center;
    gap: 0;
}

.service-layout-overlap-text .service-slider-wrapper {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.service-layout-overlap-text .service-detail-content {
    background: rgba(0, 0, 0, 0.72);
    border-radius: 16px;
    padding: 30px 34px 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(205, 185, 105, 0.5);
    position: relative;
    margin-left: -110px;
    z-index: 2;
    color: #f5f5f5;
}

/* ═════════════════════════════════════════════════════════════ */
/* FRAMED */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-framed .service-slider-wrapper,
.service-layout-framed .service-detail-content {
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
    background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.08), transparent 60%), #050505;
    padding: 16px;
}

.service-layout-framed .service-slider {
    border-radius: 14px;
}

/* ═════════════════════════════════════════════════════════════ */
/* MINIMAL */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-minimal {
    background: #020202;
    min-height: auto;
    padding: 50px 0;
}

.service-layout-minimal .service-detail-container {
    max-width: 1200px;
    gap: 40px;
}

.service-layout-minimal .service-slider {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
}

.service-layout-minimal .service-detail-content {
    max-width: 640px;
}

/* ═════════════════════════════════════════════════════════════ */
/* GRID */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-grid .service-slider-wrapper {
    display: none;
}

.service-layout-grid .service-detail-container {
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-layout-grid .service-detail-content {
    max-width: 100%;
}

.service-layout-grid .service-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.service-layout-grid .gallery-thumb {
    width: 100%;
    height: 120px;
    border-radius: 8px;
}

/* ═════════════════════════════════════════════════════════════ */
/* CAROUSEL */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-carousel .service-detail-container {
    grid-template-columns: 1fr;
}

.service-layout-carousel .service-slider {
    height: 500px;
}

.service-layout-carousel .service-gallery-thumbnails {
    flex-direction: row;
    width: 100%;
}

/* ═════════════════════════════════════════════════════════════ */
/* SPLIT-SCREEN */
/* ═════════════════════════════════════════════════════════════ */

.service-layout-split-screen .service-detail-container {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.service-layout-split-screen .service-slider-wrapper {
    max-width: 100%;
    border-radius: 0;
}

.service-layout-split-screen .service-slider {
    height: 100%;
    min-height: 600px;
    border-radius: 0;
}

.service-layout-split-screen .service-detail-content {
    display: flex;
    align-items: center;
    padding: 50px;
}

/* ═════════════════════════════════════════════════════════════ */
/* YENİ PREMIUM LAYOUT-LAR */
/* ═════════════════════════════════════════════════════════════ */

/* DIAGONAL-SPLIT */
.service-layout-diagonal-split .service-detail-container {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.service-layout-diagonal-split .service-slider-wrapper {
    max-width: 100%;
    border-radius: 0;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.service-layout-diagonal-split .service-detail-content {
    display: flex;
    align-items: center;
    padding: 50px;
    background: linear-gradient(135deg, rgba(255,215,0,0.05) 0%, rgba(0,0,0,0.8) 100%);
    position: relative;
    z-index: 2;
    margin-left: -30px;
}

/* WAVE-OVERLAY */
.service-layout-wave-overlay .service-detail-container {
    grid-template-columns: 1fr;
    position: relative;
    padding: 60px 0;
}

.service-layout-wave-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,50 Q300,10 600,50 T1200,50 L1200,120 L0,120 Z" fill="%23050505" opacity="0.8"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.service-layout-wave-overlay .service-slider-wrapper {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 80px rgba(255,215,0,0.15);
}

.service-layout-wave-overlay .service-detail-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* CAROUSEL-3D */
.service-layout-carousel-3d .service-detail-container {
    grid-template-columns: 1fr;
    perspective: 1200px;
}

.service-layout-carousel-3d .service-slider {
    transform-style: preserve-3d;
    height: 550px;
}

.service-layout-carousel-3d .service-slide {
    transform: rotateY(-20deg) scale(0.9);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-layout-carousel-3d .service-slide.active {
    transform: rotateY(0) scale(1);
    opacity: 1;
    z-index: 10;
}

/* CAROUSEL-STACKED */
.service-layout-carousel-stacked .service-detail-container {
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-layout-carousel-stacked .service-slider {
    height: 500px;
    position: relative;
}

.service-layout-carousel-stacked .service-slide {
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s ease;
}

.service-layout-carousel-stacked .service-slide.active {
    transform: translateY(0) scale(1);
    box-shadow: 0 25px 60px rgba(255,215,0,0.25);
}

/* GRID-MASONRY */
.service-layout-grid-masonry .service-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-auto-rows: 140px;
    gap: 18px;
    margin-top: 40px;
}

.service-layout-grid-masonry .gallery-thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-layout-grid-masonry .gallery-thumb:nth-child(3n+1) {
    grid-column: span 1;
    grid-row: span 2;
}

.service-layout-grid-masonry .gallery-thumb:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 50px rgba(255,215,0,0.3);
}

/* GALLERY-HOVER */
.service-layout-gallery-hover .gallery-thumb {
    position: relative;
    overflow: hidden;
}

.service-layout-gallery-hover .gallery-thumb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,215,0,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.service-layout-gallery-hover .gallery-thumb:hover::before {
    width: 300px;
    height: 300px;
}

.service-layout-gallery-hover .gallery-thumb:hover {
    filter: brightness(1.2);
    transform: scale(1.08);
}

/* GALLERY-LIGHTBOX */
.service-layout-gallery-lightbox .service-slider-wrapper {
    display: none;
}

.service-layout-gallery-lightbox .service-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.service-layout-gallery-lightbox .gallery-thumb {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.service-layout-gallery-lightbox .gallery-thumb:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255,215,0,0.35);
    opacity: 1;
}

/* MODERN-CLEAN */
.service-layout-modern-clean {
    background: linear-gradient(to bottom, #0a0a0a, #050505);
    padding: 100px 0;
}

.service-layout-modern-clean .service-detail-container {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1300px;
}

.service-layout-modern-clean .service-slider-wrapper {
    max-width: 100%;
}

.service-layout-modern-clean .service-slider {
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(255,215,0,0.1);
}

.service-layout-modern-clean .service-detail-content {
    max-width: 100%;
}

.service-layout-modern-clean .service-title {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* MINIMALIST-DARK */
.service-layout-minimalist-dark {
    background: #000;
    padding: 80px 0;
}

.service-layout-minimalist-dark .service-detail-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-layout-minimalist-dark .service-slider {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-layout-minimalist-dark .service-title {
    color: #fff;
    font-size: 48px;
}

/* TEXT-OVER-IMAGE */
.service-layout-text-over-image .service-detail-container {
    grid-template-columns: 1fr;
    position: relative;
    gap: 0;
}

.service-layout-text-over-image .service-slider-wrapper {
    max-width: 100%;
    width: 100%;
    height: 700px;
    position: relative;
    z-index: 1;
}

.service-layout-text-over-image .service-detail-content {
    position: absolute;
    left: 50px;
    bottom: 50px;
    right: 50px;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0,0,0,0.92), rgba(50,50,50,0.88));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255,215,0,0.3);
    max-width: 600px;
}

/* ZOOM-IMAGE */
.service-layout-zoom-image .service-slider-wrapper {
    max-width: 700px;
    overflow: hidden;
}

.service-layout-zoom-image .service-slider {
    border-radius: 16px;
    overflow: hidden;
}

.service-layout-zoom-image .service-slide img {
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-layout-zoom-image .service-slider-wrapper:hover .service-slide.active img {
    transform: scale(1.1);
}

/* PARALLAX */
.service-layout-parallax .service-detail-container {
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-layout-parallax .service-slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.service-layout-parallax .service-slider {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* IMAGE-ACCORDION */
.service-layout-image-accordion .service-slider-wrapper {
    display: none;
}

.service-layout-image-accordion .service-gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    height: 500px;
    width: 100%;
}

.service-layout-image-accordion .gallery-thumb {
    flex: 1;
    height: 100%;
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.7;
}

.service-layout-image-accordion .gallery-thumb:hover,
.service-layout-image-accordion .gallery-thumb.active {
    flex: 2.5;
    opacity: 1;
    box-shadow: 0 15px 50px rgba(255,215,0,0.25);
}

/* ═════════════════════════════════════════════════════════════ */
/* RESPONSIVE */
/* ═════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .service-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-slider-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }

    .service-title {
        font-size: 36px;
    }

    .service-layout-diagonal-split .service-detail-container,
    .service-layout-modern-clean .service-detail-container,
    .service-layout-minimalist-dark .service-detail-container {
        grid-template-columns: 1fr;
    }

    .service-layout-diagonal-split .service-slider-wrapper {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }

    .service-layout-diagonal-split .service-detail-content {
        margin-left: 0;
    }

    .service-layout-text-over-image .service-detail-content {
        position: relative;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
    }

    .service-layout-modern-clean .service-detail-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .service-slider {
        height: 400px;
    }

    .service-title {
        font-size: 28px;
    }

    .service-description p {
        font-size: 16px;
    }

    .service-layout-image-accordion .service-gallery-thumbnails {
        height: 300px;
    }

    .service-layout-carousel-3d .service-slide {
        transform: rotateY(0) scale(1);
    }

    .service-layout-wave-overlay .service-detail-container {
        padding: 40px 0;
    }
}
