@import '/styles/global.css';
@import '/styles/HeaderManager.css';
@import '/styles/FooterManager.css';
@import '/styles/SignupElement.css';
@import '/styles/CookieConsent/CookieConsent.css';
@import '/styles/CookieConsent/CookiePreferences.css';

@import '/styles/HardwarePopup.css';
@import '/styles/SOMCarousel.css';
/* ------------ */
/*  SOM 100 Hero Section */
/* ------------ */
.hw-som-hero-section {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-color: var(--color-black); /* Black background for areas beyond 1800px */
}

/* Large desktop screens: moderate height */
.hw-som-hero-image {
    position: relative;
    min-height: 500px;
    max-height: 55vh;
    background-image: url('/assets/images-v3/Product_SOM.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
}
.hw-som-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.0) 50%
    );
    z-index: 1; /* sits above background, below content */
}
.hw-som-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 120px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: clamp(3rem, 8vh, 6rem);
}
.hero-title {
    font-size: clamp(1rem, 1vw, 1.4rem);
    max-width: 50%;
    color: var(--color-white);
    font-family: "Inter", sans-serif;
    font-weight: 700;
    margin-left: 0; 
}
.hw-som-hero-content h1 {
    max-width: 50%;
    color: var(--color-white);
    margin-left: 0; 
    font-weight: 500;
    padding-bottom: 30px;
}
.hw-som-hero-content p {
    max-width: 45%;
    color: var(--color-white);
    margin-left: 0;
}
/*------------*/
.pre-release-badge {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    padding: 5px 10px 3px; 
    background-color: #8A8A8A;
    border-radius: 3px;
    color: var(--color-white);
    font-family: "Inter";
    font-size: .95rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-left: 0;
    margin-bottom: 15px;
}
.pre-release-badge img {
    display: block;
    width: 16px; /* adjust as needed */
    height: 16px;
}
.active-badge {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    padding: 5px 10px 3px;
    background-color: #09AF49;
    border-radius: 3px;
    color: var(--color-white);
    font-family: "Inter";
    text-transform: uppercase;
    font-weight: 600;
    margin-left: 0;
    margin-bottom: 15px;
}
.active-badge img {
    display: block;
    width: 16px; /* adjust as needed */
    height: 16px;
}
.deprecated-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px 3px; 
    background-color: #FF0000;
    border-radius: 3px;
    color: var(--color-white);
    font-family: "Inter";
    text-transform: uppercase;
    font-weight: 600;
    margin-left: 0;
    margin-bottom: 15px;
}
.deprecated-badge img {
    display: block;
    width: 16px; /* adjust as needed */
    height: 16px;
}

/*---------------*/
.hw-som-hero-navigation-section {
    background-color: var(--color-blue-nav-carousel);
    height: 55px;
    display: flex; 
    width: 100%;
    margin:0 auto;
}
.hw-som-hero-navigation-section.is-sticky {
    position: fixed;
    top: 105px; /* your header height */
    left: 0;
    width: 100%;
    z-index: 50;
}
/*------------*/
.hw-som-sub-nav {
    max-width: 1500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    padding-inline: 120px;
    background-color: var(--color-blue-nav-carousel); /* Original nav background color */
}
.hw-som-sub-nav a {
    margin-left: 0;
    margin-right: 26px;
    text-decoration: none;
    position: relative;
    padding-bottom: 1px;
}
.hw-som-sub-nav a:last-child {
    margin-right: 0;
}
.hw-som-sub-nav a h5 {
    color: var(--color-white);
    font-weight: 700;
    font-family: "Inter", sans-serif;
    font-size: .8rem;
    margin: 0;
}

.hw-som-sub-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-underline-cta);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hw-som-sub-nav a:not(.active):hover::after {
    transform: scaleX(1);
}

.hw-som-sub-nav a.active::after {
    transform: scaleX(1);
}

/* ------------ */
/*  Overview — What is The SOM S100?  */
/* ------------ */
.som-100-overview-background {
    width: 100%;
}
.som-100-overview-section {
    max-width: 1500px;
    padding:  100px 120px;
    margin: 0 auto;
}
.som-100 {
    display: flex;
    align-items: top;
    gap: 35px;
}
.som-100-text {
    width: 60%;
    padding-right: 50px;
}
.som-100 h5 {
    font-weight: 700;
    font-family: "Inter", sans-serif;
    font-size: .8rem;
    padding-bottom: 10px;
}
.som-100-text p {
    padding-bottom: 20px;
}
.inline-img-link {
    display: inline-flex;
}
.inline-img-link img {
    margin-right: 8px;
}
/* ------------ */
.som-100-box {
    background-color: var(--color-blue-nav-carousel);
    padding: 30px;
    border-radius: 12px;
    width: 40%;
}
.som-100-box h3 {
    color: var(--color-white);
    font-weight: 700;
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    padding-bottom: 15px;
}
.som-100-box p {
    color: var(--color-white);
    padding-bottom: 20px;
}
/* ---link----- */

.inline-links .button-small-color-link {
    animation: transform 0.8s ease-in;
}

/* ------------ */
/*  Key Features  */
/* ------------ */

.key-features-section {
    width: 100%;
    background: var(--color-grey-background);
}

.key-features-container {
    max-width: 1500px;
    padding: 100px 120px;
    margin: 0 auto;
}

.key-features-container h2 {
    margin-left: 0;
}

.key-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-top: 40px;
}

.feature-item {
    border-left: 3px solid var(--color-framed-cta);
    padding-left: 1rem;
    margin: 0 !important;
    padding-top: 0 !important;
}

.feature-item h3 {
    font-weight: 600;
    font-family: "Inter";
    margin: 0; /* Reset everything */
    padding: 0; /* Reset everything */
    margin-bottom: 0.5rem;
    display: block; /* Ensure block */
}

.feature-item p {
    line-height: 1.5;
    margin: 0;
    padding: 0;
    display: block;
}





/* ------------ */
/*  Full Specification Section  */
/* ------------ */
.full-specs {
    max-width: 1500px;
    padding: 100px 120px;
    margin: 0 auto;
}
.full-specs h2 {
    padding-bottom: 50px;
}
/*  Specs Grid  */
.specs-column {
    max-width: 1500px;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
}
.specs-group {
    margin-bottom: 3rem;
}
  
.specs-group h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    margin-bottom: .5rem;
    font-size: 1.1rem;
}
  
.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #d9d9d9;
}
 
.spec-row span:first-child {
    font-weight: 500;
    margin-left: 0;
}
  
.spec-row span:last-child {
    text-align: right;
    margin-right: 0;
    color: #1a1a1a;
}
  





















/* Laptop screens (MacBook Air, etc.): taller hero */
@media (max-width: 1440px) {
    .hw-som-hero-image {
        max-height: 60vh;
        min-height: 650px;
    }

    .hw-som-badge {
        bottom: 25px;
    }
   /* ------------ */
    /*  Overview — What is The SOM S100?  */
    /* ------------ */
    .som-100-text {
        padding-right: 0px;
    }
  }



@media (max-width: 1024px) {

    /* ------------ */
    /*  SOM 100 Hero Section */
    /* ------------ */

    .hw-som-hero-content {
        padding-inline: 20px;;
    }
    .hw-som-sub-nav {
        padding-inline: 20px;
    }


    /* ------------ */
    /*  Overview — What is The SOM S100?  */
    /* ------------ */
    .som-100-overview-section {
        max-width: 1500px;
        padding: 80px 20px;
    }
    .som-100-text {
        width: 50%;
    }
    /* ------------ */
    .som-100-box {
        background-color: var(--color-blue-nav-carousel);
        padding: 30px;
        border-radius: 12px;
        width: 50%;
    }    


    /* ------------ */
    /*  Key Features  */
    /* ------------ */
    .key-features-container {
        padding: 80px 20px;
    }
    .key-features-grid {
        padding-top: 30px;
        gap: 2rem;
    }
  
    /* ------------ */
    /*  Full Specification Section  */
    /* ------------ */
    .full-specs {
        max-width: 1500px;
        padding: 50px 20px 100px;
        margin: 0 auto;
    }
    .specs-kit-installation-section {
        max-width: 1500px;
        padding:  50px 20px;
    }
}



 /* SMALLER TABLETS LARGE PHONES  */
@media (max-width: 768px) {
    /* ------------ */
    /*  SOM 100 Hero Section */
    /* ------------ */
    .hw-som-hero-section {
        min-height: 45svh;
        display: flex;
        flex-direction: column;
        background-color: transparent; /* Remove black background on mobile */
    }
    .hw-som-hero-content span {
        align-self: center;
    }
    .hw-som-hero-image {
        flex: 1;
        min-height: 45vh;
        max-height: 1000px;
        background-image: url('/assets/images-v3/AURA_Hardware_SOM_Mobile.webp');
    }
    .hw-som-hero-image::before {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.0) 50%
        );
    }
     
    .hero-title {
        font-weight: 700;
        text-align: center;
        margin-inline: auto;
        font-size: 2rem;
        line-height: 1.5;
        max-width: 450px;
        padding-bottom: 0%;
    }
    .hw-som-hero-content h1 {
        display: none;
    }
    .hw-som-hero-content p {
        display: none;
    }
    .hw-som-hero-content a {
        display: none;
    }
    .hw-som-hero-navigation-section {
        height: 30px;
    }
    .hw-som-sub-nav {
        display: none;
    }
    
     /* ------------ */
    /*  Overview — What is The SOM S100?  */
    /* ------------ */
    .som-100-overview-section {
        padding: 40px 20px;
    }
    
  
    /*----------------*/
    /*  Which Series Is Right For You?*/
    /*----------------*/
    .key-features-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    .key-features-container h2 {
        max-width: 400px;
    }


    /* ------------ */
    /*  Full Specification Section  */
    /* ------------ */
    /*  Specs Grid  */
    .specs-grid {
        gap: 2.5rem;
    }

   
}


@media (max-width: 576px) {
    

    /* ------------ */
    /*  Overview — What is The SOM S100?  */
    /* ------------ */

    .som-100 {
        display: flex;
        flex-direction: column;
    }
    .som-100-text {
        width: 100%;
        padding-right: 20px;
    }
    .som-100-box {
        width: 100%;
        padding-bottom: 50px;
    }
    
    

    /* ------------ */
    /* Key Features*/
    /* ------------ */
    .key-features-container {
        padding: 60px 20px;
    }
    .key-features-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(6, 1fr);
        padding-top: 25px;
        padding-left: 0px;
        gap: 2rem;
    }
    .feature-item {
        align-items: start;
    }
    
    /* ------------ */
    /*  Full Specification Section  */
    /* ------------ */
    .specs-grid {
        grid-template-columns: 1fr;
      }

}

