/* GENEL STİLLER VE RESET */
:root {
    --primary-color: #640D5F; /* Ana Renk: Koyu Mor (HoneyBeetle teması) */
    --primary-dark: #4D0A48; /* Daha Koyu Mor (hover için) */
    --secondary-color: #ffffff; /* Ana İçerik Arka Planı: Beyaz */
    --light-grey: #f5f5f5; /* Açık Gri Bölümler */
    --dark-color: #2C2416; /* Metin Rengi: Koyu Kahverengi */
    --white-color: #ffffff; /* Beyaz Metin */
    --grey-text: #666666; /* Gri Metin */
    --accent-pink: #EA2264; /* Vurgu Rengi: Parlak Pembe */
    --accent-orange: #F78D60; /* Vurgu Rengi: Turuncu */
    --accent-blue: #0D1164; /* Vurgu Rengi: Koyu Mavi */
    --light-purple: #E8D0E5; /* Açık Mor */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

/* HEADER/NAVİGASYON (KOYU MOR ZEMİN) */
header {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
    letter-spacing: 1px;
}

header nav ul {
    display: flex;
    gap: 30px;
}

header nav ul li a {
    color: var(--white-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

header nav ul li a:hover {
    opacity: 0.8;
}

/* HERO SECTION (KOYU MOR ZEMİN) */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-pink) 100%);
    color: var(--white-color);
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.btn-hero {
    display: inline-block;
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-illustration {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

.hero-logo-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
}

.hero-logo-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ABOUT SECTION (BEYAZ ZEMİN) */
.about {
    padding: 80px 0;
    background: var(--secondary-color);
}

.about-content {
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--grey-text);
}

.about-highlight {
    display: flex;
    justify-content: flex-end;
}

.highlight-box {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    min-width: 250px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.highlight-box:hover {
    transform: translateY(-5px);
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-subtext {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* PROJECTS SECTION (AÇIK GRİ ZEMİN) */
.projects {
    padding: 100px 0;
    background: var(--light-grey);
}

.projects-header {
    margin-bottom: 60px;
}

.projects-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    letter-spacing: 2px;
}

.projects-text p {
    font-size: 1.1rem;
    color: var(--grey-text);
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 600px;
}

.btn-red {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-red:hover {
    background: var(--primary-dark);
}

/* Carousel Wrapper */
.projects-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.projects-carousel {
    overflow: hidden;
    width: 100%;
}

.projects-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    width: max-content;
}

.project-thumbnail {
    flex: 0 0 250px;
    width: 250px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-grey);
    color: var(--grey-text);
    font-size: 4rem;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white-color);
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Project Thumbnail Styles */
.project-thumbnail {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.thumbnail-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: var(--light-grey);
}

.thumbnail-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-thumbnail:hover .thumbnail-image img {
    transform: scale(1.1);
}

.thumbnail-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.thumbnail-badges .project-badge {
    position: relative;
    top: 0;
    right: 0;
    font-size: 0.75rem;
    padding: 5px 12px;
}

.thumbnail-info {
    padding: 15px;
    text-align: center;
}

.thumbnail-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
    line-height: 1.3;
}

.thumbnail-subtitle {
    font-size: 0.85rem;
    color: var(--grey-text);
    margin: 0;
    line-height: 1.3;
}

.thumbnail-actions {
    margin-top: 12px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-download i {
    font-size: 0.9rem;
}

.btn-download i.fa-play {
    font-size: 0.95rem;
}

.btn-download i.fa-code-branch {
    font-size: 0.95rem;
}

.secondary-header {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 20px 0;
}

.secondary-header nav ul {
    display: flex;
    gap: 20px;
}

.secondary-header nav ul li a {
    color: var(--white-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.projects-page {
    padding: 80px 0;
    background: var(--secondary-color);
}

.projects-page h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.projects-page p {
    margin-bottom: 30px;
    color: var(--grey-text);
}

.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    width: 100%;
}

.projects-page-grid .project-thumbnail {
    flex: initial;
    width: 100%;
}

.projects-page-grid .thumbnail-image {
    padding-bottom: 100%;
}

.project-badge.success {
    background: var(--accent-orange);
    color: var(--white-color);
}

.project-badge.warning {
    background: var(--primary-color);
    color: var(--white-color);
}

.project-badge.info {
    background: var(--accent-blue);
    color: var(--white-color);
}

.project-info {
    padding: 25px;
}

.project-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.project-subtitle {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.project-description {
    font-size: 1rem;
    color: var(--grey-text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-features {
    margin-top: 15px;
}

.project-features li {
    font-size: 0.9rem;
    color: var(--grey-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.project-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

/* CULTURE SECTION (BEYAZ ZEMİN) */
.culture {
    padding: 100px 0;
    background: var(--secondary-color);
}

.culture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.culture-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    line-height: 1.3;
}

.culture-text p {
    font-size: 1.1rem;
    color: var(--grey-text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.culture-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.culture-img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--grey-text);
}

/* TEAM SECTION (AÇIK GRİ ZEMİN) */
.team {
    padding: 100px 0;
    background: var(--light-grey);
    text-align: center;
}

.team h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--dark-color);
    letter-spacing: 2px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.member-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    color: var(--grey-text);
}

.member-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.role-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--grey-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.member-links a:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* CONTACT SECTION (BEYAZ ZEMİN) */
.contact {
    padding: 100px 0;
    text-align: center;
    background: var(--secondary-color);
}

.contact h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    letter-spacing: 2px;
}

.contact > p {
    font-size: 1.1rem;
    color: var(--grey-text);
    margin-bottom: 40px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* FOOTER (KOYU MOR ZEMİN) */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-pink) 100%);
    color: var(--white-color);
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-left p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    color: var(--white-color);
}

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

.footer-right {
    text-align: right;
}

.footer-right p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    color: var(--white-color);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white-color);
    margin: auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--dark-color);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-grey);
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-main-image video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    border-radius: 10px;
}

.modal-image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.modal-image-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 2px solid transparent;
}

.modal-image-gallery img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.modal-image-gallery img.active {
    border-color: var(--primary-color);
}

.video-thumbnail {
    width: 100%;
    height: 100px;
    background: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 2px solid transparent;
}

.video-thumbnail:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.video-thumbnail.active {
    border-color: var(--accent-pink);
}

.video-thumbnail i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.video-thumbnail span {
    font-size: 0.85rem;
    font-weight: 600;
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-badges .project-badge {
    position: relative;
    top: 0;
    right: 0;
}

.modal-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.modal-description {
    font-size: 1rem;
    color: var(--grey-text);
    line-height: 1.8;
    margin: 0;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-features li {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.modal-features li i {
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

/* RESPONSIVE TASARIM */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .projects-page-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }


    .culture-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-right {
    text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    header nav ul {
        gap: 15px;
    }

    header nav ul li a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .projects-carousel-wrapper {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .project-thumbnail {
        flex: 0 0 200px;
        width: 200px;
    }

    .projects-page-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-main-image {
        height: 300px;
    }

    .projects-carousel-wrapper {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    font-size: 0.9rem;
}

    .project-thumbnail {
        flex: 0 0 180px;
        width: 180px;
    }

    .projects-page-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        font-size: 1.5rem;
    }
}
