/* ============================================
   Graham Long Steel Construction - Stylesheet
   Colours: Dark #111, Red #c8102e, Light text
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #c8102e;
  --red-hover: #e01535;
  --charcoal: #0c1017;
  --charcoal-light: #161c26;
  --text: #d4d4d4;
  --text-light: #a0a0a0;
  --text-muted: #8a8a8a;
  --heading: #ffffff;
  --bg: #101520;
  --bg-alt: #161c28;
  --bg-dark: #0c1017;
  --card-bg: #182030;
  --border: #243040;

  --max-width: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-height: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-hover); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #101520;
  height: var(--header-height);
  transition: box-shadow 0.3s;
  border-bottom: 1px solid var(--border);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  border-bottom-color: transparent;
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
}

.header__logo img {
  height: 70px;
  width: auto;
}
.header__logo .logo-light { display: none; }
.header__logo .logo-dark { display: block; }
[data-theme="light"] .header__logo .logo-light { display: block; }
[data-theme="light"] .header__logo .logo-dark { display: none; }

.header__logo span {
  color: var(--red);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.header__nav a:hover,
.header__nav a.active {
  color: #fff;
}

.header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  flex-shrink: 0;
}

.header__phone:hover { color: var(--red); }

.header__phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--red);
}

.header__cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__cta:hover { background: var(--red-hover); color: #fff; }

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hamburger */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 1px;
}

.header__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; }
.header__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  margin-top: var(--header-height);
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--charcoal);
}

.hero__image {
  position: absolute;
  inset: 0;
}

.hero__image .placeholder-img {
  height: 100%;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(16,21,32,0.9) 0%, rgba(16,21,32,0.6) 45%, rgba(16,21,32,0.2) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  max-width: 600px;
  margin-left: max(24px, calc((100% - var(--max-width)) / 2 + 24px));
}

.hero__tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.hero__title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 17px;
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--red);
  color: #fff;
}
.btn--primary:hover { background: var(--red-hover); color: #fff; }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline:hover { border-color: #fff; color: #fff; }
[data-theme="light"] .btn--outline { color: var(--charcoal); border-color: rgba(0,0,0,0.3); }
[data-theme="light"] .btn--outline:hover { border-color: var(--charcoal); color: var(--charcoal); }
[data-theme="light"] .hero .btn--outline { color: #fff; border-color: rgba(255,255,255,0.3); }
[data-theme="light"] .hero .btn--outline:hover { border-color: #fff; color: #fff; }

.btn--dark {
  background: var(--charcoal);
  color: #fff;
}
.btn--dark:hover { background: var(--charcoal-light); color: #fff; }

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: #fff;
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section__subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Placeholder Images --- */
.placeholder-img {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 24px;
  text-align: center;
}

.placeholder-img span {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 200px;
  line-height: 1.4;
}

/* --- Service Cards (Homepage) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: inherit;
}

.service-card__image {
  height: 200px;
}

.service-card__image .placeholder-img {
  height: 100%;
  border: none;
  border-radius: 0;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  padding: 24px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.service-card__text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-card:hover .service-card__link { gap: 10px; }

/* --- Why Choose Us --- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.reason {
  display: flex;
  gap: 16px;
}

.reason__icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 16, 46, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason__icon svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.reason__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.reason__text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Testimonial --- */
.testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  font-size: 20px;
  font-style: italic;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial__author {
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
}

.testimonial__role {
  font-size: 13px;
  color: #888;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 60px 0;
  background: var(--bg-dark);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cta-banner__text {
  font-size: 16px;
  color: #bbb;
  margin-bottom: 24px;
}

.cta-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.cta-banner__phone:hover { color: var(--red); }

.cta-banner__phone svg {
  width: 28px;
  height: 28px;
  color: var(--red);
}

/* --- Services Page Sections --- */
.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-section--reverse {
  direction: rtl;
}

.service-section--reverse > * {
  direction: ltr;
}

.service-section__image {
  border-radius: 8px;
}

.service-section__image .placeholder-img {
  min-height: 320px;
}

.service-section__image img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  min-height: 320px;
  max-height: 420px;
}

.service-section__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.service-section__text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-section__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.service-section__list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.service-section__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 8px;
  height: 240px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.gallery-item .placeholder-img {
  min-height: 240px;
  border-radius: 0;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.gallery-note {
  text-align: center;
  padding: 32px 24px 0;
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s;
  cursor: default;
}
.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}
.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  text-align: center;
  max-width: 600px;
  pointer-events: none;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 4px 8px;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 12px;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  pointer-events: none;
}
@media (max-width: 768px) {
  .lightbox-nav { font-size: 24px; padding: 8px; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.contact-info__text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info__item-icon {
  width: 40px;
  height: 40px;
  background: rgba(200, 16, 46, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.contact-info__item-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-info__item a,
.contact-info__item p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

/* --- Contact Form --- */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.contact-form__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font);
  color: #e0e0e0;
  background: #161c28;
  transition: border-color 0.2s;
}

.form-group select {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: #e0e0e0;
  background: #161c28;
  border: 1px solid var(--border);
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

.form-group textarea { resize: vertical; }

.form-status {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status--success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.form-status--error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* --- Map --- */
.contact-map {
  margin-top: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  display: block;
  border: none;
}

/* --- Page Header --- */
.page-header {
  margin-top: var(--header-height);
  background: var(--bg-dark);
  padding: 32px 0;
  text-align: center;
}

.page-header__title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.page-header__subtitle {
  font-size: 16px;
  color: #999;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  background: var(--bg-dark);
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span { margin: 0 8px; }

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: #ccc;
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.footer__sub {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer__desc {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
}

.footer__heading {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: #999;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(153,153,153,0.3);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.footer__links a:hover { color: #fff; text-decoration-color: #fff; }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.footer__contact-item a {
  color: #999;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(153,153,153,0.3);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.footer__contact-item a:hover { color: #fff; text-decoration-color: #fff; }

.footer__bottom {
  border-top: 1px solid #222;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #8a8a8a;
}
.footer__bottom a {
  color: #8a8a8a;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(138,138,138,0.3);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.footer__bottom a:hover {
  color: var(--red);
}

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: inherit;
}

.blog-card__image {
  height: 220px;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.blog-card__image .placeholder-img {
  height: 100%;
  border: none;
  border-radius: 0;
}

.blog-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-card__category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  background: rgba(200, 16, 46, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-card__date {
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.blog-card:hover .blog-card__link { gap: 10px; }

.blog-note {
  text-align: center;
  padding: 40px 24px 0;
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Blog Post --- */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post__hero {
  border-radius: 12px;
  margin-bottom: 32px;
}

.blog-post__hero img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.blog-post__content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin: 32px 0 12px;
}

.blog-post__content h2:first-of-type {
  margin-top: 0;
}

.blog-post__content p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-post__content ul {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.blog-post__content ul li {
  font-size: 15px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.5;
}

.blog-post__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.blog-post__content blockquote {
  border-left: 3px solid var(--red);
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: 0 8px 8px 0;
}

.blog-post__content blockquote p {
  font-size: 17px;
  font-style: italic;
  color: var(--heading);
  margin-bottom: 8px;
}

.blog-post__content blockquote cite {
  font-size: 14px;
  color: var(--text-muted);
  font-style: normal;
}

.blog-post__image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.blog-post__image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .3s ease;
}

.blog-post__image-wrap {
  border-radius: 8px;
}

.blog-post__image-grid img:hover {
  transform: scale(1.08);
}

.blog-post__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 32px;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.blog-post__detail strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.blog-post__detail span {
  font-size: 15px;
  color: var(--heading);
}

.blog-post__cta {
  text-align: center;
  padding: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 40px 0;
}

.blog-post__cta h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.blog-post__cta p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.blog-post__cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-post__nav {
  margin-top: 24px;
  text-align: center;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 7px;
  color: #b0b0b0;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.theme-toggle:hover { color: #fff; border-color: #555; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }

/* ============================================
   Light Theme Override
   ============================================ */
[data-theme="light"] {
  --red: #c8102e;
  --red-hover: #a30d24;
  --charcoal: #1a1a1a;
  --charcoal-light: #2d2d2d;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #767676;
  --heading: #1a1a1a;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-dark: #f0f0f0;
  --card-bg: #ffffff;
  --border: #e0e0e0;
}

/* Header */
[data-theme="light"] .header { background: #fff; }
[data-theme="light"] .header--scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
[data-theme="light"] .header__nav a { color: #666; }
[data-theme="light"] .header__nav a:hover,
[data-theme="light"] .header__nav a.active { color: #1a1a1a; }
[data-theme="light"] .header__phone { color: #333; }
[data-theme="light"] .header__hamburger span { background: #1a1a1a; }

/* Theme toggle in light mode */
[data-theme="light"] .theme-toggle { color: #666; border-color: #ddd; }
[data-theme="light"] .theme-toggle:hover { color: #1a1a1a; border-color: #bbb; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Sections & cards */
[data-theme="light"] .blog-card { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
[data-theme="light"] .blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
[data-theme="light"] .blog-card__category { background: rgba(200, 16, 46, 0.08); }
[data-theme="light"] .service-card { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
[data-theme="light"] .service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
[data-theme="light"] .gallery-item { box-shadow: 0 2px 12px rgba(0,0,0,0.10); }
[data-theme="light"] .gallery-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.16); }
[data-theme="light"] .service-section__image img { box-shadow: 0 2px 12px rgba(0,0,0,0.10); }
[data-theme="light"] .reason__icon { background: rgba(200, 16, 46, 0.08); }
[data-theme="light"] .contact-info__item-icon { background: rgba(200, 16, 46, 0.08); }
[data-theme="light"] .placeholder-img { background: #f5f5f5; border-color: #e0e0e0; }

/* Dark sections stay dark in light mode */
[data-theme="light"] .section--dark { background: #1a1a1a; }
[data-theme="light"] .cta-banner { background: #1a1a1a; border-color: transparent; }
[data-theme="light"] .page-header { background: #1a1a1a; }
[data-theme="light"] .breadcrumbs { background: #f5f5f5; color: #666; }
[data-theme="light"] .footer { background: #1a1a1a; }
[data-theme="light"] .footer__bottom { border-top-color: #333; color: #999; }

/* Form */
[data-theme="light"] .form-group label { color: #333; }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select { color: #333; background: #fff; }
[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder { color: #999; }
[data-theme="light"] .form-status--success { background: rgba(34, 197, 94, 0.1); color: #16a34a; border-color: rgba(34, 197, 94, 0.25); }
[data-theme="light"] .form-status--error { background: rgba(239, 68, 68, 0.1); color: #dc2626; border-color: rgba(239, 68, 68, 0.25); }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #101520;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

  .header__nav.open { display: flex; }

  .header__nav a {
    font-size: 20px;
    color: #ccc;
  }

  .header__nav a:hover {
    color: #fff;
  }

  .header__nav a.active {
    color: var(--red);
  }

  .header__nav a.active::after { display: none; }

  .header__logo {
    flex-shrink: 1;
    min-width: 0;
    }

  .header__logo img {
    height: auto;
    max-height: 44px;
    max-width: 200px;
    width: auto;
    display: block;
  }

  .header__phone { display: none; }
  .header__cta { display: none; }

  .header__hamburger {
    display: flex;
  }

  /* Hero */
  .hero { min-height: 420px; }
  .hero__content { margin-left: 0; padding: 40px 24px; }
  .hero__title { font-size: 30px; }
  .hero__subtitle { font-size: 15px; }
  .hero__image::after {
    background: linear-gradient(to bottom, rgba(16,21,32,0.85) 0%, rgba(16,21,32,0.6) 100%);
  }

  /* Sections */
  .section { padding: 48px 0; }
  .section__title { font-size: 26px; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post__image-grid { grid-template-columns: 1fr; }
  .blog-post__details { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .service-section { grid-template-columns: 1fr; gap: 24px; }
  .service-section--reverse { direction: ltr; }
  .service-section__list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  /* Page header */
  .page-header { padding: 40px 0; }
  .page-header__title { font-size: 28px; }

  /* CTA */
  .cta-banner__title { font-size: 22px; }
  .cta-banner__phone { font-size: 20px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { text-align: center; }
}







/* ── GNL Studio footer link ── */
.gnl-link {
  display: inline-flex;
  gap: 4px;
  text-decoration: none !important;
  color: inherit !important;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.gnl-link .gnl,
.gnl-link .studio {
  color: inherit !important;
}
.gnl-link:hover {
  opacity: 0.6;
}