﻿/* ==========================================
   SLOOPY.NET - CLEAN & SIMPLE STYLESHEET
   Minimal design focused on usability
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --primary-blue: #006b8f;
    --secondary-blue: #004d6b;
    --accent-teal: #20b2aa;
    --accent-teal-light: #ddeeee;
    --accent-gold: #ffa726;
    --light-gray: #f0f1f3;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --navy-blue: #1e3a5f;
    --white: #ffffff;
    --border-color: #dee2e6;
    --text-dark: #333333;
}

h3
{
    font-weight:700;
}

/* ==========================================
   BASE STYLES
   ========================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 80px;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    margin: 0 1rem;
    font-size: 1rem;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary-blue) !important;
    }

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: var(--white);
}

    .btn-primary:hover {
        background: var(--primary-blue);
        border-color: var(--primary-blue);
        color: var(--white);
    }

.btn-outline-primary {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    background: transparent;
}

    .btn-outline-primary:hover {
        background: var(--accent-teal);
        color: var(--white);
        border-color: var(--accent-teal);
    }

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

    .btn-outline-light:hover {
        background: var(--white);
        color: var(--primary-blue);
    }

.btn-outline-secondary {
    border-color: var(--medium-gray);
    color: var(--dark-gray);
    background: transparent;
}

    .btn-outline-secondary:hover {
        background: var(--medium-gray);
        color: var(--text-dark);
    }


/* ==========================================
   FORMS
   ========================================== */
.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
    background-color: var(--white);
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--accent-teal);
        outline: none;
        box-shadow: none;
    }

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}


/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--navy-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================
   SEARCH COMPONENTS
   ========================================== */
.search-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.search-filters {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    --margin-bottom: 1rem;
}

    .filter-group:last-child {
        margin-bottom: 0;
    }

.results-header {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

    .results-header h5 {
        margin-bottom: 0;
        color: var(--text-dark);
        font-weight: 600;
        font-size: 1.1rem;
    }

.sort-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

    .sort-controls .form-select {
        border: 1px solid var(--border-color);
        padding: 0.5rem;
        font-size: 0.9rem;
        min-width: 150px;
    }

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    padding: 4rem 0;
    background: var(--white);
    margin: 3rem 0;
}

.feature-card {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ==========================================
   BOAT LISTINGS
   ========================================== */
.boat-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.boat-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--light-gray);
}

.boat-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.boat-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.boat-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.boat-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.spec-item {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    font-size: 0.9rem;
    gap: 0.5rem;
}

    .spec-item i {
        color: var(--accent-teal);
        width: 16px;
        text-align: center;
    }

.boat-location {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.boat-info .btn {
    margin-top: auto;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

/* ==========================================
   BOAT DETAIL PAGE
   ========================================== */
.boat-gallery {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
}

.thumbnail-carousel {
    background: var(--light-gray);
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

    .thumbnail-carousel h6 {
        color: var(--text-dark);
        margin-bottom: 1rem;
        font-weight: 600;
        font-size: 1rem;
    }

.carousel-indicators {
    position: static;
    margin: 0;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

    .carousel-indicators [data-bs-target] {
        width: 100px;
        height: 75px;
        margin: 0;
        border: 2px solid var(--border-color);
        border-radius: 4px;
        opacity: 1;
        background-size: cover;
        background-position: center;
        cursor: pointer;
        text-indent: -9999px;
    }

        .carousel-indicators [data-bs-target].active {
            border-color: var(--accent-teal);
            border-width: 3px;
        }

/* Boat Info Sidebar */
.boat-info-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    height: fit-content;
    position: relative;
    top: 0px;
}

    .boat-info-card .boat-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 0.5rem;
    }

    .boat-info-card .boat-price {
        font-size: 2rem;
        font-weight: 700;
        color: var(--accent-teal);
        margin-bottom: 1rem;
    }

.boat-status {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quick-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

    .quick-specs .spec-item {
        display: flex;
        align-items: center;
        padding: 0.75rem;
        background: var(--light-gray);
        border-radius: 4px;
        gap: 0.5rem;
    }

.spec-icon {
    color: var(--accent-teal);
    width: 16px;
    text-align: center;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    display: block;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Content Sections */
.content-section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .section-title i {
        color: var(--accent-teal);
    }

/* Specifications */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.spec-group {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1rem;
}

.spec-group-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .spec-list li {
        display: flex;
        justify-content: space-between;
        padding: 0.4rem 0;
        border-bottom: 1px solid var(--border-color);
    }

        .spec-list li:last-child {
            border-bottom: none;
        }

    .spec-list .label {
        color: var(--dark-gray);
        font-size: 0.9rem;
    }

    .spec-list .value {
        font-weight: 600;
        color: var(--text-dark);
        font-size: 0.9rem;
    }

/* Equipment */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.equipment-item {
    display: flex;
    align-items: center;
    padding: 0.4rem 0;
    gap: 0.5rem;
}

    .equipment-item i {
        color: var(--accent-teal);
        width: 16px;
    }

/* Contact Components */
.contact-card {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1rem;
    margin-top: 1rem;
}

.dealer-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.dealer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.dealer-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.dealer-location {
    color: var(--dark-gray);
    font-size: 0.85rem;
}

/* Similar Boats */
.similar-boat-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.similar-boat-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.similar-boat-info {
    padding: 0.75rem;
}

.similar-boat-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.similar-boat-price {
    color: var(--accent-teal);
    font-weight: 700;
    font-size: 1rem;
}

/* ==========================================
   SELLING SECTIONS
   ========================================== */
.sell-boat-section {
    background: var(--accent-teal-light);
    padding: 4rem 0;
    margin: 3rem 0;
}

.sell-content {
    color: var(--text-dark);
}

.benefit-item {
    display: flex;
    align-items: start;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selling-steps {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--accent-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.selling-tools-section {
    background: var(--light-gray);
    padding: 4rem 0;
    margin: 3rem 0;
}

.tool-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
}

.tool-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

/* ==========================================
   BROKER SECTION
   ========================================== */
.broker-section {
    background: var(--white);
    padding: 4rem 0;
    margin: 3rem 0;
}

.broker-card {
    background: var(--accent-teal-light);
    border: 1px solid var(--accent-teal);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    height: 100%;
}

.broker-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--white);
    font-size: 1.2rem;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    padding: 3rem 0;
    background: var(--primary-blue);
    color: var(--white);
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.page-link {
    color: var(--primary-blue);
    border-color: var(--border-color);
    padding: 0.5rem 0.75rem;
}

    .page-link:hover {
        color: var(--white);
        background-color: var(--accent-teal);
        border-color: var(--accent-teal);
    }

.page-item.active .page-link {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

/* ==========================================
   ADVANCED FILTERS
   ========================================== */
.collapse .search-filters {
    border-color: var(--accent-teal);
    border-width: 2px;
}

/* ==========================================
   BADGES
   ========================================== */
.badge-featured {
    background-color: var(--accent-teal);
    color: var(--white);
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

    .footer h5 {
        color: var(--white);
        margin-bottom: 1rem;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .footer a {
        color: #bdc3c7;
        text-decoration: none;
    }

        .footer a:hover {
            color: var(--white);
        }

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #95a5a6;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    line-height: 36px;
    border-radius: 4px;
    margin: 0 0.25rem;
}

    .social-links a:hover {
        background: var(--accent-teal);
        color: var(--white);
    }

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .quick-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-card,
    .search-filters {
        padding: 1rem;
    }

    .results-header {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
    }

    .sort-controls {
        justify-content: center;
        width: 100%;
    }

    .boat-image {
        height: 180px;
    }

    .boat-info {
        padding: 1rem;
    }

    .boat-title {
        font-size: 1rem;
    }

    .boat-price {
        font-size: 1.2rem;
    }

    .boat-info-card {
        position: static;
        margin-top: 1rem;
    }

    .main-image {
        height: 250px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .carousel-indicators [data-bs-target] {
        width: 70px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .search-card,
    .search-filters,
    .content-section {
        padding: 0.75rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .navbar-nav .nav-link {
        margin: 0 0.5rem;
    }
}


.text-color-1{
    color: var(--primary-blue);
}

.accordion-button
{
    font-size:large;
    color:var(--navy-blue);
}

.accordion .accordion-item .accordion-button:not(.collapsed) {
    background-color: var(--accent-teal);
    color: var(--white);
    box-shadow: none; /* voorkom blauwe rand van focus */
}

.accordion .accordion-item .accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-button::after {
    display: none;
}
