*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f7f8fc;
    color: #1f2933;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1160px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #6366f1, #ec4899);
    color: #fff;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    gap: 1rem;
}

.top-bar a {
    font-weight: 500;
}

/* Header */
.main-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: radial-gradient(circle at 20% 20%, #f97316, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Fredoka', system-ui;
    font-weight: 600;
    font-size: 1.15rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.logo-subtitle {
    font-weight: 400;
    font-size: 0.8rem;
    color: #6b7280;
}

.main-nav {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.main-nav a {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
    color: #4b5563;
    font-weight: 500;
}

.main-nav a:hover {
    background: rgba(99, 102, 241, 0.07);
    color: #111827;
    transform: translateY(-1px);
}

/* Hero */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 0% 0%, #e0f2fe, #eef2ff);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.25), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(96, 165, 250, 0.32), transparent 65%);
    pointer-events: none;
    mix-blend-mode: multiply;
}

.hero-slider {
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-slide {
    display: none;
    padding: 3.5rem 0 3rem;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.65), rgba(15,23,42,0.35));
    z-index: 0;
}

.hero-slide > .container {
    position: relative;
    z-index: 1;
}

.hero-slide.active {
    display: block;
}

/* Hero background images */
.hero-slide-1 {
    background-image: url('banner-yazilim-lego.jpg');
}

.hero-slide-2 {
    background-image: url('banner-lego-robotik.jpg');
}

.hero-slide-3 {
    background-image: url('banner-muzik-sanat.jpg');
}

.hero-content {
    max-width: 720px;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #f9fafb;
}

.hero-content h1 span {
    background: linear-gradient(90deg, #a5b4fc, #f9a8d4);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1rem;
    max-width: 640px;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease, color 0.2s ease;
    text-align: center;
}

.btn.primary {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.35);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(79, 70, 229, 0.4);
}

.btn.secondary {
    background: #fff;
    color: #4b5563;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn.secondary:hover {
    background: #f9fafb;
}

.btn.full {
    width: 100%;
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.hero-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.7);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease, transform 0.1s ease;
}

.hero-dots .dot.active {
    width: 22px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    transform: translateY(-1px);
}

/* Sections */
.section {
    padding: 3.5rem 0;
}

.section-alt {
    background: #ffffff;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.section-intro {
    max-width: 640px;
    margin: 0 auto 2rem;
    font-size: 0.98rem;
    color: #4b5563;
    text-align: center;
}

/* Layout helpers */
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: flex-start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.text-block p {
    margin-bottom: 0.9rem;
    color: #4b5563;
    font-size: 0.98rem;
}

/* Cards */
.card-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.9);
    font-size: 0.95rem;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #111827;
}

.info-card ul {
    list-style: disc;
    padding-left: 1.1rem;
    color: #4b5563;
}

.info-card li + li {
    margin-top: 0.2rem;
}

.info-card.highlight {
    background: radial-gradient(circle at 0 0, #eef2ff, #ffffff);
    border-color: rgba(129, 140, 248, 0.5);
}

/* Profil kartı stilleri */
.hakan-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.profile-photo {
    width: 220px;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.28);
    margin-bottom: 0.6rem;
}

/* Lists */
.check-list {
    list-style: none;
    margin-top: 0.8rem;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.02rem;
    font-size: 0.9rem;
    color: #22c55e;
    font-weight: 600;
}

/* Program cards */
.program-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.3rem 1.3rem 1.1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    border-top: 4px solid #6366f1;
    font-size: 0.95rem;
}

.program-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: #111827;
}

.program-card p {
    font-size: 0.93rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.program-card ul {
    list-style: disc;
    padding-left: 1.1rem;
    color: #4b5563;
    font-size: 0.9rem;
}

.program-card li + li {
    margin-top: 0.15rem;
}

/* Life grid */
.life-grid {
    margin-top: 1.8rem;
}

.life-item {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.2rem 1.1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.life-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: #111827;
}

.life-item p {
    font-size: 0.93rem;
    color: #4b5563;
}

/* Contact */
.contact-list {
    list-style: none;
    margin: 1rem 0 0.8rem;
    font-size: 0.95rem;
}

.contact-list li + li {
    margin-top: 0.3rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.contact-card {
    background: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.form-group label {
    font-size: 0.85rem;
    color: #4b5563;
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 0.7rem;
    border: 1px solid rgba(209, 213, 219, 0.9);
    padding: 0.45rem 0.6rem;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    font-family: inherit;
    background: #f9fafb;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.35);
    background: #ffffff;
}

.form-info {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Footer */
.site-footer {
    background: #020617;
    color: #e5e7eb;
    margin-top: 1rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 2rem;
    padding: 2.3rem 0 1.6rem;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 0.7rem;
}

.footer-col p {
    color: #9ca3af;
}

.footer-col ul {
    list-style: none;
}

.footer-col li + li {
    margin-top: 0.25rem;
}

.footer-col a {
    color: #e5e7eb;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(55, 65, 81, 0.8);
    padding: 0.7rem 0;
    font-size: 0.8rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 900px) {
    .two-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-nav {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .profile-photo {
        width: 180px;
    }
}

@media (max-width: 640px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0;
    }

    .hero-slide {
        padding: 2.5rem 0 2.3rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
