/* Frontend Styles for 13Ships */

.treceships-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.treceship-single {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.treceship-header {
    text-align: center;
    margin-bottom: 50px;
}

.treceship-title {
    font-size: 3rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
}

.treceship-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 50px;
}

.treceship-description h2,
.treceship-data h2,
.treceship-gallery h2,
.treceship-contact-form h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 600;
}

.treceship-description {
    line-height: 1.7;
    color: #555;
}

.treceship-data {
    background: #fbfbfb;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    align-self: start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.treceship-data ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treceship-data li {
    padding: 15px 0;
    border-bottom: 1px solid #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.treceship-data li strong {
    color: #333;
}

.treceship-data li span {
    color: #666;
    font-weight: 500;
}

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

.treceship-gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.treceship-gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.treceship-contact-form {
    background: #fafafa;
    padding: 30px;
    border-radius: 8px;
}

/* Make it responsive */
@media (max-width: 900px) {
    .treceship-content-grid {
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }
}
