/* 
 * PMC Pars Unit - Black & Tactical Yellow Theme
 * Inspired by Milsim Aesthetic (Pure Black, Striking Yellow)
 */

:root {
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-gray: #151515;
    --tac-primary: rgb(255, 217, 0);
    /* Askeri Yeşil */
    --tac-primary-hover: rgb(255, 217, 0);
    --text-white: #ffffff;
    --text-gray: #bbbbbb;
    --text-dark: #111;

    font-family: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="%23ffeb3b" stroke-width="2" d="M12 2v20M2 12h20"/><circle cx="12" cy="12" r="6" fill="none" stroke="%23ffeb3b" stroke-width="1"/></svg>') 12 12, crosshair;
}

a,
button,
.team-card,
.gallery-item,
.close-img-modal,
.close-team-modal,
.mobile-menu-btn {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="%23ff0000" stroke-width="2" d="M12 4v16M4 12h16"/><circle cx="12" cy="12" r="4" fill="none" stroke="%23ff0000" stroke-width="2"/><circle cx="12" cy="12" r="8" fill="none" stroke="%23ff0000" stroke-width="1" stroke-dasharray="2,2"/></svg>') 12 12, pointer !important;
}

body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.5;
}

body::before {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9998;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.05;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

h1,
h2,
h3,
h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: none;
    }

    20% {
        transform: translate(-2px, 1px);
        text-shadow: 2px 0 var(--tac-primary), -2px 0 red;
    }

    40% {
        transform: translate(2px, -1px);
        text-shadow: -2px 0 var(--tac-primary), 2px 0 red;
    }

    60% {
        transform: translate(-1px, 2px);
        text-shadow: 2px 0 var(--tac-primary), -2px 0 red;
    }

    80% {
        transform: translate(1px, -2px);
        text-shadow: -2px 0 var(--tac-primary), 2px 0 red;
    }

    100% {
        transform: translate(0);
        text-shadow: none;
    }
}

h1:hover,
h2:hover,
h3:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

/* Helpers */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 30px;
}

.uppercase {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* NAVBAR */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid var(--tac-primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.navbar.solid-nav {
    background-color: rgba(0, 0, 0, 1);
}

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

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    color: var(--tac-primary);
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.brand-logo:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .brand-logo {
        height: 50px;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--tac-primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--tac-primary);
    cursor: pointer;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background-color: var(--tac-primary);
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 217, 0, 0.1);
    position: relative;
    overflow: visible;
}

.btn-primary::before,
.btn-primary::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid transparent;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.btn-primary::before {
    top: 0px;
    left: 0px;
    border-top-color: var(--tac-primary);
    border-left-color: var(--tac-primary);
}

.btn-primary::after {
    bottom: 0px;
    right: 0px;
    border-bottom-color: var(--tac-primary);
    border-right-color: var(--tac-primary);
}

.btn-primary:hover {
    background-color: var(--tac-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 217, 0, 0.35);
}

.btn-primary:hover::before {
    top: -10px;
    left: -10px;
    opacity: 1;
}

.btn-primary:hover::after {
    bottom: -10px;
    right: -10px;
    opacity: 1;
}

.btn-instagram {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.btn-instagram:hover {
    transform: scale(1.05);
    color: #fff;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('../images/bg-placeholder.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sub-header {
    background: url('../images/bg-placeholder.jpg') center/cover no-repeat;
    position: relative;
    padding: 150px 20px 80px;
    text-align: center;
}

.sub-header::after,
.hero-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

.hero-content,
.header-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-size: 70px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

.hero-title span {
    color: var(--tac-primary);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-quote {
    display: block;
    width: fit-content;
    max-width: 90%;
    margin: 0 auto;
    padding: 15px 30px;
    background-color: var(--tac-primary);
    color: var(--text-dark);
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(255, 217, 0, 0.2);
    border-left: 5px solid #000;
}

.hero-quote .quote-text {
    font-weight: 700;
    font-size: 20px;
}

.typing-cursor::after {
    content: '_';
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-quote .quote-author {
    font-size: 15px;
    color: #222;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

/* SECTIONS (Z-Pattern) */
.split-section {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--bg-black);
}

.split-content {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 300px;
    display: flex;
    overflow: hidden;
}

.text-box {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-badge {
    color: var(--tac-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.section-badge.center-badge {
    text-align: center;
}

.section-title {
    font-size: 38px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--tac-primary);
    margin-bottom: 25px;
}

.accent-line.center {
    margin: 0 auto 25px auto;
}

.text-box p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 17px;
}

.text-box p strong {
    color: var(--text-white);
}

/* FADING IMAGE TRANSITION (SMOOTH MASK) */
.image-box {
    width: 100%;
    position: relative;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    filter: grayscale(10%) contrast(110%);
    transition: filter 0.5s;
    /* The requested smooth downward/upward transition */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%);
}

.split-section.reverse {
    flex-direction: row-reverse;
    background-color: var(--bg-black);
}

.split-section.reverse .image-box img {
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 15%);
    mask-image: linear-gradient(to left, transparent 0%, black 15%);
}

@media (max-width: 768px) {
    .image-box img {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
    }

    .split-section.reverse .image-box img {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
    }
}

.image-box img:hover {
    filter: grayscale(0%) contrast(110%);
}

/* INFO SECTION */
.info-section {
    background-color: #050505;
    padding: 100px 20px;
}

.info-container {
    max-width: 1000px;
    margin: 0 auto;
}

.goals-list.large {
    list-style: none;
    margin-top: 50px;
}

.goals-list.large li {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.goals-list.large i {
    font-size: 36px;
    color: var(--tac-primary);
    width: 50px;
    text-align: center;
}

.goals-list.large h3 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.goals-list.large span {
    font-size: 16px;
    color: var(--text-gray);
}

/* SOCIAL OVERLAY / INSTAGRAM */
.social-section {
    padding: 100px 20px;
    background: url('../images/placeholder3.jpg') center/cover no-repeat;
    position: relative;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.social-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* TEAM / ROSTER SECTION */
.team-section {
    padding: 80px 20px;
    background-color: #080808;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

/* Card Redesign */
.team-card {
    background-color: transparent;
    width: 260px;
    text-align: center;
    border: none;
    overflow: hidden;
    transition: transform 0.1s ease-out;
    /* JS 3D Tilt için yumuşaklık */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    will-change: transform;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 217, 0, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.team-card:hover::after {
    animation: tacticalPing 0.6s ease-out forwards;
}

@keyframes tacticalPing {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }

    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* .team-card:hover { CSS Transform JS 3D Tilt'e taşındı } */

.card-img-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.card-img-wrap::before,
.team-modal-img-container::before {
    content: "CLASSIFIED";
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    color: rgba(220, 20, 20, 0.85);
    border: 4px solid rgba(220, 20, 20, 0.85);
    padding: 5px 15px;
    letter-spacing: 5px;
    border-radius: 4px;
    mix-blend-mode: hard-light;
    text-shadow: 0 0 5px rgba(220, 20, 20, 0.5);
    box-shadow: inset 0 0 8px rgba(220, 20, 20, 0.3), 0 0 8px rgba(220, 20, 20, 0.3);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.team-card:hover .card-img-wrap::before {
    opacity: 0;
}

.card-img-wrap::before {
    font-size: 26px;
    top: 40%;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(120%);
    transition: filter 0.4s, transform 0.4s;
}

.team-card:hover .card-img-wrap img {
    filter: grayscale(0%) contrast(110%);
    transform: scale(1.05);
}

.file-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--tac-primary);
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 2;
}

.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

.team-card:hover .card-hover-overlay {
    opacity: 1;
}

.card-hover-overlay i {
    font-size: 60px;
    color: var(--tac-primary);
    margin-bottom: 10px;
}

.card-hover-overlay span {
    color: var(--tac-primary);
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

.team-info {
    background-color: #0a0a0a;
    padding: 20px 15px;
    border-left: 4px solid var(--tac-primary);
    margin-top: 5px;
    text-align: center;
}

.team-name {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: var(--tac-primary);
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 217, 0, 0.3);
}

.team-role {
    color: #6c7a89;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* GALLERY TEASER */
.gallery-teaser-section {
    padding: 80px 20px;
    background-color: var(--bg-black);
    text-align: center;
}

/* DEDICATED GALLERY PAGE */
.gallery-page-section {
    padding: 60px 20px 100px;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 350px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid #222;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.img-overlay i {
    font-size: 40px;
    color: var(--tac-primary);
}

.gallery-item:hover .img-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* FLOATING WHATSAPP */
@keyframes sonarPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1900;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: sonarPulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* MODAL */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

.close-img-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--tac-primary);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2010;
    transition: background 0.3s, transform 0.3s;
}

.close-img-modal:hover {
    background: var(--tac-primary);
    color: #000;
    transform: scale(1.1);
}

/* FOOTER */
.site-footer {
    background-color: #050505;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.footer-brand-img {
    height: 75px;
    width: auto;
    margin-bottom: 5px;
    object-fit: contain;
}

.mt-3 {
    margin-top: 15px;
}

.site-footer p {
    color: var(--text-gray);
    font-size: 14px;
}

/* SCROLL REVEAL (TACTICAL SNAP) */
.reveal-tactical {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    p,
    h1,
    h2,
    h3,
    h4,
    span,
    div {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 0;
        text-align: center;
        border-bottom: 2px solid var(--tac-primary);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    }

    .nav-links.active-menu {
        max-height: 400px;
        padding: 20px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .split-content {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 300px;
    }

    .text-box {
        padding: 50px 25px;
    }

    .info-section {
        padding: 60px 25px;
    }

    .team-section {
        padding: 60px 25px;
    }

    .gallery-teaser-section {
        padding: 60px 25px;
    }

    .floating-wa {
        bottom: 20px;
        right: 20px;
    }
}

/* Modal Redesign */
.team-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 50px;
}

.team-modal-content {
    background-color: #0d0d0d;
    margin: 5% auto;
    padding: 0;
    border: 2px solid var(--tac-primary);
    width: 90%;
    max-width: 900px;
    border-radius: 0;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
    animation: modalFadeIn 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    background-color: var(--tac-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #000;
}

.mh-left {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
}

.mh-left i {
    margin-right: 8px;
}

.mh-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.classified-badge {
    background-color: #8b0000;
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.close-team-modal {
    color: #000;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-team-modal:hover {
    color: #333;
}

.team-modal-body {
    display: flex;
    flex-wrap: wrap;
    background-color: #0d0d0d;
}

.team-modal-img-container {
    flex: 1 1 350px;
    border-right: 2px solid var(--tac-primary);
    position: relative;
}

.team-modal-img-container::before {
    font-size: 40px;
    top: 50%;
}

.team-modal-img-container img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    filter: grayscale(100%);
    display: block;
}

.team-modal-info {
    flex: 1 1 400px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.watermark {
    display: none;
    /* Eski arkaplan yazısını gizliyoruz, artık damga kullanılıyor */
}

#tmName {
    font-size: 42px;
    color: var(--tac-primary);
    font-family: 'Oswald', sans-serif;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 217, 0, 0.2);
}

.role-box {
    margin-bottom: 30px;
}

.role-box span {
    display: inline-block;
    border: 1px solid var(--tac-primary);
    color: var(--tac-primary);
    padding: 5px 15px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.info-rows {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.info-row {
    background-color: #111;
    border-left: 2px solid var(--tac-primary);
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.row-label {
    color: var(--tac-primary);
    font-weight: 700;
    font-size: 13px;
    width: 120px;
    letter-spacing: 1px;
}

.row-label i {
    margin-right: 5px;
}

.row-val {
    color: #fff;
    font-size: 14px;
    flex: 1;
}

.notes-box {
    border: 1px dashed #333;
    padding: 20px;
    position: relative;
    margin-top: 10px;
}

.notes-title {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: #0d0d0d;
    padding: 0 10px;
    color: #555;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

#tmBio {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .team-modal-body {
        flex-direction: column;
    }

    .team-modal-img-container {
        flex: 0 0 auto;
        width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--tac-primary);
    }

    .team-modal-img-container img {
        height: 250px;
        max-height: 35vh;
        min-height: auto;
    }

    .team-modal-content {
        margin: 10px auto;
        width: 95%;
    }

    .team-modal-info {
        padding: 20px;
        flex: 1 1 auto;
    }

    .watermark {
        font-size: 30px;
        top: 20px;
        right: -10px;
    }
}