
.section-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-content {
    padding: 0 15px; /* Добавяме начален padding */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    visibility: hidden;
}
.section-content.active {
    padding: 0px 20px;
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
}
.vessel-table {
    width: 100%;
    border-collapse: collapse;
}
.vessel-table td {
    padding: 8px;
    border: 1px solid #2c5681;
}
.columns-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color:#00000040;
    padding: 30px;
}
.chevron {
    order: -1; /* Премества иконата в началото */
    display: inline-block;
    transition: transform 0.3s ease;
    font-family:"Roboto";
}

.chevron::after {
    content: '+';
    font-size: 1.4em;
    color: #d1d1d1;
    font-weight: 500;
    transition: all 0.3s ease;
}

.chevron.active::after {
    content: '-';
    color: #979797;
}
.section-header h3 {
    font-style: normal !important;
    color: #fff !important;
    text-transform: uppercase !important;
    margin:0px;
}
@media (max-width: 1024px) {
    .columns-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        padding: 10px;
    }
    .vessel-item {
        display: block !important;
    }
    .spaceimg {
        height: 200px !important;
        width: 100% !important;
    }
    .vessel-item {
        font-size: 30px !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    .vessel-content {
        padding: 30px !important;
    }
    .spec-item {
        font-size: 16px !important;
    text-align: center !important;
        margin-bottom:0px !important;
    }

    .vessel-buttons .elementor-button {
        margin-right:0px !important;
    }
    .vessel-item {
    max-height:none !important;
}
}
.vessels-carousel-container {
    position: relative;
}


.owl-carousel .owl-item .vessel-item {
    margin: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    width: calc(100% - 20px);
}

/* Media query for smaller screens (1 column) */
@media (max-width: 768px) {
    .vessel-item {
        width: 100%;
        flex-direction: column; /* Back to column on smaller screens */
    }
        .vessel-image {
        width: 100%;
    }
}
@media (min-width: 768px) {
    .vessel-image {
        width: 50%;
    }
}
.vessel-item {
    max-height: 422px;
}
.vessel-image {
    height: auto;
    
    overflow: hidden;
}

.vessel-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block; /* Remove extra space under image */
}

.vessel-content {
    padding: 20px;
    overflow: hidden;
/*    flex-grow: 1;*/
    display: flex; /* Enable flexbox for vessel-content to arrange items inside vertically */
    flex-direction: column; /* Stack content vertically in the right column */
    justify-content: space-between; /* Space out title, specs, buttons */
}

.vessel-title {
    margin: 0 0 15px;
    color: #2c3e50;
    font-weight: 600;
}

.spec-item {
    margin-bottom: 8px;
    font-size: 0.95em;
}

.spec-item span {
    font-weight: 400;
    color: #7b7b7b;
    margin-right:5px;
}

.vessel-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.specs-btn:hover {
    background: #2980b9;
}


/* Owl Carousel Navigation and Pagination */
.owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.owl-prev, .owl-next {
    background-color: rgb(255 255 255 / 25%) !important;
    color: #ffffff;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 35px !important;
    line-height: 60px !important;
    text-align: center !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
    .owl-prev:hover, .owl-next:hover {
        color:#cc2036 !important;
    }

.owl-dots {
    text-align: center;
    margin-top: 20px;
    display:none !important;
}

.owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background: #ddd;
}

.owl-dot.active {
    background: #3498db;
}

/* Make sure box-sizing is consistent */
.owl-carousel .vessel-item,
.owl-carousel .vessel-item * {
    box-sizing: border-box;
}
.owl-nav {
    font-size: 65px !important;
    position: absolute !important;
}
.vessel-cards {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: center; /* Center the container content */
    gap: 20px;
}

.vessel-cards .vessel-item {
    /* Remove width: 100% */
    flex: 0 0 calc(50% - 20px); /* Key change: flex-basis and no flex-grow/shrink */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: overflow: hidden;
    border: 1px solid #67212a;
    -webkit-box-shadow: 0px 0px 19px 0px rgb(204 32 55 / 42%);
    -moz-box-shadow: 0px 0px 19px 0px rgb(204 32 55 / 42%);
    box-shadow: 0px 0px 19px 0px rgb(204 32 55 / 42%);
    margin: 0; /* Remove the individual margins */
    max-height:none !important;
}


.vessel-cards .vessel-image { /* Add this for responsive image sizing */
    width: 100%; /* Image takes full width of its container */
    overflow: hidden; /* Ensure image doesn't overflow */
}
.vessel-cards .spaceimg {
    height: 420px;
    width: 100%; /* Image takes full width of its container */
    object-fit: cover; /* or contain, depending on how you want to scale the image */
}