<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>T&G Entertainment - Kurumsal</title>
    
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="tgEntertainmentstyle.css">

</head>
<body class="dark-mode">
<?php
  // Mevcut sayfanın adını alıyoruz (örn: index.php, iletisim.php)
  $sayfa = basename($_SERVER['PHP_SELF']);
?>
    <nav class="navbar navbar-expand-lg fixed-top <?php if($sayfa == 'index.php') { echo 'index-navbar'; } ?>">
        <div class="container">
            <a class="navbar-brand" href="index.php">
                <img class="logo-white" src="uploads/tg_entertainment_logo.webp" style="display:none">
                <img class="logo-dark" src="uploads/tg_entertainment_logo_siyah.webp">
                <!--<h3 class="fw-bold text-white mb-0">T&G Entertainment</h3> -->
            </a>
            
            <div class="d-flex align-items-center order-lg-2 ms-auto">
                <a href="#" class="btn btn-lang me-2">EN</a>
                <button id="theme-toggle" class="me-2" title="Gece/Gündüz Modu">
                    <i class="fas fa-moon"></i>
                </button>
                <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                    <span class="navbar-toggler-icon"></span>
                </button>
            </div>

            <div class="collapse navbar-collapse order-lg-1 me-lg-4" id="navbarNav">
                <ul class="navbar-nav ms-auto align-items-center">
                    <li class="nav-item"><a class="nav-link <?php if(isset($baslik) && $baslik == 1) echo 'active'; ?>" href="index.php">Ana Sayfa</a></li>
                    <li class="nav-item"><a class="nav-link <?php if(isset($baslik) && $baslik == 2) echo 'active'; ?>" href="index.php#hakkimizda">Hakkımızda</a></li>
                    <li class="nav-item"><a class="nav-link <?php if(isset($baslik) && $baslik == 3) echo 'active'; ?>" href="servicesCategory.php">Hizmetler</a></li>
                    <li class="nav-item"><a class="nav-link <?php if(isset($baslik) && $baslik == 4) echo 'active'; ?>" href="artists.php">Sanatçılar</a></li>
                    <li class="nav-item"><a class="nav-link <?php if(isset($baslik) && $baslik == 5) echo 'active'; ?>" href="index.php#referanslar">Referanslar</a></li>
                    <li class="nav-item"><a class="nav-link <?php if(isset($baslik) && $baslik == 6) echo 'active'; ?>" href="contact.php">İletişim</a></li>
                </ul>
            </div>
        </div>
    </nav>