/* ========================================
   SBO Theme - Main Stylesheet
   ======================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400&display=swap');

@font-face {
    font-family: 'Tech Headlines';
    src: url('../fonts/TechHeadlines-Italic.woff2') format('woff2'),
         url('../fonts/TechHeadlines-Italic.woff') format('woff'),
         url('../fonts/TechHeadlines-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: #111111;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.sbo-container {
    width: 100%;
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========================================
   HEADER / TOP NAV
   ======================================== */
.sbo-header {
    position: relative;
    z-index: 100;
    padding: 26px 0;
}
.sbo-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.sbo-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.sbo-logo img {
    height: 38px;
    width: auto;
}

/* Top Nav — 640px wide, 50px tall */
.sbo-topnav {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border-radius: 25px;
    /*width: 640px;*/
    height: 50px;
    flex-shrink: 0;
}
.sbo-topnav__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 30px;
    height: 100%;
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    user-select: none;
}
.sbo-topnav__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 49px;
    background: rgba(255,255,255,0.12);
}
.sbo-topnav__item .caret {
    display: inline-block;
    width: 6px;
    height: 6px;
    border: 1.5px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
    margin-top: -3px;
	margin-left: 10px;
    transition: transform 0.2s;
}
.sbo-topnav__item.is-open .caret {
    transform: rotate(-135deg);
    margin-top: 3px;
}
.sbo-topnav__item--link {
    text-decoration: none;
}
.sbo-topnav__search {
    padding: 0 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 100%;
    margin-left: auto;
}
.sbo-topnav__search svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* ─── Dropdown (matches Figma design) ─── */
.sbo-dropdown-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.sbo-dropdown {
    /* Hidden by default — only visible on click */
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;

    /* Dark warm-gray background matching your Figma dropdown */
    background: #4a4340;
    border-radius: 12px;
    border-bottom: 4px solid #1b8afa;
    min-width: 190px;
    max-height: 360px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    padding: 4px 0;
}
.sbo-dropdown.is-visible {
    display: block;
}

.sbo-dropdown__item {
    display: block;
    padding: 14px 22px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.sbo-dropdown__item:hover {
    background: rgba(255,255,255,0.07);
}
.sbo-dropdown__item.active {
    color: #1b8afa;
}
.sbo-dropdown__item + .sbo-dropdown__item {
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Scrollbar */
.sbo-dropdown::-webkit-scrollbar { width: 5px; }
.sbo-dropdown::-webkit-scrollbar-track { background: transparent; }
.sbo-dropdown::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* ========================================
   HERO
   ======================================== */
.sbo-hero {
    position: relative;
    min-height: 700px;
    margin-top: -100px;
    padding-top: 100px;
}
.sbo-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    height: 920px;
}
.sbo-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}
.sbo-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17,17,17,0) 69.4%, #111 100%),
        linear-gradient(90deg, rgba(17,17,17,0.8) 0%, rgba(17,17,17,0.8) 100%);
}

/* Cards */
.sbo-cards {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 50px 0 50px;
}

.sbo-card {
    position: relative;
    border-radius: 30px;
    height: 500px;
    overflow: hidden;
    border-top: 2px solid #1b8afa;
    border-bottom: 5px solid #1b8afa;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.sbo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(27,138,250,0.15);
}
.sbo-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 30px;
    overflow: hidden;
    /*background: #111111;*/
}
.sbo-card__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.03);
    z-index: 1;
}
.sbo-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}
.sbo-card__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%);
    /*backdrop-filter: blur(1px);*/
    z-index: 2;
}
.sbo-card__outline {
    position: absolute;
    inset: 0;
    /*border: 1px solid rgba(255,255,255,0.25);*/
    border-radius: 30px;
    z-index: 3;
    pointer-events: none;
}
.sbo-card__content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 20px 40px 40px;
    text-align: center;
}
.sbo-card__icon {
    width: 65px;
    height: 65px;
    margin-top: 30px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* Card text — Tech Headlines */
.sbo-card__sbo {
    font-family: 'Tech Headlines', Georgia, serif;
    font-style: italic;
    font-size: 34px;
    letter-spacing: 0.34px;
    line-height: 48px;
    color: #fff;
    margin-top: 30px;
	margin-bottom:20px;
}
.sbo-card__title {
    font-family: 'Tech Headlines', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    line-height: 1.25;
}
.sbo-card__title--large {
    font-size: 56px;
    letter-spacing: 0.62px;
}
.sbo-card__title--medium {
    font-size: 36px;
    letter-spacing: 1.6px;
}
.sbo-card__title--blue {
    color: #1b8afa;
    font-size: 56px;
    letter-spacing: 0.6px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}
.sbo-card__subtitle {
    font-family: 'Tech Headlines', Georgia, serif;
    font-style: italic;
    font-size: 21px;
    letter-spacing: 1.68px;
    color: #fff;
	margin-top:20px;
    line-height: 30px;
}

/* Shadows */
.sbo-cards__shadows {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}
/*.sbo-card__shadow {
    height: 8px;
    border-radius: 10px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
    filter: blur(4px);
    mix-blend-mode: overlay;
    margin: 0 12px;
}*/

/* ========================================
   FOOTER
   ======================================== */
.sbo-footer {
    position: relative;
    z-index: 10;
    padding-top: 20px;
}
.sbo-footer__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0 20px;
}
.sbo-footer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s, background 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.sbo-footer__btn:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.04);
}

.sbo-footer__columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    padding: 30px 0 10px;
    align-items: start;
}
.sbo-footer__divider {
    width: 1px;
    height: 110px;
    background: rgba(255,255,255,0.12);
    align-self: center;
}
.sbo-footer__col {
    padding: 0 30px;
}
.sbo-footer__col-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    color: #fff;
}
.sbo-footer__col p {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    line-height: 1.2;
    opacity: 0.7;
    color: #fff;
}

/* "Please Click Here" + after text — same line, 11px */
.sbo-footer__disclaimer-link {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.2;
    opacity: 0.7;
    color: #fff;
}
.sbo-footer__disclaimer-link a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-decoration: underline;
    color: #fff;
}
.sbo-footer__disclaimer-link a:hover { opacity: 1; }
.sbo-footer__disclaimer-link span {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 11px;
}

/* About links — 12px DM Sans Bold White 100% */
.sbo-footer__links a {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-decoration: underline;
    text-transform: capitalize;
    line-height: 1.5;
    color: #fff;
    opacity: 1;
}
.sbo-footer__links a:hover { color: #1b8afa; }

/* Powered By — 11px DM Sans Bold, left-aligned */
.sbo-footer__powered {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.7;
    padding: 20px 30px 40px;
    color: #fff;
}

/* ========================================
   SEARCH PAGE
   ======================================== */
.sbo-search-page {
    position: relative;
    z-index: 10;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 30px;
}
.sbo-search-box {
    width: 100%;
    max-width: 700px;
    text-align: center;
}
.sbo-search-box h1 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.sbo-search-form {
    display: flex;
    gap: 0;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}
.sbo-search-form input[type="text"] {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255,255,255,0.06);
    border: none;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    outline: none;
}
.sbo-search-form input[type="text"]::placeholder { color: rgba(255,255,255,0.4); }
.sbo-search-form button {
    padding: 16px 30px;
    background: #1b8afa;
    border: none;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}
.sbo-search-form button:hover { background: #1576d9; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .sbo-cards { grid-template-columns: repeat(2, 1fr); }
    .sbo-cards__shadows { grid-template-columns: repeat(2, 1fr); }
    .sbo-topnav { width: auto; }
}
@media (max-width: 900px) {
    .sbo-header__inner { flex-direction: column; gap: 16px; }
    .sbo-topnav { flex-wrap: wrap; height: auto; padding: 8px; justify-content: center; width: 100%; }
    .sbo-topnav__item { height: 40px; }
    .sbo-topnav__item::after { display: none; }
    .sbo-footer__columns { grid-template-columns: 1fr; gap: 30px; }
    .sbo-footer__divider { display: none; }
    .sbo-footer__buttons { flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .sbo-cards { grid-template-columns: 1fr; }
    .sbo-cards__shadows { grid-template-columns: 1fr; }
    .sbo-card { height: 420px; }
    .sbo-card__title--large { font-size: 44px; }
    .sbo-card__title--blue { font-size: 42px; }
}
