/*
Theme Name: Super Spicy Rebuild
Theme URI: https://superspicyadvertising.com/
Description: Rebuilt spicy theme styling for LFMTE using original theme logic and structure.
Version: 1.0
Author: OpenAI
*/

@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --spice-red: #d8141f;
  --spice-red-dark: #8e0e14;
  --spice-orange: #ff6b00;
  --spice-gold: #ffc928;
  --spice-amber: #ff9c1a;
  --spice-brown: #3d140c;
  --spice-brown-2: #2a0d08;
  --spice-cream: #fff2dc;
  --spice-tan: #f8d8b2;
  --spice-muted: #d0a58d;
  --spice-border: rgba(255, 133, 32, 0.35);
  --spice-shadow: 0 8px 28px rgba(0,0,0,0.28);
  --font-display: 'Fredoka One', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #3b2118;
  background:
    radial-gradient(circle at top center, rgba(255,201,40,0.15), transparent 36%),
    linear-gradient(180deg, #fff6eb 0%, #ffe7cf 28%, #fff2e6 100%);
}

a { color: var(--spice-red); text-decoration: none; }
a:hover { color: var(--spice-orange); text-decoration: none; }

h1,h2,h3,h4,h5,h6,
.lfm_title,
.buttonlink,
.btn,
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link,
.lfm_menu_tab > li > a,
.lfm_footer h4,
.lfm_footer h5 {
  font-family: var(--font-display);
  letter-spacing: .02em;
}

p, li, td, th, label, .lfm_descr, .lfm_descr_bold { font-family: var(--font-body); }

/* HEADER */
#headerwrapper {
  width: 100%;
  margin: 0 auto;
  clear: both;
  background:
    linear-gradient(180deg, #6f0e10 0%, #bf141b 42%, #f34b16 100%);
  border-bottom: 4px solid var(--spice-gold);
  box-shadow: inset 0 -10px 24px rgba(0,0,0,0.18);
}

#header {
  margin: 0 auto;
  background-image: url(/themes/i/header_template.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  background-color: transparent;
}

@media (min-width: 992px) {
  #headerwrapper { height: 250px; }
  #header { width: 1500px; height: 300px; }
}

@media (max-width: 991.98px) {
  #headerwrapper { height: 100px; }
  #header {
    width: 100%;
    height: 100px;
    background-size: cover;
  }
}

/* MAIN MENU BAR */
.lfm_menu_bar {
  padding: 0 0 48px;
  margin-bottom: 22px;
}

.lfm_menu_bar .navbar {
  background: linear-gradient(180deg, #8f120f 0%, #bf1915 50%, #8a0d0d 100%);
  border-top: 2px solid rgba(255,255,255,0.18);
  border-bottom: 4px solid var(--spice-gold);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  padding: 8px 14px;
}

@media (max-width: 991.98px) {
  .lfm_menu_bar {
    padding-bottom: 0;
    margin-bottom: 18px;
  }
}

.lfm_menu_logo {
  max-height: 38px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

@media (min-width: 992px) {
  .lfm_menu_logo { margin-right: 18px; }
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
  font-size: 16px;
  color: var(--spice-cream);
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
  background: linear-gradient(180deg, #ffd25d 0%, #ffae16 100%);
  color: #661406;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
  background: linear-gradient(180deg, #ffca3f 0%, #ff9f0f 100%);
  color: #661406;
}

@media (min-width: 992px) {
  .lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
    margin: 0 4px;
    padding: 7px 16px;
    border: 1px solid transparent;
    border-radius: 7px 7px 0 0;
    position: relative;
  }

  .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link,
  .lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
    border-color: rgba(255,204,88,0.65);
  }

  .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
    content: "";
    background: linear-gradient(180deg, #7b160e 0%, #641008 100%);
    width: calc(100% + 2px);
    height: 12px;
    position: absolute;
    bottom: -10px;
    left: -1px;
    border-top: none;
  }
}

@media (max-width: 991.98px) {
  .lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
    padding: 10px 15px;
    text-align: left;
    position: relative;
  }

  .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link {
    color: var(--spice-cream);
    background-color: rgba(0,0,0,0.18);
  }

  .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:hover {
    color: #fff;
    background-color: rgba(255,255,255,0.08);
  }

  .lfm_menu_bar .navbar-nav > .nav-item > .nav-link:after {
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    color: var(--spice-cream);
    transform: rotate(-90deg);
    position: absolute;
    right: 1.15rem;
    top: 50%;
    margin-top: -2px;
    transition: all 0.1s ease-out;
  }

  .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
    color: #661406;
    transform: rotate(0deg);
  }

  .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:after {
    color: var(--spice-cream);
    transform: rotate(-90deg);
  }
}

/* SECOND LEVEL MENU */
.lfm_menu_tab {
  background: linear-gradient(180deg, #7b160e 0%, #541008 100%);
  position: absolute;
  display: none;
  left: 0;
  top: 100%;
  z-index: 999;
  width: 100%;
  font-weight: 800;
  border: 1px solid #5d140b;
  border-top: 1px solid rgba(255,210,93,0.45);
  border-bottom: 3px solid var(--spice-gold);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

li.lfm_tab_opened .lfm_menu_tab { display: flex; }

@media (max-width: 991.98px) {
  .lfm_menu_tab {
    background: linear-gradient(180deg, #70130c 0%, #541008 100%);
    position: relative;
    flex-direction: column;
    top: 0;
    padding: 5px 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  }

  li.lfm_tab_closed .lfm_menu_tab { display: none; }
}

.lfm_menu_tab > li > a {
  font-size: 15px;
  padding: 0 20px;
  line-height: 46px;
  color: var(--spice-cream);
  text-decoration: none;
  display: block;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.lfm_menu_tab > li > a:hover {
  background: linear-gradient(180deg, rgba(255,201,40,0.18) 0%, rgba(255,156,26,0.12) 100%);
  color: #fff;
}

@media (max-width: 991.98px) {
  .lfm_menu_tab > li > a {
    padding: 0 18px 0 36px;
    line-height: 42px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

/* LEVEL 3 DROPDOWNS */
.lfm_menu_tab .dropdown-menu {
  margin-top: 0;
  background: linear-gradient(180deg, #8e1b11 0%, #651109 100%);
  border: 1px solid rgba(255,190,88,0.4);
  border-top: 3px solid var(--spice-gold);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.28);
  padding: 4px 0;
}

.lfm_menu_tab .dropdown-menu a,
.lfm_menu_tab .dropdown-menu li a {
  color: var(--spice-cream);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  padding: 8px 16px;
  display: block;
  white-space: nowrap;
}

.lfm_menu_tab .dropdown-menu a:hover,
.lfm_menu_tab .dropdown-menu li a:hover,
.lfm_menu_tab .dropdown.open > a.dropdown-toggle {
  background: rgba(255,201,40,0.16);
  color: #fff;
}

/* GENERAL BOOTSTRAP/THEME */
.container {
  position: relative;
  z-index: 1;
}

.card, .list-group-item, .table, .modal-content {
  border-color: var(--spice-border);
}

.btn {
  border-radius: 8px;
  font-size: 15px;
  padding: .45rem .95rem;
}

.btn-primary {
  background: linear-gradient(180deg, #ff7f19 0%, #e44f10 100%);
  border-color: #bf3400;
  color: #fff;
  box-shadow: 0 4px 12px rgba(228,79,16,0.28);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ff962f 0%, #ee5c16 100%);
  border-color: #cf3e07;
}

.btn-success {
  background: linear-gradient(180deg, #58b95f 0%, #2a9e46 100%);
  border-color: #1e7d36;
}

.btn-warning {
  background: linear-gradient(180deg, #ffe17a 0%, #ffb82a 100%);
  border-color: #ea9c00;
  color: #662100;
}

.btn-secondary {
  background: linear-gradient(180deg, #8a2b2b 0%, #6f1717 100%);
  border-color: #5b1010;
  color: #fff6e5;
}

.buttonlink {
  cursor: pointer;
  display: inline-block;
  background: linear-gradient(180deg, #ff7b17 0%, #df4c0f 100%);
  color: #fff;
  border: 1px solid #c0400a;
  border-radius: 7px;
  padding: 8px 16px;
  box-shadow: 0 6px 14px rgba(223,76,15,0.22);
}
.buttonlink:hover {
  color: #fff;
  background: linear-gradient(180deg, #ff952d 0%, #ee5915 100%);
}

.form-control, .custom-select {
  border: 1px solid #e9b595;
  border-radius: 8px;
  min-height: 42px;
}
.form-control:focus, .custom-select:focus {
  border-color: var(--spice-orange);
  box-shadow: 0 0 0 .2rem rgba(255,107,0,.18);
}

.table thead th {
  background: linear-gradient(180deg, #bf1e1e 0%, #8c1414 100%);
  color: #fff5df;
  border-color: #8b1c12;
}
.table td, .table th { vertical-align: middle; }

.alert-primary,
.badge-primary {
  background-color: var(--spice-red);
  color: #fff;
}
.badge-warning {
  background-color: var(--spice-gold);
  color: #612200;
}

.infobar {
  width: 100%;
  padding: 16px 0;
  color: #fff3e0;
  background: linear-gradient(180deg, #7c160d 0%, #611008 100%);
  border-top: 2px solid rgba(255,209,95,0.5);
  border-bottom: 3px solid var(--spice-gold);
}

.lfm_title {
  color: var(--spice-red);
  font-size: 30px;
}

.lfm_descr { color: #533126; }
.lfm_descr_bold { color: #352019; font-weight: 900; }

.profilepic_small,
.profilepic_med,
.profilepic_large {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffb337;
}
.profilepic_small { width: 40px; height: 40px; }
.profilepic_med { width: 75px; height: 75px; }
.profilepic_large { width: 200px; height: 200px; }

/* FOOTER */
.lfm_footer {
  background: linear-gradient(180deg, #7a160d 0%, #430a06 100%);
  color: var(--spice-tan);
  border-top: 4px solid var(--spice-gold);
  box-shadow: inset 0 10px 24px rgba(255,255,255,0.03);
}

.lfm_footer h4,
.lfm_footer h5 {
  color: #fff1d4 !important;
}

.lfm_footer p,
.lfm_footer a,
.lfm_footer .text-white {
  color: #ffdcbc !important;
}

.lfm_footer a:hover {
  color: #fff7d6 !important;
}

/* MISC */
hr { border-color: rgba(191,30,30,0.18); }
.text-primary { color: var(--spice-red) !important; }
.text-success { color: #23934a !important; }
.text-warning { color: #b86f00 !important; }
.text-danger { color: #b51616 !important; }
.text-muted { color: #8f7367 !important; }

.navbar-toggler {
  border-color: rgba(255,255,255,0.28);
  padding: .25rem .55rem;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #d35b1c; border-radius: 10px; }
::-webkit-scrollbar-track { background: #f8e7d7; }
