/* Neler Yapıyoruz - Frontend Styles */

.ny-section-wrapper {
    width: 100%;
    padding: 80px 20px;
    background: #f0f7f0;
    position: relative;
    overflow: hidden;
}

.ny-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Section */
.ny-top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.ny-top-left {
    animation: fadeInLeft 1s ease-out;
}

.ny-icon-wrapper {
    margin-bottom: 20px;
}

.ny-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid #2e7d32;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.ny-title {
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.ny-main-title {
    font-size: 42px;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1.2;
    margin: 0;
}

.ny-top-right {
    animation: fadeInRight 1s ease-out;
}

.ny-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.ny-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #2e7d32;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    position: relative;
    overflow: hidden;
}

.ny-button:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.ny-button-circle {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.3s ease;
}

.ny-button:hover .ny-button-circle {
    transform: translateX(5px);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Cards Section */
.ny-cards-section {
    margin-top: 40px;
}

.ny-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    align-items: stretch;
}

.ny-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ny-card:nth-child(1) { animation-delay: 0.1s; }
.ny-card:nth-child(2) { animation-delay: 0.2s; }
.ny-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ny-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.ny-card-title {
    position: absolute;
    top: 30px;
    left: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #2e7d32;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    white-space: nowrap;
    line-height: 1.2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.ny-card:hover .ny-card-title {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.ny-card-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    height: 550px;
    flex-shrink: 0;
    display: block;
}

.ny-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100%;
    min-height: 100%;
}

.ny-card:hover .ny-card-image img {
    transform: scale(1.1);
}

/* Card Overlay on Hover */
.ny-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.96) 0%, rgba(27, 94, 32, 0.94) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 30px;
    box-sizing: border-box;
    z-index: 3;
    backdrop-filter: blur(2px);
}

.ny-card:hover .ny-card-overlay {
    opacity: 1;
    visibility: visible;
}

.ny-card-overlay-content {
    text-align: center;
    color: #fff;
    max-width: 100%;
}

.ny-card-description {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.ny-card:hover .ny-card-description {
    opacity: 1;
    transform: translateY(0);
}

.ny-card-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #2e7d32;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.ny-card:hover .ny-card-button {
    opacity: 1;
    transform: translateY(0);
}

.ny-card-button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.ny-card-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ny-card-button:hover .ny-card-arrow {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ny-top-section {
        gap: 40px;
    }
    
    .ny-main-title {
        font-size: 36px;
    }
    
    .ny-cards-grid {
        gap: 20px;
    }
    
    .ny-card-image {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .ny-section-wrapper {
        padding: 50px 15px;
    }
    
    .ny-top-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .ny-main-title {
        font-size: 32px;
    }
    
    .ny-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .ny-card-image {
        height: 450px;
    }
    
    .ny-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .ny-section-wrapper {
        padding: 40px 10px;
    }
    
    .ny-main-title {
        font-size: 26px;
    }
    
    .ny-title {
        font-size: 16px;
    }
    
    .ny-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .ny-card-image {
        height: 400px;
    }
    
    .ny-card-title {
        font-size: 18px;
        padding: 12px 20px;
        top: 20px;
        left: 20px;
    }
    
    .ny-card-overlay {
        padding: 20px;
    }
    
    .ny-card-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .ny-card-button {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* Touch devices - show overlay on tap */
@media (hover: none) and (pointer: coarse) {
    .ny-card.ny-card-active .ny-card-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    .ny-card.ny-card-active .ny-card-description,
    .ny-card.ny-card-active .ny-card-button {
        opacity: 1;
        transform: translateY(0);
    }
}

