* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: #0d0e12;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(13, 14, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* LOGO ALANI */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
    display: block;
}

nav ul { display: flex; list-style: none; gap: 30px; }
nav a { color: #aaa; text-decoration: none; font-weight: 600; transition: 0.3s; }
nav a:hover { color: #00d4ff; }

/* HERO BÖLÜMÜ */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 130px 5% 40px;
    gap: 40px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(112,0,255,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content { flex: 1; max-width: 50%; z-index: 1; }
.hero-content h1 { font-size: 42px; font-weight: 800; line-height: 1.2; }
.hero-content h1 span { color: #00d4ff; }
.hero-content p { margin: 20px 0 30px; color: #ccc; font-size: 16px; }

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #7000ff, #00d4ff);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover { opacity: 0.9; transform: translateY(-3px); }

.hero-video-container {
    flex: 1;
    max-width: 50%;
    border-radius: 16px;
    overflow: hidden;
    background: #15151e;
    aspect-ratio: 16 / 9;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

section { padding: 40px 5%; }
.section-title { font-size: 32px; margin-bottom: 30px; border-left: 4px solid #7000ff; padding-left: 15px; }

/* BİZ KİMİZ & İSTATİSTİK ALANI */
.about {
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.about-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
}

.about-text h3 { color: #00d4ff; margin-bottom: 10px; font-size: 18px; }
.about-text p { color: #ccc; max-width: 600px; }

.about-stats {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.stat-box {
    background: #15151e;
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 140px;
    text-align: center;
}

.stat-box h4 {
    font-size: 28px;
    color: #7000ff;
    font-weight: 800;
}

.stat-box p {
    font-size: 13px;
    color: #aaa;
}

/* YATAY PROJE KARTLARI (16:9) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-card {
    background: #15151e;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.media-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.media-wrapper img, .media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-info h3 { font-size: 15px; margin-bottom: 5px; color: #fff; }
.portfolio-info p { font-size: 12px; color: #888; margin-bottom: 15px; flex-grow: 1; }

.link-btn {
    background: transparent;
    border: none;
    color: #00d4ff;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

/* DİKEY REELS & SHORTS (9:16) */
.subsection-title {
    font-size: 24px;
    margin: 50px 0 20px 0;
    color: #00d4ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.vertical-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.vertical-card {
    background: #15151e;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.vertical-media-wrapper {
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    overflow: hidden;
}

.vertical-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* MARKALARIMIZ (8'Lİ SIRA DÜZENİ) */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
    margin-top: 30px;
}

.brand-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #15151e;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.brand-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.brand-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* POPUP MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: #15151e;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.8);
    transition: transform 0.3s ease, max-width 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-content.horizontal {
    max-width: 650px;
    width: 100%;
}

.modal-content.vertical {
    max-width: 360px;
    width: 100%;
}

.close-modal {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#modalMediaContainer {
    width: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content.vertical #modalMediaContainer {
    aspect-ratio: 9 / 16;
}

.modal-content.horizontal #modalMediaContainer {
    aspect-ratio: 16 / 9;
}

#modalImg, #modalVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-body {
    padding: 20px;
    background: #15151e;
}

.modal-badge {
    background: #7000ff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 8px;
}

#modalTitle {
    font-size: 18px;
    color: #fff;
    margin-bottom: 5px;
}

#modalDesc {
    color: #aaa;
    font-size: 13px;
}

/* HİZMETLER & İLETİŞİM */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #15151e; padding: 25px; border-radius: 12px; }
.card h3 { margin-bottom: 10px; color: #00d4ff; }

.contact-info {
    text-align: center;
    margin-bottom: 20px;
}

.contact-info a {
    color: #00d4ff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.contact input, .contact textarea {
    padding: 12px; background: #15151e; border: 1px solid #333; color: #fff; border-radius: 8px;
}

footer { text-align: center; padding: 30px; background: #08080a; color: #666; }

/* SAYFA KAYDIRMA ANİMASYONU */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ÇEREZ ONAY BARI (COOKIE BANNER) */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(21, 21, 30, 0.95);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    z-index: 9999;
    transition: bottom 0.4s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-content p {
    font-size: 13px;
    color: #ccc;
    margin: 0;
}

.cookie-content a {
    color: #00d4ff;
    text-decoration: underline;
}

.cookie-btn {
    padding: 8px 20px;
    font-size: 12px;
    white-space: nowrap;
}

/* MOBİL VE TABLET UYUMU */
@media (max-width: 1200px) {
    .brands-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .vertical-grid { grid-template-columns: repeat(3, 1fr); }
    .hero { flex-direction: column; text-align: center; }
    .hero-content, .hero-video-container { max-width: 100%; width: 100%; }
    .about-container { flex-direction: column; align-items: flex-start; }
    .about-stats { justify-content: flex-start; width: 100%; }
}

@media (max-width: 600px) {
    .portfolio-grid, .vertical-grid, .grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { flex-direction: column; }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}