/* ===================================
   RESET & VARIABLES
   =================================== */
:root {
    --color-primary: #820e10;
    --color-dark: #090709;
    --color-text: #4b5563;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-bg: #ffffff;
    --color-bg-gray: #f9fafb;
    --color-border: #e5e7eb;
    --color-border-dark: #1f2937;
    --color-linkedin: #0077b5;
    
    --font-sans: 'Inter', sans-serif;
    --transition: 0.3s ease;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-gray);
    color: var(--color-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
     min-width: 320px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   LAYOUT
   =================================== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    scroll-margin-top:10px ;
}


.section-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}

.section-aside {
    position: sticky;
    top: 140px;
}

.section-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.5px;
}

.section-title-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    margin-top: 20px;
}

.section-group {
    margin-bottom: 80px;
}

.section-group:last-child {
    margin-bottom: 0;
}

.accent-bar {
    width: 48px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.accent-bar-sm {
    width: 4px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
.text-body {
    font-size: 15px;
    color: #42464d;
    line-height: 1.8;
    font-weight: 350;
    margin-bottom: 20px;
}

.text-accent {
    color: var(--color-primary);
}

.link {
    color: inherit;
    transition: color var(--transition);
}

.link:hover {
    color: var(--color-primary);
}

.link-accent {
    color: var(--color-primary);
    transition: opacity var(--transition);
}

.link-accent:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
    
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding-left: 20px;
    padding-right: 80px;

}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    width: 400px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: #42464d;
    padding: 8px 0;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition);
}

.nav-link:hover .nav-underline {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    transition: all var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    background-color: white;
    border-top: 1px solid var(--color-border);
    padding: 20px 24px;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-bg-gray);
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--color-primary);
}

/* ===================================
   HERO
   =================================== */
.hero {
    position: relative;
    width: 100%;
    height: 580px;
    background-color: var(--color-bg);
    padding-top: 30px;
    
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.9;
    mix-blend-mode: multiply;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.6) 10%,   /* Soft black left */
        rgba(255, 255, 255, 0.7) 18%,   /* Transition to white */
        rgba(255, 255, 255, 0.8) 32%,   /* Bright readable text area */
        rgba(255, 255, 255, 0.8) 52%,   /* Center fade */
        rgba(255, 255, 255, 0.7) 78%,   /* Soft black transition */
        rgba(255, 255, 255, 0.6) 90%,
        rgba(255, 255, 255, 0.2) 100%    /* Soft black right */
    );
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 10px;
    animation: fadeIn-Hero-Content 1s ease-in;
}

.hero-desc {
    font-size: 18px;
    color: #42464d;
    font-weight: 300;
    line-height: 1.8;
    max-width: 450px;
    animation: fadeIn-Hero-Content 1s ease-in 0.2s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   VALUES
   =================================== */
.values-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.value-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.3px;
}

.value-text {
    font-size: 15px;
    color: #42464d;
    line-height: 1.8;
    font-weight: 350;
}

/* ===================================
   TEAM
   =================================== */


.team-grid {
    display: grid;
    gap: 32px;
}

.team-cols-3-yk {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.team-cols-3-uy {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.team-card {
    background-color: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}


.team-info {
    position:relative;
    z-index: 1;
    padding: 24px;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 3px;
    letter-spacing: -0.3px;
    transition: color var(--transition);
}

.team-card:hover .team-name {
    color: var(--color-primary);
}

.team-role {
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
    margin-bottom: 0px;
}

.team-dept {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-bottom: 12px;
}


/* ===================================
   CONTACT
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
}

.contact-card {
    background-color: var(--color-bg);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.contact-icon {
    width: 32px;
    height: 32px;
}

.contact-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.4px;
}

.contact-title-alt {
    font-size: 21px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
}

.contact-value {
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 400;
    line-height: 1.7;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.company-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.company-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-light);
}

.company-value {
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 400;
}

.company-value a:hover{
    color:var(--color-primary);
}


/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--color-dark);
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto auto ; /* Bank logo | Center space | BDDK section */
    gap: 500px;
    margin-bottom: 48px;
    align-items: start;
}


.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-logo-bank {
    margin-top: -18px;
    height: 180px;
    width: auto;
    object-fit: contain;
}


.footer-col-holding {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-logo-holding {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-list {
    padding-top: 20px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-list li a {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 300;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-list li a:hover {
    color: #820e10;
}


.footer-col-bddk {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-logo-bddk {
    height: 90px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-text {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.7;
}


.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.footer-social:hover {
    color: var(--color-linkedin);
    transform: translateY(-2px);
}


.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-info p {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-weight: 300;
}

.footer-info a {
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.footer-info a:hover {
    color: var(--color-primary);
}

.footer-links {
grid-column: 3;
justify-self: end;
}

.footer-bottom {
    border-top: 1px solid var(--color-border-dark);
    padding-top: 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;

}

.copyright-section {
    grid-column: 2;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-light);
    font-weight: 300;
    letter-spacing: 0.3px;
    margin: 0;
}

/* ===================================
   WATERMARK LOGO
   =================================== */
.watermark-logo {
    position: fixed;
    
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 80vw;
    height: 80vh;
    
    z-index: 0;
    
    opacity: 0;
    
    pointer-events: none;
    
    transition: opacity 0.6s ease;
}

.watermark-logo.active {
    opacity: 0.09; 
}

.watermark-logo img {
    width: 100%;
    height: 100%;
    object-fit:contain;
    
}

#about-us,
#management {
    position: relative;
    z-index: 1;
}

/* pop-up-background */
.popup-overlay {
    display: none; /* First, hidden */
    position: fixed;
    z-index: 10000; /* For top location */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); 
    justify-content: center; /* Horizontal  align */
    align-items: center; /* Vertical align */
    padding: 15px;
}

/* pop-up-content */
.popup-icerik {
    position: relative;
    background-color: transparent;
    padding: 0px;
    border:none;
    border-radius: 8px;
    width: 600px;
    max-width: 100%; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    animation: ZoomIn-Pop-Up 0.4s ease;; /* Açılış animasyonu */
}

/* pop-up-content-img */
.popup-icerik img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    max-height:90vh;
    object-fit:contain;
}

/* pop-up-close-button */
.kapat-btn-duyuru {
    position: absolute;
    top: -12px;
    right: -10px;
    background-color: #000000;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    font-size: 25px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 10001;
    
}

/* Pop-up Animation */
@keyframes ZoomIn-Pop-Up {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Hero-Content Animation */
@keyframes fadeIn-Hero-Content {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 992px) {

    .popup-icerik {
        width: 90%; 
    }

    .kapat-btn-duyuru {
        right: -12px; 
        top: -14px;
        width: 35px;
        height: 35px;
        line-height: 27px;
        font-size: 28px;
        text-align: center;
    } 

    .hero {
        
        height: 500px;
        padding: 0 24px;
    }

    .hero-title {
        font-size: 42px;
        margin-bottom: 2px;
    }

    .section-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .section-aside {
        position: static;
    }

    .logo {
        height: 75px;
        width: 275px;
    }
    
    .section {
        padding: 64px 0;
        scroll-margin-top: 50px;
    }
    
    .team-cols-3,
    .team-cols-4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

     .popup-icerik {
        width: 70%; 
    }
}

@media (max-width: 820px) {

    .popup-icerik {
        width: 90%; 
    }

    .kapat-btn-duyuru {
        right: -12px; 
        top: -14px;
        width: 35px;
        height: 35px;
        line-height: 28px;
        font-size: 28px;
        text-align: center;
    } 
}

@media (max-width: 768px) {

    .popup-icerik {
        width: 90%; 
    }

    .kapat-btn-duyuru {
        right: -10px; 
        top: -10px;
        width: 30px;
        height: 30px;
        line-height: 23px;
        font-size: 24px;
        text-align: center;
    } 


    .section{
        scroll-margin-top: 250px;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .copyright-section {
        grid-column: 1;
        text-align: center;
    }
    .footer-links{
        grid-column: 1;
        justify-self: center;
    }
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .navbar .container {
        height: 90px;
    }
    .navbar-container{
        padding-left: 0px;
        padding-right: 30px;
    }
    
    .logo {
        height: 75px;
        width: 280px;
    }
    
    .hero {
        
        height: 500px;
        padding: 0 24px;
    }
    
    .hero-wrapper {
        border-radius: var(--radius);
    }
    
    .hero-title {
        font-size: 42px;
        margin-bottom: 2px;
    }
    
    .hero-desc {
        font-size: 16px;
        color: var(--color-border-dark);
    }

    .section-heading,
    .section-subtitle {
        font-size: 24px;
    }
    
    .value-title {
        font-size: 18px;
    }
    
    .text-body,
    .value-text {
        font-size: 14px;
    }
    
    .section-group {
        margin-bottom: 60px;
    }
    
    .team-cols-3-yk,
    .team-cols-3-uy {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .popup-icerik {
        width: 85%;
    }
}

@media (max-width: 480px) {

    .popup-icerik {
        width: 90%; 
    }

    .kapat-btn-duyuru {
        right: -8px; 
        top: -10px;
        width: 22px;
        height: 22px;
        line-height: 17px;
        font-size: 17px;
        text-align: center;
    } 


    .footer-bottom {
        gap: 16px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
    .navbar .container {
        height: 80px;
    }
    
    .logo {
        height: 60px;
        width: 230px;
    }
    
    .hero {
        height: 250px;
        padding: 0 16px;
    }
    
    .hero-wrapper {
        border-radius: var(--radius-sm);
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 2px;
    }
    
    .hero-desc {
        font-size: 14px;
        color: var(--color-border-dark);

    }
    
    .section {
        padding: 48px 0;
    }
    
    .section-heading,
    .section-subtitle {
        font-size: 22px;
    }
    
    .team-cols-3-yk,
    .team-cols-3-uy {
        max-width: 240px;
    }
    
    .team-info {
        padding: 20px;
    }
    
    .team-name {
        font-size: 16px;
    }
    
    .team-role {
        font-size: 13px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-title {
        font-size: 20px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-logo {
        height: 70px;
    }
}