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

/* ------------ */
/*  SDK Hero Section */
/* ------------ */
.sdk-hero-section {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-color: var(--color-black);
}

/* Large desktop screens: moderate height */
.sdk-hero-image {
    position: relative;
    min-height: 500px;
    max-height: 55vh;
    background-image: url('/assets/images-v3/AURA_SDKs_Hero.webp');
    background-position: 90% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
}
.sdk-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 */
}
.sdk-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    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; 
}
.sdk-hero-content h1 {
    max-width: 50%;
    color: var(--color-white);
    margin-left: 0; 
    font-weight: 500;
    padding-bottom: 30px;
}
.sdk-hero-content p {
    max-width: 45%;
    color: var(--color-white);
    margin-left: 0;
}
/*------------*/
.inline-links {
    margin-left: 0;
    margin-top: 30px;
}
.inline-link-1 {
    margin-right: 40px;
}
/*------------*/
.sdk-hero-navigation-section {
    background-color: var(--color-blue-nav-carousel);
    height: 55px;
    display: flex; 
    width: 100%;
    margin: 0 auto;
}
.sdk-hero-navigation-section.is-sticky {
    position: fixed;
    top: 105px; /* your header height */
    left: 0;
    width: 100%;
    z-index: 50;
}
/*------------*/
.sdk-sub-nav {
    max-width: 1500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    padding-inline: 120px; 
}
.sdk-sub-nav a {
    margin-left: 0;
    margin-right: 26px;
    text-decoration: none;
    position: relative;
    padding-bottom: 1px;
}
.sdk-sub-nav a:last-child {
    margin-right: 0;
}
.sdk-sub-nav a h5 {
    color: var(--color-white);
    font-weight: 700;
    font-family: "Inter", sans-serif;
    font-size: .8rem;
    margin: 0;
}
.sdk-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;
}

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

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

/* ------------ */
/*  Overview — Getting Started  */
/* ------------ */

.sdk-overview-background {
    width: 100%;
}
.sdk-overview-section {
    max-width: 1500px;
    padding: 80px 120px;
    margin: 0 auto;
}
.sdk-overview {
    display: flex;
    align-items: center;
    gap: 70px;
}
.sdk-overview-text {
    width: 70%;
    margin-inline: 0;
}

.sdk-overview-box {
    background-color: var(--color-blue-nav-carousel);
    padding: 30px;
    border-radius: 12px;
    width: 30%;
    margin-right: 0;
}
.sdk-overview-box h3 {
    color: var(--color-white);
    font-weight: 700;
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    padding-bottom: 15px;
}
.sdk-overview-box p {
    color: var(--color-white);
    padding-bottom: 20px;
    font-family: "Inter", sans-serif;
}
.indented-p-1 a {
    color: var(--color-white);
    text-decoration: underline;
    font-size: 1rem;
    padding: 0px !important;
}
.indented-p-2 a {
    color: var(--color-white);
    text-decoration: underline;
    font-size: 1rem;
}
.transparent-cta-button:hover {
    text-decoration: underline;

}
/* ------------ */






/* ------------ */
/*  Mobile SDK - Compute SDK  */
/* ------------ */
.mobile-compute-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 120px;
}

.card-grid {
    max-width: 900px;
    margin: 0 auto;  /* center the grid directly */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    box-sizing: border-box;
}
.card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 30px;
    background-color: var(--color-grey-card-bckgrnd);
    border-radius: 18px;
}
.card-title {
    font-weight: 700;
    font-family: "Inter", sans-serif;
    transition: transform 0.3s ease-in-out;
    padding-block: 25px;
    margin-left: 0;
}


.card .card-list {
    width: 100%;
    
}
.card .card-list li {
    font-family: "Inter", sans-serif;
    list-style: none;
    margin-left: 0;
    border-bottom: 1px solid var(--color-grey-dividers);
    padding-bottom: 5px; /* replaces text-underline-offset */
    margin-bottom: 5px;  /* spacing between items */
}
.card .card-list li img {
    display: inline;
    position: relative;
    top: 2px; /* adjust this value to taste */
    width: 19px;
    height: 19px;
    margin-left: 4px;
    margin-right: 2px;
}
.card h4 {
    margin-left: 0px;
    padding-block: 40px 5px;
}
.card .card-list-disk {
    margin-left: 18px;
}
.card .card-list-disk li {
    list-style: disc;
    
    font-family: "Inter", sans-serif;
}

.card .transparent-cta-button {
    margin-top: auto;
    margin-left: 0;
}





/* ------------ */    
/*  AURA Tabs Mobile SDK */ 
/* ------------ */
.tabs-mobile-section {
    max-width: 1500px;
    padding: 50px 120px;
    margin: auto;
}
.tabs-mobile-section h5 {
    font-weight: 700;
    font-family: "Inter", sans-serif;
    font-size: .8rem;
    padding-bottom: 10px;
}
.tabs-mobile-section h2 {
    padding-bottom: 30px;
}
.tabs-mobile-section p {
    font-family: "Inter", sans-serif;
}

/* ------------ */    
/*  AURA Tabs Compute SDK */ 
/* ------------ */
.tabs-compute-section {
    max-width: 1500px;
    padding: 50px 120px;
    margin: auto;
}


/*---------------------*/
/* Interactive Spaces Section */
/*---------------------*/
.interactive-spaces {
    width: 100%;
  }
  
  .spaces-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 120px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: center;
  }
  

  
  .explore-link {
    color: #4A90E2;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
  }
  
  .explore-link:hover {
    text-decoration: underline;
  }
  
  /* Blog Carousel */
  .blog-carousel-wrapper {
    overflow: hidden;
    width: 100%;
  }
  
  .blog-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  .blog-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  /* Carousel Card */
  .carousel-card {
    min-width: 300px;
    max-width: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  .card-title:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  
  .card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #E5E5E5;
  }
  
  .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .card-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 4px 10px 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
  }
  
  .category-icon {
    font-weight: 700;
  }
  .slider__blog-label {
    font-family: "Inter";
    font-weight: 700;
    font-size: .8rem;
  }
  .card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 4px 12px 4px;
    padding: 0;
    color: #000;
  }
  
  .carousel-card-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0 4px 16px 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  


/* Laptop screens (MacBook Air, etc.): taller hero */
@media (max-width: 1440px) {
    .sdk-hero-image {
        max-height: 60vh;
        min-height: 650px;
        background-position: 70% 50%;
    }
}



@media (max-width: 1024px) {
    /* ------------ */
    /*  SDK Hero Section */
    /* ------------ */

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

    /* ------------ */
    /*  Overview — Getting Started  */
    /* ------------ */
    .sdk-overview-section {
        padding: 80px 20px; 
    }

    /* ------------ */
    /*  Mobile SDK - Compute SDK */
    /* ------------ */
    .mobile-compute-container {
        padding: 0px 20px 80px;
    }
    /* ------------ */    
    /*  AURA Tabs Compute SDK */ 
    /* ------------ */
    .tabs-compute-section {
        max-width: 1500px;
        padding: 50px 20px;
        margin: auto;
    }
    /* ------------ */    
    /*  Code Tab Container */ 
    /* ------------ */
    .tab-container {
        padding: 50px 20px;
    }
    
    

    /* ------------ */    
    /*  AURA Tabs Mobile SDK */ 
    /* ------------ */
    .tabs-mobile-section {
        padding: 50px 20px;
    }

    /*---------------------*/
      /* Interactive Spaces Section */
      /*---------------------*/
      .spaces-container {
        padding: 50px 20px;
      }
}











 /* SMALLER TABLETS LARGE PHONES  */
@media (max-width: 768px) {
    /* ------------ */
    /*  SDK Hero Section */
    /* ------------ */

    .sdk-hero-section {
        min-height: 45svh; /* or 45vh fallback */
        display: flex;
        flex-direction: column;
        background-color: transparent; /* Remove black background on mobile */
    }
    .sdk-hero-image {
        flex: 1;
        min-height: 45vh;
        max-height: 1000px;
        background-image: url('/assets/images-v3/New_Hero_SDK_Tablet.webp');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .sdk-hero-image::before {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.0) 50%
        );
        z-index: 1; /* sits above background, below content */
    }
    .hero-title {
        font-weight: 700;
        text-align: center;
        margin-inline: auto;
        font-size: 2rem;
        line-height: 1.5;
        max-width: 450px;
        padding-bottom: 0%;
    }
    .sdk-hero-content h1 {
        display: none;
    }
    .sdk-hero-content p {
        display: none;
    }
    .sdk-hero-content a {
        display: none;
    }

    /* for mobile-leading-text see global.css */

    .sdk-hero-navigation-section {
        height: 30px;
    }
    .sdk-sub-nav {
        display: none;
    }
  
    /* ------------ */
    /*  Overview — Getting Started  */
    /* ------------ */
    .sdk-overview-section {
        padding: 50px 20px; 
    }

    .sdk-overview {
        gap: 20;
    }
    .sdk-overview-text {
        width: 55%;
        padding-right: 0px;
    }
    .sdk-overview-box{
        width: 45%;
    }
    /*---------------------*/
  /* Interactive Spaces Section */
  /*---------------------*/
  .interactive-spaces {
    width: 100%;
    padding: 40px 0;
  }
  .spaces-container {
      padding: 0 20px;
  }

  .carousel-card {
      min-width: 280px;
      max-width: 280px;
  }

}




@media (max-width: 576px) {
    .sdk-hero-image {
        flex: 1;
        min-height: 45vh;
        max-height: 1000px;
        background-image: url('/assets/images-v3/Mobile_SDK.webp');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    /* ------------ */
    /*  Overview — Getting Started  */
    /* ------------ */
    .sdk-overview {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 50px;
    }
    .sdk-overview-text {
        width: 100%;
        padding: 30px 0px;
    }
    .sdk-overview-box {
        width: 100%;
    }


    /* ------------ */
    /*  Mobile SDK - Compute SDK  */
    /* ------------ */
    .card-grid {
        grid-template-columns: 1fr;
    }
    .card {
        width: 100%;
    }
    
    /*---------------------*/
    /* Interactive Spaces Section */
    /*---------------------*/
    .spaces-container {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      row-gap: 20px;
      align-items: center;
    }
}


