.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); border-bottom: 1px solid #e8e8e8; } .navInner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 64px; position: relative; } .logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--color-primary); z-index: 10; } .logoLeaf { display: inline-flex; width: 250px; height: 45px; line-height: 0; } .logoLeaf img { display: block; width: 100%; height: 100%; object-fit: contain; } .logoText { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--color-primary); } .navLinks { display: flex; align-items: center; justify-content: center; gap: 1.8rem; list-style: none; margin: 0 auto; padding: 0; position: static; transform: none; white-space: nowrap; } .navLink { font-size: 0.9rem; font-weight: 500; color: var(--color-text-medium); text-decoration: none; transition: color 0.25s ease; position: relative; } .navLink:hover { color: var(--color-primary); } .navLink::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--color-secondary); transition: width 0.3s ease; } .navLink:hover::after { width: 100%; } .menuToggle { display: none; width: 35px; height: 35px; background: transparent; border: none; cursor: pointer; padding: 0; position: relative; z-index: 20; justify-content: center; align-items: center; line-height: 0; } .menuToggle span { display: block; width: 100%; height: 3px; background: var(--color-primary); border-radius: 999px; transition: transform 0.25s ease, opacity 0.25s ease; position: relative; } .menuToggle span + span { margin-top: 8px; } .menuToggle.menuOpen span:first-child { transform: translateY(11px) rotate(45deg); } .menuToggle.menuOpen span:nth-child(2) { opacity: 0; } .menuToggle.menuOpen span:last-child { transform: translateY(-11px) rotate(-45deg); } @media (max-width: 768px) { .navLinks { display: none; position: absolute; top: 100%; left: 0; right: 0; transform: none; background: #ffffff; flex-direction: column; align-items: center; gap: 15px; border-bottom: 1px solid #e8e8e8; padding: 1rem 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); margin: 0; } .navLinks.open { display: flex; } .navLink { width: 100%; padding: 0.95rem 1rem; text-align: center; color: var(--color-primary); border-bottom: 1px solid rgba(0, 0, 0, 0.04); } .navLink:last-child { border-bottom: none; } .navInner { justify-content: space-between; } .menuToggle { display: flex; flex-direction: column; justify-content: center; align-items: center; } }