/* Single Yacht Page Styles */

.single-yacht-page {
    background: #f8f9fa;
}

/* Yacht Hero Section */
.yacht-hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 100px 0 80px;
    margin-top: -80px;
    padding-top: 180px;
}

.yacht-hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: center;
}

.yacht-main-image {
    position: relative;
}

.yacht-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.2);
}

.yacht-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    border: 4px solid rgba(255,255,255,0.2);
}

.yacht-info {
    padding-left: 20px;
}

.yacht-name {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.yacht-specs-summary {
    margin-bottom: 30px;
}

.yacht-model {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.yacht-year {
    opacity: 0.8;
    font-weight: normal;
}

.yacht-type-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
}

.yacht-quick-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}

.spec-item .icon {
    font-size: 1.3rem;
}

/* Description Section */
.yacht-description {
    padding: 80px 0;
    background: white;
}

.yacht-description h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.yacht-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
}

/* Specifications Section */
.yacht-specifications {
    padding: 80px 0;
    background: #f8f9fa;
}

.yacht-specifications h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    text-align: center;
}

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

.specs-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.specs-category h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.spec-label {
    font-weight: 500;
    color: #495057;
}

.spec-value {
    font-weight: 600;
    color: #007bff;
}

/* Layout Section */
.yacht-layout {
    padding: 80px 0;
    background: white;
}

.yacht-layout h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    text-align: center;
}

.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.layout-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #007bff;
}

.layout-item.full-width {
    grid-column: 1 / -1;
}

.layout-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.layout-item p {
    line-height: 1.7;
    color: #555;
}

/* Equipment Section */
.yacht-equipment {
    padding: 80px 0;
    background: #f8f9fa;
}

.yacht-equipment h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    text-align: center;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.equipment-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.equipment-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.equipment-item p {
    line-height: 1.7;
    color: #555;
}

/* Photo Gallery Section */
.yacht-gallery {
    padding: 80px 0;
    background: white;
}

.yacht-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    text-align: center;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Yacht Events Section */
.yacht-events {
    padding: 80px 0;
    background: #f8f9fa;
}

.yacht-events h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .yacht-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .yacht-info {
        padding-left: 0;
        text-align: center;
    }
    
    .yacht-name {
        font-size: 2.5rem;
    }
    
    .yacht-quick-specs {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .layout-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .layout-item.full-width {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}