/* ==================================================================== */
/* Garagum Games - Hakkımızda Sayfası Stilleri (style.css)                */
/* ==================================================================== */

/* ------------------------------------ */
/* Renk Değişkenleri ve Fontlar         */
/* ------------------------------------ */
:root {
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Jost", sans-serif;
    
    --background-color: #171a21; 
    --default-color: #ffffff;
    --accent-color: #324761;     

    --page-bg: #1A212E;         
    --section-bg: #131821;      
    --card-bg: #1F2735;         
    --accent-main: #00A6FF;          
    --accent-secondary: #47B2E4;     
    --text: #F0F8FF;             
    --muted: #A3B3C8;            
    --border: rgba(255,255,255,0.08); 
}

/* ------------------------------------ */
/* Genel Stil (Reset & Tipografi)      */
/* ------------------------------------ */
body {
    background-color: var(--page-bg);
    color: var(--text);
    font-family: var(--default-font);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--default-color); 
    font-weight: 700;
}

h1 {
    font-size: 3rem; 
    color: var(--accent-main);
}

a {
    color: var(--accent-secondary); 
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-main);
}

/* ------------------------------------ */
/* Header ve Hero Section Stilleri      */
/* ------------------------------------ */
.page-header {
    /* ARKA PLAN RESMİ VE PARALAKS EFEKTİ */
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* PARALAKS EFEKTİ BURADA */
    position: relative; 
    z-index: 1; 
    
    padding: 4rem 5%;
    border-bottom: 3px solid var(--accent-main);
}

/* Arka Plan Karartma (Overlay) */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: -1; 
}


.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px; 
    text-align: left;
}

.header-text {
    flex: 1; 
}

.subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    font-weight: 400;
}

/* Logo/Görsel Alanı */
.header-image {
    flex-basis: 400px; 
    min-width: 250px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6); 
    border-radius: 10px;
    padding: 15px; 
    background: rgba(0, 0, 0, 0.3);
}

.brand-logo {
    width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------ */
/* Ana İçerik ve Bölüm Stilleri         */
/* ------------------------------------ */
#about-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

section {
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

/* Bölüm Başlıkları */
section h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem; 
    border-left: 5px solid var(--accent-secondary); 
    padding-left: 15px;
    color: var(--text);
}

/* ------------------------------------ */
/* Hizmet Grupları ve Kartlar           */
/* ------------------------------------ */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 180px; 
}

/* Kart Hover Efektleri - Genel */
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 166, 255, 0.15); 
}

.card-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--accent-main); 
}

/* E-Spor Kartlarına Özel Vurgu */
.section-esports .service-item {
    border: 1px solid var(--accent-secondary);
}

.section-esports .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(71, 178, 228, 0.15); 
}

.espor-vurgu {
    color: var(--accent-secondary) !important;
}

/* ------------------------------------ */
/* Görsel ve Banner Stilleri (DİKEY HİZALAMA) */
/* ------------------------------------ */

.section-visual {
    margin-bottom: 2.5rem;
    overflow: hidden;
    border-radius: 10px;
    max-height: 300px; 
    
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); 
    transition: box-shadow 0.3s, border-color 0.3s;
}

/* HOVER: Siyah gölgeyi güçlendirir ve Sınır Çizgisi Rengi ekler */
.section-visual:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7); 
    border-color: var(--accent-secondary); 
}

/* TÜM GÖRSELLERİN DİKEY ORTALANMASI İÇİN AYAR */
.group-banner, .team-photo {
    width: 100%;
    height: 100%; 
    display: block;
    object-fit: cover; 
    /* GÖRSELİN DİKEYDE ORTALANMASINI SAĞLAR */
    object-position: center center; 
    border-radius: 10px;
}

/* Ekip Fotoğrafı Alanı */
.section-team {
    padding-bottom: 0;
    border-bottom: none;
}

.team-photo {
    max-width: 800px;
    height: auto;
    margin: 0 auto 20px auto;
    border: 3px solid var(--accent-color);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}


/* ------------------------------------ */
/* Responsive Tasarım                   */
/* ------------------------------------ */
@media (max-width: 992px) {
    /* Mobil cihazlarda paralaks efektini kapatmak daha iyidir */
    .page-header {
        background-attachment: scroll; 
    }
    
    .header-content {
        flex-direction: column; 
        text-align: center;
        gap: 30px;
    }

    .header-image {
        order: -1; 
        width: 100%;
        max-width: 300px;
    }
    
    .section-visual {
        max-height: 250px; 
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr; 
    }
}