/* Boat Detail Page Styles */

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #eee;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* Boat Hero Section */
.boat-hero {
    display: flex;
    padding: 40px 0;
    background-color: #fff;
}

.boat-gallery {
    flex: 1;
    padding: 0 20px;
}

.main-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.main-image:hover img {
    transform: scale(1.02);
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary-color);
}

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

.boat-summary {
    flex: 0 0 400px;
    padding: 0 20px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.boat-summary h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.price-container {
    margin-bottom: 25px;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 10px;
}

.vat {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.quick-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.quick-specs .spec-item {
    text-align: center;
}

.quick-specs i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.quick-specs span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.quick-specs small {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #d40000;
    border-color: #d40000;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 0, 0, 0.05);
}

/* Boat Description */
.boat-description {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.boat-description h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.boat-description h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.boat-description p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Features */
.boat-features {
    padding: 60px 0;
    background-color: #fff;
}

.boat-features h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.boat-features h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Specifications */
.boat-specifications {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.boat-specifications h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.boat-specifications h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.specs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.specs-column {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.specs-column h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.specs-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-column li {
    margin-bottom: 12px;
    color: #555;
    display: flex;
    justify-content: space-between;
}

.specs-column li span:first-child {
    font-weight: 600;
    color: #333;
}

/* Gallery Section */
.boat-gallery-section {
    padding: 60px 0;
    background-color: #fff;
}

.boat-gallery-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.boat-gallery-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Contact Form */
.contact-form {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-form form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.form-group label {
    font-size: 0.9rem;
    color: #555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .boat-hero {
        flex-direction: column;
    }
    
    .boat-summary {
        margin-top: 40px;
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }
    
    .quick-specs {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .specs-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .quick-specs {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form form {
        padding: 20px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
