/* 
 * Video Hero Styles
 * For Bruz Beers video background hero section
 */

/* Import Montserrat (Standard Weights) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Import Barlow Condensed (Condensed Variants) */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&display=swap');

/* Video Hero Container */
.video-hero {
    position: relative;
    overflow: hidden;
    height: 500px; /* Match existing hero height */
    width: 100%;
    background-color: #000; /* Fallback color */
    z-index: 10; /* Add explicit z-index to ensure proper stacking */
}

/* Video Element */
.video-hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

/* Overlay to darken the video slightly */
.video-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust opacity as needed */
    z-index: 1;
}

/* Content Container */
.video-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Text Styling */
.video-hero-content h1 {
    font-family: 'Montserrat', sans-serif; /* Proxima Nova Regular equivalent */
    font-weight: 400;
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
}

.video-hero-content h2 {
    font-family: 'Barlow Condensed', sans-serif; /* Proxima Nova Condensed Bold equivalent */
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 25px;
    color: #d4af37; /* Gold color */
    text-transform: uppercase;
    line-height: 1.2; /* Adjust line height for better spacing with background */
}

.video-hero-content h2 .hero-highlight {
    background-color: rgba(147, 155, 158, 0.5); /* Metallic Silver #939b9e with 50% opacity */
    padding: 10px 15px; /* Increased padding for a more substantial box */
    border-radius: 8px; /* More pronounced rounded corners */
    display: inline-block; /* Changed from inline to inline-block */
}

/* .video-hero-content .btn is now handled by .btn-brand-gold in custom.css */
/* Remove or comment out old .video-hero-content .btn styles if they conflict or are redundant */

.video-hero-content .btn span {
    font-family: 'Montserrat', sans-serif; /* Proxima Nova Semibold equivalent */
    font-weight: 600;
    /* Ensure this doesn't override .btn-brand-gold text color if span is direct child */
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .video-hero {
        height: 400px;
    }
    
    .video-hero-content h1 {
        font-size: 28px;
    }
    
    .video-hero-content h2 {
        font-size: 36px;
    }
}

/* Make sure content remains centered */
.video-hero .container {
    height: 100%;
    position: relative;
    z-index: 2;
}

.video-hero .row {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Animation for text */
.fade-in-up {
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback background when video fails to load */
.video-hero-fallback {
    background-image: url('../images/home-01.jpg');
    background-size: cover;
    background-position: center;
}

/* Add this to fix footer positioning */
.wrapper {
    position: relative;
    z-index: 5; /* Ensure wrapper has a z-index higher than footer */
    background-color: #fff; /* Add background color to prevent transparency */
} 