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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    background-color: #333;
}

.hero-section {
    padding-top: 50px;
    position: relative;
    height: 100vh;
    background-image: url("../assets/img/home/hero-img.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1; /* altta kalmaması icin bir segment uste alir*/
}

.hero-content {
    position: relative;
    z-index: 3; /* yazinin resmin üzerinde kalmasi icin */
}

#intro-title {
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 10px;
    animation: fadeIn 2s ease forwards;
}

.subtitle {
    font-size: 1.8em;
    color: #ffdd57;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: fadeIn 2.5s ease forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.navbar {
    position: fixed; 
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000; /* navbar hep ustte kalacagından buyuk sayı*/ 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffdd57;
    display: flex;
    align-items: center;
    gap: 15px;
}

#current-time {
    font-size: 0.9em;
    color: #ffdd57;
    font-weight: normal;
    opacity: 0.9;
    margin-left: auto;
    align-self: center;
}

#logo-text
{
    text-decoration: none; /* a href etiktetinden sonrasinda alt cizgiyi kaldirmak icin*/
    font-size: 0.9em;
    color: #ffdd57;
    font-weight: normal;
    opacity: 0.9;
    margin-left: auto;
    align-self: center;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #ffdd57;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #ffdd57;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1em;
}

.nav-links a:hover,
.nav-links a:focus {
    background-color: #ffdd57;
    color: #333;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: #ffdd57;
}

@media (max-width: 768px) {
    .body{
        overflow: hidden;
    }
    .nav-links {
        flex-direction: column;
        gap: 35px;
        position: absolute;
        top: 60px;
        right: 5px;
        background-color: rgba(0, 0, 0, 0.85);
        padding: 20px;
        display: none;
    }
    .navbar.active .nav-links {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    .subtitle
    {
        font-size: 1.0em;
    }
    #intro-title {
        margin-top: -225px;
        font-size: 1.5em; 
        line-height: 1.2;
    }
    
}
