/* assets/css/header.css - ჰედერის სტილები */

.main-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a66 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    min-height: 80px;
}

/* ლოგოს სექცია */
.logo-section {
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
}

.site-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

/* ნავიგაცია */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #f6ad55;
    border-radius: 2px;
}

/* სოციალური ლინკები */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    color: white;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.social-link.facebook:hover {
    background-color: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.youtube:hover {
    background-color: #ff0000;
}

/* მობილური მენიუ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    margin-left: 15px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* მთავარი კონტენტის margin-top */
.main-content {
    margin-top: 80px;
}

/* რესპონსივი დიზაინი */
@media (max-width: 768px) {
    .main-header .container {
        padding: 10px 20px;
        min-height: 70px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .site-title {
        font-size: 1.4rem;
    }
    
    .main-navigation {
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1a365d 0%, #2d4a66 100%);
        flex-direction: column;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1.1rem;
    }
    
    .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        transform: none;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .main-content {
        margin-top: 70px;
    }
}

@media (max-width: 480px) {
    .main-header .container {
        padding: 10px 15px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}