/* ============================================
   Aksaray Yükseköğretim Vakfı - Custom Styles
   Logo Renkleri: Koyu Lacivert, Mavi, Açık Mavi
   ============================================ */

:root {
    --navy: #0a2d5e;
    --navy-dark: #061d3e;
    --blue: #1a6fb5;
    --blue-light: #2e8ad4;
    --sky: #7ec8e3;
    --sky-light: #b8e2f2;
    --ice: #e8f4fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-600: #6c757d;
}

/* General */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
}

/* Top Bar */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    padding: 6px 0;
}

.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--sky);
}

.top-bar i {
    color: var(--sky);
}

/* Navbar */
.navbar-custom {
    background: var(--navy) !important;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-custom .navbar-brand img {
    height: 55px;
    transition: height 0.3s ease;
}

.navbar-custom .brand-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.navbar-custom .brand-text small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--sky);
    display: block;
}

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 20px 16px !important;
    transition: all 0.3s;
    position: relative;
    font-size: 0.95rem;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.08);
}

.navbar-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--sky);
    border-radius: 3px 3px 0 0;
}

.navbar-custom .dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
    border-top: 3px solid var(--blue);
}

.navbar-custom .dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.navbar-custom .dropdown-item:hover {
    background: var(--ice);
    color: var(--navy);
}

/* Navbar scrolled */
.navbar-scrolled {
    padding: 0 !important;
    background: var(--navy-dark) !important;
}

.navbar-scrolled .navbar-brand img {
    height: 42px;
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, var(--sky) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

/* Buttons */
.btn-vakif {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26,111,181,0.4);
}

.btn-vakif:hover {
    background: var(--blue-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,111,181,0.5);
}

.btn-vakif-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
}

.btn-vakif-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-navy:hover {
    background: var(--navy-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10,45,94,0.4);
}

/* Section Styles */
.section-title {
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--sky));
    border-radius: 2px;
    margin: 15px auto 20px;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(10,45,94,0.12);
    border-color: var(--sky-light);
}

.feature-card .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all 0.3s;
}

.feature-card:hover .icon-box {
    transform: scale(1.1);
}

.icon-navy {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
}

.icon-blue {
    background: linear-gradient(135deg, var(--blue), var(--sky));
    color: var(--white);
}

.icon-sky {
    background: linear-gradient(135deg, var(--sky), var(--sky-light));
    color: var(--navy);
}

.feature-card h5 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--sky-light);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 500;
}

/* News/Activities Cards */
.news-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(10,45,94,0.12);
}

.news-card .card-img-top-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.news-card .card-body {
    padding: 24px;
}

.news-card .card-title {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
}

.news-card .card-text {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.news-card .news-date {
    font-size: 0.8rem;
    color: var(--blue);
    font-weight: 600;
    text-transform: uppercase;
}

.news-card .btn-link {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    padding: 0;
}

.news-card .btn-link:hover {
    color: var(--navy);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--sky) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.page-header h1 {
    font-weight: 800;
    font-size: 2.8rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.page-header .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.page-header .breadcrumb-item a {
    color: var(--sky-light);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* Content Cards */
.content-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.content-card:hover {
    box-shadow: 0 8px 30px rgba(10,45,94,0.1);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--blue), var(--sky));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item .timeline-dot {
    position: absolute;
    top: 15px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -9px;
}

.timeline-content {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--blue);
}

.timeline-content h4 {
    color: var(--blue);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Board Members */
.board-member {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background: var(--white);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10,45,94,0.1);
}

.board-member .member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--sky));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
    color: var(--white);
}

.board-member h6 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 4px;
}

.board-member small {
    color: var(--blue);
    font-weight: 500;
}

/* Scholarship Cards */
.scholarship-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.scholarship-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(10,45,94,0.12);
}

.scholarship-card .card-header {
    padding: 25px;
    border: none;
}

.scholarship-card .card-body {
    padding: 25px;
}

.scholarship-card .card-body ul li {
    padding: 6px 0;
    color: var(--gray-600);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

.scholarship-card .card-body ul li:last-child {
    border-bottom: none;
}

.scholarship-card .card-body ul li i {
    color: var(--blue);
    margin-right: 8px;
}

/* Activity Cards */
.activity-card {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10,45,94,0.1);
}

.activity-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

/* Contact Section */
.contact-info-card {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: 16px;
    padding: 40px 30px;
    color: var(--white);
    height: 100%;
}

.contact-info-card h3 {
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item .icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px;
    font-size: 1.1rem;
}

.contact-info-item h6 {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    margin-bottom: 0;
    opacity: 0.85;
    font-size: 0.95rem;
}

.contact-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    height: 100%;
}

.contact-form-card .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s;
}

.contact-form-card .form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,111,181,0.1);
}

/* Footer */
.footer {
    background: var(--navy-dark);
    color: var(--white);
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
    filter: brightness(1.2);
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--sky);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--sky);
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--sky);
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--blue);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26,111,181,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--navy);
    transform: translateY(-3px);
}

/* Map */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* News badge */
.news-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-custom .nav-link {
        padding: 12px 16px !important;
    }

    .navbar-custom .nav-link.active::after {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-logo {
        width: 130px;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 0 0 0 30px;
    }

    .timeline-item .timeline-dot {
        left: -9px !important;
        right: auto !important;
    }

    .page-header {
        padding: 80px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .top-bar {
        display: none;
    }
}
