/* ====================================================================
   BERPLUS HOME PAGE - CUSTOM STYLES
   Profesyonel CSS Organizasyonu
   ==================================================================== */

/* ====================================================================
   1. LOGO & HEADER STYLES
   ==================================================================== */

/* Logo Boyutu */
.logo-box-one img {
    max-height: 90px !important;
    width: auto;
}

/* Mobil Header Optimizasyonu */
@media (max-width: 991px) {
    .main-header-two__bottom {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 10px 0 !important;
        min-height: auto !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    }
    
    .main-header-two__bottom-left {
        padding: 5px 0 !important;
    }
    
    .logo-box-one img {
        max-height: 60px !important;
    }
}

@media (max-width: 575px) {
    .main-header-two__bottom {
        background: rgba(255, 255, 255, 0.92) !important;
        padding: 8px 0 !important;
    }
    
    .logo-box-one img {
        max-height: 50px !important;
    }
}


/* ====================================================================
   2. SLIDER STYLES
   ==================================================================== */

/* Slider Büyütme */
.main-slider-two {
    min-height: 750px !important;
}

.main-slider-two .swiper-slide {
    min-height: 750px !important;
}

.main-slider-two .image-layer,
.main-slider-two .video-layer {
    min-height: 750px !important;
}

/* Video Slider Styles */
.video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.slider-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.slider-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* Overlay kaldır - tam görsel göster */
.main-slider-two .image-layer::before {
    display: none !important;
}

.main-slider-two__content {
    position: relative;
    z-index: 2;
}

.swiper-slide .image-layer,
.swiper-slide .video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ====================================================================
   3. MODERN SERVICES CARDS - OVERLAPPING STYLE
   ==================================================================== */

.modern-services-section {
    position: relative;
    margin-top: -120px;
    padding-bottom: 80px;
    z-index: 10;
}

.modern-services-wrapper {
    position: relative;
}

.modern-service-card {
    margin-bottom: 30px;
    height: 100%;
}

.service-card-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Top border animasyonu */
.service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #57C2FF 0%, #3B9EE5 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-inner:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(101, 113, 255, 0.25);
}

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


/* ====================================================================
   4. SERVICE CARD BACKGROUNDS (4 Farklı Kart)
   ==================================================================== */

/* Ortak background stilleri */
.modern-service-card.has-background .service-card-inner,
.modern-service-card.has-background-2 .service-card-inner,
.modern-service-card.has-background-3 .service-card-inner,
.modern-service-card.has-background-4 .service-card-inner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Ortak beyaz overlay */
.modern-service-card.has-background .service-card-inner::after,
.modern-service-card.has-background-2 .service-card-inner::after,
.modern-service-card.has-background-3 .service-card-inner::after,
.modern-service-card.has-background-4 .service-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    z-index: 0;
}

/* İçeriği overlay üstünde tut */
.modern-service-card.has-background .service-icon,
.modern-service-card.has-background .service-content,
.modern-service-card.has-background .service-arrow,
.modern-service-card.has-background-2 .service-icon,
.modern-service-card.has-background-2 .service-content,
.modern-service-card.has-background-2 .service-arrow,
.modern-service-card.has-background-3 .service-icon,
.modern-service-card.has-background-3 .service-content,
.modern-service-card.has-background-3 .service-arrow,
.modern-service-card.has-background-4 .service-icon,
.modern-service-card.has-background-4 .service-content,
.modern-service-card.has-background-4 .service-arrow {
    position: relative;
    z-index: 1;
}

/* Her kartın özel background'ı */
.modern-service-card.has-background .service-card-inner {
    background-image: url('../images/slider-back/resmi.jpg');
}

.modern-service-card.has-background-2 .service-card-inner {
    background-image: url('../images/slider-back/kentsel.png');
}

.modern-service-card.has-background-3 .service-card-inner {
    background-image: url('../images/slider-back/cinarkent-berplus.png');
}

.modern-service-card.has-background-4 .service-card-inner {
    background-image: url('../images/slider-back/erim.png');
}


/* ====================================================================
   5. SERVICE CARD COMPONENTS (İkon, İçerik, Link)
   ==================================================================== */

/* Service Icon */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #57C2FF 0%, #3B9EE5 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.service-card-inner:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-card-inner:hover .service-icon::after {
    right: -100%;
}

.service-icon i {
    font-size: 36px;
    color: #ffffff;
    z-index: 1;
    position: relative;
}

/* Service Image */
.service-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Content */
.service-content {
    flex: 1;
    margin-bottom: 20px;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-card-inner:hover .service-content h3 {
    color: #57C2FF;
}

.service-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Service Meta */
.service-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.project-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #57C2FF;
    background: rgba(87, 194, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-card-inner:hover .project-count {
    background: rgba(87, 194, 255, 0.15);
    transform: scale(1.05);
}

.project-count i {
    font-size: 12px;
}

/* Service Arrow/Link */
.service-arrow {
    margin-top: auto;
    padding-top: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    color: #57C2FF;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #57C2FF 0%, #3B9EE5 100%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-link i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card-inner:hover .service-link {
    transform: translateX(10px);
}

.service-card-inner:hover .service-link::before {
    transform: scale(1);
}

.service-card-inner:hover .service-link i {
    color: #ffffff;
}


/* ====================================================================
   6. SECTION TITLE RESPONSIVE
   ==================================================================== */

@media (max-width: 991px) {
    .sec-title-two h3 {
        font-size: 14px !important;
    }
    
    .sec-title-two h2 {
        font-size: 32px !important;
    }
    
    .sec-title-two p {
        font-size: 15px !important;
    }
}

@media (max-width: 575px) {
    .sec-title-two h2 {
        font-size: 26px !important;
    }
    
    .sec-title-two p {
        font-size: 14px !important;
        padding: 0 15px;
    }
}


/* ====================================================================
   7. RESPONSIVE STYLES
   ==================================================================== */

@media (max-width: 991px) {
    .modern-services-section {
        margin-top: -80px;
    }
    
    .service-card-inner {
        padding: 30px 25px;
    }
    
    .service-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .modern-services-section {
        margin-top: -50px;
        padding-bottom: 50px;
    }
    
    .service-card-inner {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 30px;
    }
    
    .service-content h3 {
        font-size: 18px;
    }
}


/* ====================================================================
   8. END OF FILE
   ==================================================================== */
