/* ===== FRESH MODERN NAVIGATION DESIGN ===== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Modern Header */
.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 9999;
    transition: all 0.3s ease;
    padding: 0;
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100px;
}

/* Brand Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    z-index: 10;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.2);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 2px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    overflow: hidden;
}

.link-text {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.link-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: #e74c3c;
}

.nav-link:hover .link-text {
    transform: translateY(-2px);
}

.nav-link:hover .link-underline {
    width: 100%;
}

.nav-item.active .nav-link {
    color: #e74c3c;
}

.nav-item.active .link-underline {
    width: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
}

/* CTA Button */
.navbar-cta {
    display: flex;
    align-items: center;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(3px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 11;
}

.menu-line {
    width: 25px;
    height: 2px;
    background: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .line2 {
    opacity: 0;
}

.mobile-menu-btn.active .line3 {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    transition: right 0.4s ease;
    z-index: 10;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 3rem;
}

.mobile-logo {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.mobile-nav-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.mobile-nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.mobile-nav-link.active {
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
}

.mobile-nav-link i {
    font-size: 1.2rem;
    width: 20px;
}

.mobile-nav-footer {
    margin-top: 2rem;
    text-align: center;
}

.mobile-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.mobile-cta-btn:hover {
    transform: scale(1.05);
    color: white;
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 1rem 1.5rem;
        min-height: 90px;
    }
    
    .nav-list {
        gap: 2rem;
    }
    
    .brand-logo {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 1rem;
        min-height: 80px;
    }
    
    .desktop-nav,
    .navbar-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .mobile-nav {
        max-width: 100%;
    }
    
    .navbar-container {
        padding: 0.75rem;
        min-height: 70px;
    }
    
    .brand-logo {
        width: 50px;
        height: 50px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Page Padding for Fixed Header */
body {
    padding-top: 100px;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Loading Animation */
.nav-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }
.nav-item:nth-child(6) { animation-delay: 0.6s; }

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}
