/* Ana Extensions CSS */

/* Modül Slider */
.module-slider {
    position: relative;
    overflow: hidden;
}

.module-slider .swiper-container {
    padding: 30px 0;
    margin-left: -15px;
    margin-right: -15px;
}

.module-slider .swiper-slide {
    transform: scale(0.9);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.module-slider .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.module-slider .swiper-pagination {
    margin-top: 30px;
}

.module-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.module-slider .swiper-pagination-bullet-active {
    background: #ffffff;
}

.module-slider .swiper-button-next,
.module-slider .swiper-button-prev {
    color: #ffffff;
}

.module-slider .swiper-button-next:after,
.module-slider .swiper-button-prev:after {
    font-size: 20px;
}

/* Masonry Layout */
.masonry-container {
    position: relative;
    margin: 30px 0 50px;
    overflow: hidden;
}

.modules-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    justify-content: center;
}

.module-item {
    display: flex;
    align-items: center;
    background: rgba(30, 40, 70, 0.6);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    padding: 15px 20px;
    color: white;
    border: 1px solid rgba(77, 106, 228, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: grab;
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
}

.module-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(77, 106, 228, 0.3);
    border-color: rgba(77, 106, 228, 0.7);
    background: rgba(30, 40, 90, 0.7);
}

.module-item.dragging {
    cursor: grabbing;
    opacity: 0.9;
    box-shadow: 0 15px 30px rgba(77, 106, 228, 0.4);
    border-color: rgba(77, 106, 228, 1);
    background: rgba(35, 48, 100, 0.8);
    z-index: 1000;
}

.module-item i {
    font-size: 18px;
    margin-right: 10px;
    color: #4d6ae4;
}

.module-item span {
    font-weight: 500;
    white-space: nowrap;
}

/* Modül boyutları */
.module-item.size-sm {
    padding: 10px 15px;
}

.module-item.size-md {
    padding: 12px 18px;
}

.module-item.size-lg {
    padding: 15px 22px;
}

/* Modül Modal */
.module-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.module-modal.show {
    opacity: 1;
}

.module-modal-content {
    position: relative;
    background: linear-gradient(145deg, #1e2a4a 0%, #111827 100%);
    margin: 20px;
    padding: 0;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: #fff;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid rgba(77, 106, 228, 0.3);
    overflow: hidden;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-header {
    padding: 25px;
    background: rgba(77, 106, 228, 0.15);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.modal-icon {
    background: #4d6ae4;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(77, 106, 228, 0.3);
}

.modal-icon i {
    color: #fff;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    flex-grow: 1;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-body p {
    margin: 0 0 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.modal-features {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.modal-features h4 {
    margin: 0 0 15px;
    color: #4d6ae4;
    font-size: 18px;
    font-weight: 500;
}

.modal-features ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.modal-features li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.modal-features li:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    flex-shrink: 0;
}

.modal-button {
    background: #4d6ae4;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.modal-button:hover {
    background: #5f7df5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 106, 228, 0.3);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 3s infinite ease-in-out;
}

/* Rastgele animasyon gecikmeleri, her modüle farklı bir görünüm kazandırmak için */
.module-item:nth-child(1) {
    animation-delay: 0s;
}

.module-item:nth-child(2) {
    animation-delay: 0.2s;
}

.module-item:nth-child(3) {
    animation-delay: 0.4s;
}

.module-item:nth-child(4) {
    animation-delay: 0.6s;
}

.module-item:nth-child(5) {
    animation-delay: 0.8s;
}

.module-item:nth-child(6) {
    animation-delay: 1.0s;
}

.module-item:nth-child(7) {
    animation-delay: 1.2s;
}

.module-item:nth-child(8) {
    animation-delay: 1.4s;
}

.module-item:nth-child(9) {
    animation-delay: 1.6s;
}

.module-item:nth-child(10) {
    animation-delay: 1.8s;
}

.module-item:nth-child(11) {
    animation-delay: 0.3s;
}

.module-item:nth-child(12) {
    animation-delay: 0.5s;
}

.module-item:nth-child(13) {
    animation-delay: 0.7s;
}

.module-item:nth-child(14) {
    animation-delay: 0.9s;
}

.module-item:nth-child(15) {
    animation-delay: 1.1s;
}

.module-item:nth-child(16) {
    animation-delay: 1.3s;
}

.module-item:nth-child(17) {
    animation-delay: 1.5s;
}

.module-item:nth-child(18) {
    animation-delay: 1.7s;
}

.module-item:nth-child(19) {
    animation-delay: 1.9s;
}

.module-item:nth-child(20) {
    animation-delay: 0.1s;
}

/* Responsive Düzenlemeler */
@media (max-width: 1200px) {
    .module-item {
        margin-bottom: 5px;
    }

    .modules-wrapper {
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .modules-wrapper {
        gap: 10px;
    }

    .module-modal-content {
        width: 95%;
    }
}

@media (max-width: 767px) {
    .modules-wrapper {
        padding: 0 10px;
    }

    .module-item {
        width: calc(50% - 10px);
        justify-content: center;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body,
    .modal-footer {
        padding: 20px;
    }

    .modal-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .modal-header h3 {
        font-size: 20px;
    }

    .module-modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        max-width: 100%;
    }

    .module-modal {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .module-item {
        width: 100%;
    }

    .modal-features {
        padding: 15px;
    }

    .modal-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-right: 12px;
    }

    .modal-header h3 {
        font-size: 18px;
    }
}

/* Ekran Görüntüleri Galerisi */
.screenshot-gallery {
    position: relative;
    overflow: hidden;
}

.screenshot-gallery .swiper-container {
    padding: 30px 0;
}

.screenshot-gallery .swiper-slide {
    transition: all 0.3s ease;
}

.screenshot-gallery .swiper-pagination {
    margin-top: 30px;
}

.screenshot-gallery__nav {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.screenshot-gallery__nav .swiper-button-next,
.screenshot-gallery__nav .swiper-button-prev {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0 15px;
    display: inline-block;
    color: #4d6ae4;
}

.screenshot-gallery__nav .swiper-button-next:after,
.screenshot-gallery__nav .swiper-button-prev:after {
    font-size: 20px;
}

/* Teknik Özellikler */
.technical-features {
    position: relative;
}

.technical-features__image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Avantajlar Bölümü */
.advantages-section {
    position: relative;
}

.bg-dark-transparent {
    background: rgba(30, 42, 74, 0.4) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.text-white {
    color: #ffffff !important;
}

.opacity-80 {
    opacity: 0.8;
}

/* ERP Temasına Özel Renkler */
.bg-gradient-dark {
    background: linear-gradient(135deg, #1e2a4a 0%, #2a3f6a 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f5f9ff 0%, #eaf2ff 100%);
}

/* Eğimli Geçiş Bölümleri */
.slant-top:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: inherit;
    transform: skewY(-3deg);
    transform-origin: 0 0;
    z-index: 1;
}

.slant-bottom:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: inherit;
    transform: skewY(3deg);
    transform-origin: 100%;
    z-index: 1;
}

/* Şekil ikonları */
.module-slider__shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.05;
    z-index: 0;
}

.shape--1 {
    top: 15%;
    left: 10%;
    color: #4d6ae4;
}

.shape--2 {
    bottom: 20%;
    right: 5%;
    color: #6BD5E1;
}

.shape--3 {
    top: 40%;
    right: 15%;
    color: #50C878;
}

.shape--4 {
    bottom: 30%;
    left: 15%;
    color: #FFD700;
}

.shape--5 {
    top: 20%;
    right: 30%;
    color: #FF5733;
}

.opacity-15 {
    opacity: 0.15;
}

/* Text renkleri */
.text-primary {
    color: #4d6ae4 !important;
}

.text-info {
    color: #6BD5E1 !important;
}

.text-success {
    color: #50C878 !important;
}

.text-warning {
    color: #FFD700 !important;
}

.text-danger {
    color: #FF5733 !important;
}

/* Gradient iconlar */
.gradient-icon {
    background: linear-gradient(120deg, #331C9C 0%, #9066FB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Gradient renkli ikonları hover durumunda parlatma */
.gradient-icon:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
    transition: all 0.3s ease;
}