body {
    font-family: Arial, sans-serif;
    background: linear-gradient(rgb(255 255 255), rgb(255 255 255 / 86%)), url(asset/img/gunpowder.png) no-repeat center center;
    background-size: cover;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-collapse {
    transition: transform 0.3s ease-in-out;
}

.navbar-collapse.collapsing {
    transform: translateX(100%);
}

.navbar-collapse.show {
    transform: translateX(0);
}

.table {
    font-size: 1.2rem;
}

.table img {
    width: 100px;
    height: auto;
}

.table tbody tr:nth-child(odd) {
    background-color: #f3f3f3;
}

.table tbody tr:nth-child(even) {
    background-color: #e9e9e9;
}

/* video bg */

.video-background {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

.video-overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
}

.video-overlay .container {
    text-align: left;
}

.video-overlay .container span.accent {
    color: #EDA818;
    text-transform: uppercase;
    font-weight: 700;
}

.video-overlay h1 {
    font-size: 5rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
}

.video-overlay h1.small-h1 {
    font-size: 3rem;
}

.video-overlay p {
    font-size: 1.5rem;
    margin: 0.5rem 0 0;
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: #ffffffed;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: #d3d3d3 2px solid;
}

.navbar-logo img {
    height: 77px;
    transition: opacity 0.3s ease;
}

.logo-white {
    display: block;
}

.logo-black {
    display: none;
}

.navbar.scrolled .logo-white {
    display: none;
}

.navbar.scrolled .logo-black {
    display: block;
}

.navbar-info {
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .navbar-info {
    color: black;
}

.contact-info span {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.5rem;
}

.nav-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-options li {
    display: inline-block;
    margin-left: 1rem;
    position: relative;
}

/* Add vertical separator except for the first item */
.nav-options li:not(:first-child)::before {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #EDA818;
    margin-right: 1rem;
    vertical-align: middle;
    position: relative;
    top: -3px;
}

.nav-options a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 53px;
    height: 31px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none !important;
}

.navbar-toggler .line {
    height: 3px;
    width: 100%;
    background: white;
    transition: all 0.3s ease;
}

/* Change hamburger menu color to black when navbar is scrolled */
.navbar.scrolled .navbar-toggler .line {
    background: black;
}

.navbar-toggler.active .line {
    background: black;
}

.navbar-toggler.active .top {
    transform: rotate(45deg) translate(9px, 5px);
}

.navbar-toggler.active .middle {
    opacity: 0;
}

.navbar-toggler.active .bottom {
    transform: rotate(-45deg) translate(9px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 75%;
    text-align: left;
}

.mobile-menu li {
    margin: 1rem 0;
}

.mobile-menu a {
    text-decoration: none;
    color: #eda818;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 800;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Sequential slide up animation for mobile menu links */
@keyframes mobileMenuSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* make the optiosn invisible */
.mobile-menu a {
    opacity: 0;
    pointer-events: none;
}

/* When menu is active, animate each link sequentially */
.mobile-menu.active a {
    /* Remove default transition, handled by animation */
    transition: none;
}

.mobile-menu.active a.animated {
    opacity: 1;
    transform: translateY(0);
    animation: mobileMenuSlideUp 0.35s forwards;
    pointer-events: auto; /* Enable interaction when visible */
}

/* Staggered delays for each menu item */
.mobile-menu.active li:nth-child(1) a.animated { animation-delay: 0.08s; }
.mobile-menu.active li:nth-child(2) a.animated { animation-delay: 0.18s; }
.mobile-menu.active li:nth-child(3) a.animated { animation-delay: 0.28s; }
.mobile-menu.active li:nth-child(4) a.animated { animation-delay: 0.38s; }
.mobile-menu.active li:nth-child(5) a.animated { animation-delay: 0.48s; }
.mobile-menu.active li:nth-child(6) a.animated { animation-delay: 0.58s; }

.mobile-menu.active {
    right: 0;
}

/* loading screen */
/* Loading screen */
/* Loading screen styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading-logo {
    opacity: 0;
    animation: fadeIn 2s forwards;
    width: 150px;
}
#loading-text {
    display: flex;
    gap: 2px;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInText 1s 1s forwards;
    color: #ef4139;
    justify-content: center;
}

.space-span {
    width: 10px;
}

#loading-text span {
    color: #ef4139;
    font-size: 3rem;
    line-height: 1; /* Adjust the line height as needed */
    letter-spacing: -0.3rem; /* Adjust the letter spacing as needed */
    opacity: 0;
    transform: translateY(20px);
    animation: riseUp 0.3s forwards;
}

#loading-text span:nth-child(1) { animation-delay: 1.1s; }
#loading-text span:nth-child(2) { animation-delay: 1.2s; }
#loading-text span:nth-child(3) { animation-delay: 1.3s; }
#loading-text span:nth-child(4) { animation-delay: 1.4s; }
#loading-text span:nth-child(5) { animation-delay: 1.5s; }
#loading-text span:nth-child(6) { animation-delay: 1.6s; }
#loading-text span:nth-child(7) { animation-delay: 1.7s; }
#loading-text span:nth-child(8) { animation-delay: 1.8s; }
#loading-text span:nth-child(9) { animation-delay: 1.9s; }
#loading-text span:nth-child(10) { animation-delay: 2s; }
#loading-text span:nth-child(11) { animation-delay: 2.1s; }
#loading-text span:nth-child(12) { animation-delay: 2.2s; }
#loading-text span:nth-child(13) { animation-delay: 2.3s; }

#loading-screen {
    animation: curtainUp 3s 2.8s forwards; /* Adjust the delay for curtainUp */
    display:flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(255, 255, 255);
}


.loading-gif {
    width: 500px;
    height: auto;
}

#loading-subtext {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.4s 2s forwards; /* Adjust the delay for the subtext */
    color: #BBBAB8;
    font-size: 1rem;
    text-align: center;
    margin-top: 0px;
    margin-left:7px;
    letter-spacing: 0.23rem;
    top: -20px;
    position: relative;

}

/* table design */

.table-responsive {
    border-radius: 15px;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

@keyframes riseUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes curtain {
    to {
        opacity: 1;
    }
}

@keyframes curtainUp {
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes newFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

@keyframes riseUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes curtain {
    to {
        opacity: 1;
    }
}

@keyframes curtainUp {
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeftToRight {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-letter {
    opacity: 0;
    display: inline-block;
    letter-spacing: -0.17em;
}

#brass-for,
#shooters,
#reclaimed,
#sub-p {
    opacity: 0;
}

/* Divider styles */
#hero-divider {
    width: 0;
    height: 3px;
    background: #EDA818;
    border: none;
    margin: 1.5rem 0 1.5rem 0;
    opacity: 1;
    transition: none;
    /* Hide by default, reveal with animation */
}

.reveal-divider {
    animation: slideLeftToRight 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes slideLeftToRight {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 320px;
        opacity: 1;
    }
}


/* shop now button */
.shop-now-btn {
    border-radius: 0;
    background: transparent;
    border: 4px solid #EDA818; /* Example accent color, adjust as needed */
    color: #EDA818;
    padding: 0.75rem 2.5rem;
    font-weight: 900;
    transition: background 0.2s, color 0.2s, width 0.2s;
    width: auto;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
}
.shop-now-btn:hover, .shop-now-btn:focus {
    background: #EDA818;
    color: #fff;
    text-decoration: none;
}

.shop-now {
    opacity: 0;
    transform: translateY(20px);
}

/* shop intro */
.shop-intro .display-4{
    color: #EDA818;
    text-transform: uppercase;
    font-weight: 700;
}

.lead {
    font-size: 1rem;
}


/* order request form */
.order-request-header {
    color: #EDA818;
    text-transform: uppercase;
    font-weight: 700;
}

form hr {
    border: none;
    height: 3px;
    background-color: #876c34;
    margin: 1.5rem 0;
}

.mt-4 {
    margin-top: 3.5rem!important;
}

.search-bar-div {
    margin-top: 1rem !important;
}



/* footer */
footer .fw-bold {
    font-weight: 700!important;
    color: #eda818;
}


/* according FAQ page */
.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: #d9c7a6;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

/* Responsive styles */
@media (max-width: 768px) {

    .navbar-logo img {
        height: 55px;
        transition: opacity 0.3s ease;
    }

    thead {
        display: none;
    }
    
    .table tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border: white 5px;
    }

    .table tbody tr td:first-child {
        flex: 0 0 auto;
        width: 40%;
    }

    .table img {
        width: 100%;
        height: auto;
    }

    .table tbody tr td:not(:first-child) {
        flex: 1 1 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 0.5rem;
    }

    .table tbody tr td:nth-child(2) {
        order: 1;
        flex: 1 1 100%;
    }

    .table tbody tr td:nth-child(3){
        margin-left: 0.5rem;
    }

    .table tbody tr td:nth-child(3),
    .table tbody tr td:nth-child(4),
    .table tbody tr td:nth-child(5),
    .table tbody tr td:nth-child(6) {
        order: 2;
        flex: 1 1 calc(25% - 1rem);
        margin-right: 0.5rem;
        border: none;
        padding-top: 30px !important;
        background-color: #eda8182b;
        border-radius: 5px;
        margin-left: 0.5rem;

    }

    .table tbody tr td:nth-child(7) {
        order: 3;
        flex: 1 1 100%;
    }

    .table tbody tr td:nth-child(8) {
        order: 4;
        flex: 1 1 100%;
        text-align: center;
    }

    table button {
        width: 100%;
    }

    .navbar-info {
        display: none;
    }

    .navbar-toggler {
        display: flex;
    }

    .video-overlay p {
        font-size: 1.25rem;
        margin: 0.5rem 0 0;
    }

    .video-overlay p.sub-p {
        font-size: 1rem;
        margin: 0.5rem 0 0;
        width: 90%;
    }

    .video-overlay h1 {
        font-size: 3rem;
    }
    .video-overlay h1.small-h1 {
        font-size: 2rem;
    }

    .table tbody tr td {
        position: relative;
    }

    .table tbody tr td[data-label^="Price/"]::before {
        content: attr(data-label);
        position: absolute;
        left: 8px;
        top: 28%;
        transform: translateY(-50%);
        font-weight: bold;
        color: #333;
        font-size: 0.95em;
        white-space: nowrap;
        width: 110px;
        text-align: left;
        padding-right: 10px;
    }

    /* Only show for price columns */
    .table tbody tr td:not([data-label^="Price/"])::before {
        content: none;
    }

    .table {
        font-size: 1rem;
    }


    /* shop now  button*/
    .shop-now-btn {
        width: 100%;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    form button.submit-btn {
        width: 100%;
    }
}

