/* Overwatch Grid Systems - Design Rules Implementation */

:root {
    --graphite: #1D1D1D;
    --black: #000000;
    --blue-grey: #485053;
    --light-gray: #E5E5E5;
    --red-grey: #551e1e;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--graphite);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--graphite);
}

p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--graphite);
}

/* Navigation */
.navbar {
    background-color: transparent !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.1) !important;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(15px);
}

.navbar-brand-container {
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 120px;
    width: auto;
    /* Remove the white filter to show original colors */
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.brand-text {
    display: block;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--white) !important;
    margin: 0 0.5rem;
    padding: 0.8rem 1.2rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.8px;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border: 2px solid var(--white);
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: var(--white);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* Full Screen Hero Section */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(29, 29, 29, 0.7) 0%,
        rgba(72, 80, 83, 0.6) 50%,
        rgba(85, 30, 30, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: 3px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: var(--light-gray);
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    background: linear-gradient(135deg, var(--red-grey) 0%, #7a2a2a 100%);
    border: 2px solid var(--white);
    padding: 18px 45px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.btn-hero:hover {
    background: linear-gradient(135deg, #7a2a2a 0%, var(--red-grey) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: var(--white);
}

.btn-outline-primary.btn-hero {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-primary.btn-hero:hover {
    background: var(--white);
    color: var(--graphite);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(45deg);
    animation: fadeInUp 1s ease-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) rotate(45deg);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) rotate(45deg);
    }
}

/* Video Hero Section */
.video-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(29, 29, 29, 0.8) 0%,
        rgba(72, 80, 83, 0.7) 50%,
        rgba(85, 30, 30, 0.6) 100%
    );
    z-index: 2;
}

.video-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
}

.video-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: 3px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: var(--light-gray);
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.video-hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-video-hero {
    background: linear-gradient(135deg, var(--red-grey) 0%, #7a2a2a 100%);
    border: 2px solid var(--white);
    padding: 18px 45px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.btn-video-hero:hover {
    background: linear-gradient(135deg, #7a2a2a 0%, var(--red-grey) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: var(--white);
}

.btn-outline-primary.btn-video-hero {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-primary.btn-video-hero:hover {
    background: var(--white);
    color: var(--graphite);
}

/* Legacy Hero Section (for other pages) */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: var(--graphite);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(72, 80, 83, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(72, 80, 83, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--graphite);
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--blue-grey);
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero .btn {
    background: linear-gradient(135deg, var(--blue-grey) 0%, #6b7a82 100%);
    border: none;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 80, 83, 0.3);
}

.hero .btn:hover {
    background: linear-gradient(135deg, #6b7a82 0%, var(--blue-grey) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(72, 80, 83, 0.4);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--graphite);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--blue-grey);
    text-align: center;
    margin-bottom: 4rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--graphite);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--red-grey);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--graphite);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--red-grey);
    color: var(--red-grey);
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--red-grey);
    border-color: var(--red-grey);
    transform: translateY(-2px);
}

/* Features */
.feature-icon {
    font-size: 3rem;
    color: var(--red-grey);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--graphite);
    margin-bottom: 1rem;
}

/* Team */
.team-member {
    text-align: center;
    margin-bottom: 3rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--light-gray);
}

.team-member h4 {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--graphite);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--blue-grey);
    font-style: italic;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--light-gray);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer a {
    color: var(--light-gray);
    text-decoration: none;
}

.footer a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .video-hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        flex-direction: row;
    }
    
    .brand-text {
        font-size: 1.4rem;
    }
    
    .navbar-brand img {
        height: 80px;
    }
    
    .navbar-center {
        position: static;
        transform: none;
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .video-hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-hero {
        padding: 15px 35px;
        font-size: 1rem;
    }
    
    .btn-video-hero {
        padding: 15px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .video-hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .video-hero-subtitle {
        font-size: 1.3rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        height: 60px;
    }
    
    .navbar-center {
        position: static;
        transform: none;
        margin: 0 auto;
    }
}

/* Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure hero section is always visible */
.hero {
    opacity: 1 !important;
    transform: none !important;
}

/* Background Patterns */
.bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(85, 30, 30, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(29, 29, 29, 0.1) 0%, transparent 50%);
}

/* Grid System */
.grid-system {
    background: linear-gradient(45deg, var(--light-gray) 25%, transparent 25%), 
                linear-gradient(-45deg, var(--light-gray) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, var(--light-gray) 75%), 
                linear-gradient(-45deg, transparent 75%, var(--light-gray) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
} 