/* ==========================================================
   MICHAEL-CLARKE COMPANY | generators.michael-clarke.com
   THE SOLUTION PEOPLE — SINCE 1982
   Shared site-wide stylesheet
   ========================================================== */

/* ---------- BASE LAYOUT ---------- */
body {
  font-family: system-ui, Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #fff;
}

h1, h2, h3 {
  color: #3b2d14;
  margin-top: 0;
}

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

/* ---------- HEADER BRANDING ---------- */
.site-header {
  background: #f9f4e7;
  border-bottom: 2px solid #d1b97f;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.header-top {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  padding: 15px 20px 5px;
}

.company-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #3b2d14;
  letter-spacing: 0.5px;
}

.tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: #6a553b;
  margin-left: 12px;
}

/* ---------- FOLDER TAB HEADER THEME ---------- */
.tab-nav {
  display: flex;
  background: #f3e5c4;
  border-top: 1px solid #d1b97f;
  border-bottom: 1px solid #d1b97f;
  padding-left: 10px;
}

.tab-nav .tab {
  position: relative;
  background: #fff8dc;
  border: 1px solid #d1b97f;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 10px 20px;
  margin-right: 6px;
  color: #4a3a1c;
  font-weight: 600;
  text-decoration: none;
  top: 2px;
  transition: background 0.2s;
}

.tab-nav .tab:hover {
  background: #fff3b0;
}

.tab-nav .tab.active {
  background: #ffffff;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

/* ---------- HERO SECTION ---------- */
#hero {
  background: url('/images/generator-hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}

#hero .hero-inner {
  background: rgba(0,0,0,0.45);
  display: inline-block;
  padding: 25px 40px;
  border-radius: 10px;
}

#hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#hero p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.cta {
  background: #f58220;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}

.cta:hover {
  background: #d86f13;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

section h2 {
  text-align: center;
  color: #f58220;
  margin-bottom: 15px;
}

section ul {
  list-style: disc;
  padding-left: 40px;
}

/* ---------- FORMS ---------- */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea, button {
  font: inherit;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: #f58220;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: #d86f13;
}

.success {
  color: green;
  text-align: center;
}

.error {
  color: red;
  text-align: center;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-grid figure {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  margin: 0;
  transition: transform 0.2s;
}

.gallery-grid figure:hover {
  transform: scale(1.02);
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  cursor: pointer;
}

.gallery-grid figcaption {
  font-size: 0.9rem;
  padding: 8px;
  color: #444;
}

/* ---------- LIGHTBOX ---------- */
#lightbox {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 999;
}

#lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #f9f4e7;
  border-top: 2px solid #d1b97f;
  text-align: center;
  padding: 15px;
  color: #6a553b;
  font-size: 0.9rem;
}

.footer-mark {
  font-size: 0.9rem;
  color: #6a553b;
  margin-top: 6px;
  font-style: italic;
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 700px) {
  #hero h1 { font-size: 2.5rem; }
  section { padding: 60px 30px; }
}

