/* ==========================================
   PATH WAY EĞİTİM DANIŞMANLIK
   Üniversiteler Sayfası Stilleri
   ========================================== */


/* ==========================================
   BREADCRUMB
   ========================================== */

.breadcrumb {
    margin-top: 80px;
    padding: 1rem 2rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb .separator {
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 500;
}


/* ==========================================
   UNIVERSITIES HERO
   ========================================== */

.uni-hero {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.uni-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.uni-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.uni-hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.uni-hero .highlight {
    color: var(--secondary);
}

.uni-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat strong {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 700;
    display: block;
}

.hero-stat span {
    color: var(--text-light);
    font-size: 1rem;
}


/* ==========================================
   COUNTRIES GRID
   ========================================== */

.uni-countries {
    padding: 5rem 2rem;
    background: white;
}

.uni-countries-container {
    max-width: 1200px;
    margin: 0 auto;
}

.uni-countries h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.countries-grid-uni {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.country-card-uni {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid var(--border);
}

.country-card-uni:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: var(--secondary);
}

.country-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.country-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.country-card-uni:hover .country-image img {
    transform: scale(1.1);
}

.country-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-flag-large {
    font-size: 5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.country-content {
    padding: 2rem;
}

.country-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.country-tagline {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.country-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.info-item strong {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.info-item span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.country-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--secondary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
}

.country-btn:hover {
    background: var(--primary);
    transform: scale(1.02);
}


/* ==========================================
   BADGES
   ========================================== */

.popular-badge {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

.new-badge {
    display: inline-block;
    background: #51cf66;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


/* ==========================================
   UNIVERSITY DETAIL PAGE
   ========================================== */

.country-detail-hero {
    margin-top: 80px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.country-hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.country-flag-hero {
    font-size: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.country-detail-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.country-detail-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}


/* ==========================================
   QUICK INFO
   ========================================== */

.quick-info {
    background: white;
    padding: 2rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.quick-info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.quick-info-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.quick-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quick-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.quick-info-card h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.quick-info-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}


/* ==========================================
   UNIVERSITIES SECTION
   ========================================== */

.universities-section {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.universities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.universities-header {
    text-align: center;
    margin-bottom: 4rem;
}

.universities-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.universities-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}


/* ==========================================
   UNIVERSITY CARD
   ========================================== */

.university-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.university-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-color: var(--secondary);
}

.uni-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.uni-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.university-card:hover .uni-image img {
    transform: scale(1.05);
}

.uni-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.uni-badge.premium {
    background: var(--accent);
}

.uni-content {
    padding: 2rem;
}

.uni-header-info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.uni-header-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.uni-location {
    color: var(--text-light);
    font-size: 1rem;
}

.uni-rating {
    text-align: right;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.rating-score {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.uni-description {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.uni-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.uni-feature {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.uf-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.uni-feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.uni-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.uni-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text);
}

.uni-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.uni-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.uni-details h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.detail-section h5 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.detail-section ul {
    list-style: none;
}

.detail-section li {
    padding: 0.5rem 0;
    color: var(--text);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.detail-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 968px) {
    .uni-hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .countries-grid-uni {
        grid-template-columns: 1fr;
    }

    .country-info-grid {
        grid-template-columns: 1fr;
    }

    .quick-info-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .uni-features-grid {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .country-detail-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .uni-hero h1 {
        font-size: 1.8rem;
    }

    .hero-stat strong {
        font-size: 2rem;
    }

    .country-content {
        padding: 1.5rem;
    }

    .country-content h3 {
        font-size: 1.5rem;
    }

    .quick-info-container {
        grid-template-columns: 1fr;
    }

    .country-detail-hero h1 {
        font-size: 2rem;
    }

    .uni-content {
        padding: 1.5rem;
    }
}