/* Section 1 */

.hero-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    color: var(--primary-text-color-light);
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background-container video {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-standard);
    object-fit: cover;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;

    background-image:
            linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05)),
            linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* Shadow for readability on video */
    color: var(--primary-text-color-light);
}

.hero-content .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
    color: var(--primary-text-color-light);
    margin-bottom: 30px;
}

.hero-content .btn-dark {
    padding: 15px 40px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .video-background-container video {
        display: none;
    }
}

/* Section 2 */
.about-section-lite {
    background-color: var(--secondary-bg-color); 
    background-image: url('../../images/backgrounds/concretenoise.webp');
    background-repeat: repeat;
    padding: var(--section-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--border-radius-standard) var(--border-radius-standard) 0 0;
}

@media (min-width: 768px) {   /* On bigger screens, adapt display */
    .about-section-lite {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 40px;
    }
}

.about-images {
    flex: 1;
    max-width: 500px;
    position: relative;   /* Used to stack images */
}

.about-img-large {
    display: block;
    width: 65%;
    height: auto;
    margin-bottom: 40px;
    border-radius: var(--border-radius-standard);
    transform: rotate(-2deg);
}

.about-img-small {
    display: block;
    position: absolute;
    width: 45%;
    height: auto;
    bottom: 40px;
    right: -10px;
    border: 5px solid var(--secondary-bg-color);
    border-radius: var(--border-radius-standard);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    transform: rotate(1deg);
}

.about-text {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.about-text h2 {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-top: 0;
    color: var(--primary-text-color-dark);
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--secondary-text-color-dark);
}

.about-us-button {
    border-color: var(--neutral-color-grey);
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .about-text {
        text-align: left;
    }

    .about-img-large {
        margin-bottom: 0;
    }

    .about-img-small {
        bottom: -20px;
        right: 30px;
    }

    .about-us-button {        
        margin-top: 60px; 
        display: block;   
        width: fit-content; 
        margin-left: auto;     
        margin-right: auto;
    }
}

.about-section-tag {
    display: inline-block;
    background-color: var(--primary-bg-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-text-color-light) !important;
}

/* Section 3 */

.highlights-section {
    padding: var(--section-padding);
    text-align: center;
    background-color: var(--secondary-bg-color);
    background-image: url('../../images/backgrounds/concretenoise.webp');
    background-repeat: repeat;
    border-radius: 0 0 var(--border-radius-standard) var(--border-radius-standard);
}

.highlights-section h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-text-color-dark);
}

.highlights-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.highlight-card {
    flex: 0 1 320px; /* flex-grow: 0, flex-shrink: 1, flex-basis: 320px */
    max-width: 350px;
    text-align: center;
    /*text-align: left;*/
    background-color: var(--primary-bg-color);
    color: var(--primary-text-color-light);
    border-radius: var(--border-radius-standard);
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 0 3px var(--neutral-color-grey);
    /* text-transform: uppercase; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3),
    0 0 0 3px var(--secondary-accent-color);
}

.highlight-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover; /* So that fixed height images to not distort */
    margin-bottom: 20px;
    border-radius: calc(var(--border-radius-standard) - 5px);
}

.highlight-card h3 {
    font-size: 1.5rem;
    color: var(--primary-text-color-light);
    margin-bottom: 10px;
     text-transform: uppercase; 
}

.highlight-card p {
    font-size: 1rem;
    color: var(--secondary-text-color-light);
    line-height: 1.6;
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .highlights-section {
        margin-top: -50px !important;
    }
}

/* ------ Page Foot Section ------ */
.video-section {
    width: 100%; 
    margin: 0;   
    padding: 0; 
    overflow: hidden; 
    line-height: 0;
}

.video-section video {
    display: block; 
    width: 100%;    
    height: auto;
    border-radius: var(--border-radius-standard);
}

@media (hover: none) {
    .highlight-card:hover {
        transform: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 0 3px var(--neutral-color-grey);
    }
}