/* Desktop Layout Override Fix for Wildsvleisbewerking */

/* Ensure proper desktop layout */
@media (min-width: 769px) {
    /* Force desktop navigation layout */
    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        height: 80px !important;
        position: relative !important;
    }
    
    /* Force desktop menu layout */
    .nav-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        height: auto !important;
        width: auto !important;
        max-width: none !important;
        flex-direction: row !important;
        background: none !important;
        backdrop-filter: none !important;
        text-align: left !important;
        transition: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        gap: 35px !important;
        border-right: none !important;
        z-index: auto !important;
        overflow-y: visible !important;
        transform: none !important;
        display: flex !important;
    }
    
    /* Hide mobile elements */
    .nav-toggle {
        display: none !important;
    }
    
    .sidebar-overlay {
        display: none !important;
    }
    
    /* Ensure proper navigation links display */
    .nav-menu .nav-link {
        display: flex !important;
        align-items: center !important;
        padding: 10px 0 !important;
        color: var(--white) !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        transition: var(--transition) !important;
        position: relative !important;
        background: none !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        text-align: center !important;
        justify-content: center !important;
        min-height: auto !important;
    }
    
    /* Desktop dropdown styles */
    .nav-dropdown {
        position: relative !important;
        display: flex !important;
        width: auto !important;
    }
    
    .nav-dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 8px !important;
        padding: 10px 0 !important;
        margin-top: 10px !important;
        min-width: 200px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
        z-index: 1000 !important;
        display: block !important;
        max-height: none !important;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .dropdown-link {
        display: block !important;
        padding: 12px 20px !important;
        color: var(--white) !important;
        text-decoration: none !important;
        transition: var(--transition) !important;
        font-size: 0.9rem !important;
        background: none !important;
        border: none !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .dropdown-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--accent-color) !important;
    }
    
    /* Ensure body doesn't have mobile restrictions */
    body {
        position: static !important;
        overflow: visible !important;
        width: auto !important;
        height: auto !important;
    }
    
    body.sidebar-open {
        position: static !important;
        overflow: visible !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Ensure containers are properly centered */
    .container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Hero section desktop layout */
    .hero-container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 60px !important;
        align-items: center !important;
        min-height: 80vh !important;
        text-align: left !important;
    }
    
    .hero-content {
        max-width: none !important;
        text-align: left !important;
    }
    
    .hero-image {
        display: block !important;
        text-align: center !important;
    }
    
    .hero-title {
        font-size: 3.5rem !important;
        text-align: left !important;
    }
    
    /* About section desktop layout */
    .about-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 60px !important;
        align-items: center !important;
    }
    
    .about-text h3 {
        font-size: 2rem !important;
    }
    
    /* Services section desktop layout */
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 30px !important;
    }
    
    .service-card {
        margin: 0 !important;
        max-width: none !important;
    }
    
    /* Products section desktop layout */
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 30px !important;
    }
    
    .product-card {
        margin: 0 !important;
        max-width: none !important;
    }
    
    /* Contact section desktop layout */
    .contact-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 60px !important;
        align-items: start !important;
    }
    
    /* Section titles desktop sizing */
    .section-title {
        font-size: 2.5rem !important;
    }
    
    /* Ensure hero buttons are aligned properly */
    .hero-buttons {
        display: flex !important;
        gap: 20px !important;
        justify-content: flex-start !important;
        margin-top: 30px !important;
    }
    
    /* Footer desktop layout */
    .footer-content {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 40px !important;
    }
    
    /* Booking page desktop layouts */
    .booking-options {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)) !important;
        gap: 40px !important;
    }
    
    .booking-form .form-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    
    /* Pricing page desktop layouts */
    .pricing-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 30px !important;
    }
    
    .pricing-info {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
    
    /* Gallery page desktop layouts */
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
        gap: 30px !important;
    }
    
    .gallery-item {
        max-width: none !important;
        margin: 0 !important;
    }
    
    /* Order page desktop layouts */
    .order-layout {
        display: grid !important;
        grid-template-columns: 2fr 1fr !important;
        gap: 40px !important;
        align-items: start !important;
    }
    
    .cart-section {
        position: sticky !important;
        top: 120px !important;
    }
    
    /* Steps grid desktop layout */
    .steps-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px !important;
    }
    
    /* Product categories desktop layout */
    .product-categories {
        display: flex !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    /* Products grid desktop layout */
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 25px !important;
    }
    
    /* Filter buttons desktop layout */
    .filter-buttons {
        display: flex !important;
        gap: 15px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    /* Ensure all form rows display properly */
    .form-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    
    /* Cart items desktop layout */
    .cart-items {
        max-height: 400px !important;
        overflow-y: auto !important;
    }
    
    /* Modal content desktop sizing */
    .modal-content {
        max-width: 800px !important;
        width: 90% !important;
        margin: 2% auto !important;
    }
    
    /* Gallery hero sizing optimization - reduced to half size */
    .gallery-hero {
        padding: 100px 0 30px !important;
        min-height: auto !important;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/image6.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: fixed !important;
    }
    
    .gallery-hero h1 {
        font-size: 2.5rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .gallery-hero p {
        font-size: 1.1rem !important;
        margin-bottom: 25px !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .breadcrumb {
        margin-top: 10px !important;
        font-size: 0.95rem !important;
    }
    
    /* Order hero sizing to match gallery hero - reduced to half size */
    .order-hero {
        padding: 100px 0 30px !important;
        min-height: auto !important;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/image6.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: fixed !important;
    }
    
    .order-hero h1 {
        font-size: 2.5rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .order-hero p {
        font-size: 1.1rem !important;
        margin-bottom: 25px !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Page hero sizing to match gallery hero - reduced to half size */
    .page-hero {
        padding: 100px 0 30px !important;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/image6.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: fixed !important;
        min-height: auto !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .page-hero .hero-container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    .page-hero .hero-content {
        max-width: 600px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .page-hero .hero-title {
        font-size: 2.5rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
        color: var(--white) !important;
    }
    
    .page-hero .hero-description {
        font-size: 1.1rem !important;
        margin-bottom: 25px !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
}

/* Mobile gallery hero adjustments - reduced to half size */
@media (max-width: 768px) {
    .gallery-hero {
        padding: 40px 0 20px !important;
    }
    
    .gallery-hero h1 {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }
    
    .gallery-hero p {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
        padding: 0 20px !important;
    }
    
    .breadcrumb {
        font-size: 0.9rem !important;
        margin-top: 8px !important;
    }
    
    /* Mobile page hero adjustments to match gallery - reduced to half size */
    .page-hero {
        padding: 40px 0 20px !important;
    }
    
    .page-hero .hero-title {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }
    
    .page-hero .hero-description {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
        padding: 0 20px !important;
    }
}
