/* ============================================
   Lucky 7 Custom CSS
   Cascade: Lucky 7 > Raffle CSS > Bootstrap 4
   ============================================ */

/* --- Reset --- */
body {
    margin: 0;
    padding: 0;
}

/* --- Color Variables --- */
:root {
    --lucky7-dark: #222;
    --lucky7-green: #88ac0b;
    --lucky7-green-hover: #b6e41c;
    --lucky7-green-dark: #485b06;
    --lucky7-green-border: #95bc0e;
    --lucky7-green-table-header: #88ac0b;
    --lucky7-green-table-row: #D6F2C3;
    --lucky7-green-table-odd: #C8EDAE;
    --lucky7-green-table-hover: #BAE899;
    --lucky7-green-table-border: #B3DE94;
    --lucky7-green-table-bottom: #67BD2A;
    --lucky7-link: #260;
    --lucky7-link-hover: #000;
}

/* --- Header/Navbar --- */
.header-transparent {
    position: absolute !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999 !important;
}

.header-area {
    border-bottom: none;
}

.navbar {
    background-color: var(--lucky7-dark) !important;
    border-bottom: 3px solid var(--lucky7-green);
}

/* --- SlickNav Hamburger Menu --- */
.header-area .slicknav_menu .slicknav_icon-bar {
    background-color: #fff !important;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: #fff !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--lucky7-green-hover) !important;
}

.navbar-text {
    color: #fff !important;
    font-size: 0.9rem;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--lucky7-green) !important;
    border-color: var(--lucky7-green) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--lucky7-green-hover) !important;
    border-color: var(--lucky7-green-hover) !important;
}

/* --- Tables --- */
.table thead th {
    background-color: var(--lucky7-green-table-header) !important;
    color: #fff !important;
    border-bottom: 2px solid var(--lucky7-green-table-bottom) !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--lucky7-green-table-odd) !important;
}

.table-hover tbody tr:hover {
    background-color: var(--lucky7-green-table-hover) !important;
}

/* --- Cards --- */
.card {
    border: 1px solid var(--lucky7-green-table-border);
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-header {
    background-color: var(--lucky7-green) !important;
    color: #fff !important;
    border-color: var(--lucky7-green-border) !important;
}

/* --- Alerts --- */
.alert-success {
    background-color: var(--lucky7-green-table-row);
    border-color: var(--lucky7-green-table-border);
    color: #260;
}

/* --- Footer --- */
footer {
    border-top: 3px solid var(--lucky7-green);
}

/* --- Links --- */
a {
    color: var(--lucky7-link);
}

a:hover {
    color: var(--lucky7-link-hover);
}

/* --- Hero Section --- */
.hero-area,
.slider-area,
.hero-area2,
.slider-height2,
.hero-area3 {
    position: relative;
    top: 0;
    margin: 0;
    min-height: 500px;
    background-image: url(../img/hero/hero1.jpg) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overly,
.hero-overly2 {
    position: relative;
    z-index: 1;
}

.hero-overly::before,
.hero-overly2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 50, 0.35);
    z-index: 0;
}

.hero-cap h2 {
    color: #fff;
    font-size: 55px;
    font-weight: 700;
    text-transform: capitalize;
    padding-top: 65px;
}

@media (max-width: 575px) {
    .hero-area,
    .hero-area2,
    .hero-area3 {
        min-height: 360px;
    }
    .hero-cap h2 {
        font-size: 35px;
        padding-top: 40px;
    }
}

/* --- Print Styles --- */
@media print {
    .navbar,
    .hero-area,
    footer,
    .no-print {
        display: none !important;
    }
    
    .main-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    body {
        background: #fff !important;
        color: #000 !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}

/* --- Mobile Responsive Overrides --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--lucky7-dark);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.25rem;
    }
    
    .hero-area {
        min-height: 300px;
    }
    
    .hero-area h1 {
        font-size: 2rem;
    }
    
    .hero-area p {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-area {
        min-height: 250px;
    }
    
    .hero-area h1 {
        font-size: 1.5rem;
    }
    
    .hero-area p {
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
}

/* ============================================
   Maroon (#430110) to Lucky 7 Green (#88ac0b)
   ============================================ */

/* Primary accent color replacements */
a:hover,
a:focus,
a.active {
    color: #88ac0b !important;
}

/* Buttons - Override raffle's .btn { background: #430110 } for all button types */
.btn {
    background-color: #6c757d !important; /* Bootstrap default gray for base .btn */
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: #88ac0b !important;
    border-color: #88ac0b !important;
}

.btn-success,
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.btn-danger,
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-warning,
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
}

.btn-info,
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.open > .dropdown-toggle.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

/* Buttons with background */
.boxed-btn,
.boxed-btn:hover,
.boxed-btn:focus,
.button,
.button:hover,
.button-contactForm,
.button-contactForm:hover,
.accountbutton a,
.accountbutton a:hover,
.accountbutton a:focus {
    background-color: #88ac0b !important;
    border-color: #88ac0b !important;
    color: #fff !important;
}

/* Navigation active/hover states */
.main-menu ul li a:hover,
.main-menu ul li a:focus,
.nav-pills .nav-link.active,
.nav-pills .nav-link.active:hover,
.nav-pills .nav-link.active:focus,
.submenu li a:hover,
.submenu li a:focus {
    color: #88ac0b !important;
}

/* Dropdown/ submenu backgrounds */
.submenu {
    background-color: #88ac0b !important;
}

/* Borders and accents */
.border-primary,
.border-lucky7 {
    border-color: #88ac0b !important;
}

/* Header border */
.header-area {
    border-bottom: 1px solid #88ac0b !important;
}

/* Dropdown top border */
.submenu::before,
.navbar-nav .dropdown-menu {
    border-top-color: #88ac0b !important;
}

/* Badge and label backgrounds */
.badge-primary,
.badge-primary:hover,
.badge-primary:focus {
    background-color: #88ac0b !important;
}

/* Progress bars and sliders */
.progress-bar,
.slider-track,
.slider-selection {
    background-color: #88ac0b !important;
    background-image: linear-gradient(to bottom, #88ac0b 0%, #88ac0b 100%) !important;
}

/* Tabs and pills */
.nav-tabs .nav-link {
    color: #495057 !important;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:hover,
.nav-tabs .nav-link.active:focus,
.nav-pills .nav-link.active {
    color: #88ac0b !important;
    border-bottom-color: #88ac0b !important;
}

/* Extra small button - square */
.btn-xs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    border-radius: 0.25rem;
}

/* Game cards - no border, equal height */
.game-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.game-card-body {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-card-body h5 {
    color: #222;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #88ac0b;
    margin-bottom: 1rem;
}

/* Monday Night card - centered */
.row .col-12 > .game-card {
    display: block;
    margin: 0 auto;
}

/* Form focus states */
.form-control:focus,
.form-control:focus-visible {
    border-color: #88ac0b !important;
    box-shadow: 0 0 0 0.2rem rgba(136, 172, 11, 0.25) !important;
}

/* Select and dropdown focus */
.nice-select:focus,
.nice-select.open,
.nice-select .option:focus,
.nice-select .option:hover {
    color: #88ac0b !important;
}


/* Footer social hover */
.footer-social a:hover i,
.footer-social a:focus i {
    color: #88ac0b !important;
}

/* Scroll to top button */
#back-top,
#scrollUp {
    background: #88ac0b !important;
}

#back-top a:hover,
#scrollUp a:hover {
    background: #b6e41c !important;
}

/* SlickNav mobile menu */
.mobile_menu .slicknav_menu .slicknav_nav a:hover,
.mobile_menu .slicknav_menu .slicknav_nav a:focus {
    color: #88ac0b !important;
}

/* Table hover/active rows */
.table-hover tbody tr:hover,
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(136, 172, 11, 0.1) !important;
}

/* Alert variants */
.alert-success {
    background-color: #88ac0b !important;
    border-color: #88ac0b !important;
    color: #fff !important;
}

/* Card hover effects */
.card:hover {
    box-shadow: 0 5px 15px rgba(136, 172, 11, 0.3) !important;
}

/* Pagination */
.page-link:hover,
.page-link:focus {
    color: #88ac0b !important;
    background-color: rgba(136, 172, 11, 0.1) !important;
    border-color: #88ac0b !important;
}

.page-item.active .page-link {
    background-color: #88ac0b !important;
    border-color: #88ac0b !important;
}

/* List group active items */
.list-group-item.active {
    background-color: #88ac0b !important;
    border-color: #88ac0b !important;
}

/* Custom input checks and radios */
.custom-control-input:checked ~ .custom-control-label::before,
.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #88ac0b !important;
    border-color: #88ac0b !important;
}

/* Slick carousel dots */
.slick-dots li button:hover,
.slick-dots li button:focus,
.slick-dots li.slick-active button {
    color: #88ac0b !important;
}

/* Owl carousel nav dots */
.owl-dots .owl-dot.active span,
.owl-dots .owl-dot:hover span {
    background: #88ac0b !important;
}

/* Nice select dropdown */
.nice-select .current {
    color: #88ac0b !important;
}

/* Tooltip */
.tooltip-inner {
    background-color: #88ac0b !important;
}

/* Modal close button hover */
.modal-header .close:hover {
    color: #88ac0b !important;
}

/* Dropdown menu item hover */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.active {
    color: #88ac0b !important;
    background-color: rgba(136, 172, 11, 0.1) !important;
}

/* Accordion */
.accordion .card-header a.collapsed:hover,
.accordion .card-header a:hover {
    color: #88ac0b !important;
}

.accordion .card-header a::after {
    color: #88ac0b !important;
}

/* Breadcrumb */
.breadcrumb a:hover {
    color: #88ac0b !important;
}

/* Search form */
.search-form input:focus {
    border-color: #88ac0b !important;
}

/* Testimonial and blog post hover */
.blog_right_sidebar .post_item:hover .post_item_footer h4 a {
    color: #88ac0b !important;
}

/* Contact form button */
.contact-form .form-group button:hover,
.contact-form .form-group button:focus {
    background-color: #88ac0b !important;
}

/* Pricing table featured */
.pricing-table .featured {
    background-color: #88ac0b !important;
}

/* Counter and stats */
.counter-style-1 .count-title {
    color: #88ac0b !important;
}

/* Section title underlines */
.section-titile-bg {
    background: #88ac0b !important;
}

/* Preloader */
.preloader-circle {
    border-top-color: #88ac0b !important;
}

.preloader-img .pere-text {
    color: #88ac0b !important;
}

/* Image hover overlays */
.img-hover-overlay::before {
    background: rgba(136, 172, 11, 0.8) !important;
}

/* Pricing plan highlight */
.pricing-plan .plan-title {
    background-color: #88ac0b !important;
}

/* Service box hover */
.service-box:hover {
    border-bottom-color: #88ac0b !important;
}

/* Team member social hover */
.team-member .social li a:hover {
    background-color: #88ac0b !important;
}

/* Footer bottom border */
.footer-bottom {
    border-bottom: 1px solid rgba(136, 172, 11, 0.2) !important;
}

/* Newsletter form button */
.newsletter-form button:hover,
.newsletter-form button:focus {
    background-color: #88ac0b !important;
}

/* Scroll to top visibility */
#back-top a i {
    color: #fff !important;
}

/* General text accent */
.text-lucky7 {
    color: #88ac0b !important;
}

/* Gradient backgrounds using maroon */
.bg-gradient-lucky7 {
    background: linear-gradient(131deg, #88ac0b 0%, #88ac0b 99%) !important;
}

/* Any remaining maroon backgrounds */
.bg-maroon {
    background-color: #88ac0b !important;
}

/* Any remaining maroon borders */
.border-maroon {
    border-color: #88ac0b !important;
}

/* Any remaining maroon text */
.text-maroon {
    color: #88ac0b !important;
}

/* Small input for total points */
.input-tight {
    width: 70px !important;
}

@media (max-width: 576px) {
    .input-tight {
        width: 60px !important;
    }
}


}
