/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    min-height: 80px;
    z-index: 9999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
    contain: layout;
}

.main-header .container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
}

/* Logo */
.logo {
    text-decoration: none;
}

.logo h1 {
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    font-weight: 700;
    animation: textGradient 3s ease infinite;
    will-change: background-position;
    display: inline-block;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
    margin-right: 40px;
}

/* Dropdown ve Nav Link ortak stiller */
.dropdown-toggle,
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
    height: 80px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle,
.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    min-width: 300px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
    margin-top: 5px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
    color: #fff;
}

.dropdown-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-text span {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.dropdown-text small {
    color: #999;
    font-size: 0.75rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-item:hover .dropdown-text span {
    color: var(--primary-color);
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-right a {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

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

/* Nav Link */
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

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

header .logo,
header .nav-links a {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header.scrolled .logo,
header.scrolled .nav-links a {
    text-shadow: none;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    margin-left: 20px;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    position: absolute;
    left: 0;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Mobile Menu Container Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: linear-gradient(to right, #121212, #000);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    transform: translateX(320px);
    transition: transform 0.3s ease;
    will-change: transform;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active .mobile-menu-container {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    animation: textGradient 3s ease infinite;
    will-change: background-position;
    display: inline-block;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.mobile-menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 0, 0.05), 
        transparent);
    transition: left 0.5s ease;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.mobile-menu-link:hover::before {
    left: 100%;
}

/* Mobile dropdown styles */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.mobile-dropdown-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 0, 0.05), 
        transparent);
    transition: left 0.5s ease;
}

.mobile-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.mobile-dropdown-toggle:hover::before {
    left: 100%;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 5px 0;
    padding: 10px;
    animation: slideDown 0.3s ease forwards;
}

.mobile-dropdown-menu.show {
    display: block;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
    margin-bottom: 5px;
}

.mobile-dropdown-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.mobile-dropdown-text {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown-text span {
    font-size: 0.9rem;
    font-weight: 600;
}

.mobile-dropdown-text small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.mobile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-item:hover .mobile-dropdown-text span {
    color: var(--primary-color);
}

/* Mobile CTA button */
.mobile-menu-cta {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.mobile-cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), #FF8533);
    color: #000;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.mobile-cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
    transform: rotate(45deg);
    animation: shineEffect 3s infinite;
    z-index: 1;
}

.mobile-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4);
}

/* Mobile Contact items */
.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
    background: rgba(255, 255, 255, 0.03);
}

.mobile-contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.mobile-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

/* Mobile Social Icons */
.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 30px;
}

.mobile-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
}

.mobile-social-icon:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .nav-menu, .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    /* Mobil dropdown toggle için gradient efekti */
    .mobile-dropdown-toggle:hover {
        background: transparent;
    }
    
    .mobile-dropdown-toggle:hover span {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textGradient 3s ease infinite;
    }
    
    /* Mobil dropdown menü öğeleri için gradient efekti */
    .mobile-dropdown-menu a:hover {
        background: transparent;
        color: transparent;
    }
    
    .mobile-dropdown-menu a:hover span {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textGradient 3s ease infinite;
        display: inline-block;
    }
    
    /* Dropdown icon için gradient */
    .mobile-dropdown-toggle:hover .dropdown-icon::before,
    .mobile-dropdown-toggle:hover .dropdown-icon::after {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        animation: textGradient 3s ease infinite;
    }
    
    /* Hizmetlerimiz menüsü için aktif durumda gradient efekti */
    .mobile-dropdown-toggle.active {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textGradient 3s ease infinite;
    }
    
    /* Alt menü öğeleri için hover durumunda gradient efekti */
    .mobile-dropdown-menu a:hover {
        background: transparent;
    }
    
    .mobile-dropdown-menu a:hover span {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textGradient 3s ease infinite;
        display: inline-block;
    }
    
    /* Dropdown icon için gradient */
    .mobile-dropdown-toggle.active .dropdown-icon::before,
    .mobile-dropdown-toggle.active .dropdown-icon::after {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        animation: textGradient 3s ease infinite;
    }
    
    /* Alt menü öğelerinin içindeki ikonlar için gradient */
    .mobile-dropdown-menu a:hover i {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textGradient 3s ease infinite;
    }
    
    /* Mobil CTA buton için gradient */
    .mobile-cta-button {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        animation: textGradient 3s ease infinite;
        color: #000;
        font-weight: 700;
    }
    
    /* Zarf ikonu için gradient */
    .fas.fa-envelope {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textGradient 3s ease infinite;
        display: inline-block;
    }
    
    /* Hover durumunda efekti güçlendir */
    .mobile-cta-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(255, 107, 0, 0.4);
    }
    
    /* Telefon ikonu için gradient */
    .fas.fa-phone {
        background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textGradient 3s ease infinite;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .mobile-menu-container {
        width: 100%;
    }
}

/* CTA Button */
.btn-primary {
    background: var(--primary-color);
    color: #000 !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, opacity;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary:hover {
    background: #FF8533;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* Dropdown toggle için basit gradient border efekti */
.dropdown-toggle:hover {
    color: #FF6B00;
    box-shadow: 0 2px 0 #FF6B00;
}

/* Dropdown menü öğeleri için hover efekti */
.dropdown-menu a:hover {
    background: rgba(255, 107, 0, 0.1); /* Hafif turuncu arka plan */
    color: #FF6B00; /* Turuncu metin rengi */
}

/* Dropdown menü öğelerinin içindeki ikonlar için gradient efekti */
.dropdown-menu a:hover i,
.dropdown-toggle:hover i {
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 3s ease infinite;
}

/* Aktif durumda da gradient rengi koru */
.mobile-menu-toggle.active span:nth-child(1),
.mobile-menu-toggle.active span:nth-child(3) {
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    animation: textGradient 3s ease infinite;
} 