
/* ========================================
   ATÜ KALİTE TOPLULUĞU — TASARIM SİSTEMİ
======================================== */

:root {
    --navy: #101e38;
    --navy-light: #1a3155;
    --blue: #315ee7;
    --blue-light: #edf2ff;
    --white: #ffffff;
    --background: #f7f9fc;
    --text: #17243a;
    --muted: #6e7b90;
    --border: #e7ebf2;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(16, 30, 56, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

.container {
    width: min(1160px, 90%);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

span {
    color: inherit;
}

/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(231, 235, 242, 0.85);
}

.nav-container {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-box {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: white;
    border-radius: 13px;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.logo-text span {
    font-size: 12px;
    color: var(--blue);
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-text strong {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    color: var(--navy);
    letter-spacing: 0.1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: #58657a;
    font-size: 12px;
    font-weight: 700;
    transition: color 0.25s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--blue);
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.menu-button span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
    border-radius: 5px;
}

/* HERO */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 78% 35%, rgba(66, 104, 211, 0.45), transparent 34%),
        radial-gradient(ellipse at 95% 100%, rgba(38, 73, 139, 0.4), transparent 40%),
        linear-gradient(115deg, #101e38 10%, #15294b 65%, #1c3562 100%);
}

.hero-background::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.17;
    background-image:
        linear-gradient(rgba(255,255,255,0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.13) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to right, transparent, black);
}

.hero-background::after {
    content: "Q";
    position: absolute;
    right: 9%;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(260px, 37vw, 510px);
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.035);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 30, 56, 0.1), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 65px;
    padding-bottom: 100px;
    animation: rise 0.9s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.07);
    color: #dce6ff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-badge span {
    width: 7px;
    height: 7px;
    background: #7fa3ff;
    border-radius: 50%;
    box-shadow: 0 0 12px #7fa3ff;
}

.hero h1 {
    max-width: 780px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(42px, 6.3vw, 78px);
    font-weight: 800;
    letter-spacing: -3.5px;
    line-height: 1.13;
    margin-bottom: 26px;
}

.hero h1 span {
    color: #8eafff;
}

.hero-content > p {
    max-width: 620px;
    color: #c1cce0;
    font-size: 15px;
    line-height: 1.95;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    min-height: 51px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.25s, background 0.25s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: #5478f3;
    color: white;
    box-shadow: 0 10px 25px rgba(49, 94, 231, 0.2);
}

.btn-primary:hover {
    background: #4168eb;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    right: 5%;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b5c4e1;
    font-size: 11px;
    letter-spacing: 1px;
}

.hero-scroll i {
    font-size: 12px;
}

/* SECTION HEADINGS */

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-label {
    display: inline-block;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 17px;
}

.section-heading h2,
.contact-content h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 43px);
    line-height: 1.3;
    letter-spacing: -1.5px;
    color: var(--navy);
    margin-bottom: 19px;
}

.section-heading h2 span,
.contact-content h2 span {
    color: var(--blue);
}

.section-heading > p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* ABOUT */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-card {
    padding: 34px 29px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.about-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: #d4ddff;
}

.about-card.featured {
    background: var(--navy);
    border-color: var(--navy);
}

.card-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 20px;
    margin-bottom: 25px;
}

.featured .card-icon {
    background: rgba(255,255,255,0.1);
    color: #9cb6ff;
}

.about-card h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--navy);
}

.featured h3 {
    color: white;
}

.about-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.95;
}

.featured p {
    color: #c1cce0;
}

/* STATS */

.stats {
    padding: 48px 0;
    background: #f2f5fc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    border-right: 1px solid #dfe5f0;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item strong {
    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--navy);
}

.stat-item span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

/* EVENTS */

.events {
    background: var(--background);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.event-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.event-image {
    position: relative;
    height: 210px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(117, 149, 255, 0.25), transparent 35%),
        linear-gradient(135deg, #e7edff, #d6e0fb);
}

.event-card:nth-child(2) .event-image {
    background: linear-gradient(135deg, #e2ebf7, #d2e0ef);
}

.event-card:nth-child(3) .event-image {
    background: linear-gradient(135deg, #e5e8ff, #d8d9fa);
}

.event-placeholder {
    width: 75px;
    height: 75px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.72);
    border-radius: 23px;
    color: var(--blue);
    font-size: 27px;
    box-shadow: 0 10px 30px rgba(30, 60, 130, 0.08);
}

.event-date {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 11px;
    background: white;
    border-radius: 6px;
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.event-content {
    padding: 27px 25px 28px;
}

.event-category {
    display: block;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 11px;
}

.event-content h3 {
    color: var(--navy);
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.event-content p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.event-content > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.event-content > a i {
    transition: transform 0.25s;
}

.event-content > a:hover i {
    transform: translateX(5px);
}

/* PROJECTS */

.projects {
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.project-card {
    position: relative;
    padding: 36px 29px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.project-number {
    position: absolute;
    top: 15px;
    right: 23px;
    color: #edf0f7;
    font-family: "Montserrat", sans-serif;
    font-size: 54px;
    font-weight: 800;
}

.project-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--blue-light);
    border-radius: 16px;
    color: var(--blue);
    font-size: 22px;
    margin-bottom: 27px;
}

.project-card h3 {
    position: relative;
    color: var(--navy);
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    margin-bottom: 13px;
}

.project-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* TEAM */

.team {
    background: var(--background);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.team-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.team-photo {
    height: 225px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #e7edff, #d4e0f8);
}

.team-card:nth-child(even) .team-photo {
    background: linear-gradient(145deg, #e8eaf8, #d9ddf2);
}

.photo-placeholder {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    color: #8da5df;
    font-size: 43px;
}

.team-info {
    padding: 23px 20px 26px;
}

.team-info > span {
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.team-info h3 {
    margin: 8px 0;
    color: var(--navy);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
}

.team-info p {
    color: var(--muted);
    font-size: 11px;
}

/* CONTACT */

.contact {
    padding-top: 95px;
    padding-bottom: 95px;
    background: white;
}

.contact-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 350px;
    padding: 60px 65px;
    overflow: hidden;
    border-radius: 25px;
    background: #f1f4ff;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.contact-content h2 {
    margin-top: 4px;
}

.contact-content > p {
    max-width: 540px;
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.95;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 19px;
    border: 1px solid #dce3f7;
    border-radius: 9px;
    background: white;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    transition: background 0.25s, transform 0.25s;
}

.social-button:hover {
    transform: translateY(-3px);
    background: #e7edff;
}

.social-button i {
    color: var(--blue);
    font-size: 16px;
}

.contact-decoration {
    position: absolute;
    right: -20px;
    top: 0;
    width: 40%;
    height: 100%;
}

.circle {
    position: absolute;
    border: 1px solid rgba(49, 94, 231, 0.14);
    border-radius: 50%;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 25px;
    right: 20px;
}

.circle-2 {
    width: 220px;
    height: 220px;
    top: 65px;
    right: 60px;
}

.quality-symbol {
    position: absolute;
    top: 50%;
    right: 100px;
    transform: translateY(-50%);
    color: rgba(49, 94, 231, 0.12);
    font-family: "Montserrat", sans-serif;
    font-size: 180px;
    font-weight: 800;
}

/* FOOTER */

.footer {
    padding: 48px 0 20px;
    background: #101b30;
    color: white;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 35px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand .logo-box {
    background: #263b60;
    color: white;
}

.footer-brand strong {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.footer-brand p {
    margin-top: 5px;
    color: #a8b4c9;
    font-size: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #b7c2d6;
    font-size: 11px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #8f9db5;
    font-size: 10px;
}

/* ANIMATIONS */

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */

@media (max-width: 1000px) {
    .nav-menu {
        gap: 13px;
    }

    .nav-menu a {
        font-size: 11px;
    }

    .logo-text strong {
        font-size: 10px;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-decoration {
        opacity: 0.5;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .section {
        padding: 75px 0;
    }

    .nav-container {
        min-height: 72px;
    }

    .logo-box {
        width: 43px;
        height: 43px;
    }

    .logo-text strong {
        font-size: 10px;
    }

    .menu-button {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 5% 20px;
        border-bottom: 1px solid var(--border);
        background: white;
        box-shadow: 0 18px 25px rgba(16, 30, 56, 0.06);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 13px 0;
        border-bottom: 1px solid #f0f2f7;
        font-size: 13px;
    }

    .nav-menu a:last-child {
        border-bottom: 0;
    }

    .hero {
        min-height: 590px;
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 85px;
    }

    .hero h1 {
        font-size: clamp(40px, 10vw, 60px);
        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-scroll {
        display: none;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .about-grid,
    .events-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 29px 25px;
    }

    .stats {
        padding: 35px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item strong {
        font-size: 30px;
    }

    .team-grid {
        gap: 13px;
    }

    .team-photo {
        height: 175px;
    }

    .photo-placeholder {
        width: 75px;
        height: 75px;
        font-size: 32px;
    }

    .team-info {
        padding: 18px 13px 20px;
    }

    .team-info h3 {
        font-size: 13px;
    }

    .team-info > span {
        font-size: 8px;
    }

    .contact {
        padding: 65px 0;
    }

    .contact-box {
        padding: 38px 25px;
    }

    .contact-decoration {
        right: -110px;
        width: 70%;
        opacity: 0.4;
    }

    .quality-symbol {
        right: 60px;
        font-size: 120px;
    }

    .circle-1 {
        width: 220px;
        height: 220px;
    }

    .circle-2 {
        width: 160px;
        height: 160px;
    }

    .contact-content h2 {
        font-size: 32px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 37px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-photo {
        height: 230px;
    }
}

/* HAREKET AZALTMA TERCİHİ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
.announcements { background: #f6f8fc; }
.announcements-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.announcement-card { background: #fff; padding: 28px; border: 1px solid #e5eaf3; border-radius: 16px; box-shadow: 0 8px 26px rgba(20,40,75,.06); overflow-wrap: anywhere; }
.announcement-date { display: block; font-size: 13px; font-weight: 600; color: #2454a6; margin-bottom: 14px; }
.announcement-card h3 { font-size: 19px; margin: 0 0 12px; color: #17243a; }
.announcement-card p { margin: 0; color: #65748a; line-height: 1.7; white-space: pre-line; }
@media (max-width: 900px) { .announcements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .announcements-grid { grid-template-columns: 1fr; } }

/* ATÜ KALİTE - DUYURULAR */

.announcements {
    background: #f5f7fb;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.announcement-card {
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.announcement-date {
    display: inline-block;
    color: #1746a2;
    background: #edf3ff;
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.announcement-title {
    font-size: 19px;
    font-weight: 700;
    color: #17243a;
    margin: 0 0 14px;
    line-height: 1.5;
}

.announcement-description {
    font-size: 14px;
    line-height: 1.8;
    color: #738097;
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.announcements-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 35px;
    color: #738097;
    background: #fff;
    border-radius: 14px;
}

@media (max-width: 900px) {
    .announcements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .announcement-card {
        padding: 22px;
    }
}
