/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
        
        /* Desktop Filter Bar */
        .desktop-filters {
            display: flex;
            gap: 16px;
            align-items: center;
            background: white;
            padding: 16px 24px;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            margin-bottom: 24px;
            flex-wrap: wrap;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 4px;
            min-width: 140px;
        }

        .filter-label {
            font-size: 12px;
            font-weight: 600;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .filter-select {
            padding: 8px 12px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            background: white;
            font-size: 14px;
            color: #1e293b;
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
            background-position: right 8px center;
            background-repeat: no-repeat;
            background-size: 16px;
            padding-right: 32px;
        }

        .filter-select:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        /* Mobile Filter Toggle */
        .mobile-filter-toggle {
            display: none;
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
        }

        .mobile-filter-sections {
            display: none;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            margin-bottom: 24px;
        }

        .filter-section-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            background: #1e293b;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
        }

        .filter-section-toggle:first-child {
            border-radius: 12px 12px 0 0;
        }

        .filter-section-toggle:last-child {
            border-radius: 0 0 12px 12px;
        }

        .filter-section-toggle + .filter-section-toggle {
            border-left: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Mobile Filter Modal */
        .mobile-filter-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1001;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-filter-modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-radius: 20px 20px 0 0;
            max-height: 80vh;
            overflow-y: auto;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .mobile-filter-modal.active .modal-content {
            transform: translateY(0);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid #e2e8f0;
            position: sticky;
            top: 0;
            background: white;
            z-index: 10;
        }

        .modal-title {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
        }

        .close-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #f1f5f9;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 18px;
            color: #64748b;
        }

        .filter-section {
            padding: 24px;
            border-bottom: 1px solid #f1f5f9;
        }

        .filter-section:last-child {
            border-bottom: none;
        }

        .section-title {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 16px;
        }

        .filter-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 12px;
        }

        .filter-option {
            padding: 12px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            background: white;
            text-align: center;
            font-size: 14px;
            color: #475569;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .filter-option:hover {
            border-color: #0a2240;
            background: #f8fafc;
        }

        .filter-option.selected {
            background: #0a2240;
            color: white;
            border-color: #0a2240;
        }

        .boat-name {
            font-size: 18px !important;
            font-weight: 700 !important;
            line-height: 26px !important;
            letter-spacing: -0.6px !important;
            margin-bottom: 6px;
            color: #fff ! IMPORTANT;
        }
        .boat-details-duration {
            color: #F4F4F4 !important;
            font-size: 14px;
            font-weight: 200;
            line-height: 16px;
        }

        .modal-footer {
            position: sticky;
            bottom: 0;
            background: white;
            padding: 20px 24px;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            flex: 1;
            text-align: center;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background: #1e293b;
            color: white;
            border: none;
        }

        .btn-secondary {
            background: white;
            color: #ef4444;
            border: 1px solid #e2e8f0;
        }

        /* Boat Grid */
        .boat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(266px, 1fr));
            gap: 24px;
            margin-bottom: 40px;
        }

        /* Updated Boat Card Styles */
        .boat-card {
            position: relative;
            background-size: cover;
            background-position: center;
            height: 300px;
            display: flex;
            align-items: flex-end;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
        }

        .boat-card:hover {
            transform: scale(1.03);
        }

        .boat-card:before {
            content: "";
            width: 100%;
            height: 100%;
            background-image: linear-gradient(180deg, #02010100 50.25%, #000000A3 100%);
            bottom: 0;
            left: 0;
            position: absolute; 
        }

        .boat-card.hidden {
            display: none;
        }

        .boat-info {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            color: #fff;
            padding: 16px;
            border-radius: 0 0 12px 12px;
        }

        .boat-name,
        .boat-price,
        .boat-details span {
            color: #fff;
        }

        .boat-details {
            font-size: 14px;
            display: flex;
            gap: 16px;
            margin-top: 8px;
        }

        #load-more-btn {
            background-color: #0077c8;
            font-family: "General Sans Variable", Sans-serif;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            line-height: 20px;
            letter-spacing: 0.8px;
            color: #fff;
            border-radius: 0px 0px 0px 0px;
            padding: 12px 28px 12px 28px;
            box-shadow: none !important;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

         #load-more-btn:hover{
            background-color: #000;
        }

         .load-more{
            text-align: center;
         }
		.load-more {
			display: flex;
			justify-content: center; /* centers the button */
			margin: 20px 0;
		}

        /* Remove .boat-image styles */
        .boat-image {
            display: none;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .desktop-filters {
                display: none;
            }

            .mobile-filter-toggle {
                display: block;
            }

            .mobile-filter-sections {
                display: flex;
            }

            .container {
                padding: 16px;
                padding-bottom: 100px;
            }

            .boat-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 16px;
            }

            .boat-card {
                height: 240px;
            }

            .boat-name {
                font-size: 20px;
            }

            .boat-details {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .boat-grid {
                grid-template-columns: 1fr;
            }

            /* .filter-options {
                grid-template-columns: 1fr;
            } */

            .modal-footer {
                flex-direction: column;
            }
        }
