/* maritime_product.css */

.product-showcase-section {
    padding-left: var(--margin-page, 5vw);
    padding-right: var(--margin-page, 5vw);
    margin-bottom: var(--section-gap, 128px);
}

.product-showcase-header {
    margin-bottom: 3rem;
    text-align: center;
}

.product-showcase-title {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 46px;
    color: var(--primary);
    text-transform: capitalize;
    margin: 0;
}

@media (min-width: 768px) {
    .product-showcase-title {
        font-size: 48px;
        line-height: 64px;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Special for maritime: Center the 2 products, keeping their original 3-column size
@media (min-width: 1024px) {
    .product-grid {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .product-block {
        width: calc(33.333% - 1.33rem);
        flex: 0 0 auto;
    }
}
*/

.product-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--blueprint-line, #E2E5E7);
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f0f0f0;
}

.product-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(to top, rgba(0, 5, 23, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.5rem;
    pointer-events: none;
    /* Prevent blocking clicks on carousel */
}

.product-overlay .product-name {
    color: #ffffff;
    margin: 0;
    font-size: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-image-container img:hover {}

.product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-name {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 22px;
    font-weight: 400;
    margin-top: 0.5rem;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.product-indicator {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    display: block;
}

.technical-list {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: var(--text-on-surface);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.technical-list li {
    margin-bottom: 0.25rem;
}

.btn-inquire {
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 0.5rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-inquire:hover {
    background-color: var(--secondary);
}

/* Hero classes */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg .carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: top right;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 56rem;
    background-color: rgba(0, 5, 23, 0.7);
    padding: 4rem 10rem;
    border-radius: 20px;
}

.hero-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary-fixed);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--on-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 56px;
    }
}

.hero-desc-container {
    display: flex;
    justify-content: center;
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--on-primary);
    opacity: 0.9;
    max-width: 36rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    margin: 0;
}

/* Remove circle background from carousel arrows on product pages */
.product-block .carousel-prev,
.product-block .carousel-next {
    background: transparent !important;
}

.product-block .carousel-prev:hover,
.product-block .carousel-next:hover {
    background: transparent !important;
}