:root {
    --accent-color: #ed033f;
    --dark-blue: #003366;
    --not-black: #003366;
/*    --not-black: #080808;*/
    --black: #000000;
    --white: #ffffff;
    --light-gray: #cccccc;

    --body-font: 'GeistVariable', sans-serif;
    --title-font: 'RubikVariable', sans-serif;

    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xxl: 60px;

    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.4);
}

@font-face {
    font-family: 'GeistVariable';
    src: url('/static/fonts/geist-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'RubikVariable';
    src: url('/static/fonts/rubik-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: solid var(--accent-color) 1px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--title-font);
}

h3 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.underlined {
    border-bottom: solid var(--accent-color) 1px;
}

a.styleless {
    border-bottom: none;
    color: inherit;
}

a.colorless {
    color: inherit;
}

.uppercase {
    text-transform: uppercase;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    width: 100%;
    height: 0;
    overflow: hidden;
    box-shadow:
        0 16px 48px -8px rgba(0, 0, 0, 0.35),  /* Strong bottom shadow */
        0 4px 24px -4px rgba(0, 0, 0, 0.22);   /* Stronger side shadow */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    border-radius: var(--border-radius);
    background-color: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-sm);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo:hover {
    transform: scale(1.03);
}

.logo img {
    width: 130px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.gradient-section {
    position: relative;
    background: linear-gradient(to bottom, var(--dark-blue), var(--not-black));
}

.content-container {
    position: relative;
    z-index: 2;
    padding: 0 1.25rem;
}

.feed-selector {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
    margin-top: 0;
    margin-bottom: -20px;
    top: -20px;
    position: relative;
    z-index: 3;
    flex-wrap: nowrap;
}

.feed-item {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius);
    overflow: hidden;
    flex: 1;
    max-width: 280px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.feed-item:hover {
    transform: translateY(-26px);
    box-shadow: var(--box-shadow-hover);
}

.feed-item.active {
    border-color: var(--accent-color);
    transform: translateY(-26px);
}

.feed-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 ratio for thumbnail */
    overflow: hidden;
    position: relative;
}

.feed-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%);
}

.feed-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-title {
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--title-font);
    font-weight: 600;
    text-align: center;
    font-size: 16px;
}

.content-section {
    max-width: 900px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    line-height: 1.8;
    color: var(--light-gray);
    font-size: 16px;
    letter-spacing: 0.2px;
    border-left: 3px solid var(--accent-color);
}
.content-section.product-block a {
    color: var(--light-gray);
    border: none;
}
.about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xxl) 0 var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.about-column {
    padding: 0 var(--spacing-sm);
}

.about-column h3 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
    font-size: 16px;
    position: relative;
    padding-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.about-column h3 .tagline {
    color: var(--white);
    font-size: 12px;
    display: block;
}

.about-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.about-column p {
    color: var(--light-gray);
    font-size: 14px;
}

.about-column .brand-logo {
    padding: var(--spacing-xl) var(--spacing-xl);
}

footer {
    position: relative;
    z-index: 2;
    font-size: 14px;
    color: var(--light-gray);
    text-align: center;
    padding-top: var(--spacing-xxl);
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: end;
    background: url(/static/skyline.webp);
    background-position-y: bottom;
    background-position-x: center;
}

footer div {
    padding-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
    .feed-selector {
        gap: 10px;
    }

    .feed-item {
        min-width: 0;
    }

    .footer {
        grid-template-columns: 1fr;
    }

    .content-section {
        font-size: 15px;
    }

    .logo img {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .feed-selector {
        margin-bottom: -10px;
        top: -10px;
    }

    .feed-item {
        min-width: 0;
    }

    .feed-title {
        font-size: 12px;
        padding: var(--spacing-sm) 5px;
    }

    .logo {
        padding: 6px;
    }

    .logo img {
        width: 80px;
    }

    .content-section {
        font-size: 14px;
        padding: var(--spacing-sm);
        margin: var(--spacing-lg) auto;
    }

    .about-column .brand-logo {
        padding: var(--spacing-lg) var(--spacing-lg);
    }

}

@media (max-width: 360px) {
    .feed-selector {
        gap: 5px;
    }

    .feed-title {
        font-size: 10px;
        padding: 5px;
    }

    .logo {
        padding: 4px;
    }

    .logo img {
        width: 60px;
    }
}
