:root {
    --primary: #ff5100;
    --gray: #666;
    --light-gray: #eee;
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 120px;
}

a {
    text-decoration: none;
    color: inherit;
}

.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.3s ease;
}

.nav-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-container {
    background-color: #ffffff;
    display: flex;
    height: 120px;
    width: 260px;
    border-radius: 0 0 200px;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 81, 0, 0.3);
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1001;
    transition: all 0.3s ease;
    animation: slideInRight 0.6s ease-out;
}

.logo-container.scrolled {
    height: 80px;
    width: 200px;
}

.logo-container.scrolled img {
    width: 160px;
    margin-right: 20px;
}

.logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 81, 0, 0.4);
}

.logo-container img {
    width: 220px;
    height: auto;
    margin-right: 28px;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.top-bar {
    width: 100%;
    background: linear-gradient(90deg, #CC4000 0%, #ff5100 100%);
    padding: 0 10px;
    margin: 0;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.top-bar.scrolled {
    height: 0;
    overflow: hidden;
    opacity: 0;
}

.top-info {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 14px;
    padding: 0 6%;
    color: white;
    width: 100%;
    justify-content: space-between;
}

.top-info .offer {
    font-weight: 600;
    margin-left: 14%;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.top-info i {
    margin-right: 8px;
    color: #ffffff;
}

.top-info span {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    padding: 6px 0;
}

.top-info span:hover {
    transform: translateY(-2px);
}

.top-info span::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.top-info span:hover::after {
    width: 100%;
}

.navbar {
    width: 100%;
    background-color: #ffffff;
    padding: 0 3%;
    margin: 0;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0 auto;
}

.nav-links li {
    cursor: pointer;
    font-weight: 500;
    color: #333;
    position: relative;
    padding: 5px 0;
    transition: color 0s ease;
    font-size: 16px;
    animation: fadeInDown 0.4s ease-out forwards;
    opacity: 0;
    animation-delay: calc(0.1s * var(--i));
}

.nav-links li:hover {
    color: #ff5100;
}

.nav-links li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff5100;
    transition: width 0.3s ease;
}

.nav-links li:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 8px;
    font-size: 18px;
    position: relative;
    align-items: center;
}

.nav-icons img {
    width: 22px;
    height: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-icons img:hover {
    transform: translateY(-2px);
}

.icon-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.badge {
    position: absolute;
    top: -1px;
    right: -2px;
    background: #ff5100;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    padding: 4px 6px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    line-height: 1;
    animation: bounce 2s;
}

.search-container {
    position: relative;
}

.search-box {
    position: absolute;
    top: 50px;
    right: 0;
    width: 400px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 15px;
    border-radius: 8px;
    display: none;
    z-index: 1001;
    transform-origin: top right;
    animation: fadeInDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-box input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.2);
}

.close-search {
    position: absolute;
    right: 25px;
    top: 26px;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.3s ease;
}

.close-search:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.icons {
    display: flex;
}

.icon {
    position: relative;
    cursor: pointer;
    font-size: 18px;
    color: var(--dark);
    transition: all 0.3s ease;
    margin-right: 8px;
}

.icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger i {
    font-size: 24px;
    color: #333;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: #fff;
    z-index: 1100;
    transition: left 0.4s;
    overflow-y: auto;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
    padding-top: 80px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--light-gray);
    position: fixed;
    top: 0;
    width: 80%;
    max-width: 400px;
    background: white;
    z-index: 1101;
}

.mobile-menu-logo img {
    height: 10px;
}

.mobile-menu-close-btn {
    background: none;
    color: black;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close-btn:hover {
    transform: rotate(90deg);
    color: var(--primary);
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-content ul {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.mobile-menu-content li {
    transform: translateX(-20px);
    margin-bottom: 10px;
    animation: slideInRight 0.3s ease-out forwards;
    animation-delay: calc(0.1s * var(--i));
}

.mobile-menu-content li a {
    display: block;
    padding: 12px 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-content li a:hover {
    background-color: rgba(255, 81, 0, 0.1);
    color: var(--primary);
}

.mobile-menu-content .active a {
    background-color: rgba(255, 81, 0, 0.1);
    color: var(--primary);
    font-weight: 600;
    border-left: 4px solid var(--primary);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--light-gray);
    margin-top: 0px;
}

.mobile-social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.mobile-social-icons a {
    font-size: 22px;
    color: var(--primary);
    transition: all 0.3s;
}

.mobile-social-icons a:hover {
    transform: translateY(-3px);
}

.mobile-contact-info p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.mobile-contact-info i {
    margin-right: 8px;
    color: var(--primary);
    text-align: center;
}

.mobile-contact-info a {
    color: var(--primary);
    text-decoration: none;
}

.mobile-contact-info a:hover {
    text-decoration: underline;
}

/* Overlay for mobile menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 1290px) {
    .top-info .offer {
        margin-left: 18%;
    }
}

@media (max-width: 1200px) {
    .top-info .offer {
        margin-left: 20%;
    }
}

@media (max-width: 1060px){
    .top-info .offer {
        margin-left: 22%
    }

    .nav-links {
        margin-left: 260px;
    }
}

@media (max-width: 992px) {
    .top-info {
        flex-direction: row;
        height: 40px;
        padding: 0 10%;
        gap: 15px;
        font-size: 14px;
    }
    
    .contact-info {
        display: none;
    }
    
    .top-info .offer {
        margin: 0 auto;
    }
    
    .navbar {
        padding: 0 10px;
        justify-content: flex-end;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
        margin-right: 8px;
    }
    
    .mobile-icons {
        display: flex;
    }
    
    .nav-icons {
        gap: 6px;
        margin-right: 10px;
    }

    .nav-icons img {
        width: 20px;
    }

    .badge {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .logo-container {
        width: 200px;
        height: 100px;
    }
    
    .logo-container img {
        width: 160px;
        margin-right: 15px;
    }
    
    .top-info {
        font-size: 12px;
        padding: 0 1%;
    }

    .logo-container.scrolled {
        height: 70px;
        width: 180px;
    }

    .logo-container.scrolled img {
        width: 140px;
    }
}

@media (max-width: 576px) { 
    body {
        padding-top: 80px;
    }

    .mobile-menu {
        width: 85%;
    }
    
    .mobile-menu-header {
        width: 85%;
    }

    .search-box {
        width: 320px;
        right: -140px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        width: 160px;
        height: 80px;
    }
    
    .logo-container img {
        width: 120px;
    }
    
    .top-bar {
        display: none;
    }

    .navbar {
        height: 80px;
    }

    .nav-icons {
        gap: 2px;
        margin-right: 0px;
    }
    
    .icon-container {
        width: 32px;
        height: 32px;
    }

    .hamburger {
        padding: 8px;
    }
    
    .mobile-menu-content {
        padding: 15px;
    }
    
    .mobile-menu-content li a {
        padding: 10px 14px;
        font-size: 15px;
    }

    .logo-container.scrolled {
        height: 68px;
        width: 148px;
    }

    .logo-container.scrolled img {
        width: 110px;
    }
}