:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #e62429;
    --text-color: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: url('../assets/images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar Styles */
/* Navbar Mobil Sabitlik */
/* ======================== */
/* NAVBAR STYLES (GÜNCEL)  */
/* ======================== */
/* NAVBAR STYLES (GÜNCEL ve DÜZENLENMİŞ) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 75px; /* YÜKSEKLİK ARTTI */
    background: linear-gradient(90deg, rgba(128,0,32,0.95) 0%, rgba(200,0,50,0.95) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem; /* genişlik biraz arttı */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* içeriği büyütelim */
.logo-text {
    font-size: 2rem;
}

.menu-btn i {
    font-size: 1.4rem;
}

body {
  font-family: 'Roboto', sans-serif;
  background: url('../assets/images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-color);
  line-height: 1.6;
  padding-top: 125px; /* BURAYI ARTIRDIM */
}



.nav-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.left-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem; /* Bilgisayarda daha büyük */
    font-weight: 600;
    text-shadow: 1px 1px 5px black;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-text:hover {
    color: #ffd700;
    transform: scale(1.03);
    text-shadow: 0 0 15px #ffd700;
}

.logo-text i {
    font-size: 1.5rem;
    color: white;
    transition: 0.3s ease;
}

.logo-text a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tıklanabilirlik için logonun tamamı <a> olmalı */

/* Sağdaki panel */
.universe-bar-right {
    position: fixed;
    top: 100px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(128, 0, 32, 0.95);
    padding: 0.5rem;
    z-index: 9998;
    border-radius: 8px 0 0 8px;
    transition: right 0.3s ease;
}

/* Gizlenince sağa kayar */
.universe-bar-right.hidden {
    right: -100px;
}



.universe-bar-right.hidden {
    right: -180px;
  }

.logo-link {
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 0.3rem;
    border-radius: 8px;
    text-decoration: none;
}

.logo-link:hover,
.logo-link.active {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.universe-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
}

/* RESPONSIVE NAVBAR */
@media (max-width: 768px) {
    .navbar {
      height: auto;
      flex-direction: column;
      padding: 0.8rem 1.2rem;
      align-items: flex-start;
    }
  
    .nav-content {
      width: 100%;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.8rem;
    }
  
    .left-header {
      width: 100%;
      justify-content: space-between;
      align-items: center;
    }
  
    .menu-btn {
      padding: 0.6rem;
    }
  
    .menu-btn i {
      font-size: 1.6rem;
    }
  
    .logo-text {
      font-size: 1.5rem;
    }
  
    .logo-text i {
      font-size: 1.3rem;
    }
  
    .universe-bar-right {
      top: 140px; /* Navbar yüksekliğine göre ayarlandı */
      right: 0;
    }
  
    body {
      padding-top: 150px; /* Navbar + universe bar mesafesi için */
    }
  }
  

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.3rem;
    }

    .universe-logo {
        height: 38px;
    }
}




.logo-link {
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0.4rem;
    border-radius: 8px;
    text-decoration: none !important;
}

.logo-link:hover,
.logo-link.active {
    opacity: 1;
    transform: scale(1.12);
    background: rgba(255, 255, 255, 0.1);
}

.universe-logo {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%; /* Başta kapalı */
    width: 300px;
    height: 100vh;
    background: rgba(128, 0, 32, 0.97);
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: hidden;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: rgba(128, 0, 32, 1);
    padding: 1rem;
    z-index: 10001;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    color: #ffd700;
    transform: rotate(90deg);
}

.sidebar-content {
    height: calc(100% - 60px); /* üst bar dışında kalan kısım */
    overflow-y: auto;
    padding: 1rem 1.5rem;
    padding-top: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.5) rgba(0, 0, 0, 0.2);
}


.sidebar ul {
    list-style: none;
    margin-top: 1rem;
}

.sidebar ul li {
    margin-bottom: 1rem;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.sidebar ul li a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: translateX(10px);
}

/* Submenu stilleri */
.submenu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.submenu.active {
    display: block;
}

.submenu li {
    margin: 0.5rem 0;
}

.submenu li a {
    font-size: 1rem;
    padding-left: 1rem;
}

/* Mobil için sidebar düzenlemeleri */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        left: -100%;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-content {
        padding: 1rem;
    }

    .universe-logo {
        height: 50px;
    }

    .universe-logos {
        gap: 2rem;
        margin-left: 2rem;
        padding: 0.5rem 0;
    }

    .menu-btn i {
        font-size: 1.6rem;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .logo-text i {
        font-size: 1.5rem;
    }

    .left-header {
        width: auto;
        margin-bottom: 0;
    }

    .nav-content {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .universe-name {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .universe-logo {
        height: 45px;
    }

    .universe-logos {
        gap: 1.5rem;
        margin-left: 1.5rem;
    }

    .universe-section {
        margin: 1rem;
        padding: 1rem;
    }

    .universe-title {
        font-size: 1.8rem;
        word-break: break-word;
    }

    .feature {
        padding: 1rem;
    }

    .modal-header {
        flex-direction: column;
    }

    .modal-image {
        width: 100%;
        max-width: none;
    }

    .modal-content {
        padding: 15px;
    }

    .menu-btn i {
        font-size: 1.6rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo-text i {
        font-size: 1.3rem;
    }

    .logo-link {
        padding: 0.2rem;
    }

    .universe-name {
        font-size: 0.7rem;
        letter-spacing: 0.2px;
    }
}

/* Main Content Styles */
.main-content {
    margin-top: 120px;
    padding: 0 1rem;
    max-width: 1400px;
    margin: 80px auto 0;
}

.hero-section {
    text-align: center;
    padding: 8rem 0;
    background: none;
    margin-bottom: 4rem;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(230, 36, 41, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Universe Section Styles */
.universe-section {
    margin: 2rem auto;
    padding: 2rem;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 15px;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.section-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 2rem;
    animation: simpleFadeIn 0.5s ease-out;
}

.universe-title {
    color: #ff0000;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.universe-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.universe-image img {
    width: 100%;
    border-radius: 10px;
    transition: var(--transition);
}

.universe-image img:hover {
    transform: scale(1.02);
}

.universe-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature i {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 1rem;
}

.feature span {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.universe-info p {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.8;
}

.feature p {
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Footer Styles */
.site-footer {
    background: rgba(0, 0, 0, 0.6); /* Arkaplanla daha uyumlu hafif siyah */
    backdrop-filter: blur(4px); /* Hafif bulanıklık efekti */
    padding: 2rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* İnce üst çizgi */
    color: var(--text-color);
    transition: var(--transition);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Sosyal ikonlar */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ffd700;
    transform: scale(1.1);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .universe-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .left-header {
        width: auto;
        margin-bottom: 0;
    }

    .universe-logos {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row !important; /* DİKKAT: Bu önemli */
        gap: 0.7rem;
    }

    .universe-logo {
        height: 45px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .main-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .universe-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .universe-name {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .universe-logos {
        gap: 1rem;
        margin-left: 1rem;
    }

    .universe-logo {
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .universe-section {
        margin: 1rem;
        padding: 1rem;
    }

    .universe-title {
        font-size: 1.8rem;
        word-break: break-word;
    }

    .feature {
        padding: 1rem;
    }

    .modal-header {
        flex-direction: column;
    }

    .modal-image {
        width: 100%;
        max-width: none;
    }

    .modal-content {
        padding: 15px;
    }

    .logo-link {
        padding: 0.2rem;
    }

    .universe-name {
        font-size: 0.7rem;
        letter-spacing: 0.2px;
    }
}

/* Universe sections için arka planlar */
#marvel.universe-section {
    background: url('../assets/images/bg-marvel.jpg');
}

#dc.universe-section {
    background: url('../assets/images/bg-dc.jpg');
}

#image.universe-section {
    background: url('../assets/images/bg-image.jpg');
}

#de.universe-section {
    background: url('../assets/images/bg-de.jpg');
}

/* Overlay efekti */
.universe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* DC Bölümü için özel stil */
#dc .universe-title {
    color: #0282F9;
    text-shadow: 0 0 10px rgba(2, 130, 249, 0.3);
}

#dc .feature i {
    color: #0282F9;
}

/* Image Comics Bölümü için özel stil */
#image .universe-title {
    color: #00A3E0;
    text-shadow: 0 0 10px rgba(0, 163, 224, 0.3);
}

#image .feature i {
    color: #00A3E0;
}

/* Dynamite Entertainment Bölümü için özel stil */
#de .universe-title {
    color: #FFA500;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

#de .feature i {
    color: #FFA500;
}

/* Animasyonlar */
@keyframes simpleFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Logo ve menü öğelerinin z-index'ini ayarla */

.sidebar ul {
    position: relative;
    z-index: 3;
}

/* Sidebar submenu stilleri için ekleme */
.submenu-parent > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.submenu-parent > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.submenu-parent > a.active::after {
    transform: rotate(180deg);
}

/* Evrenler menüsü için özel ikon */
.fa-universe:before {
    content: '\f0c2'; /* Alternatif bir ikon kodu */
}

/* Menu butonu stilleri */
.menu-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.9rem;
    transition: all 0.3s ease;
}

.menu-btn i {
    color: black;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.menu-btn:hover i {
    color: #ffd700;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Logo container ve isim stilleri */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}




/* Aktif logo için stil */
.logo-link.active .universe-name {
    opacity: 1;
    transform: scale(1.05);
    font-weight: 800;
}

/* Mobil düzenlemeler */




@media (max-width: 600px) {
  .universe-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo-container {
    width: 50px;
    height: 50px;
    margin: 0.3rem;
  }
}


@media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: center;
      height: auto;
      padding: 0.5rem 1rem;
    }
  
    .nav-content {
      flex-direction: column;
      align-items: center;
    }
  
    .left-header {
      justify-content: center;
      width: 100%;
    }
  
    .universe-logos {
      flex-wrap: wrap;
      justify-content: center;
      padding: 0.4rem 0;
      margin-top: 0.5rem;
    }
  
    .universe-logo {
      height: 36px;
    }
  
    .logo-link {
      padding: 0.2rem;
    }
  
    body {
      padding-top: 120px; /* Navbar küçülse de logolar aşağıda kalacağı için artırıyoruz */
    }
  }
  
  .navbar {
    background: linear-gradient(90deg, rgba(128,0,32,0.95) 0%, rgba(200,0,50,0.95) 100%);
    transition: top 0.3s ease;
  }
  
  /* 768px ve altı için */
  @media (max-width: 768px) {
    .navbar {
      height: auto;
      padding: 1.2rem 1.5rem;
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav-content {
      flex-direction: column;
      align-items: center;
    }
  
    .left-header {
      justify-content: center;
      width: 100%;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
  
    .logo-text {
      font-size: 1.8rem;
      display: flex;
      align-items: center;
    }
  
    .logo-text i {
      font-size: 1.5rem;
    }
  
    .menu-btn {
      display: flex;
      align-items: center;
      padding: 0;
    }
  
    .menu-btn i {
      font-size: 2rem;
    }
  
    .universe-bar-right {
      top: 140px;
      flex-wrap: wrap;
      justify-content: center;
      padding: 0.4rem 0;
      margin-top: 0.5rem;
    }
  
    .universe-logo {
      height: 52px;
    }
  
    .logo-link {
      padding: 0.2rem;
    }
  
    .sidebar {
      width: 95vw;
      font-size: 1.4rem;
    }
  
    .sidebar ul li a {
      font-size: 1.5rem;
      padding: 1rem 1rem;
    }
  
    .sidebar ul li a i {
      font-size: 1.5rem;
    }
  
    .submenu li a {
      font-size: 1.3rem;
      padding-left: 1.8rem;
    }
  
    .close-btn {
      font-size: 2.2rem;
    }
  
    body {
      padding-top: 160px;
    }
  
    /* Navbar küçüldüğünde (shrink olduğunda) */
    .navbar.navbar-shrink .nav-content {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }
  
    .navbar.navbar-shrink .left-header {
      flex-direction: row;
      align-items: center;
      gap: 0.5rem;
    }
  
    .navbar.navbar-shrink .logo-text {
      font-size: 1rem;
    }
  
    .navbar.navbar-shrink .logo-text i {
      font-size: 1.3rem;
    }
  
    .navbar.navbar-shrink .menu-btn i {
      font-size: 1.2rem;
    }
  }
  
  /* 600px ve altı için */
  @media (max-width: 600px) {
    .universe-bar-right {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .logo-container {
      width: 50px;
      height: 50px;
      margin: 0.3rem;
    }
  }
  
  /* 480px ve altı için */
  @media (max-width: 480px) {
    .logo-text {
      font-size: 1.6rem;
    }
  
    .menu-btn i {
      font-size: 2rem;
    }
  
    .sidebar {
      width: 100vw;
    }
  
    .sidebar ul li a {
      font-size: 1.5rem;
    }
  
    .submenu li a {
      font-size: 1.3rem;
    }
  
    .universe-logo {
      height: 48px;
    }
  }
  .contact-container {
    margin-top: 120px;
    padding: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0,0,0,0.6);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
  }
  
  .contact-box p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
  }
  
  .submit-btn {
    padding: 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .submit-btn:hover {
    background: #c50026;
  }
  