/* Navbar Styles */
.navbar {
    background-color: var(--secondary-color);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.dropdown-content a{
    text-decoration: none !important;
}

.logo a {
    color: var(--primary-color) !important;
    font-size: 2.2rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
}

.logo a:hover {
    transform: none;
    text-shadow: none;
}

.logo-text:active {
    transform: scale(0.95);
}

/* Tıklama dalgası efekti */
.logo-text::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    pointer-events: none;
    transition: transform 0.5s;
}

.logo-text.clicked::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    margin-left: 2rem;
}

.dropdown-trigger:hover {
    color: var(--primary-color);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-color);
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    display: none;
    z-index: 1000;
    padding-top: 20px;
    margin-top: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 20px;
    margin: 0;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Hamburger Menu Icon */
.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: none;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) {
    top: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
}

/* Hamburger Icon Animation */
.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* Mobile Menu Adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        padding: 0;
        z-index: 999;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a, 
    .dropdown-trigger {
        display: block;
        width: 100%;
        padding: 15px;
        color: white;
        font-size: 18px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
        text-align: left;
    }

    .dropdown {
        margin-left: 0;
        width: 100%;
    }

    .dropdown-trigger {
        padding-left: 15px;
        width: 100%;
        display: block;
    }

    .dropdown-content {
        display: none !important;
    }

    .hamburger-icon {
        display: block;
    }
} 