:root {
    --brand-color: #006CB7;
    --primary-color: #1E3A8A;
    --secondary-color: #3B82F6;
    --background-color: #0B1120;
    --section-bg-color: #111827;
    --text-color: #9CA3AF;
    --heading-color: #F9FAFB;
    --white-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --red-color: #EF4444;
}
html { 
    scroll-behavior: smooth; 
}
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.7; 
    background-color: var(--background-color); 
    color: var(--text-color); 
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}
section { 
    padding: 100px 0; 
}
.section-title { 
    text-align: center; 
    margin-bottom: 60px; 
}
.section-title h2 { 
    font-size: clamp(2.2rem, 5vw, 3rem); 
    color: var(--heading-color); 
    margin-bottom: 15px; 
}
.section-title p { 
    font-size: 1.1rem; 
    max-width: 600px; 
    margin: 0 auto; 
}

header {
    background: transparent; padding: 1.5rem 0;
    position: fixed; top: 0; z-index: 1000; width: 100%;
    transition: background-color 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
}
header.header-scrolled {
    background-color: rgba(0, 108, 183, 0.85); backdrop-filter: blur(10px);
    padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
header nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 40px; display: block; transition: max-height 0.4s ease; }
header.header-scrolled .logo img { max-height: 35px; }
.nav-links ul { display: flex; list-style: none; gap: 1rem; align-items: center; }
.nav-links ul li a { 
    padding: 0.5rem 1rem; 
    font-weight: 500; 
    color: var(--white-color); 
    text-decoration: none; 
    transition: all 0.3s ease; 
}
.nav-links ul li a:hover { color: #ddd; }
.lang-switcher { display: flex; align-items: center; gap: 0.5rem; margin-left: 1rem; }
.lang-switcher span { color: var(--text-color); }
.lang-btn { border: 1px solid transparent; border-radius: 5px; }
.lang-btn.active { color: var(--brand-color); background-color: var(--white-color); }
.menu-toggle, .close-menu-btn { display: none; }

.hero {
    color: var(--white-color); min-height: 100vh;
    display: flex; align-items: center; position: relative;
    overflow: hidden; padding-top: 100px;
}
.hero-background-animation { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(-45deg, #0A2B5E, #111827, #3B82F6, #0B1120); background-size: 400% 400%; animation: gradient-animation 20s ease infinite; z-index: 1; }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.hero-visual img { width: 80%; display: block; margin: 0 auto; animation: float 6s ease-in-out infinite; }
.hero-text { text-align: left; }
.hero-title { 
    font-size: clamp(2.2rem, 6vw, 3.8rem); 
    font-weight: 700; 
    line-height: 1.3; 
    margin-bottom: 1.5rem; 
    color: var(--heading-color); 
}
.hero-subtitle { font-size: 1.1rem; font-weight: 300; max-width: 500px; margin-bottom: 2.5rem; }
.scroll-down-arrow { position: absolute; z-index: 2; bottom: 30px; left: 50%; transform: translateX(-50%); color: var(--white-color); font-size: 1.5rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); } 40% { transform: translate(-50%, -20px); } 60% { transform: translate(-50%, -10px); } }
@keyframes float { 0% { transform: translatey(0px); } 50% { transform: translatey(-20px); } 100% { transform: translatey(0px); } }
@keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.services-section {
    background-color: var(--background-color);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--section-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 108, 183, 0.2);
}
.service-card-icon {
    font-size: 2.5rem;
    color: var(--brand-color);
    margin-bottom: 20px;
    height: 50px;
}
.service-card h3 {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 15px;
    flex-grow: 1;
}
.service-card p {
    font-size: 1rem;
    margin-bottom: 25px;
    min-height: 80px;
}
.service-card .btn-secondary {
    margin-top: auto;
}

.process { background-color: var(--section-bg-color); }
.process-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.process-step { background-color: var(--background-color); padding: 30px; border: 1px solid var(--border-color); border-radius: 10px; position: relative; }
.step-number { position: absolute; top: -20px; left: 20px; background: var(--brand-color); color: var(--white-color); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.process-step h3 { font-size: 1.4rem; color: var(--heading-color); margin-top: 20px; margin-bottom: 10px; }

.interactive-technologies .technologies-grid {
    margin-top: 0;
}
.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 40px;
}
.tech-item {
    background-color: var(--section-bg-color);
    padding: 25px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.tech-item img {
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease;
}
.tech-item:hover img {
    transform: scale(1.1);
}
.tech-item span {
    color: var(--heading-color);
    font-weight: 500;
    font-size: 0.9rem;
}
.tech-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 5px 0 15px 0;
    -webkit-overflow-scrolling: touch;
}
.tech-tab-button {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.tech-tab-button:hover {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: var(--white-color);
}
.tech-tab-button.active {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: var(--white-color);
    box-shadow: 0 5px 20px rgba(0, 108, 183, 0.4);
}
.tech-panel {
    display: none;
    animation: fadeInAnimation 0.6s ease;
}
.tech-panel.active {
    display: block;
}
.tech-panel-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.tech-panel-group {
    flex: 1;
    margin-bottom: 40px;
}
.tech-panel-group:last-child {
    margin-bottom: 0;
}
.tech-panel-group h3 {
    color: var(--heading-color);
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.project { background-color: var(--section-bg-color); }
.project-wrapper { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 60px; background-color: var(--background-color); padding: 50px; border-radius: 10px; border: 1px solid var(--border-color); }
.project-image { text-align: center; }
.project-image img { max-width: 280px; width: 100%; object-fit: contain; }
.project-content h3 { font-size: 2rem; color: var(--heading-color); margin-bottom: 1rem; }
.project-features { list-style: none; padding: 0; margin: 25px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.project-features li { display: flex; align-items: center; font-size: 1.05rem; }
.project-features li i { color: var(--brand-color); margin-right: 12px; font-size: 1.2rem; width: 20px; text-align: center; }

.courses { background-color: var(--background-color); }
.courses-grid { display: grid; grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
.course-card { background-color: var(--section-bg-color); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.course-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.course-image img { width: 100%; height: 200px; object-fit: cover; }
.course-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.course-tag { background-color: var(--brand-color); color: var(--white-color); align-self: flex-start; padding: 5px 12px; border-radius: 20px; font-weight: 600; font-size: 0.8rem; margin-bottom: 15px; }
.course-content h3 { font-size: 1.4rem; color: var(--heading-color); margin-bottom: 10px; flex-grow: 1; }
.course-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.course-price { font-size: 1.5rem; font-weight: 700; color: var(--heading-color); }
.btn-secondary { background: transparent; color: var(--brand-color); border: 2px solid var(--brand-color); padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }
.btn-secondary:hover { background-color: var(--brand-color); color: var(--white-color); }

.contact { background-color: var(--section-bg-color); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; background-color: var(--background-color); padding: 50px; border-radius: 10px; border: 1px solid var(--border-color); }
.contact-info h3 { font-size: 2rem; color: var(--heading-color); margin-bottom: 15px; }
.contact-info p { margin-bottom: 30px; }
.info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
.info-item i { font-size: 1.5rem; color: var(--brand-color); margin-top: 5px; }
.info-item h4 { font-size: 1.2rem; color: var(--heading-color); margin-bottom: 5px; }
.info-item a, .info-item a:visited, .contact-info span { color: var(--text-color); text-decoration: none; transition: color 0.3s ease; }
.info-item a:hover { color: var(--brand-color); }
.form-group { margin-bottom: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); background-color: var(--section-bg-color); color: var(--heading-color); font-size: 1rem; font-family: 'Inter', sans-serif; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-color); }
.contact-form textarea { resize: vertical; }
.btn-primary { background: var(--brand-color); color: var(--white-color); padding: 1rem 2.5rem; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; display: inline-block; box-shadow: 0 4px 20px rgba(0, 108, 183, 0.5); border: none; cursor: pointer; text-decoration: none; }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 108, 183, 0.6); }

footer { background-color: #0B1120; color: var(--text-color); padding: 25px 0; border-top: 1px solid var(--border-color); }
footer .container { text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-top: 15px; }
.footer-links a { color: var(--text-color); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--white-color); }

.fade-in { opacity: 0; animation: fadeInAnimation 1s ease-out forwards; }
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUpAnimation 0.8s ease-out forwards; animation-delay: var(--delay, 0s); }
@keyframes fadeInAnimation { to { opacity: 1; } }
@keyframes fadeInUpAnimation { to { opacity: 1; transform: translateY(0); } }

/* ========================================= */
/* == Alt Sayfa Genel Stilleri == */
/* ========================================= */
.page-header {
    padding: 120px 0 60px 0;
    text-align: center;
    background: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.9)), url(https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=2070&auto=format&fit=crop) no-repeat center center/cover;
    margin-top: 80px;
}
.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 3rem);
    color: var(--heading-color);
    margin-bottom: 15px;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}
.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.breadcrumb a:hover {
    color: var(--brand-color);
}
.breadcrumb p {
    color: var(--white-color);
    font-weight: 500;
}
.service-detail-page, .projects-page, .course-detail-page, .contact-page, .legal-content-page {
    padding: 80px 0;
}
.service-detail-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    justify-content: center;
    gap: 40px;
    max-width: 1100px; 
    margin: 0 auto;
}
.service-sidebar {
    background-color: var(--section-bg-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    height: fit-content;
}
.service-content {
    padding: 10px 20px;
}
.service-sidebar h3 {
    color: var(--heading-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-list li a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}
.service-list li a:hover {
    background-color: var(--background-color);
    color: var(--white-color);
}
.service-list li a.active {
    background-color: var(--brand-color);
    color: var(--white-color);
    font-weight: 600;
}
.service-content h2 {
    color: var(--heading-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.service-content h3 {
    color: var(--heading-color);
    font-size: 1.7rem;
    margin-top: 40px;
    margin-bottom: 15px;
}
.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}
.service-content ul {
    list-style-position: outside;
    padding-left: 20px;
    margin-bottom: 20px;
}
.service-content ul li {
    margin-bottom: 10px;
}
.service-image-container {
    margin: 30px 0;
}
.service-image-container img {
    width: 100%;
    border-radius: 10px;
    height: auto;
}

.legal-content-page { background-color: var(--section-bg-color); }
.legal-text {
    background-color: var(--background-color);
    padding: 40px 50px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    max-width: 850px;
    margin: 0 auto;
}
.legal-text h2 {
    color: var(--heading-color);
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { color: var(--heading-color); font-size: 1.5rem; margin-top: 25px; margin-bottom: 15px; }
.legal-text h4 { color: var(--heading-color); font-size: 1.2rem; margin-top: 20px; margin-bottom: 10px; font-style: italic; }
.legal-text p, .legal-text li { font-size: 1rem; line-height: 1.8; }
.legal-text ul { list-style-position: outside; padding-left: 20px; margin-bottom: 20px; }
.legal-text ul li { margin-bottom: 10px; }
.legal-text-final-call { text-align: center; margin-top: 50px; padding: 20px; background-color: var(--section-bg-color); border-radius: 8px; font-style: italic; }

.projects-page .project-wrapper { margin-bottom: 60px; }
.projects-page .project-wrapper:last-child { margin-bottom: 0; }

.course-detail-wrapper { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: start; }
.course-detail-image img { width: 100%; border-radius: 10px; position: sticky; top: 120px; }
.course-detail-content h2 { color: var(--heading-color); font-size: 2.5rem; margin-bottom: 10px; }
.course-detail-content .course-tag { margin-bottom: 20px; }
.course-meta-bar { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background-color: var(--section-bg-color); padding: 15px 20px; border-radius: 8px; margin-bottom: 40px; border: 1px solid var(--border-color); }
.course-meta-bar span { font-weight: 500; color: var(--text-color); }
.course-meta-bar i { color: var(--brand-color); margin-right: 8px; }
.course-price-detail { margin-left: auto; font-size: 1.8rem; font-weight: 700; color: var(--heading-color); }
.course-detail-content h3 { color: var(--heading-color); font-size: 1.7rem; margin-top: 40px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.course-detail-content p { font-size: 1.1rem; line-height: 1.8; }
.course-contact-btn { margin-top: 40px; }

/* ========================================= */
/* == Responsive Stilleri (Media Queries) == */
/* ========================================= */
@media (max-width: 992px) {
    .contact-wrapper, .project-wrapper, .service-detail-wrapper, .course-detail-wrapper {
        grid-template-columns: 1fr;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual {
        order: 1;
        margin: 0 auto 40px auto;
    }
    .hero-text {
        order: 2;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .project-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-panel-row {
        flex-direction: column;
        gap: 40px;
    }
    .tech-panel-group h3 {
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 30px;
    }
    .page-header {
        margin-top: 70px;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--white-color);
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1001;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background-color: var(--section-bg-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links ul {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .nav-links ul li a {
        font-size: 1.2rem;
    }
    .lang-switcher {
        margin-left: 0;
    }
    .close-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 25px;
        background: none;
        border: none;
        color: var(--white-color);
        font-size: 2rem;
        cursor: pointer;
    }
    .course-detail-image img {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.3;
    }
    .project-features {
        grid-template-columns: 1fr;
    }
    .project-wrapper {
        padding: 30px;
    }
    .project-content h3 {
        font-size: 1.8rem;
    }
    .course-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .course-price-detail {
        margin-left: 0;
        width: 100%;
    }
    .course-detail-content h2 {
        font-size: 2rem;
    }
    
    @media (max-width: 992px) {
    .project-wrapper {
        gap: 30px; 
    }
}

    
    .technologies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.contact-info {
    padding-bottom: 30px; 
}

.social-icons-contact {
    display: flex;
    gap: 20px; 
    margin-top: 25px; 
    align-items: center;
}

.social-icons-contact .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;      
    height: 45px;     
    border-radius: 50%; 
    transition: transform 0.3s ease, background-color 0.3s ease; 
    font-size: 24px; 
    text-decoration: none;
    color: #ffffff; 
}

.social-icons-contact .whatsapp-icon {
    background-color: #25D366;
}

.social-icons-contact .linkedin-icon {
    background-color: #0077B5;
}

.social-icons-contact .social-icon:hover {
    transform: translateY(-5px) scale(1.05); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
