/* Navbar */
.navbar {
    background: #fff;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    gap: 0.75rem;
    min-height: var(--navbar-height);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: var(--navbar-height);
}

/* Cart Button */
.nav-cart-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.48);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(37, 99, 235, 0.5));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.48);
}

.nav-cart-btn .nav-icon {
    width: 30px;
    height: 30px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--text-primary);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--danger-color);
    color: white;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.nav-action-btn {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #f5f7ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.15);
}

.theme-toggle-icon {
    font-size: 1.1rem;
    pointer-events: none;
}

.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body[data-theme="dark"] .nav-login-btn {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.28);
}

.nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}

body[data-theme="dark"] .nav-login-btn:hover {
    box-shadow: 0 14px 26px rgba(14, 165, 233, 0.35);
    background: #0ea5e9;
}

.nav-login-icon {
    font-size: 0.95rem;
}

.btn-login {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color) !important;
}

.btn-register {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    border-radius: 8px;
    color: #fff !important;
}

.btn-register:hover {
    background: var(--secondary-color);
}

/* Navigation hero strip */
.nav-hero {
    flex: 1 1 clamp(280px, 45vw, 520px);
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: var(--navbar-height);
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: transparent;
    border-radius: 18px;
    box-shadow: none;
    color: var(--text-primary);
}

.nav-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 2.75rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(37, 99, 235, 0.38);
    color: #0f172a;
    font-weight: 600;
    box-shadow: none;
    white-space: nowrap;
}

.nav-hero-tagline .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    align-content: center;
    color: var(--text-primary);
}

.nav-hero-stat {
    min-width: 110px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-content: center;  
}

.nav-hero-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.05;
    align-content: center;
    padding-left: 0.5rem;
   
}

.nav-hero-stat-label {
    align-content: center;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding-left: 0.5rem;
}

.nav-actions .learn-more {
    --btn-base: #1f2937;
    --btn-shadow: rgba(17, 24, 39, 0.25);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 11rem;
    height: 48px;
    padding-left: 3.8rem;
    border: none;
    background: transparent;
    font: inherit;
    font-weight: 700;
    text-transform: uppercase;
    color: black;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.nav-actions .learn-more:hover {
    text-decoration: none;
}

.nav-actions .learn-more:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
    border-radius: 999px;
}

.nav-actions .learn-more .circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: var(--btn-base);
    box-shadow: 0 12px 26px var(--btn-shadow);
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.nav-actions .learn-more .circle .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #ffffff;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.nav-actions .learn-more .circle .icon.arrow {
    left: 16px;
    width: 18px;
    height: 2px;
    background: none;
}

.nav-actions .learn-more .circle .icon.arrow::before {
    content: "";
    position: absolute;
    top: -4px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
}

.nav-actions .learn-more .button-text {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    color: black;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.nav-actions .learn-more:hover .circle {
    width: 100%;
    color: black;
}

.nav-actions .learn-more:hover .circle .icon.arrow {
    background: #ffffff;
    transform: translate(12px, 0);
    color: black;
}

.nav-actions .learn-more:hover .button-text {
    color: #ffffff;
}

.nav-actions .learn-more[data-variant="account"] {
    --btn-base: #4b5563;
    --btn-shadow: rgba(75, 85, 99, 0.35);
}

.nav-actions .learn-more[data-variant="login"] {
    --btn-base: #6b7280;
    --btn-shadow: rgba(107, 114, 128, 0.35);
}

.nav-actions .learn-more[data-variant="sepetim"] {
    --btn-base: #374151;
    --btn-shadow: rgba(55, 65, 81, 0.35);
}

.nav-actions .learn-more:active {
    transform: translateY(1px);
}

@media (max-width: 1024px) {
    .nav-hero {
        align-items: center;
        text-align: center;
        padding: 1.25rem;
    }

    .nav-hero-stats {
        justify-content: center;
        gap: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-actions .learn-more {
        width: 48px;
        padding-left: 0;
        justify-content: center;
    }

    .nav-actions .learn-more .button-text {
        display: none;
    }

    .nav-hero-tagline {
        white-space: normal;
        text-align: center;
        padding: 0.65rem 1.6rem;
    }

    .nav-hero-stats {
        gap: 0.75rem;
    min-height: var(--navbar-height);
    }

    .nav-hero-stat-number {
        font-size: 1.6rem;
    }

    .nav-hero-stat-label {
        font-size: 0.72rem;
    }
}

@media (max-width: 576px) {
    .nav-hero {
        align-items: stretch;
        padding: 1.1rem;
    }

    .nav-hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }
}

