@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

.container {
    font-family: 'Open Sans', sans-serif;
    padding: 2rem 0;
}

.container h1 {
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    opacity: 0;
    animation: slideDown 0.8s ease forwards;
}

.container h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: translateX(-50%);
    border-radius: 2px;
    animation: gradientFlow 3s infinite linear;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Grid düzenini değiştir */
.row {
    margin: 0 -1rem;
}

.col {
    padding: 1rem;
    margin-bottom: 2rem;
}

/* Kartları dikdörtgen formata uyarla */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    position: relative;
    max-width: 412px;
    margin: 0 auto;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.card:hover::before {
    opacity: 1;
}

/* Görsel boyutlarını ayarla */
.card img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    filter: brightness(0.95);
    transition: all 0.4s ease;
}

.card:hover img {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,1) 100%);
}

.card-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    font-size: 1.25rem;
}

.card-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.card:hover .card-title::before {
    width: 100%;
}

.card-text {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    opacity: 0.8;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.card:hover .card-text {
    transform: translateY(-2px);
    opacity: 1;
}

.card-footer {
    background: transparent;
    border-top: none;
    padding: 0.5rem 1.5rem 1.5rem;
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,1) 100%);
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
    width: 80%;
    max-width: 200px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.1);
    background: linear-gradient(135deg, #2ecc71, #3498db);
}

.btn-primary i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover i {
    transform: rotate(360deg);
}

/* Kart Animasyonu */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.col {
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
}

.col:nth-child(1) { animation-delay: 0.1s; }
.col:nth-child(2) { animation-delay: 0.2s; }
.col:nth-child(3) { animation-delay: 0.3s; }
.col:nth-child(4) { animation-delay: 0.4s; }
.col:nth-child(5) { animation-delay: 0.5s; }
.col:nth-child(6) { animation-delay: 0.6s; }
.col:nth-child(7) { animation-delay: 0.7s; }
.col:nth-child(8) { animation-delay: 0.8s; }
.col:nth-child(9) { animation-delay: 0.9s; }
.col:nth-child(10) { animation-delay: 1s; }
.col:nth-child(11) { animation-delay: 1.1s; }
.col:nth-child(12) { animation-delay: 1.2s; }

/* Paralaks Efekti */
.card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1),
                0 8px 15px rgba(52, 152, 219, 0.2);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .card {
        max-width: 100%;
    }
    
    .card img {
        height: 400px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-footer {
        padding: 0.5rem 1rem 1rem;
    }
} 