/* ============================================
   Y.CO STYLE - YACHTS GRID
   ============================================ */

.yachts-grid {
    display: grid;
    gap: 40px;
    margin: 50px 0;
}

.yachts-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.yachts-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.yachts-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 768px) {
    .yachts-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
}


/* ============================================
   CARD WRAPPER
   ============================================ */

.card-wrapper {
    position: relative;
}

.card-yacht {
    background: #fff;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ============================================
   CARD FRAME (IMAGE AREA)
   ============================================ */

.card__frame {
    position: relative;
    overflow: hidden;
}

.card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card__background {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.card__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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


/* ============================================
   HOVER OVERLAY
   ============================================ */

.card__hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.card-yacht:hover .card__hover {
    background: rgba(0, 0, 0, 0.15);
}


/* ============================================
   YACHT NAME (κάτω αριστερά στην εικόνα)
   ============================================ */

.card__cover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 30px 25px 30px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

.card-yacht__heading {
    margin: 0;
    font-family: inherit;
    font-size: 32px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: transform 0.4s ease;
}

.card-yacht:hover .card-yacht__heading {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .card-yacht__heading {
        font-size: 26px;
    }
    
    .card__cover {
        padding: 60px 20px 20px 20px;
    }
}


/* ============================================
   CARD FOOTER (specs area)
   ============================================ */

.card__footer-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card__footer {
    padding: 25px 30px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .card__footer {
        padding: 20px;
    }
}


/* ============================================
   SPECS LIST (58 M • 12 Guests • 2023)
   ============================================ */

.card__footer-specs {
    margin-bottom: 12px;
}

.list-horizontal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-horizontal li {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
}

.list-horizontal li:not(:last-child)::after {
    content: '•';
    margin-left: 8px;
    color: #ccc;
}


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

.card__footer-price {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.card__footer-price strong {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.price-period {
    font-size: 12px;
    color: #888;
    text-transform: lowercase;
}


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

.card__footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-top: 5px;
}


/* ============================================
   EXTRA HOVER EFFECTS
   ============================================ */

.card-yacht {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.card-yacht:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.card-yacht:hover .card__footer {
    background: #fafafa;
}


/* ============================================
   SHINE EFFECT ON HOVER
   ============================================ */

.card__background::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
    z-index: 2;
    transition: left 0.7s ease;
    pointer-events: none;
}

.card-yacht:hover .card__background::before {
    left: 150%;
}


/* ============================================
   SINGLE YACHT PAGE - FULL WIDTH LAYOUT
   ============================================ */

.yacht-single {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}


/* ============================================
   HEADER BAR (Logo + Title)
   ============================================ */

.yacht-single__header-bar {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.yacht-single__header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 25px 50px;
}

.yacht-single__logo {
    flex: 0 0 auto;
}

.yacht-single__logo img {
    max-height: 80px;
    width: auto;
}

.yacht-single__title {
    flex: 0 0 auto;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    color: #000;
}

@media (max-width: 768px) {
    .yacht-single__header-inner {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }
    
    .yacht-single__title {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .yacht-single__logo img {
        max-height: 60px;
    }
}


/* ============================================
   HERO IMAGE
   ============================================ */

.yacht-single__hero {
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
}

.yacht-single__hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* ============================================
   SECTION COMMON STYLES
   ============================================ */

.yacht-single__section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #999;
    margin: 0 0 40px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}


/* ============================================
   SPECS SECTION (2 columns)
   ============================================ */

.yacht-single__specs-section {
    width: 100%;
    padding: 70px 50px;
    background: #fff;
}

.yacht-single__specs-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.yacht-single__specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.yacht-single__specs-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.yacht-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.yacht-spec-row:last-child {
    border-bottom: none;
}

.yacht-spec-row .spec-label {
    display: inline;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.yacht-spec-row .spec-value {
    display: inline;
    font-size: 15px;
    font-weight: 400;
    color: #666;
}

@media (max-width: 768px) {
    .yacht-single__specs-section {
        padding: 50px 20px;
    }
    
    .yacht-single__specs-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* ============================================
   AMENITIES SECTION (Tags)
   ============================================ */

.yacht-single__amenities-section {
    width: 100%;
    padding: 70px 50px;
    background: #f8f8f8;
}

.yacht-single__amenities-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.yacht-single__amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.yacht-amenity-tag {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.yacht-amenity-tag:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

@media (max-width: 768px) {
    .yacht-single__amenities-section {
        padding: 50px 20px;
    }
    
    .yacht-amenity-tag {
        padding: 12px 20px;
        font-size: 13px;
    }
}


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

.yacht-single__description-section {
    width: 100%;
    padding: 70px 50px;
    background: #fff;
}

.yacht-single__description-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.yacht-single__description-content {
    font-size: 18px;
    line-height: 2;
    color: #444;
}

.yacht-single__description-content p {
    margin-bottom: 25px;
}

.yacht-single__description-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .yacht-single__description-section {
        padding: 50px 20px;
    }
    
    .yacht-single__description-content {
        font-size: 16px;
        line-height: 1.8;
    }
}


/* ============================================
   KEY FEATURES SECTION (2 columns)
   ============================================ */

.yacht-single__features-section {
    width: 100%;
    padding: 70px 50px;
    background: #f8f8f8;
}

.yacht-single__features-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.yacht-single__features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.yacht-single__features-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.yacht-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.yacht-feature-item .feature-number {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
}

.yacht-feature-item .feature-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .yacht-single__features-section {
        padding: 50px 20px;
    }
    
    .yacht-single__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .yacht-feature-item .feature-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .yacht-feature-item .feature-text {
        font-size: 15px;
    }
}


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

.yacht-single__gallery-section {
    width: 100%;
    padding: 70px 50px;
    background: #fff;
}

.yacht-single__gallery-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.yacht-single__gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.yacht-single__gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.yacht-single__gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

.yacht-single__gallery-item img:hover {
    transform: scale(1.08);
}

@media (max-width: 1200px) {
    .yacht-single__gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .yacht-single__gallery-section {
        padding: 50px 20px;
    }
    
    .yacht-single__gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .yacht-single__gallery-item img {
        height: 180px;
    }
}


/* ============================================
   DETAILED SPECIFICATIONS (3 columns)
   ============================================ */

.yacht-single__detailed-specs-section {
    width: 100%;
    padding: 70px 50px;
    background: #f8f8f8;
}

.yacht-single__detailed-specs-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.yacht-single__detailed-specs-col {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.specs-col-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #000;
    margin: 0 0 30px 0;
    padding-bottom: 18px;
    border-bottom: 2px solid #000;
}

.detailed-spec-row {
    margin-bottom: 18px;
}

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

.detailed-spec-row .spec-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 6px;
}

.detailed-spec-row .spec-value {
    display: block;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.watersports-content {
    font-size: 14px;
    color: #444;
    line-height: 1.9;
}

@media (max-width: 1024px) {
    .yacht-single__detailed-specs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .yacht-single__detailed-specs-section {
        padding: 50px 20px;
    }
    
    .yacht-single__detailed-specs-col {
        padding: 25px;
    }
}


/* ============================================
   LAYOUT SECTION (Deck Plan)
   ============================================ */

.yacht-single__layout-section {
    width: 100%;
    padding: 70px 50px;
    background: #fff;
}

.yacht-single__layout-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.yacht-single__layout-image {
    width: 100%;
    text-align: center;
}

.yacht-single__layout-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .yacht-single__layout-section {
        padding: 50px 20px;
    }
}


/* ============================================
   INQUIRY CTA SECTION
   ============================================ */

.yacht-single__inquiry-section {
    width: 100%;
    padding: 100px 50px;
    background: #000;
    text-align: center;
}

.yacht-single__inquiry-inner {
    max-width: 700px;
    margin: 0 auto;
}

.yacht-single__inquiry-section h3 {
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    margin: 0 0 25px 0;
    letter-spacing: 2px;
}

.yacht-single__price {
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    margin: 0 0 20px 0;
}

.yacht-single__price .price-period {
    font-size: 16px;
    color: #888;
}

.yacht-single__inquiry-section p {
    font-size: 17px;
    color: #999;
    margin: 0 0 40px 0;
    line-height: 1.8;
}

.yacht-single__inquiry-btn {
    display: inline-block;
    padding: 20px 70px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid #fff;
    transition: all 0.3s ease;
}

.yacht-single__inquiry-btn:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .yacht-single__inquiry-section {
        padding: 70px 20px;
    }
    
    .yacht-single__inquiry-section h3 {
        font-size: 28px;
    }
    
    .yacht-single__price {
        font-size: 26px;
    }
    
    .yacht-single__inquiry-btn {
        padding: 18px 50px;
    }
}


/* ============================================
   YACHT LIGHTBOX
   ============================================ */

#yacht-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

#yacht-lightbox.active {
    display: flex;
}

#yacht-lightbox .lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

#yacht-lightbox .lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

#yacht-lightbox .lightbox-close:hover {
    background: #fff;
    color: #000;
}

#yacht-lightbox .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#yacht-lightbox .lightbox-nav:hover {
    background: #fff;
    color: #000;
}

#yacht-lightbox .lightbox-prev {
    left: 35px;
}

#yacht-lightbox .lightbox-next {
    right: 35px;
}

#yacht-lightbox .lightbox-counter {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    letter-spacing: 3px;
}

@media (max-width: 768px) {
    #yacht-lightbox .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 26px;
    }
    
    #yacht-lightbox .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    #yacht-lightbox .lightbox-prev {
        left: 15px;
    }
    
    #yacht-lightbox .lightbox-next {
        right: 15px;
    }
}