/* =============================================
   T&J Overhead Doors — Theme Styles
   assets/css/theme.css
   ============================================= */

:root {
  --tj-red:    #ea493b;
  --tj-red-dark: #c73020;
  --tj-black:  #111111;
  --tj-dark:   #1a1a1a;
  --tj-gray:   #f8f8f8;
  --tj-border: #e0e0e0;
}

* { box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #fff;
}

h1, h2, h3, h4, .navbar-brand {
  font-family: 'Oswald', sans-serif;
}

html { scroll-behavior: smooth; }

/* ── NAVBAR ── */
.navbar {
  background: var(--tj-black) !important;
  border-bottom: 3px solid var(--tj-red);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff !important;
}

.navbar-brand span { color: var(--tj-red); }

.navbar-nav .nav-link {
  color: #aaa !important;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover { color: #fff !important; }

.navbar-toggler { border-color: #555; }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── HERO ── */
#hero {
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  padding: 90px 0 80px;
  border-bottom: 4px solid var(--tj-red);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.68) 0%,
    rgba(15,0,0,0.58) 50%,
    rgba(0,0,0,0.52) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--tj-red);
  color: var(--tj-red);
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

#hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#hero h1 span { color: var(--tj-red); }

#hero p.lead {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 520px;
}

/* ── BUTTONS ── */
.btn-tj {
  background: var(--tj-red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-tj:hover {
  background: var(--tj-red-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-tj-outline {
  background: transparent;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 11px 28px;
  border: 1px solid #bbb;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-tj-outline:hover {
  border-color: #fff;
  color: #fff;
}

/* ── HERO STATS ── */
.hero-stat {
  text-align: center;
  padding: 16px;
  border-left: 1px solid #888;
}

.hero-stat:first-child { border-left: none; }

.hero-stat .num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--tj-red);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.75rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── SECTION GLOBALS ── */
.section-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tj-red);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--tj-black);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-title span { color: var(--tj-red); }

/* ── ABOUT ── */
#about {
  padding: 80px 0;
  background: #fff;
}

.about-body {
  font-size: 1rem;
  color: #555;
  line-height: 1.85;
}

.about-divider {
  width: 48px;
  height: 3px;
  background: var(--tj-red);
  margin: 20px 0;
}

/* ── SERVICES ── */
#services {
  padding: 80px 0;
  background: var(--tj-gray);
  border-top: 1px solid var(--tj-border);
  border-bottom: 1px solid var(--tj-border);
}

.svc-card {
  background: #fff;
  border: 1px solid var(--tj-border);
  border-top: 4px solid var(--tj-red);
  border-radius: 6px;
  padding: 28px 24px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.svc-icon {
  width: 46px;
  height: 46px;
  background: #fff0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.svc-icon i {
  font-size: 1.4rem;
  color: var(--tj-red);
}

.svc-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tj-black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.svc-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ── OUR WORK GALLERY ── */
#our-work {
  padding: 80px 0;
  background: var(--tj-black);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

#our-work .section-tag { color: #cc4444; }

#our-work .section-title { color: #fff; }

.work-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 20px 16px 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card-overlay p {
  color: #fff;
  font-size: 0.85rem;
  margin: 0;
  font-weight: 600;
}

/* ── GAREX DESIGN CENTER ── */
#design-center {
  background: var(--tj-black);
  padding: 80px 0;
  border-top: 4px solid var(--tj-red);
  border-bottom: 4px solid var(--tj-red);
}

.garex-steps-wrap {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 32px;
}

.garex-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #2a2a2a;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 14px;
}

.garex-step:last-child { margin-bottom: 0; }

.garex-step-num {
  width: 32px;
  height: 32px;
  background: var(--tj-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.garex-step span {
  color: #ccc;
  font-size: 0.9rem;
}

/* ── CONTACT ── */
#contact {
  padding: 80px 0;
  background: #fff;
}

.contact-card {
  background: var(--tj-gray);
  border: 1px solid var(--tj-border);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--tj-red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.2rem;
  color: #fff;
}

.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--tj-black);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.contact-card a {
  color: var(--tj-red);
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover { text-decoration: underline; }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--tj-black);
  border-top: 4px solid var(--tj-red);
  padding: 48px 0;
  text-align: center;
  margin-top: 60px;
}

.cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.cta-strip p {
  color: #888;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ── FOOTER ── */
.site-footer {
  background: #0a0a0a;
  padding: 24px 0;
  border-top: 1px solid #222;
}

.site-footer p {
  color: #555;
  font-size: 0.82rem;
  margin: 0;
}

.site-footer span { color: var(--tj-red); font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  #hero { padding: 60px 0 50px; text-align: center; }
  #hero p.lead { margin: 0 auto 24px; }
  .hero-stat { border-left: none; border-top: 1px solid #333; }
  .hero-stat:first-child { border-top: none; }
}
