/* Modules Section - Why We Best Style */
.modules-section {
    padding: 80px 0;
    background: white;
    margin-top: 0;
}

/* Container */
.modules-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Badge - contact-badge styling from contact-form.css */
.modules-section .contact-badge {
    margin-bottom: 24px;
}

/* Section Title */
.modules-section .section-title {
    font-size: 3rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-family: 'Archivo', sans-serif;
}

/* Section Subtitle */
.modules-section .section-subtitle {
    font-size: 1.125rem;
    color: #8EA9C1;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-family: 'Poppins', sans-serif;
}

/* Grid Layout */
.modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Image Column */
.modules-image-col {
    position: relative;
    margin-left: -8rem;
}

.modules-image-col img {
    width: 100%;
    height: auto;
    max-width: none;
    display: block;
}

/* Content Column */
.modules-content-col {
    padding-right: 2rem;
}

/* Feature Items Slider Wrapper */
.modules-features-slider-wrapper {
    margin-top: 2.5rem;
    height: 400px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    cursor: grab;
    user-select: none;
}

.modules-features-slider-wrapper:active {
    cursor: grabbing;
}

.modules-features-slider-wrapper.dragging {
    cursor: grabbing;
}

/* Slider Container */
.modules-features-slider {
    display: flex;
    flex-direction: column;
    /* CSS animasyonu JavaScript ile kontrol edilecek */
    will-change: transform;
}

/* Vertical Slide Animation */
@keyframes verticalSlide {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Individual Feature Item */
.module-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

/* Icon Circle */
.module-icon-circle {
    min-width: 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(77, 213, 143, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-icon-circle img {
    width: 24px;
    height: 24px;
}

/* Feature Content */
.module-feature-content {
    margin-left: 1.25rem;
    flex: 1;
}

.module-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-family: 'Archivo', sans-serif;
}

.module-feature-description {
    font-size: 1.125rem;
    color: #8EA9C1;
    line-height: 1.75;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modules-grid {
        gap: 4rem;
    }
    
    .modules-image-col {
        margin-left: -4rem;
    }
    
    .modules-content-col {
        padding-right: 1rem;
    }
    
    .modules-section .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .modules-image-col {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .modules-image-col img {
        width: 100%;
        max-width: 100%;
    }
    
    .modules-content-col {
        order: 1;
        padding-right: 0;
        text-align: center;
    }
    
    .modules-section .section-title {
        font-size: 2.25rem;
    }
    
    .module-feature-item {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .modules-section {
        padding: 60px 0;
    }
    
    .modules-section .section-title {
        font-size: 1.875rem;
    }
    
    .modules-section .section-subtitle {
        font-size: 1rem;
    }
    
    .module-feature-title {
        font-size: 1.25rem;
    }
    
    .module-feature-description {
        font-size: 1rem;
    }
    
    .modules-features-slider-wrapper {
        margin-top: 2rem;
        height: 350px;
    }
    
    .module-feature-item {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 576px) {
    .modules-section {
        padding: 40px 0;
    }
    
    .modules-section .section-title {
        font-size: 1.5rem;
    }
    
    .modules-features-slider-wrapper {
        height: 300px;
    }
    
    .module-icon-circle {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }
    
    .module-icon-circle img {
        width: 20px;
        height: 20px;
    }
    
    .module-feature-content {
        margin-left: 1rem;
    }
    
    .module-feature-title {
        font-size: 1.125rem;
    }
    
    .module-feature-description {
        font-size: 0.9375rem;
    }
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}
