diff --git a/index.html b/index.html index 54942ba5..dbadd309 100644 --- a/index.html +++ b/index.html @@ -383,6 +383,147 @@ border-radius: 10px; } + /* Profile Section Styles */ + .profile-section { + position: relative; + display: flex; + align-items: center; + } + + .profile-dropdown { + position: relative; + } + + .profile-trigger { + display: flex; + align-items: center; + gap: 8px; + padding: 8px 12px; + background: rgba(255, 255, 255, 0.1); + border-radius: 25px; + cursor: pointer; + transition: all 0.3s ease; + border: 1px solid rgba(255, 255, 255, 0.2); + } + + .profile-trigger:hover { + background: rgba(255, 255, 255, 0.2); + transform: translateY(-2px); + } + + .profile-avatar i { + font-size: 24px; + color: #4bb6b7; + } + + .profile-name { + color: var(--text-dark); + font-weight: 600; + font-size: 14px; + } + + .profile-arrow { + font-size: 12px; + color: var(--text-light); + transition: transform 0.3s ease; + } + + .profile-dropdown.active .profile-arrow { + transform: rotate(180deg); + } + + .profile-menu { + position: absolute; + top: 100%; + right: 0; + background: white; + border-radius: 12px; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); + min-width: 280px; + opacity: 0; + visibility: hidden; + transform: translateY(-10px); + transition: all 0.3s ease; + z-index: 1000; + margin-top: 8px; + } + + .profile-dropdown.active .profile-menu { + opacity: 1; + visibility: visible; + transform: translateY(0); + } + + .profile-info { + padding: 20px; + display: flex; + align-items: center; + gap: 15px; + } + + .profile-avatar-large i { + font-size: 48px; + color: #4bb6b7; + } + + .profile-details h4 { + margin: 0; + color: #333; + font-size: 16px; + font-weight: 600; + } + + .profile-details p { + margin: 4px 0 0 0; + color: #666; + font-size: 14px; + } + + .profile-menu hr { + margin: 0; + border: none; + border-top: 1px solid #eee; + } + + .profile-options { + list-style: none; + padding: 10px 0; + margin: 0; + } + + .profile-options li { + margin: 0; + } + + .profile-options a { + display: flex; + align-items: center; + gap: 12px; + padding: 12px 20px; + color: #333; + text-decoration: none; + transition: background-color 0.2s ease; + } + + .profile-options a:hover { + background-color: #f8f9fa; + } + + .profile-options a i { + font-size: 16px; + width: 16px; + color: #666; + } + + .profile-options a#logout-btn:hover { + background-color: #fee; + color: #dc3545; + } + + .profile-options a#logout-btn:hover i { + color: #dc3545; + } + /* tour guide section */ .center-card { display: flex; @@ -526,10 +667,37 @@