/* General Reset */
html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
}
/* Ensure all text is white */
h1, h2, h3, h4, h5, h6, p {
    color: white !important; /* Forces white text */
}


body {
    background-color: #00000000 !important;
    font-family: 'Poppins', sans-serif;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Full-Screen Video */
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Enhanced Overlay with Gradient & Blur */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(4px);
}

/* Hero Content Styling */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

/* Hero Title */
.content h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.3);
}

/* Hero Subtitle */
.content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 10px;
    text-shadow: 0 8px 16px rgba(207, 206, 206, 0.4);
}

/* Updated "Get in Touch" Button */
.content .btn {
    margin-top: 20px;
    padding: 14px 36px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px; /* Slightly rounded edges for a sleek look */
    color: white;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8); /* White glowing border */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4); /* Initial glow effect */
    transition: all 0.4s ease-in-out;
}

/* Hover Effect - Glow Intensifies */
.content .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
}

/* Get in Touch Button - Transparent Box with Glow Effect */
.contact-button-container {
    text-align: center;
    margin: 50px 0;
}

.contact-button-container .btn {
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    display: inline-block;
    color: white; /* White text */
    background: transparent; /* Fully transparent inside */
    border: 2px solid white; /* Visible border */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* White glow effect */
}

/* Hover Effect - Brighter Glow */
.contact-button-container .btn:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 1); /* Stronger glow */
    transform: scale(1.05); /* Slight enlargement */
    background: rgba(255, 255, 255, 0.1); /* Slight white overlay */
}


/* PROJECTS SECTION */
.projects-section {
    position: relative;
    background: #080808;
    padding: 60px 0;
    z-index: 2;
}

/* Add Blur and Fade Transition at the Bottom of the Hero Video */
.hero-section::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Adjust overlap */
    left: 0;
    width: 100%;
    height: 30px; /* Controls blur height */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.6) 70%, #080808 100%);
    backdrop-filter: blur(6px); /* Softens the transition */
    z-index: 2;
}

/* Alternating Background Colors */
.alt-bg {
    background: #7b7b74;
    padding: 60px 0;
}

/* Increase Space Between Projects */
.project {
    margin-bottom: 2cm;
}

/* Embedded Video Styling */
.project iframe {
    width: 100%;
    height: 255px; /* Matches other video sizes */
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(207, 206, 206, 0.4);
    transition: transform 0.3s ease-in-out;
    aspect-ratio: 16/9;
}

.project iframe:hover {
    transform: scale(1.05);
}

/* Project Titles */
.project-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
    margin-top: 35px;
    transition: transform 0.3s ease-in-out;
}

/* Ensure the Hestia h3 link matches all other h3 titles */
.project-title a {
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.project-title a:hover {
    transform: scale(1.05);
    color: #085970;
}

.project-title a:not(:hover) {
    transform: scale(1);
}

/* Project Descriptions */
.project-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333333;
}

/* Project Images & Videos */
.project img, .project video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 18px rgba(207, 206, 206, 0.4);
    transition: transform 0.3s ease-in-out;
}

.project img:hover, .project video:hover {
    transform: scale(1.05);
}

/* STICKY NAVBAR */
.navbar {
    background: #000000 !important;
    border-bottom: 2px solid white; /* Changed from cyan to white */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Soft white glow */
}

/* Navbar Alignment Fix */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure the Orijinn logo stays on the left */
.navbar-brand {
    margin-right: auto;
}

/* Ensure Navbar Links Stay on the Right */
.navbar-nav {
    margin-left: auto;
    display: flex;
    gap: 20px;
}

/* Navbar Logo */
.navbar-logo {
    height: 40px;
    width: auto;
}

/* Navbar Links - Default Styling */
.navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    position: relative;
    color: white !important;
}

/* Active Home Link */
.navbar-nav .nav-item .nav-link.active {
    font-weight: 700;
    color: white !important;
}

/* Hover Effect */
.navbar-nav .nav-item .nav-link:hover {
    color: #00d4ff !important;
    font-weight: bold;
}

/* Glowing Cyan Bar Effect */
.navbar::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    height: 10px;
    width: 100%;
    height: 3px; /* Adjust thickness */
    background: linear-gradient(90deg, rgba(0, 212, 255, 0) 0%, rgb(129, 215, 233) 50%, rgba(0, 212, 255, 0) 100%);
    animation: glow-move 2s linear infinite;
    background-size: 200% 50%; /* Makes glow stretch further */
    filter: blur(2px); /* Blows out the glow */
}

/* Animation for the Glowing Effect */
@keyframes glow-move {
    0% {
        background-position: -100%;
    }
    100% {
        background-position: 100%;
    }
}



/* Navbar Fixes for Mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        text-align: right;
    }
    .navbar-nav {
        margin-left: auto;
        text-align: right;
    }
}


/* Hide volume controls ONLY for F1 video */
.f1-video::-webkit-media-controls-volume-slider,
.f1-video::-webkit-media-controls-mute-button {
    display: none !important;
}
