/*
    Technology Page
    Porsche 911 Carrera S Cabriolet
*/

/* TECHNOLOGY HERO */
.technology-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.technology-background {
    position: absolute;
    inset: 0;
    background-image: url("../img/hero/technology-hero.webp");
    background-size: cover;
    background-position: center;
}

.technology-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 5, 5, .95), rgba(5, 5, 5, .55), rgba(5, 5, 5, .25));
}

.technology-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding-top: 100px;
}

.technology-content p:not(.accent) {
    max-width: 650px;
    margin-top: 40px;
    font-size: 1.2rem;
}

/* TECHNOLOGY GRID */
.technology-grid-section {
    background: var(--color-black);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.technology-grid .card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.technology-grid h3 {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* CABRIO HIGHLIGHT */
.glass {
    border-radius: var(--radius-large);
    padding: 50px;
}

.glass h2 {
    margin-top: 25px;
}

.glass p {
    max-width: 700px;
}

/* RESPONSIVE */
@media(max-width:900px) {
    .technology-grid {
        grid-template-columns: 1fr;
    }

    .technology-background {
        background-position: 60% center;
    }

    .technology-overlay {
        background: linear-gradient(180deg, rgba(5, 5, 5, .35), rgba(5, 5, 5, .95));
    }
}

@media(max-width:768px) {
    .glass {
        padding: 25px;
    }
}