﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
    background: linear-gradient(to bottom, #f9f2ff, #ead6ff);
    /* Soft lavender gradient like logo */
    background-attachment: fixed;
    color: #2E2C33;
    /* Dark text */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Custom Navbar styling based on logo */
.navbar-inverse {
    background-color: #1a0b2e !important;
    /* Deep indigo/purple */
    border-color: #110622 !important;
}

.navbar-inverse .navbar-brand {
    color: #d4af37 !important;
    /* Gold text */
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar-inverse .navbar-brand:hover {
    color: #f9e076 !important;
}

.navbar-inverse .navbar-nav>li>a {
    color: #e0ccff !important;
    /* Light purple */
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: #d4af37 !important;
    /* Gold on hover */
}

.navbar-inverse .navbar-toggle {
    border-color: #d4af37;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #2B1B4D;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #d4af37;
}

/* Footers */
footer {
    color: #1a0b2e;
    font-weight: bold;
}

/* Badges */
.badge {
    background-color: #d4af37 !important;
    color: #1a0b2e !important;
}

/* Buttons overriding default bootstrap if needed */
.btn-primary {
    background-color: #1a0b2e !important;
    border-color: #110622 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #2B1B4D !important;
    border-color: #1a0b2e !important;
    color: #d4af37 !important;
    /* text gold on hover */
}

/* Panels/Cards matching the theme */
.panel-default>.panel-heading {
    background-color: #2B1B4D !important;
    color: #d4af37 !important;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Allow form inputs to be fully responsive using grid column sizes */
input,
select,
textarea {
    max-width: 100%;
}


/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }

}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1a0b2e;
    color: #d4af37 !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    /* Visible by default */
}

.floating-cart:hover {
    transform: scale(1.1);
    background-color: #2B1B4D;
    text-decoration: none;
}

.floating-cart .badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #d4af37 !important;
    color: #1a0b2e !important;
    border: 2px solid #1a0b2e;
    font-size: 10px;
    padding: 3px 6px;
}

@media screen and (max-width: 767px) {
    .floating-cart {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
        display: flex !important;
    }
}