/* Lutron Security LTD - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #B8960C;
  --gold-light: #D4A017;
  --dark: #1a1a1a;
  --dark-bg: #2a2a2a;
  --mid: #444;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --text: #333333;
  --border: #ddd;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--light-bg);
}

body.dark { background: #e8e8e8; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== WRAPPER ===== */
.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
  background: var(--white);
}

/* ===== HEADER ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 2px solid var(--gold);
  flex-wrap: wrap;
  gap: 10px;
}

header .logo {
  max-width: 260px;
  height: auto;
}

header .numbers {
  text-align: right;
  background: #3a2e00;
  color: var(--white);
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  min-width: 220px;
}

header .numbers .phone-number {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
}

/* ===== NAVIGATION ===== */
#HeaderMenu {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.menu-holder { padding: 0; }

#mainmenu ul {
  list-style: none;
  display: flex;
  gap: 0;
}

#mainmenu ul li a {
  display: block;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}

#mainmenu ul li a:hover,
#mainmenu ul li.current_page_item a {
  color: var(--gold);
  background: #fdf8e8;
  text-decoration: none;
}

#mainmenu ul li.contact a {
  background: var(--gold);
  color: var(--white);
  border: none;
}

#mainmenu ul li.contact a:hover {
  background: var(--dark);
  color: var(--white);
}

/* ===== BANNER ROW ===== */
.banner {
  display: flex;
  gap: 0;
  margin: 15px 0;
}

.slider {
  flex: 3;
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 240px;
}

.slider img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* carousel */
.carousel { position: relative; overflow: hidden; }
.carousel-inner .item { display: none; }
.carousel-inner .item.active { display: block; }

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  list-style: none;
  z-index: 5;
}
.carousel-indicators li {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.8);
}
.carousel-indicators li.active { background: var(--white); }

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  padding: 10px 14px;
  font-size: 18px;
  z-index: 5;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-control:hover { background: rgba(0,0,0,0.7); text-decoration: none; }
.carousel-control.left { left: 0; }
.carousel-control.right { right: 0; }

/* ===== BOOK PANE ===== */
.bookPane {
  flex: 1;
  background: #5a4200;
  background: linear-gradient(135deg, #4a3400 0%, #7a5a00 100%);
  padding: 12px;
  min-width: 200px;
}

.bookPane .row { display: flex; gap: 0; margin-bottom: 10px; }

.callNow, .viewOurVault {
  flex: 1;
  text-align: center;
  padding: 8px 5px;
  font-size: 12px;
  font-weight: 600;
}

.callNow {
  background: #3a2800;
  color: var(--white);
}
.callNow a { color: var(--white); }
.callNow:hover, .callNow a:hover { background: #222; text-decoration: none; }

.viewOurVault {
  background: #5a4200;
  color: var(--gold-light);
}
.viewOurVault a { color: var(--gold-light); }

.bookPane .content {
  background: rgba(255,255,255,0.08);
  padding: 10px;
  color: var(--white);
  font-size: 12px;
}

/* ===== CONTENT AREA ===== */
.content-wrap {
  display: flex;
  gap: 20px;
  padding: 20px 0 30px;
}

.content-wrap > .col-md-9 { flex: 3; }
.content-wrap > aside { flex: 1; min-width: 200px; }

/* Headings */
h1 { font-family: 'Merriweather', serif; font-size: 22px; color: var(--gold); margin-bottom: 8px; }
h2 { font-size: 16px; color: var(--mid); margin-bottom: 12px; font-weight: 400; font-style: italic; }
h3 { font-size: 15px; color: var(--dark); margin: 16px 0 6px; font-family: 'Merriweather', serif; }
h4 { font-size: 13px; color: var(--gold); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; }
h5 { font-size: 12px; margin-bottom: 6px; color: var(--mid); }

p { margin-bottom: 10px; line-height: 1.6; font-size: 13px; }

/* Images */
.alignright { float: right; margin: 0 0 15px 20px; border: 3px solid #ddd; max-width: 280px; height: auto; }
.img-responsive { max-width: 100%; height: auto; }

/* ===== ASIDE ===== */
aside h4 { color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 6px; }

.InfoOperationHours, .InfoStoreItems {
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 12px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.InfoOperationHours img, .InfoStoreItems img {
  float: right;
  max-width: 60px;
  opacity: 0.7;
}

.InfoStoreItems a {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 6px 12px;
  font-size: 11px;
  margin-top: 8px;
  font-weight: 600;
}

/* ===== TABLE ===== */
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.table td { padding: 8px 12px; border: 1px solid var(--border); font-size: 13px; }
.table tr:nth-child(even) { background: var(--light-bg); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: #ccc;
  padding: 25px 20px;
  margin-top: 20px;
}

.innerFooter {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.innerFooter .col-sm-6 { flex: 1; min-width: 240px; }

footer h3 { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
footer p { font-size: 12px; color: #aaa; margin-bottom: 5px; }
footer a { color: #ccc; }
footer a:hover { color: var(--gold); }

.SSA-logo, .nzFern-logo { max-width: 80px; height: auto; margin-right: 10px; filter: brightness(0.7); }

/* ===== CONTACT PAGE ===== */
.contact-details p { font-size: 14px; margin-bottom: 8px; }
.branch-section { margin-top: 20px; }
.branch-section h3 { color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 4px; margin-bottom: 12px; }

/* ===== TRACK IT PAGE ===== */
.trackit-wrapper {
  background: var(--white);
  min-height: 100vh;
}

.trackit-header {
  background: #1a3a6b;
  background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 100%);
  color: var(--white);
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trackit-logo img { max-height: 60px; }

.trackit-nav { display: flex; gap: 20px; }
.trackit-nav a { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; }
.trackit-nav a:hover { color: var(--white); }

.trackit-hero {
  background: #1a3a6b;
  color: var(--white);
  text-align: center;
  padding: 25px;
}

.trackit-hero h1 {
  color: var(--white);
  font-size: 28px;
  letter-spacing: 2px;
}

.breadcrumb-bar {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 5px;
}

.trackit-content {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  gap: 30px;
}

.trackit-sidebar {
  width: 200px;
  flex-shrink: 0;
}

.trackit-sidebar ul { list-style: none; }
.trackit-sidebar ul li { border-bottom: 1px solid var(--border); }
.trackit-sidebar ul li a {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  color: #1a3a6b;
  font-weight: 600;
}
.trackit-sidebar ul li a::before { content: "▶ "; color: var(--gold); font-size: 10px; }
.trackit-sidebar ul li a:hover { background: var(--light-bg); text-decoration: none; }

.trackit-main { flex: 1; }

.trackit-main h2 {
  font-family: 'Merriweather', serif;
  color: var(--dark);
  font-size: 20px;
  margin-bottom: 20px;
  font-style: normal;
}

.track-form-box {
  max-width: 500px;
}

.track-form-box input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #1a3a6b;
  font-size: 14px;
  margin-bottom: 15px;
  outline: none;
  font-family: 'Open Sans', sans-serif;
}

.track-form-box input[type="text"]:focus {
  border-color: var(--gold);
}

.track-form-box button, .track-form-box input[type="submit"] {
  background: #1a3a6b;
  color: var(--white);
  border: none;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.2s;
  font-family: 'Open Sans', sans-serif;
}

.track-form-box button:hover, .track-form-box input[type="submit"]:hover {
  background: var(--gold);
}

/* ===== LISTS ===== */
ul.store-list { list-style: disc; padding-left: 18px; margin-bottom: 10px; }
ul.store-list li { font-size: 13px; margin-bottom: 4px; }

/* ===== LOGO PLACEHOLDER ===== */
.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 56px;
  height: 56px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.logo-text {
  line-height: 1.2;
}

.logo-text .brand-name {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.logo-text .tagline {
  font-size: 11px;
  color: #666;
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .banner { flex-direction: column; }
  .content-wrap { flex-direction: column; }
  header { flex-direction: column; align-items: flex-start; }
  #mainmenu ul { flex-wrap: wrap; }
  .innerFooter { flex-direction: column; }
  .trackit-content { flex-direction: column; }
  .trackit-sidebar { width: 100%; }
}
