/* ========================================
   I Burger di Cicciogamer89 - Styles
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}
*:focus {
    outline: none;
}

/* Header Scroll Effects - Desktop Only */
@media (min-width: 1080px) {
    .header-scrolled {
        background-color: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .header-scrolled .nav-link {
        color: #C60010 !important;
        background-color: rgba(255, 255, 255, 0.9) !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    .header-scrolled .nav-link:hover {
        color: #FCD34D !important; /* Yellow color on hover */
        background-color: rgba(255, 255, 255, 0.95) !important;
    }
}

/* Mobile/Tablet - Individual rounded backgrounds on scroll */
@media (max-width: 1079px) {
    .header-scrolled {
        background-color: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .header-scrolled .nav-link-mobile {
        color: #C60010 !important;
        background-color: rgba(255, 255, 255, 0.9) !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    .header-scrolled .nav-link-mobile:hover {
        color: #FCD34D !important; /* Yellow color on hover */
        background-color: rgba(255, 255, 255, 0.95) !important;
    }

    /* Ensure mobile menu overlay works well with background change */
    .header-scrolled #mobile-menu {
        background: rgba(0, 0, 0, 0.9) !important;
        backdrop-filter: blur(15px) !important;
    }

    /* Hamburger button visibility on scrolled header */
    .header-scrolled #mobile-menu-btn img {
        filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(7151%) hue-rotate(356deg) brightness(91%) contrast(118%);
    }
}

/* Mobile Menu States */
.mobile-menu-open {
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu-closed {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Enhanced Mobile Menu Overlay */
#mobile-menu {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100vh !important;
    min-height: 100vh !important;
}

/* Hamburger button contrast for both states */
#mobile-menu-btn img {
    transition: filter 0.3s ease;
}

/* Default state - white hamburger */
#mobile-menu-btn img {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* Scrolled state - red hamburger for better visibility */
.header-scrolled #mobile-menu-btn img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(7151%) hue-rotate(356deg) brightness(91%) contrast(118%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Custom Gradients */
.bg-gradient-red-orange {
    background: linear-gradient(207deg, #C60010 25.55%, #F88648 74.45%);
}

/* Typography */
.text-stroke-black {
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
}

.text-stroke-black-thin {
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #000;
}

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

.burger-animation {
    animation: float 3s ease-in-out infinite;
}

/* Scrollbar Hide */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Drag to Scroll */
.cursor-grab {
    cursor: grab;
}

.cursor-grabbing {
    cursor: grabbing;
}

/* Responsive Design */
@media (max-width: 1080px) {
    .mobile-hidden {
        display: none !important;
    }
    
    .mobile-visible {
        display: block !important;
    }
}

@media (min-width: 1081px) {
    .desktop-hidden {
        display: none !important;
    }
}

/* Component Styles */
.hero-section {
    background-image: url('../assets/images/hero-burger-main.png');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: auto 650px;
}

.subscription-section {
    background-image: url('../assets/images/background-fries.png');
    background-size: cover;
    background-position: center;
}

.project-section {
    background-image: url('../assets/images/hero-cicciogamer89.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: auto;
}

/* Card Styles */
.burger-card {
    transition: transform 0.3s ease;
}

.burger-card:hover {
    transform: translateY(-5px);
}

.info-card {
    transition: all 0.3s ease;
    margin-top: 5px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn-primary {
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.5;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #FFFFFF80;
}

/* Mobile Menu */
.mobile-menu-overlay {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.8);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
button:focus,
a:focus {
    outline: 2px solid #F88648;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}
