/* =====================================================
   BOAT DETAIL PAGE
   ===================================================== */

/* Breadcrumb */
.bd-breadcrumb {
    padding: 5.5rem 5% 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-gray);
}

.bd-breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.bd-breadcrumb a:hover { color: var(--accent-color); }

.bd-breadcrumb i.ph {
    font-size: 0.75rem;
    color: rgba(187, 150, 86, 0.5);
}

.bd-breadcrumb span { color: #fff; font-weight: 500; }

/* Main layout */
.bd-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5% 4rem;
}

/* =====================================================
   GALLERY
   ===================================================== */
.bd-gallery-section {
    padding: 2rem 0 0;
}

.bd-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bd-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    border-radius: 16px;
    overflow: hidden;
    background: #0d1620;
}

.bd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease;
    display: block;
}

.bd-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
    padding: 0;
}

.bd-nav:hover { background: rgba(187, 150, 86, 0.8); }
.bd-nav-prev { left: 14px; }
.bd-nav-next { right: 14px; }
.bd-nav i.ph { font-size: 1.15rem; }

.bd-img-count {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(17, 27, 38, 0.75);
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Thumbnails */
.bd-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.bd-thumbs::-webkit-scrollbar { display: none; }

.bd-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.6;
}

.bd-thumb:hover { opacity: 0.85; }
.bd-thumb.active { border-color: var(--accent-color); opacity: 1; }

.bd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bd-gallery-placeholder {
    aspect-ratio: 16/7;
    border-radius: 16px;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    gap: 1rem;
}

.bd-gallery-placeholder i.ph { font-size: 3rem; }

/* =====================================================
   INFO + BOOKING
   ===================================================== */
.bd-info-section {
    padding: 2.5rem 0 0;
}

.bd-info-wrap {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* Left: details */
.bd-category-badge {
    display: inline-block;
    background: rgba(187, 150, 86, 0.15);
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.bd-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Price block */
.bd-price-block {
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(187, 150, 86, 0.15);
    border-radius: 14px;
}

.bd-price-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.bd-price-main span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
}

.bd-season-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.bd-season {
    font-size: 0.82rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.bd-season i.ph { color: var(--accent-color); font-size: 0.75rem; }

.bd-captain-price {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 0.5rem;
}

/* Specs grid */
.bd-specs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bd-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    background: var(--card-bg);
    border: 1px solid rgba(187, 150, 86, 0.1);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    min-width: 90px;
    flex: 1;
}

.bd-spec i.ph {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.bd-spec-label {
    font-size: 0.72rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bd-spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

/* Description */
.bd-description {
    color: var(--text-gray);
    font-size: 0.93rem;
    line-height: 1.75;
}

/* =====================================================
   BOOKING CARD
   ===================================================== */
.bd-booking-card {
    position: sticky;
    top: 90px;
    background: var(--card-bg);
    border: 1px solid rgba(187, 150, 86, 0.2);
    border-radius: 18px;
    padding: 1.75rem;
}

.bd-booking-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bd-booking-title i.ph { color: var(--accent-color); }

.bd-booking-sub {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
}

.bd-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.bd-form input,
.bd-form select,
.bd-form textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    padding: 0.7rem 1rem;
    font-family: inherit;
    font-size: 0.88rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
}

.bd-form input:focus,
.bd-form select:focus,
.bd-form textarea:focus {
    outline: none;
    border-color: rgba(187, 150, 86, 0.5);
}

.bd-form select option { background: #111B26; }

.bd-form textarea { resize: vertical; min-height: 70px; }

.bd-submit {
    background: var(--accent-color);
    color: #111B26;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-top: 0.25rem;
}

.bd-submit:hover {
    background: #caa96a;
    transform: translateY(-1px);
}

.bd-submit i.ph { font-size: 1.05rem; }

.bd-whatsapp {
    margin-top: 1rem;
    text-align: center;
}

.bd-whatsapp a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    font-size: 0.87rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.bd-whatsapp a:hover { opacity: 0.8; }

/* =====================================================
   BACK BAR
   ===================================================== */
.bd-back-bar {
    padding: 0 5% 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.bd-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-gray);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bd-back-link:hover { color: var(--accent-color); }
.bd-back-link i.ph { font-size: 0.9rem; }

/* =====================================================
   BOAT CARD — Details button
   ===================================================== */
.boat-actions {
    display: flex;
    gap: 0.5rem;
}

.details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(187, 150, 86, 0.4);
    color: var(--accent-color);
    background: transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    flex: 1;
}

.details-button:hover {
    background: rgba(187, 150, 86, 0.1);
    border-color: var(--accent-color);
}

.inquiry-button { flex: 1; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .bd-info-wrap {
        grid-template-columns: 1fr;
    }

    .bd-booking-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .bd-gallery-main {
        aspect-ratio: 4/3;
        border-radius: 12px;
    }

    .bd-thumb {
        width: 70px;
        height: 48px;
    }

    .bd-title { font-size: 1.5rem; }
    .bd-price-main { font-size: 1.6rem; }

    .bd-specs-grid { gap: 0.6rem; }
    .bd-spec { padding: 0.7rem 0.8rem; min-width: 70px; }
}
