﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=optional');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* Header & Hamburger */
header {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.home-header {
    justify-content: flex-end;
}

header.subpage-header {
    left: 0;
    right: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #999;
}

.lang-switch a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.lang-switch a:hover {
    color: #333;
}

.lang-switch a.active {
    color: #000;
    font-weight: 700;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.menu-btn .bar {
    width: 24px;
    height: 3px;
    background-color: #000;
    transition: 0.3s;
}

/* Main Content */
.home-container {
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.logo-wrapper {
    text-align: center;
    max-width: 100%;
}

.main-logo {
    max-width: min(480px, 80vw);
    height: auto;
    cursor: pointer;
}

@media (max-width: 480px) {
    .main-logo {
        max-width: 55vw;
    }
}

/* Full Screen Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #000;
    font-weight: 700;
}

.menu-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    z-index: 1;
}


.menu-bg-logo img {
    max-width: min(480px, 80vw);
    height: auto;
}

@media (max-width: 480px) {
    .menu-bg-logo img {
        max-width: 55vw;
    }
}

.overlay-nav {
    position: relative;
    z-index: 2;
}

.overlay-nav ul {
    list-style: none;
    text-align: center;
}

.overlay-nav ul li {
    margin: 25px 0;
}

.overlay-nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 5px;
    transition: color 0.3s;
}

.overlay-nav ul li a:hover {
    color: #ff0000;
}

/* --- About Page Styles --- */
.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 200px 20px 60px 20px;
}

.page-header {
    margin-bottom: 40px;
}

.subpage-logo {
    max-width: 150px;
    height: auto;
}

@media (max-width: 768px) {
    .page-container {
        padding-top: 190px;
    }

    .subpage-logo {
        max-width: 110px;
    }
}

.page-title {
    text-align: center;
    font-size: 28px;
    letter-spacing: 5px;
    margin-bottom: 50px;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 20px;
        letter-spacing: 3px;
        margin-bottom: 30px;
    }
}

.about-intro {
    margin-bottom: 80px;
    line-height: 1.8;
    font-size: 15px;
    color: #333;
}

.about-intro p {
    margin-bottom: 20px;
}

.team-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    margin-bottom: 60px;
}

.team-member {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

.team-member img {
    /* Sabit yukseklik yerine fotografin kendi orani kullaniliyor: Kevork'un karesi
       520px'de tam cikiyor (dusuk cozunurlukte oldugu icin daha fazla buyutulmemeli),
       Naz'in dikey fotografi ise 620px'e kadar uzayip isaret eden eli de gosteriyor. */
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-member img:hover {
    filter: grayscale(0%);
}

.team-member h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 700;
}

.team-member h3 span {
    font-weight: 400;
    color: #666;
    font-size: 14px;
}

.team-member p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    text-align: left;
}

.other-team {
    display: flex;
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.other-member {
    flex: 1;
    text-align: center;
}

.other-member h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.other-member h3 span {
    font-weight: 400;
    color: #666;
    font-size: 14px;
}

.other-member p {
    font-size: 14px;
    color: #444;
}

/* Responsive for Team */
@media (max-width: 768px) {

    .other-team {
        flex-direction: column;
    }
}

/* --- Documentary Page (Video Slider) Styles --- */
.video-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 80px auto;
    padding: 0 50px;
    /* Space for arrows */
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

/* 16:9 Aspect Ratio for YouTube Iframes */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    /* while loading */
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-align: left;
}

/* Slider Arrows */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 30px;
    color: #000;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    transition: color 0.3s;
}

.slider-btn:hover {
    color: #ff0000;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .video-slider-container {
        padding: 0 30px;
    }

    .slider-btn {
        font-size: 24px;
        padding: 5px;
    }
}

/* --- Contact Page Styles --- */
.contact-section {
    max-width: 900px;
    margin: 0 auto 80px auto;
}

.map-container {
    width: 100%;
    margin-bottom: 50px;
    background: #f4f4f4;
}

.map-container iframe {
    width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #333;
}

.info-item .info-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: #000;
}

.info-item .icon {
    font-size: 20px;
    color: #000;
}

.info-item p {
    margin: 0;
}

.info-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #ff0000;
}

/* --- Footer Styles --- */
.ftco-footer {
    background-color: #000000;
    color: #cccccc;
    padding: 60px 20px;
    font-size: 14px;
    margin-top: 50px;
}

.ftco-footer .container {
    max-width: 1100px;
    margin: 0 auto;
}

.ftco-footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.ftco-footer .col-md,
.ftco-footer .col-md-5 {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.ftco-footer .col-md-12 {
    width: 100%;
}

.ftco-footer .col-md-5:first-child {
    text-align: left;
}

@media (min-width: 901px) {
    .ftco-footer .col-md-5:first-child {
        flex: 2;
        max-width: 600px;
    }
}

.ftco-footer .col-md-5:first-child .text,
.ftco-footer .col-md-5:first-child ul li a {
    justify-content: flex-start;
}

.ftco-footer .mb-3 { margin-bottom: 1rem; }
.ftco-footer .mb-4 { margin-bottom: 1.5rem; }
.ftco-footer .mb-5 { margin-bottom: 3rem; }
.ftco-footer .mt-4 { margin-top: 1.5rem; }
.ftco-footer .list-unstyled { list-style: none; padding-left: 0; }

.ftco-footer h2 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
}

.ftco-footer ul {
    list-style: none;
    padding: 0;
}

.ftco-footer .col-md-5:nth-child(2) ul {
    display: inline-block;
    text-align: left;
    margin-top: 0;
}

.ftco-footer ul li {
    margin-bottom: 15px;
}

.ftco-footer ul li a,
.ftco-footer .text {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 24px;
}

@media (max-width: 900px) {
    /* "İletişim" kolonundaki uzun adres/şirket adı satırları bu genişlik
       aralığında 2 satıra kayıyor; "Sosyal Medya" kolonuyla satır satır
       hizalı kalması için her satıra 2 satırlık bir yükseklik ayrılıyor. */
    .ftco-footer ul li a,
    .ftco-footer .text {
        min-height: 48px;
    }
}

.ftco-footer ul li a:hover {
    color: #ffffff;
}

.ftco-footer-social {
    display: flex;
    gap: 15px;
}

.ftco-footer-social li a {
    font-size: 16px;
}

.text-center {
    text-align: center;
    width: 100%;
}

.text-center p {
    color: #777;
    font-size: 12px;
}

.text-center p a {
    color: #ccc;
    text-decoration: none;
}

.text-center p a:hover {
    color: #fff;
}

/* --- Scroll To Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #fc0000;
    /* Siyah yerine kırmızı yapıldı */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #cc0000;
    /* Üzerine gelince biraz daha koyu kırmızı */
    color: #ffffff;
}

/* --- News Page Styles --- */
.news-section {
    max-width: 900px;
    margin: 0 auto 80px auto;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.news-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.news-content {
    flex: 1;
    padding-right: 20px;
}

.news-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #333;
}

.news-subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
}

.news-date {
    font-size: 16px;
    color: #333;
    white-space: nowrap;
}

.see-news-btn {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.see-news-btn:hover {
    background-color: #ff4d4d;
    color: #ffffff;
}

.see-news-btn span {
    margin-left: 30px;
}

/* Responsive adjustments for news */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: stretch;
    }

    .news-content {
        order: 2;
        padding-right: 0;
    }

    .news-date {
        order: 1;
        align-self: flex-end;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .see-news-btn {
        margin-top: 10px;
    }
}

/* --- Projects Page Styles --- */
.projects-section {
    max-width: 1200px;
    margin: 0 auto 80px auto;
}

.project-categories {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.category-scroll-btn {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.category-scroll-btn:hover {
    border-color: #999;
    color: #000;
}

.category-scroll-btn svg {
    width: 15px;
    height: 15px;
    display: block;
}

.project-categories ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.project-categories ul::-webkit-scrollbar {
    display: none;
}

.project-categories ul.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.project-categories ul li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.project-categories ul li:first-child {
    scroll-margin-left: 0;
}

.project-categories ul li a {
    text-decoration: none;
    color: #777;
    font-size: 16px;
    transition: color 0.3s;
}

.project-categories ul li a:hover,
.project-categories ul li a.active {
    color: #000;
    font-weight: 600;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.project-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.project-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-image:hover img {
    transform: scale(1.04);
}

.project-info-top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.project-name {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.project-grid .project-card {
    cursor: pointer;
}

/* Aşağı kaydırdıkça beliren proje kartları */
.project-card.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-card.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.project-card.hidden-category {
    display: none;
}

/* Proje detay sayfası */
.project-detail-meta {
    justify-content: center;
    gap: 30px;
    border-bottom: none;
    margin-bottom: 40px;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.detail-gallery-item {
    cursor: pointer;
    overflow: hidden;
}

.detail-gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.detail-gallery-item:hover img {
    transform: scale(1.04);
}

.project-detail-description {
    max-width: 760px;
    margin: 0 auto 80px auto;
    padding-top: 50px;
    border-top: 1px solid #eee;
    text-align: center;
}

.project-detail-description h2 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0;
}

.project-detail-description h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #ff0000;
    margin: 18px auto 0;
}

.project-detail-description p {
    margin-top: 35px;
    font-size: 16px;
    line-height: 2;
    color: #444;
    text-align: left;
    white-space: pre-line;
}

/* Görsel büyütme popup */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 40px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

@media (max-width: 768px) {
    .detail-gallery {
        grid-template-columns: 1fr;
    }
}
