/* Template touroperator Styles */
:root {
            --primary-blue: #004a8e;
            --accent-orange: #e67e22;
            --light-bg: #f8f9fa;
            --white: #ffffff;
            --text-dark: #2c3e50;
            --text-muted: #6c757d;
            --border-color: #e9ecef;
        }

        body {
            font-family: 'Urbanist', sans-serif;
            color: var(--text-dark);
            background-color: var(--white);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
        }

        .btn-tour-blue {
            background-color: var(--primary-blue);
            color: white;
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
        }
        .btn-tour-blue:hover {
            background-color: #003a70;
            color: white;
            transform: translateY(-2px);
        }

        .btn-tour-orange {
            background-color: var(--accent-orange);
            color: white;
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
        }
        .btn-tour-orange:hover {
            background-color: #d35400;
            color: white;
            transform: translateY(-2px);
        }

        /* === NAVBAR === */
        .navbar-touroperator {
            background: var(--white);
            padding: 15px 0;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            transition: all 0.4s ease;
        }
        .navbar-touroperator .nav-link {
            color: var(--primary-blue) !important;
            font-weight: 600;
            font-size: 0.95rem;
            margin: 0 5px;
            position: relative;
        }
        .navbar-touroperator .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0; left: 10%; width: 0; height: 3px;
            background: var(--accent-orange);
            transition: width 0.3s ease;
        }
        .navbar-touroperator .nav-link:hover::after,
        .navbar-touroperator .nav-link.active::after {
            width: 80%;
        }

        section { padding: 80px 0; }
        .section-light { background-color: var(--light-bg); }
        
        .section-title-wrapper {
            text-align: center;
            margin-bottom: 60px;
        }
        .section-title {
            color: var(--primary-blue);
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            display: inline-block;
            margin-bottom: 20px;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px; left: 50%; width: 60px; height: 4px;
            background: var(--accent-orange);
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* Card Styles */
        .tour-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid var(--border-color);
        }
        .tour-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        /* Preloader */
        #preloader {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: #ffffff;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            z-index: 9999;
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }
        #preloader.fade-out { opacity: 0; visibility: hidden; }
        .loader-island {
            width: 60px; height: 60px;
            border: 4px solid rgba(0, 74, 142, 0.1);
            border-top: 4px solid var(--primary-blue);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin { 100% { transform: rotate(360deg); } }
    
        /* Mobile Menu Optimization - Titan Elite Global Patch */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: white !important;
                padding: 40px !important;
                margin-top: 15px !important;
                box-shadow: 0 40px 100px rgba(0,0,0,0.2) !important;
                border-top: 4px solid var(--primary-color, var(--pizza-red, var(--acc-navy, var(--gym-green, #000)))) !important;
                max-height: 85vh !important;
                overflow-y: auto !important;
                border-radius: 0 0 20px 20px !important;
            }
            .navbar-nav .nav-link {
                color: #333 !important;
                padding: 15px 0 !important;
                border-bottom: 1px solid rgba(0,0,0,0.05) !important;
                text-align: center !important;
            }
            .navbar-nav li:last-child .nav-link { border-bottom: none !important; }
            .navbar-brand { font-size: 1.4rem !important; }
            .navbar-toggler { border: none !important; padding: 10px !important; }
        }

        /* Align all page components consistently to 80% on screens >= 1600px */
        @media (min-width: 1600px) {
            /* 1. Boxed sections get 80% width and are centered */
            main > section:not(.hero-touroperator):not(.touroperator-header):not(.tour-detail-hero) {
                max-width: 80% !important;
                margin-left: auto !important;
                margin-right: auto !important;
                border-radius: 24px;
            }
            
            /* 2. Containers inside boxed sections expand to 100% of their 80% wide parent */
            main > section:not(.hero-touroperator):not(.touroperator-header):not(.tour-detail-hero) .container {
                max-width: 100% !important;
                padding-left: 2rem !important;
                padding-right: 2rem !important;
            }
            
            /* 3. Containers inside full-width blocks (Navbar, Hero, Footer, and internal Header) are constrained to 80% */
            .navbar-touroperator > .container,
            .hero-touroperator > .container,
            .touroperator-header > .container,
            .tour-detail-hero > .container,
            footer > .container {
                max-width: 80% !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
        }

