<style>
body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 120px; /* header boşluğu */
}
text-align: center;
.container {
    width: 800px;
    margin: 0 auto; /* ORTALAR */
}
/* HEADER */
header {
     position: fixed;
    top: 0;
    width: 100%;

    display: flex;
    align-items: center;

    background: #1e2a38;
    padding: 10px 20px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* LOGO */
.logo {
    height: 50px !important;
    width: auto;
}

/* MENU */
nav {
    margin-left: 50px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    position: relative;
    margin-right: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    display: block;
}

/* DROPDOWN */
nav ul li ul {
    display: none;
    position: absolute;
    background: #2f3e52;
    top: 100%; /* boşluk kalmaz */
    left: 0;
    min-width: 180px;
 }

nav ul li:hover > ul {
    display: block;

nav ul li ul li {
    margin: 0;
}

nav ul li ul li a {
    padding: 10px;
}

/* HERO */
.hero {
    background: #f5f5f5;
    padding: 100px;
    text-align: center;
}
/* SUBMENU (YAN AÇILAN) */
.submenu {
    position: relative;
}

/* sadece submenu içindeki UL etkilenir */
.submenu > ul {
    display: none;
    position: absolute;
    top: 0;          /* aynı hizadan başlar */
    left: 100%;      /* SAĞA AÇILIR 🔥 */
    background: #2f3e52;
    min-width: 180px;
}

/* hover olunca aç */
.submenu:hover > ul {
    display: block;

}


</style>