/* Hero Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #000;
    color: #fff;
    min-height: 100vh;
}

/* Background Video */
#videoBG {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

/* Main Container */
.hero-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Logo Section */
.logo {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.logo h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-family: 'Merriweather Sans', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    margin: 0;
}

/* Logo span styling with background image */
.logo h1 span {
    background-image: url('https://storage.googleapis.com/www.clintonrivertraffic.com/images/crushpixel-1625816-ID1625816-640x427.jpg');
    background-size: 200%;
    background-position: top center; /* Adjust this to get the right part of the image */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Content Cards */
.content-card {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.content-card h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #4fc3f7;
    text-align: center;
}

.content-card ul {
    list-style: none;
    line-height: 1.6;
}

.content-card ul li {
    margin: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
}

.content-card ul li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #4fc3f7;
}

/* Choose Menu */
.choose-menu {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;  /* Extra space for tooltips */
    position: relative;
}

.menu-item {
    position: relative;
    display: inline-block;
    z-index: 1;  /* Ensure proper stacking */
}

.menu-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    min-width: 180px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.menu-button:hover {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.5);
    border-color: #4fc3f7;
}

.menu-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
}

/* Tooltip Styles */
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    width: 350px;  /* Fixed wider width */
    max-width: 90vw;  /* Responsive max width */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    text-align: center;  /* Center the text for better readability */
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.menu-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

/* Mobile Tooltip Animation */
@media (max-width: 768px) {
    .tooltip {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        max-width: none;
        transform: none;
        animation: slideUp 0.3s ease;
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .tooltip::after {
        display: none;
    }
    
    .menu-item:hover .tooltip {
        transform: none;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        padding: 15px;
    }
    
    .content-card {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .choose-menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .menu-button {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .content-card {
        padding: 1rem;
    }
    
    .content-card h1 {
        font-size: 1.5rem;
    }
    
    .menu-button {
        padding: 0.8rem 1.5rem;
        min-width: 160px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.menu-button:focus {
    outline: 2px solid #4fc3f7;
    outline-offset: 2px;
}