@font-face {
    font-family: 'UPRO';
    src: url('UPROFont.ttf');
}

/* Base */
body {
    font-family: 'UPRO', cursive;
    background-color: black;
    margin: 0;
    padding: 0;
    color: white;
}

/* Hero / top-half background image (blurred + dimmed) */
.hero {
    position: relative;
    height: 50vh; /* top half of viewport */
    min-height: 320px;
    display: flex;
    flex-direction: column; /* stack nav above hero content */
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(BG.png); /* replace with your image path */
    background-size: cover;
    background-position: center center;
    transform: scale(1.05);
    filter: blur(5px) brightness(0.75) saturate(0.9);
    will-change: transform, filter;
    z-index: 0;
}

/* subtle dark overlay to ensure text contrast */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 2; /* above background */
    padding: 10px 20px;
}

/* Hero navigation (centered above the hero content) */
.hero .nav {
    position: relative;
    z-index: 3; /* above background & overlay */
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.35);
    border-radius: 40px;
    backdrop-filter: blur(4px) saturate(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 0 10px rgba(255,0,0,0.04) inset;
    transform: translateY(-15px);
    font-size: 23px;
}

.hero .nav a {
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 28px;
    font-weight: 600;
    letter-spacing: 0.6px;
    transition: all 0.18s ease;
    border: 1px solid rgba(255,255,255,0.06);
    background: transparent;
}

.hero .nav a:hover,
.hero .nav a:focus {
    background: rgba(255,0,0,0.95);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,0,0,0.12);
}

@media (max-width: 700px) {
    .hero { height: 42vh; }
    .hero .nav { gap: 8px; padding: 6px; }
    .hero .nav a { padding: 8px 10px; font-size: 14px; }
}

@media (max-width: 800px) {
    .hero { height: 45vh; }
    h1 { font-size: 120px; }
}

h1 {
    color: white;
    text-align: center;
    margin: auto;
    font-size: 200px;
}

h2{
    color: white;
    text-align: center;
    margin: auto;
    margin-top: 20px;
    font-size: 110px;
}

p {
    color: white;
    text-align: center;
    margin: auto;
    font-size: 65px;
}

.red-text {
    color: red;
    text-shadow: 0 0 10px red, 0 0 20px red, 0 0 25px red;
}

video{
    display: block;
    margin: 5px auto;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
}

.subtitle {
    font-size: 40px;
    text-align: center;
    margin: 20px 0;
}
.side-box {
    width: 25%;
    background-color: #111;
    color: white;
    padding: 20px;
    border: 2px solid red;
    border-radius: 10px;
    font-size: 20px;
    box-shadow: 0 0 15px red;
}

.main-content {
    width: 100%;
    text-align: center;
}

footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px red;
}
.footer-content {
    font-size: 30px;
}

/* Description section styles */
.description {
    max-width: 1000px;
    margin: 30px auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,0,0,0.02));
    border: 2px solid rgba(255,0,0,0.2);
    padding: 20px 30px;
    border-radius: 12px;
    color: white;
    text-align: center;
    box-shadow: 0 0 20px rgba(255,0,0,0.05);
}

.description h2 {
    font-size: 80px;
    margin: 0 0 10px 0;
}

.lead {
    font-size: 44px;
    margin: 10px 0 20px 0;
}

.description p {
    font-size: 36px;
    margin: 8px 0;
}

.cta-button {
    font-family: UPRO;
    display: inline-block;
    margin: 10px 8px;
    padding: 12px 22px;
    background: red;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 0 10px red;
    font-size: 30px;
    border: none;
}

.cta-button:hover {
    background: darkred;
    box-shadow: 0 0 15px red;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid red;
}

@media (max-width: 800px) {
    .description h2 { font-size: 48px; }
    .lead { font-size: 28px; }
    .description p { font-size: 20px; }
    .cta-button { font-size: 18px; padding: 10px 14px; }
}

/* index.html (team page) overrides to preserve layout but match UPRO theme */
.index-page body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.index-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.index-page header {
    background: linear-gradient(135deg, rgba(120,0,0,0.9) 0%, rgba(80,0,0,0.9) 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(255,0,0,0.08) inset;
}

/* Ensure header's container stacks h1 above subtitle on the index page */
.index-page header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.index-page .site-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.index-page .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 260px);
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.index-page .team-member {
    background: #0b0b0b;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,0,0,0.08);
    max-width: 260px;
}

.index-page .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255,0,0,0.12);
}

.index-page .member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: radial-gradient(circle at 30% 30%, #ff4d4d, #8b0000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.index-page .member-name {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.index-page .member-role {
    color: #ff6b6b;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.index-page .member-bio {
    color: #ccc;
    line-height: 0.5;
    font-size: 25px;
}

.index-page .contact-section {
    background: #0b0b0b;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255,0,0,0.06);
    margin-top: auto; /* push to bottom of main */
}

.index-page .contact-section {
    padding: 0%;
}

.index-page .contact-section p {
    color: #ccc;
    font-size: 30px;
    margin-bottom: 30px;
}

.index-page .contact-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2rem;
}

.index-page .contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.index-page .contact-item {
    flex: 1;
    min-width: 200px;
}

.index-page .contact-item strong { color: #ff6b6b; }

@media (max-width: 1200px) {
    .index-page .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .index-page .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .index-page .team-grid { grid-template-columns: 1fr; }
    .index-page header { padding: 40px 0; }
    .index-page h1 { font-size: 2rem; }
    .index-page .contact-info { flex-direction: column; }
}
