﻿/* Hero Section Stiller */
/* Hero Section Stiller */
.hero-section {
    background: linear-gradient(120deg, #1a237e 0%, #283593 100%);
    position: relative;
    padding: 5rem 0 3rem;
    margin-top: 4rem;
    color: white;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.03;
        background-image: url('../images/pattern.svg');
    }

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
/* Giriş Kartları */
.access-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.access-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

    .access-card:hover {
        transform: translateY(-5px);
    }

    .access-card i {
        font-size: 2.5rem;
        color: #1a237e;
        margin-bottom: 1rem;
    }

    .access-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .access-card p {
        color: #666;
        font-size: 0.9rem;
    }
    /* Giriş Yapıldı Durumu */
    .access-card.logged-in {
        background: linear-gradient(135deg, #e8f5e9, #ffffff); /* Açık yeşil degrade */
        border: 1px solid #81c784; /* Yeşil kenarlık */
        color: #2e7d32; /* Yeşil metin */
        box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2); /* Hafif yeşil gölge */
    }

        .access-card.logged-in i {
            color: #4caf50; /* Daha belirgin yeşil */
        }

        .access-card.logged-in:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(76, 175, 80, 0.3); /* Hover sırasında yeşil gölge */
        }

        .access-card.logged-in h3 {
            color: #2e7d32;
        }

        .access-card.logged-in p {
            color: #388e3c; /* Daha koyu yeşil */
        }

        .access-card.logged-in .btn {
            display: inline-block;
            margin-top: 1rem;
            padding: 0.5rem 1.5rem;
            text-decoration: none;
            border-radius: 6px;
            font-size: 0.95rem;
            transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        }

        /* Modern ve Hoş Bir Yeşil Buton */
        .access-card.logged-in .btn-primary {
            background-color: #36b37e; /* Daha modern bir yeşil */
            color: white;
            border: none;
            box-shadow: 0 4px 8px rgba(54, 179, 126, 0.3); /* Hafif gölge */
        }

            .access-card.logged-in .btn-primary:hover {
                background-color: #2a9d69; /* Daha koyu bir yeşil */
                box-shadow: 0 6px 12px rgba(42, 157, 105, 0.4); /* Hover sırasında daha belirgin gölge */
            }

        /* Modern ve Canlı Bir Kırmızı Buton */
        .access-card.logged-in .btn-danger {
            background-color: #ff6f61; /* Daha sıcak bir kırmızı */
            color: white;
            border: none;
            margin-top: 1rem;
            box-shadow: 0 4px 8px rgba(255, 111, 97, 0.3); /* Hafif gölge */
        }

            .access-card.logged-in .btn-danger:hover {
                background-color: #e05a50; /* Daha koyu bir kırmızı */
                box-shadow: 0 6px 12px rgba(224, 90, 80, 0.4); /* Hover sırasında daha belirgin gölge */
            }

/* Başvuru Bölümü */
.application-section {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    margin: 4rem auto;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

    .application-section h2 {
        text-align: center;
        margin-bottom: 2rem;
        color: #1a237e;
    }

.application-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    font-size: 1rem;
}

    .form-control:focus {
        outline: none;
        border-color: #1a237e;
        box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
    }

.form-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    background: white;
    padding: 0 0.5rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    transform: translateY(-1.4rem) scale(0.85);
    color: #1a237e;
}

.btn-manual-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-manual-apply:hover {
        background: #283593;
        transform: translateY(-2px);
    }




/* Animation */
@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.student-modal .modal-dialog {
    animation: modalFade 0.3s ease-out;
}
/* Responsive Ayarlar */
/* Responsive Ayarlar */
@media (max-width: 1400px) {
    .access-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .access-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .access-cards {
        grid-template-columns: 1fr;
    }
}
