/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
}

/* Ensure Fullscreen Iframe */
.iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
}

/* Floating Navbar - Desktop View */
.floating-navbar {
    position: absolute;
    top: 12px;
    left: 55%;
    transform: translateX(-50%);
    width: clamp(200px, 30%, 400px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

/* Help Button */
/* Adjust help button to use image */
.help-btn {
    background: none;
    padding: 0;
    margin-left: 12px;
}

.help-btn img {
    border-radius: 50%;
}

.help-btn:hover {
    background: #0E4AA3;
}

/* Navbar Header */
.navbar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Logo */
.floating-navbar .logo h1 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.floating-navbar .logo h6 {
    font-size: 11px;
    margin: 0;
    opacity: 0.6;
}

/* Expand Arrow */
.expand-arrow {
    display: none;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Rotate when active */
.expand-arrow.active {
    transform: rotate(180deg);
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.nav-links li {
    display: inline;
}

/* Styled Navbar Links */
.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.nav-links a:hover {
    color: #1685ec;
    text-decoration: underline;
}

/* Explore Button */
.btn {
    background: #1890ff;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-left: 10px;
}

.btn:hover {
    background: #1685ec;
}

/* Base styles for the menu button (Mobile Position) */
.menu-button {
    position: absolute;
    width: 45px;
    height: 45px;
    background: #1DB954;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    transition: all 0.3s ease;
    top: 14px; /* Mobile position */
    right: 14px;
}

.menu-button:hover {
    background: #1685ec;
}

@media (max-width: 768px) {
    .menu-button {
        
        top: 65px;
        right: 10px; /* Desktop position */
        
    }
}

/* Mobile Position (All other viewports) */
/* No additional rules needed; uses base styles */

/* Base styles for the menu dropdown */
.menu-dropdown {
    position: absolute;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 10px;
    display: none;
    z-index: 1003;
    width: 180px;
}

/* Desktop Position */
@media (min-width: 769px) {
    .menu-dropdown {
        top: 70px; /* Position below the desktop menu button */
        right: 20px; /* Match desktop button's right position */
    }
}

/* Mobile Position */
@media (max-width: 768px) {
    .menu-dropdown {
        top: 115px; /* Position below the mobile menu button */
        right: 10px; /* Match mobile button's right position */
    }
}
.menu-dropdown.active {
    display: block;
}

.menu-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-dropdown li {
    padding: 10px;
}

.menu-dropdown a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-dropdown a i {
    font-size: 16px;
}

/* 📌 Mobile Bottom Navbar */
.mobile-navbar {
    position: fixed;
    bottom: -100px; /* Initially hidden */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 90%;
    max-width: 280px;
    height: 50px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: bottom 0.3s ease;
}

/* Show Bottom Menu */
.mobile-navbar.active {
    bottom: 20px;
}

/* Navbar Items */
.nav-item {
    text-decoration: none;
    color: #ccc;
    font-size: 20px;
    transition: color 0.3s ease;
}

.nav-item.active {
    color: #222;
}

.nav-item:hover {
    color: #666;
}

/* 📌 Responsive Adjustments */
@media (max-width: 768px) {
    /* Show Menu Button Only on Mobile */
    .menu-button {
        display: flex;
    }

    /* Hide Desktop Navbar */
    .floating-navbar {
        display: none;
    }

    /* Show Mobile Navbar */
    .mobile-navbar {
        display: flex;
    }
}


/* Share Button Overlay (Default Mobile Position) */
.share-button-overlay {
    position: fixed;
    top: 14px;
    right: 69px;
    width: 45px;
    height: 45px;
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 1004;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.share-button-overlay:hover {
    background-color: #1685ec;
}

/* Add Font Awesome share icon */
.share-button-overlay::before {
    content: "\f064"; /* Font Awesome share icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Desktop Position (Left of Menu Button) */
@media (max-width: 768px) {
    .share-button-overlay {
    bottom: 18px;
    right: 10px;     
    }
}

/* Custom Logo Overlay Styles (Default for Desktop) */
.custom-logo {
    position: absolute;
    bottom: 10px;
    left: 8px;
    background-color: #f1efec;
    color: #595959;
    padding: 9px 60px;
    border-radius: 5px;
    font-size: 25px;
    font-weight: bold;
    z-index: 1006;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile View (Square Logo) */
@media (max-width: 768px) {
    .custom-logo {
        width: 45px;
        height: 45px;
        padding: 0;
        font-size: 12px;
        border-radius: 8px;
        bottom: 67px;
    }
}

/* Base Styles for 360 View Button */
.view-btn-360 {
    position: fixed;
    width: 25px;
    height: 25px;
    background-color: #1DB954;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 1007;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1), -2px -2px 4px rgba(255, 255, 255, 0.6);
    transition: background-color 0.3sease, transform 0.2sease;
    padding: 5px;
    border: none;
}

/* Hover & Click Effects */
.view-btn-360:hover {
    background-color: #0E4AA3;
    transform: scale(1.05); /* Slight pop effect */
}

/* Hover & Click Effects 
.view-btn-360:hover {
    background-color: #f5f5f5;
    transform: scale(1.05);
} */

.view-btn-360:active {
    transform: scale(0.95);
}

/* Desktop Tooltip Styles */
@media (min-width: 769px) {
    .view-btn-360::after {
        content: "360 View";
        position: absolute;
        top: 50%;
        left: calc(100% + 8px);
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 5px 10px;
        border-radius: 6px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .view-btn-360:hover::after {
        opacity: 1;
    }
}

/* Desktop Position */
@media (min-width: 769px) {
    .view-btn-360 {
        bottom: 74px;
        left: 9px;
    }
}

/* Mobile Position */
@media (max-width: 768px) {
    .view-btn-360 {
        bottom: 115px;
        left: 9px;
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
}

/* Base Text Overlay */
.text-overlay {
    position: fixed;
    background-color: #f1efec; /* Match background color */
    color: #333; /* Text color */
    font-size: 8px;
    font-weight: bold;
    padding: 2px 100px; /* Adjust padding for better spacing */
    text-align: left; /* Align text to the left */
    z-index: 1007;
    pointer-events: none;
    border-top-left-radius: 7px; /* Rounded top-left corner */
    display: flex; /* Enables alignment */
    justify-content: flex-start; /* Align text to the left */
}

/* Desktop View */
@media (min-width: 769px) {
    .text-overlay {
        bottom: 0px;
        right: 0px;
        width: auto; /* Auto width based on content */
        height: auto;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .text-overlay {
        bottom: 0px;
        right: 0px;
        font-size: 7px; /* Adjust font size for mobile */
        padding: 2px 105px;
    }
}

/* Hide submenu by default */
.submenu {
    display: none;
    margin-left: 20px; /* Indentation for submenu */
}

/* Show submenu when parent is active */
.toggle-views.active + .submenu {
    display: block;
}

/* Style for parent menu items */
.menu-dropdown li {
    padding: 10px;
    cursor: pointer;
}

/* Style for submenu items */
.submenu li {
    padding: 5px;
}

/* Add caret icon */
.toggle-views::after {
    content: "\25BC"; /* Down caret */
    font-size: 12px;
    margin-left: 5px;
}

.toggle-views.active::after {
    content: "\25B2"; /* Up caret */
}