/* Viking Gear Custom Styles */

:root {
    --primary: #e5b869; /* Gold/Yellow accent */
    --primary-hover: #c99d50;
    --dark-bg: #1a1a1a;
    --darker-bg: #111111;
    --card-bg: #222222;
    --tan-bg: #e1cdac;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
}

html, body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
}

.font-oswald {
    font-family: 'Oswald', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-dark-light { background-color: var(--card-bg) !important; }
.bg-tan { background-color: var(--tan-bg) !important; color: #1a1a1a !important; }
.text-tan { color: var(--tan-bg) !important; }
.hover-primary:hover { color: var(--primary) !important; }
.text-muted, p.text-muted, div.text-muted, span.text-muted, small.text-muted { color: rgba(255, 255, 255, 0.7) !important; }
.breadcrumb-item.text-muted, .breadcrumb-item.active { color: rgba(255, 255, 255, 0.7) !important; }

/* Form Controls & Placeholders */
.form-label, label {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
}
.form-control, .form-select {
    color: #ffffff !important;
}
.form-control::placeholder,
textarea::placeholder,
input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    opacity: 1 !important;
}

.fs-7 { font-size: 0.85rem; }

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #1a1a1a;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: 2px;
    padding: 10px 24px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #1a1a1a;
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 2px;
    padding: 8px 20px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #1a1a1a;
}
.btn-outline-secondary {
    color: var(--text-main);
    border-color: rgba(255,255,255,0.2);
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 8px 20px;
}
.btn-outline-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-main);
}

/* Navbar */
.topbar { background-color: #000000; }
.main-navbar { background-color: #1a1a1a !important; }
.custom-nav .nav-link {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
    padding: 8px 12px !important;
    transition: 0.3s;
}
.custom-nav .nav-link:hover { color: var(--primary); }

/* Hero Section */
.hero-section {
    position: relative;
    background-color: #1a1a1a;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.4) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 50px;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    min-height: 220px;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}
.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hero-title-main {
    font-size: 4.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0;
}
.hero-title-sub {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}
.hero-tagline {
    font-family: 'Oswald', sans-serif;
    color: var(--text-main);
    font-size: 1.5rem;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}
.hero-tagline::before, .hero-tagline::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 1px;
    background-color: var(--primary);
    margin: 0 15px;
}

/* Hero Features */
.hero-features {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(26,26,26,0.6);
    backdrop-filter: blur(5px);
    margin-top: auto;
}
.hero-feature-item {
    text-align: center;
    padding: 20px 10px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-feature-item:last-child { border-right: none; }
.hero-feature-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
}
.hero-feature-text {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Category Strip */
.category-strip { background-color: var(--tan-bg); }
.cat-item {
    text-align: center;
    padding: 25px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    background: transparent;
    border-radius: 4px;
}
.cat-item:hover { background-color: rgba(0,0,0,0.05); }
.cat-icon { font-size: 2.5rem; margin-bottom: 15px; color: #1a1a1a; }
.cat-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Sections Common */
.section-title-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.section-title {
    font-size: 2rem;
    margin: 0;
    white-space: nowrap;
}
.section-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    margin-left: 20px;
}

/* Product Card */
.product-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 4px;
    height: 100%;
    position: relative;
    transition: 0.3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
}
.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    background-color: #fff;
    border-radius: 4px;
}
.product-title {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 40px;
}
.product-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

@media (min-width: 992px) {
    .col-lg-5th {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Features Banner Strip */
.features-banner {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background-color: var(--dark-bg);
}
.fb-item { display: flex; align-items: center; justify-content: center; padding: 25px 0; }
.fb-icon { font-size: 2rem; color: var(--primary); margin-right: 15px; }
.fb-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* Rent Gear Section */
.rent-section {
    background: url('../images/rent_bg_1787116363604.jpg') no-repeat center center/cover;
    position: relative;
    padding: 100px 0;
}
.rent-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.7) 50%, rgba(26,26,26,0.4) 100%);
}
.rent-content { position: relative; z-index: 2; }
.rent-features li {
    margin-bottom: 12px;
    font-size: 1rem;
}
.rent-features i { color: var(--primary); margin-right: 10px; }
.rental-packages-box {
    background: rgba(26,26,26,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 4px;
}
.rental-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}
.rental-item:last-child { border-bottom: none; }
.rental-name { font-size: 0.95rem; }
.rental-sub { font-size: 0.8rem; color: var(--text-muted); }
.rental-price { color: var(--primary); font-weight: 600; font-size: 0.95rem; }

/* Locations & Gallery */
.split-section { background-color: var(--tan-bg); color: #1a1a1a; padding: 60px 0; }
.split-title { font-size: 1.8rem; text-align: center; margin-bottom: 10px; color: #1a1a1a; }
.split-subtitle { text-align: center; margin-bottom: 30px; font-size: 0.9rem; color: #444; }
.img-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 25px; }
.img-grid-3 img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; }

/* Blog */
.blog-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
}
.blog-img-wrap { position: relative; }
.blog-img { width: 100%; height: 200px; object-fit: cover; }
.blog-cat {
    position: absolute;
    bottom: 10px;
    left: 15px;
    background: var(--primary);
    color: #1a1a1a;
    font-size: 0.7rem;
    padding: 3px 8px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
}
.blog-content { padding: 20px 15px; }
.blog-title { font-size: 1.05rem; line-height: 1.4; margin-bottom: 15px; font-family: 'Inter', sans-serif; font-weight: 500;}
.blog-date { color: var(--text-muted); font-size: 0.85rem; }

/* Why Choose */
.why-choose {
    background: linear-gradient(rgba(26,26,26,0.85), rgba(26,26,26,0.85)), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1920&h=600&fit=crop') no-repeat center bottom/cover;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--primary);
}
.why-icon { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.why-title { font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 0.5px; }
.why-desc { font-size: 0.9rem; color: var(--text-muted); }

/* Footer */
.footer { background-color: var(--darker-bg); }
.footer .text-muted { color: #999 !important; }
.footer .footer-links a.text-muted { color: #999 !important; }
.footer .footer-links a:hover { color: var(--primary) !important; }
.social-icon { transition: all 0.3s; }
.social-icon:hover { background-color: var(--primary) !important; color: #1a1a1a !important; }

/* Carousel Controls */
.carousel-control-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; transform: translateY(-50%);
    cursor: pointer; transition: 0.3s; z-index: 10;
}
.carousel-control-btn:hover { background-color: var(--primary); color: #000; border-color: var(--primary); }
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }

/* Pagination dots */
.custom-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background-color: rgba(255,255,255,0.2); cursor: pointer; }
.dot.active { background-color: var(--primary); }

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.reveal-up {
    transform: translateY(40px);
}
.reveal.reveal-left {
    transform: translateX(-40px);
}
.reveal.reveal-right {
    transform: translateX(40px);
}
.reveal.reveal-scale {
    transform: scale(0.9);
}
.reveal.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ========================================
   NAVBAR SCROLL EFFECT
   ======================================== */
.main-navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.main-navbar.navbar-scrolled {
    background-color: rgba(10, 10, 10, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* ========================================
   MOBILE BOTTOM NAVIGATION BAR
   ======================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #0d0d0d;
    border-top: 1px solid rgba(229, 184, 105, 0.2);
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}
.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 0.65rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    transition: color 0.3s;
    position: relative;
}
.mobile-bottom-nav a i {
    font-size: 1.2rem;
    margin-bottom: 3px;
    transition: transform 0.3s;
}
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
    color: var(--primary);
}
.mobile-bottom-nav a.active i {
    transform: scale(1.15);
}
.mobile-bottom-nav a.active::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 0 0 3px 3px;
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: block;
    }
    /* Add padding at bottom of body so content isn't hidden behind bottom nav */
    body {
        padding-bottom: 70px;
    }
    /* Hide desktop topbar on mobile */
    .topbar { display: none !important; }
}

@media (max-width: 767.98px) {
    .hero-title-main, .hero-title-sub {
        font-size: 2.5rem;
    }
    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .split-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .product-card {
        padding: 12px;
    }
    .product-img {
        height: 140px;
        margin-bottom: 10px;
    }
    .product-title {
        font-size: 0.85rem;
        min-height: 36px;
        margin-bottom: 8px;
    }
    .product-price {
        font-size: 0.95rem;
    }
}

/* ========================================
   PRELOADER WITH PULSE ANIMATION
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0d0d0d;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-logo {
    height: 120px;
    max-height: 120px;
    width: auto;
    max-width: 85vw;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(229, 184, 105, 0.6));
}
.pulse-animation {
    animation: vikingPulse 1.6s infinite ease-in-out;
}
@keyframes vikingPulse {
    0% {
        transform: scale(0.92);
        opacity: 0.75;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
        filter: drop-shadow(0 0 30px rgba(229, 184, 105, 0.95));
    }
    100% {
        transform: scale(0.92);
        opacity: 0.75;
    }
}
.preloader-spinner {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e5b869, transparent);
    margin: 25px auto 0;
    border-radius: 3px;
    animation: preloaderLine 1.2s infinite ease-in-out;
}
@keyframes preloaderLine {
    0% { transform: scaleX(0.2); opacity: 0.3; }
    50% { transform: scaleX(1.2); opacity: 1; }
    100% { transform: scaleX(0.2); opacity: 0.3; }
}

/* Mobile Responsive Adjustments for Logo */
@media (max-width: 767.98px) {
    .main-logo {
        height: 75px !important;
        max-height: 75px !important;
    }
    .preloader-logo {
        height: 90px;
        max-height: 90px;
    }
    .preloader-spinner {
        width: 60px;
        margin-top: 15px;
    }
}

@media (max-width: 575.98px) {
    .main-logo {
        height: 60px !important;
        max-height: 60px !important;
    }
    .preloader-logo {
        height: 75px;
        max-height: 75px;
    }
}

