/* 
 * Modern Index Page Styles
 * Blue/White Clean Theme
 */

.blue-home {
    --blue-700: #1D4ED8;
    --blue-600: #2563EB;
    --blue-500: #3B82F6;
    --blue-100: #DBEAFE;
    --ink: #0f172a;
    --muted: #475569;
    --panel: #ffffff;
    --edge: rgba(2, 6, 23, 0.08);
    --shadow: 0 12px 24px rgba(2, 6, 23, 0.08);
    color: var(--ink);
    background:
        radial-gradient(900px 600px at -10% -10%, rgba(37,99,235,.10), transparent 60%),
        radial-gradient(900px 600px at 110% 0%, rgba(59,130,246,.10), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}
.blue-home .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.blue-home .header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--edge);
}
.blue-home .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 0px;
}
.blue-home .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-right: auto;
    margin-left: -210px;
    padding-left: 0;
}
.blue-home .nav-brand a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    height: 100%;
    margin-left: 0;
}
.blue-home .nav-brand .logo {
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: block;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    height: auto;
}
/* Yatay Logo Stilleri */
.blue-home .nav-brand .logo.logo-horizontal {
    height: auto;
    width: auto;
    max-height: 100px;
    max-width: none;
    min-width: auto;
    aspect-ratio: auto;
}
/* Kare Logo Stilleri */
.blue-home .nav-brand .logo.logo-square {
    height: auto;
    width: auto;
    max-height: 80px;
    max-width: 80px;
    min-width: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
/* Responsive Logo Boyutları */
@media (max-width: 768px) {
    .blue-home .nav-brand .logo.logo-horizontal {
        max-height: 70px;
        height: auto;
        width: auto;
        max-width: none;
        min-width: auto;
    }
    .blue-home .nav-brand .logo.logo-square {
        max-height: 60px;
        max-width: 60px;
        height: auto;
        width: auto;
        min-width: auto;
    }
}
.blue-home .nav-menu {
    list-style: none;
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 0;
}
.blue-home .nav-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.blue-home .nav-link:hover,
.blue-home .nav-link.active {
    background: var(--blue-100);
    color: var(--blue-700);
}
.blue-home .nav-toggle {
    display: none;
    cursor: pointer;
}
.blue-home .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0f172a;
    margin: 5px 0;
    border-radius: 2px;
}

/* Hero */
.blue-home .hero {
    position: relative;
}
.blue-home .hero .container {
    min-height: 66vh;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
    padding: 36px 0 56px;
}
.blue-home .hero-title {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    color: var(--blue-700);
    margin: 0 0 12px;
}
.blue-home .hero-subtitle {
    color: var(--muted);
    margin: 0 0 20px;
}
.blue-home .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(2,6,23,0.08);
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    transition: transform .15s, box-shadow .15s;
}
.blue-home .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.blue-home .btn-primary {
    background: var(--blue-600);
    color: #fff;
    border-color: transparent;
    cursor: pointer;
    pointer-events: auto;
}
.blue-home .btn-primary:hover {
    background: var(--blue-700);
    box-shadow: var(--shadow);
}
.blue-home .btn-small {
    padding: 8px 16px;
    font-size: 14px;
}
.blue-home .open-application-modal {
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}
.blue-home .btn-secondary {
    background: #fff;
    color: var(--blue-700);
    border-color: var(--blue-100);
}
.blue-home .hero .btn-secondary {
    background: var(--blue-600);
    color: #fff;
    border-color: transparent;
}
.blue-home .hero .btn-secondary:hover {
    background: var(--blue-700);
    box-shadow: var(--shadow);
}
.blue-home .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.blue-home .hero-wave {
    color: var(--blue-500);
    opacity: .12;
}

/* Sections */
.blue-home .section {
    padding: 68px 0;
}
.blue-home .bg-light {
    background: linear-gradient(180deg, #ffffff, #f7faff);
}
.blue-home .section-header {
    text-align: center;
    margin-bottom: 28px;
}
.blue-home .section-title {
    color: var(--blue-700);
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 32px);
}
.blue-home .section-subtitle {
    color: var(--muted);
    margin: 0;
}

/* News Cards */
.blue-home .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 18px;
}
.blue-home .news-card {
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.blue-home .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.12);
}
.blue-home .news-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    width: 100%;
    background: #f1f5f9;
}
.blue-home .news-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
}
.blue-home .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}
.blue-home .news-card:hover .news-image img {
    transform: scale(1.05);
}
.blue-home .news-date {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--blue-600);
    color: #fff;
    padding: 6px 8px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    z-index: 3;
    pointer-events: none;
}
.blue-home .news-content {
    padding: 14px;
}
.blue-home .news-title {
    margin: 0 0 8px;
    font-size: 18px;
    color: #0f172a;
}
.blue-home .news-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}
.blue-home .news-title-link:hover {
    color: var(--blue-600, #2563eb);
}
.blue-home .news-excerpt {
    margin: 0 0 8px;
    color: var(--muted);
}
.blue-home .news-link {
    color: var(--blue-700);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
    transition: color 0.2s ease;
}
.blue-home .news-link:hover {
    color: var(--blue-600);
}

/* Announcements */
.blue-home .announcements-list {
    display: grid;
    gap: 12px;
}
.blue-home .announcement-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.blue-home .announcement-item:hover {
    box-shadow: 0 8px 16px rgba(2, 6, 23, 0.12);
    transform: translateY(-2px);
}
.blue-home .announcement-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    box-shadow: 
        0 4px 6px rgba(37, 99, 235, 0.3),
        0 2px 4px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.blue-home .announcement-icon i {
    color: #fff !important;
    font-size: 20px;
    z-index: 1;
    position: relative;
}
.blue-home .announcement-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
}
.blue-home .announcement-icon::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 50%;
    border-radius: 10px 10px 50% 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    pointer-events: none;
}
.blue-home .announcement-item:hover .announcement-icon {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-2px);
    box-shadow: 
        0 8px 12px rgba(37, 99, 235, 0.4),
        0 4px 6px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.blue-home .announcement-title {
    margin: 0 0 6px;
    color: #0f172a;
}
.blue-home .announcement-text {
    margin: 0 0 6px;
    color: var(--muted);
}
.blue-home .announcement-date {
    font-size: 12px;
    color: #6b7280;
}

/* Presentations */
.blue-home .presentations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.blue-home .presentation-card {
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.blue-home .presentation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.12);
}
.blue-home .presentation-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blue-home .presentation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blue-home .presentation-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}
.blue-home .presentation-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0));
    opacity: 0;
    transition: opacity .2s;
}
.blue-home .presentation-card:hover .presentation-overlay {
    opacity: 1;
}
.blue-home .presentation-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue-600);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow);
}
.blue-home .presentation-content {
    padding: 14px;
}
.blue-home .presentation-title {
    margin: 0 0 6px;
    color: #0f172a;
}
.blue-home .presentation-description {
    margin: 0 0 6px;
    color: var(--muted);
}
.blue-home .presentation-meta {
    display: flex;
    gap: 10px;
    color: #6b7280;
    font-size: 12px;
}

/* Lessons */
.blue-home .lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}
.blue-home .lesson-card {
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.blue-home .lesson-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--edge);
}
.blue-home .lesson-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-600);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blue-home .lesson-content {
    padding: 14px;
}
.blue-home .lesson-description {
    color: var(--muted);
    margin: 0 0 8px;
}
.blue-home .lesson-meta {
    display: flex;
    gap: 12px;
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 8px;
}

/* Gallery */
.blue-home .gallery-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 18px;
}
.blue-home .gallery-tabs .tab-btn {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--edge);
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.blue-home .gallery-tabs .tab-btn.active {
    background: var(--blue-600);
    color: #fff;
    border-color: transparent;
}
.blue-home .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.blue-home .gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.blue-home .gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.blue-home .gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0));
    color: #fff;
    opacity: 0;
    transition: opacity .2s;
}
.blue-home .gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.blue-home .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    align-items: center;
}
.blue-home .partner-logo {
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    filter: grayscale(100%);
    transition: filter .2s;
}
.blue-home .partner-logo:hover {
    filter: grayscale(0%);
}

/* Forms */
.blue-home .application-form-container,
.blue-home .contact-form {
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px;
}
.blue-home .application-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.blue-home .application-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.blue-home .application-form label {
    font-weight: 600;
    color: var(--muted);
}
.blue-home .application-form input,
.blue-home .application-form select,
.blue-home .application-form textarea,
.blue-home #contact-form input,
.blue-home #contact-form textarea {
    border: 1px solid var(--edge);
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.blue-home .application-form input:focus,
.blue-home .application-form select:focus,
.blue-home .application-form textarea:focus,
.blue-home #contact-form input:focus,
.blue-home #contact-form textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}
.blue-home .contact-content {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 18px;
}
.blue-home .contact-info .contact-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 14px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}
.blue-home .contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-600);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.blue-home .footer {
    background: var(--blue-700);
    border-top: none;
    color: #fff;
}
.blue-home .footer-content {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 18px;
}
.blue-home .footer-logo {
    display: flex;
    align-items: center;
}
.blue-home .footer-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.blue-home .footer-logo img {
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    object-fit: contain;
    object-position: center;
    display: block;
    max-width: 100%;
    height: auto;
}
/* Footer Yatay Logo */
.blue-home .footer-logo img.logo-horizontal {
    max-height: 80px;
    height: auto;
    width: auto;
    max-width: none;
    min-width: auto;
    aspect-ratio: auto;
}
/* Footer Kare Logo */
.blue-home .footer-logo img.logo-square {
    max-height: 70px;
    max-width: 70px;
    height: auto;
    width: auto;
    min-width: auto;
    aspect-ratio: 1 / 1;
}
.blue-home .footer-description {
    color: #e6edff;
}
.blue-home .social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    margin-right: 8px;
    color: #fff;
    transition: background .2s, color .2s;
}
.blue-home .social-links a:hover {
    background: #fff;
    color: var(--blue-700);
    border-color: transparent;
}
.blue-home .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blue-home .footer-links a {
    color: #ffffff;
    text-decoration: none;
}
.blue-home .footer-links a:hover {
    color: var(--blue-100);
}
.blue-home .footer-contact p {
    margin: 6px 0;
    color: #e6edff;
}
.blue-home .footer-bottom {
    text-align: center;
    color: #e6edff;
    padding-top: 10px;
}

/* Empty State */
.blue-home .empty-state {
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    color: var(--muted);
    box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 980px) {
    .blue-home .hero .container {
        grid-template-columns: 1fr;
    }
    .blue-home .application-form .form-row {
        grid-template-columns: 1fr;
    }
    .blue-home .contact-content,
    .blue-home .footer-content {
        grid-template-columns: 1fr;
    }
    .blue-home .nav-menu {
        display: none;
    }
    .blue-home .nav-toggle {
        display: block;
    }
    .blue-home .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 6px;
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        background: #fff;
        border: 1px solid var(--edge);
        border-radius: 14px;
        padding: 10px;
        box-shadow: var(--shadow);
    }
    .blue-home .nav-menu.active .nav-link {
        padding: 12px;
        border-radius: 10px;
    }
}

/* Application Modal */
.application-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.application-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
.application-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.2);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    z-index: 1;
}
.application-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0f172a;
    transition: background .2s, transform .2s;
}
.application-modal-close:hover {
    background: rgba(15, 23, 42, 0.12);
    transform: scale(1.1);
}
.application-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--blue-700);
    margin: 0 0 8px;
}
.application-modal-subtitle {
    color: var(--muted);
    margin: 0 0 24px;
    font-size: 14px;
}
.application-form-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.application-form-modal .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.application-form-modal label {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}
.application-form-modal input,
.application-form-modal select,
.application-form-modal textarea {
    border: 1px solid var(--edge);
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    outline: none;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.application-form-modal input:focus,
.application-form-modal select:focus,
.application-form-modal textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}
.application-form-modal textarea {
    resize: vertical;
    min-height: 100px;
}
@media (max-width: 640px) {
    .application-modal-content {
        padding: 24px;
        max-height: 95vh;
    }
    .application-form-modal .form-row {
        grid-template-columns: 1fr;
    }
}

