/* Kingdom Photo Ltd. - Modern CSS */

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

body {
  background-color: #000;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  min-height: 100vh;
  padding: 10px 0;
}

a {
  text-decoration: none;
  color: #be1212;
}

a:hover {
  color: #fff;
}

/* Page wrapper */
.site-wrapper {
  max-width: 750px;
  margin: 0 auto;
  background-color: #e3e3e3;
}

/* Header / Banner */
header {
  text-align: center;
  padding: 5px 0;
}

header img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Main layout: sidebar + content */
.site-body {
  display: flex;
  margin: 5px auto;
  width: 740px;
  max-width: 100%;
}

/* Sidebar Navigation */
nav {
  width: 180px;
  min-width: 180px;
  background-color: #be1212;
  padding: 5px;
  display: flex;
  flex-direction: column;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-bottom: 5px;
}

nav ul li a {
  display: block;
  background: #f7f7f7;
  color: #be1212;
  text-align: center;
  padding: 4px 0;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

nav ul li a:hover,
nav ul li a.active {
  background: #000;
  color: #fff;
}

nav .social {
  margin-top: 10px;
}

nav .social a img {
  width: 20px;
  height: 20px;
  border: 0;
}

/* Content area */
main {
  flex: 1;
  background-color: #7f7f7f;
  padding: 6px 10px;
  min-height: 300px;
}

/* Page sections - hidden by default, shown when active */
.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

.page-section h2 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #fff;
}

.page-section p {
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.5;
}

.page-section img {
  max-width: 100%;
  height: auto;
}

.page-section img.float-right {
  float: right;
  margin: 0 0 10px 10px;
}

/* Highlight text (for pricing, hours, etc.) */
.highlight {
  color: #ffcc00;
}

.sale-price {
  color: #ff0000;
  font-weight: bold;
}

/* Contact page */
.contact-info address {
  font-style: normal;
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.contact-info .map-link {
  float: right;
  margin: 0 0 10px 10px;
  text-align: center;
}

.contact-info .map-link img {
  border: 1px solid #000;
}

.contact-info .map-link small {
  display: block;
  color: #ffcc00;
  font-size: 12px;
}

/* Specials table */
.specials-list {
  width: 100%;
}

.specials-list td {
  padding: 5px;
  vertical-align: top;
  color: #fff;
}

.specials-list img {
  border: 1px solid #000;
}

/* Services list */
.services-list {
  list-style: none;
  padding-left: 0;
}

.services-list li::before {
  content: "- ";
}

.services-list li {
  margin-bottom: 4px;
}

/* Resources links */
.resource-link {
  display: block;
  margin-bottom: 10px;
}

.resource-link a {
  color: #fff;
  font-weight: bold;
}

.resource-link a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: right;
  background-color: #000;
  padding: 5px 10px;
  font-size: 0.85em;
  color: #fff;
}
