/**
 * Custom Yacht Manager - Improved Frontend CSS
 * Professional styling with RSY Yachts color scheme
 * Navy Blue (#003d5c) and Gold (#d4af37) theme
 */

/* ==================== COLOR VARIABLES ==================== */
:root {
    --navy-primary: #003d5c;
    --navy-dark: #002840;
    --gold-accent: #d4af37;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --ocean-blue: #006494;
    --border-color: #e0e0e0;
}

/* ==================== YACHT CARD STYLES ==================== */
.yacht-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 61, 92, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 61, 92, 0.08);
}

.yacht-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 61, 92, 0.2);
    border-color: var(--gold-accent);
}

.yacht-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--light-gray);
}

.yacht-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.yacht-card:hover .yacht-image img {
    transform: scale(1.08);
}

.yacht-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: 14px;
    background: linear-gradient(135deg, var(--light-gray), #e9ecef);
}

.yacht-content {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Yacht Type Badge */
.yacht-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.yacht-header h3 {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.2px;
    margin: 0;
    text-transform: uppercase;
    background: rgba(0, 61, 92, 0.9);
    padding: 4px 12px;
    border-radius: 12px;
}

.rating {
    display: flex;
    gap: 2px;
}

.rating .star {
    color: var(--gold-accent);
    font-size: 13px;
}

/* Yacht Title - FIXED: Only one title now */
.yacht-title-row {
    margin-bottom: 16px;
}

.yacht-title-row h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0 0 8px 0;
}

/* Price moved to separate section */
.yacht-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.yacht-price .amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-accent);
}

.yacht-price .period {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Yacht Info */
.yacht-info {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.yacht-info .info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.yacht-info svg {
    opacity: 0.7;
    color: var(--navy-primary);
}

/* Buttons - Extra Compact with Rounded Style */
.yacht-buttons {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-outline {
    flex: 1;
    padding: 10px 20px;
    border: 2px solid var(--navy-primary);
    background: transparent;
    color: #000000;
    font-weight: 600;
    text-align: center;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: var(--navy-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary {
    flex: 1;
    padding: 10px 20px;
    background: var(--gold-accent);
    color: #000000;
    font-weight: 600;
    text-align: center;
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #f0c14b;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ==================== GRID LAYOUTS ==================== */
.yachts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

@media (max-width: 1200px) {
    .yachts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* ==================== PROFESSIONAL FILTERS ==================== */
.yacht-filters-wrapper {
    margin-bottom: 40px;
}

.yacht-filters {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    border: 3px solid #d4af37;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.yacht-filters::before {
    display: none;
}

.filter-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-item label {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-item input[type="text"],
.filter-item input[type="number"],
.filter-item select {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

.filter-item input:focus,
.filter-item select:focus {
    border-color: var(--gold-accent);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.filter-item input::placeholder {
    color: #999;
}

.filter-price {
    grid-column: span 2;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-inputs .separator {
    color: var(--white);
    font-weight: 600;
}

/* Filter Actions */
.filter-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.filter-actions button {
    padding: 13px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-actions .btn-primary {
    background: var(--gold-accent);
    color: var(--navy-dark);
    border: none;
}

.filter-actions .btn-primary:hover {
    background: #f0c14b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.filter-actions .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.filter-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* ==================== LOAD MORE BUTTON ==================== */
.yacht-load-more-wrapper {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.yacht-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--navy-primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 61, 92, 0.2);
}

.yacht-load-more:hover:not(:disabled) {
    background: var(--gold-accent);
    color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.yacht-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.yacht-load-more.loading {
    opacity: 0.7;
    pointer-events: none;
}

.yacht-load-more svg {
    transition: transform 0.3s ease;
}

.yacht-load-more:hover:not(:disabled) svg {
    transform: translateY(3px);
}

/* ==================== LOADING SPINNER ==================== */
.yacht-loading {
    text-align: center;
    padding: 50px;
}

.spinner {
    border: 4px solid rgba(0, 61, 92, 0.1);
    border-top: 4px solid var(--gold-accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.yacht-loading p {
    color: var(--text-light);
    font-weight: 500;
}

/* ==================== NO RESULTS ==================== */
.no-yachts {
    text-align: center;
    padding: 60px 20px;
    background: var(--light-gray);
    border-radius: 12px;
    margin: 20px 0;
}

.no-yachts p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

/* ==================== SINGLE YACHT PAGE ==================== */
.yacht-detail-page {
    padding: 40px 0;
}

.yacht-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.yacht-hero {
    margin-bottom: 60px;
}

.yacht-featured-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 61, 92, 0.15);
}

.yacht-featured-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.yacht-hero-content {
    text-align: center;
}

.yacht-meta-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.yacht-badge {
    background: var(--navy-primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.yacht-title {
    font-size: 48px;
    font-weight: 700;
    margin: 15px 0;
    color: var(--navy-primary);
}

.yacht-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

.yacht-price-hero {
    font-size: 42px;
    font-weight: 700;
    color: var(--gold-accent);
    margin: 20px 0;
}

.yacht-price-hero .price-period {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 400;
}

.yacht-actions {
    margin-top: 30px;
}

.yacht-section {
    margin-bottom: 60px;
}

.yacht-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--navy-primary);
}

.yacht-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.spec-item {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.spec-label {
    font-weight: 600;
    color: var(--text-light);
}

.spec-value {
    font-weight: 700;
    color: var(--navy-primary);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #333;
}

.features-list svg {
    color: var(--gold-accent);
    flex-shrink: 0;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1024px) {
    .yachts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .filter-price {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .yachts-grid {
        grid-template-columns: 1fr;
    }
    
    .yacht-filters {
        padding: 25px 20px;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .filter-price {
        grid-column: span 1;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions button {
        width: 100%;
    }
    
    .yacht-buttons {
        flex-direction: column;
    }
    
    .yacht-title {
        font-size: 32px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .yacht-card {
        margin: 0 10px;
    }
    
    .yacht-load-more {
        width: 100%;
        padding: 15px 20px;
    }
}

/* ==================== PRICE SLIDER SPECIFIC STYLES ==================== */
.price-slider-wrapper {
    position: relative;
}

/* BLACK SLIDER TRACK */
.price-slider-track {
    height: 8px;
    background: #000000;
    border-radius: 4px;
    position: relative;
    margin: 20px 0;
    border: 2px solid #d4af37;
}

/* GOLD ACTIVE RANGE */
.price-slider-range {
    position: absolute;
    height: 100%;
    background: #d4af37;
    border-radius: 4px;
}

.price-range-input {
    position: absolute;
    width: 100%;
    height: 8px;
    top: 20px;
    left: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

/* BLACK THUMB WITH GOLD BORDER */
.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000000;
    border: 3px solid #d4af37;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.5);
}

.price-range-input::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000000;
    border: 3px solid #d4af37;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.5);
}

.price-inputs-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.price-input-box {
    flex: 1;
}

.price-input-box label {
    font-size: 12px;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 12px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 13px;
    pointer-events: none;
}

.price-input-box input {
    padding-left: 42px !important;
}

.price-separator {
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
    margin-top: 20px;
}

.price-display-text {
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    background: #000000;
    border: 2px solid #d4af37;
    border-radius: 8px;
}

#price-display {
    font-size: 18px;
    font-weight: 800;
    color: #d4af37;
    letter-spacing: 1px;
}

/* ==================== ENHANCED DETAIL PAGE STYLES ==================== */

/* Breadcrumb */
.yacht-breadcrumb {
    padding: 15px 0;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.yacht-breadcrumb a {
    color: var(--navy-primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.yacht-breadcrumb .separator {
    margin: 0 5px;
    color: #ccc;
}

/* Enhanced Hero Section */
.yacht-hero-enhanced {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Gallery Main */
.yacht-gallery-main {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 61, 92, 0.1);
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: var(--light-gray);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.gallery-nav:hover {
    background: var(--navy-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.fullscreen-btn:hover {
    background: var(--navy-primary);
    color: white;
}

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    background: var(--white);
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: var(--navy-primary);
    border-radius: 3px;
}

.thumb-item {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.thumb-item:hover {
    border-color: var(--gold-accent);
}

.thumb-item.active {
    border-color: var(--navy-primary);
    box-shadow: 0 0 0 1px var(--navy-primary);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Card */
.yacht-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 61, 92, 0.1);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.yacht-header .yacht-badge {
    display: inline-block;
    background: var(--navy-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.yacht-info-card .yacht-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-primary);
    margin: 10px 0 15px;
    line-height: 1.3;
}

.yacht-info-card .yacht-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 25px;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-gray);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item svg {
    color: var(--navy-primary);
    flex-shrink: 0;
}

.stat-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Price Section */
.price-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-gray);
}

.price-box {
    text-align: center;
}

.price-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-amount .currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-primary);
}

.price-amount .amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy-primary);
}

.price-amount .period {
    font-size: 14px;
    color: var(--text-light);
}

/* Booking Actions */
.booking-actions {
    display: flex;
    gap: 10px;
}

.btn-book-now {
    flex: 1;
    background: var(--navy-primary);
    color: white;
    padding: 16px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    border: 2px solid var(--navy-primary);
}

.btn-book-now:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 61, 92, 0.3);
}

.btn-share {
    background: white;
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-share:hover {
    border-color: var(--navy-primary);
    background: var(--light-gray);
}

/* Tabs */
.yacht-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--navy-primary);
}

.tab-btn.active {
    color: var(--navy-primary);
    border-bottom-color: var(--navy-primary);
}

/* Tab Content */
.tab-content-wrapper {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 61, 92, 0.08);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 25px;
}

.description-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.description-text p {
    margin-bottom: 15px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 61, 92, 0.1);
    transform: translateY(-3px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy-primary);
}

.feature-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Specifications Grid */
.specs-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.spec-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 4px solid var(--navy-primary);
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-primary);
    flex-shrink: 0;
}

.spec-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-info .spec-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-info .spec-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: var(--gold-accent);
    color: white;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: -80px;
}

.lightbox-nav.next {
    right: -80px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
}

/* No Images Placeholder */
.no-images {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: var(--light-gray);
    color: var(--text-light);
    font-size: 16px;
}

.no-features {
    color: var(--text-light);
    font-size: 15px;
    text-align: center;
    padding: 40px 20px;
}

/* ==================== RESPONSIVE ENHANCEMENTS ==================== */
@media (max-width: 1024px) {
    .yacht-hero-enhanced {
        grid-template-columns: 1fr;
    }
    
    .yacht-info-card {
        position: static;
    }
    
    .main-image-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .tab-content-wrapper {
        padding: 25px 20px;
    }
    
    .yacht-tabs {
        overflow-x: auto;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid-detailed {
        grid-template-columns: 1fr;
    }
    
    .yacht-info-card .yacht-title {
        font-size: 22px;
    }
    
    .price-amount .amount {
        font-size: 28px;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 10px;
    }
}
/* ========================================
   YACHT DETAIL PAGE - BLACK/WHITE/GOLD
   Complete Redesign with CDN Images
   ======================================== */

/* Page Container */
.yacht-detail-page-new {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #ffffff;
}

/* ========== GALLERY SECTION ========== */

.yacht-gallery-section {
    margin-bottom: 50px;
}

.main-gallery {
    position: relative;
    background: #000000;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.gallery-slides {
    position: relative;
    min-height: 600px;
}

.gallery-slide {
    display: none;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #d4af37;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.nav-arrow:hover {
    background: #d4af37;
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow img {
    width: 30px;
    height: 30px;
}

/* Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px 0;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

.thumbnail {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    min-width: 120px;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: #d4af37;
}

.thumbnail img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    display: block;
}

.thumbnail:hover {
    border-color: #d4af37;
    transform: scale(1.05);
}

/* ========== CONTENT CONTAINER ========== */

.yacht-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Section */
.yacht-header-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #d4af37;
}

.yacht-header-section h1 {
    color: #000000;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.yacht-header-section .location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666666;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.yacht-header-section .location img {
    width: 20px;
    height: 20px;
}

/* ========== SHARE SECTION ========== */

.share-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 12px;
    border-left: 5px solid #d4af37;
    margin: 30px 0;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    font-weight: 700;
    font-size: 1.1rem;
}

.share-label img {
    width: 20px;
    height: 20px;
}

.share-icons {
    display: flex;
    gap: 12px;
}

.share-icons a,
.share-icons button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.share-icons a:hover,
.share-icons button:hover {
    background: #d4af37;
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-icons img {
    width: 32px;
    height: 32px;
}

/* ========== PRICE BOX ========== */

.price-box {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #ffffff;
    padding: 35px;
    border-radius: 15px;
    border: 4px solid #d4af37;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.price-label {
    color: #d4af37;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.price-amount .currency {
    color: #d4af37;
    font-size: 1.8rem;
    font-weight: 700;
}

.price-amount .amount {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 900;
}

.price-period {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 600;
}

/* ========== SPECIFICATIONS ========== */

.specifications-section {
    margin: 50px 0;
}

.specifications-section h2 {
    color: #000000;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4af37;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 12px;
    border-left: 5px solid #d4af37;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.spec-item img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-value {
    color: #000000;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.spec-label {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ========== DESCRIPTION ========== */

.description-section {
    margin: 50px 0;
}

.description-section h2 {
    color: #000000;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.description-section p {
    color: #333333;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ========== BOOKING BUTTONS ========== */

.booking-buttons {
    display: flex;
    gap: 15px;
    margin: 50px 0;
}

.btn-call,
.btn-whatsapp,
.btn-back {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-call {
    background: linear-gradient(135deg, #d4af37, #f0c14b);
    color: #000000;
    border: 3px solid #d4af37;
}

.btn-call:hover {
    background: #000000;
    color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border: 3px solid #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-back {
    background: #ffffff;
    color: #000000;
    border: 3px solid #000000;
}

.btn-back:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-call img,
.btn-whatsapp img {
    width: 24px;
    height: 24px;
}

/* ========== END WIDGETS ========== */

.yacht-end-widgets {
    margin-top: 80px;
}

.yacht-end-widgets > * {
    margin-bottom: 50px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .yacht-detail-page-new {
        padding: 20px 15px;
    }
    
    .gallery-slide img {
        height: 400px;
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .prev-arrow {
        left: 10px;
    }
    
    .next-arrow {
        right: 10px;
    }
    
    .yacht-header-section h1 {
        font-size: 2rem;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-amount .amount {
        font-size: 2.5rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .booking-buttons {
        flex-direction: column;
    }
    
    .yacht-end-widgets {
        margin-top: 50px;
    }
}

/* ========================================
   COPY BUTTON FIX & ICON IMPROVEMENTS
   ======================================== */

/* Copy Button Specific */
.share-icons button.copy-btn {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    cursor: pointer;
}

.share-icons button.copy-btn:hover {
    background: #d4af37;
    border-color: #000000;
}

.share-icons button.copy-btn img {
    width: 32px;
    height: 32px;
    pointer-events: none;
}

/* Copy Success Animation */
@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.copy-success {
    animation: copySuccess 0.3s ease;
}

/* Ensure all share icons are same size */
.share-icons a img,
.share-icons button img {
    width: 32px !important;
    height: 32px !important;
}

/* ========================================
   YACHT FEATURES SECTION
   ======================================== */

.yacht-features-section {
    margin: 50px 0;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 15px;
    border: 3px solid #d4af37;
}

.yacht-features-section h2 {
    color: #000000;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-item:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.feature-item img {
    width: 48px;
    height: 48px;
}

.feature-item span {
    color: #000000;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

/* Responsive Features Grid */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .yacht-features-section {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-item {
        padding: 20px 10px;
    }
    
    .feature-item span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .feature-item img {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   INCLUDED SECTION - MINIMALISTIC
   ======================================== */

.included-section {
    margin: 50px 0;
    padding: 40px 35px;
    background: #ffffff;
    border: 2px solid #d4af37;
    border-radius: 10px;
}

.included-section h2 {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.included-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #d4af37;
    transition: all 0.2s ease;
}

.included-item:hover {
    background: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.included-item img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.included-item span {
    color: #333333;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
    .included-section {
        padding: 30px 20px;
    }
    
    .included-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .included-item {
        padding: 10px 12px;
    }
    
    .included-item span {
        font-size: 0.9rem;
    }
}
