/*!
 * Art of Illumination — custom styles
 * Base template: Start Bootstrap Modern Business
 */

/* ── Accent color ── */
:root {
  --accent:      #E8952A;
  --accent-dark: #cf7e1a;
}

/* ── Typography ── */
body {
  padding-top: 56px;
  font-family: 'Open Sans', sans-serif;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* ── Navbar ── */
.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 1.15rem;
}

/* ── Carousel ── */
.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  background-size: cover;
}

.cripple_creek {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center top scroll;
  background-size: cover;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.55);
  right: 15%;
  left: 15%;
  padding: 1.25rem 1.75rem;
  border-radius: 4px;
}

.carousel-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #fff;
}

.carousel-caption p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* ── Buttons ── */
.btn-primary,
.btn-secondary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:focus,
.btn-secondary:focus,
.btn-primary:active,
.btn-secondary:active {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

/* ── Section headings ── */
h2 {
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* ── Cards ── */
.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
  transform: translateY(-3px);
}

.card-header {
  background-color: var(--accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
}

.card-title a {
  color: #333;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent);
}

.card-img-top {
  transition: opacity 0.2s ease;
}

.card:hover .card-img-top {
  opacity: 0.88;
}

/* ── Homepage portfolio grid ── */
.portfolio-item {
  margin-bottom: 30px;
}

/* ── About page service icons ── */
.service-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: block;
}

/* ── Footer ── */
.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer p,
footer li {
  color: #adb5bd;
}

footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.15s;
}

footer a:hover {
  color: var(--accent);
  text-decoration: none;
}

footer hr {
  border-color: #444;
}

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.88;
}

/* ── Hero ── */
.hero-section {
  position: relative;
  height: 92vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.50) 35%, rgba(0,0,0,0.08) 100%);
  display: flex;
  align-items: center;
  width: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 640px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-content h1::after {
  display: none;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* ── Trust Bar ── */
.trust-bar {
  background: #1a1a1a;
  border-bottom: 3px solid var(--accent);
  padding: 0.75rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  color: #fff;
  text-transform: uppercase;
  padding: 0.6rem 0;
}

.trust-item i {
  color: var(--accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* ── Centered h2 underline ── */
.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ── Featured Work ── */
.featured-section {
  background: #fff;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 265px 265px;
  gap: 6px;
  border-radius: 6px;
  overflow: hidden;
}

.featured-item {
  overflow: hidden;
  position: relative;
  background: #111;
}

.featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.featured-item:hover img {
  transform: scale(1.06);
  opacity: 0.88;
}

.featured-item--large {
  grid-row: span 2;
}

.btn-outline-accent {
  border-color: var(--accent);
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  white-space: nowrap;
}

.btn-outline-accent:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Category Tiles ── */
.categories-section {
  background: #f4f4f4;
}

.category-tile {
  display: block;
  position: relative;
  overflow: hidden;
  height: 240px;
  border-radius: 4px;
  text-decoration: none;
}

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

.category-tile:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.04) 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1rem;
  transition: background 0.35s ease;
}

.category-tile:hover .category-overlay {
  background: linear-gradient(to top, rgba(232,149,42,0.88) 0%, rgba(0,0,0,0.04) 65%);
}

.category-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

/* ── Process Section ── */
.process-section {
  background: #fff;
}

.process-step {
  padding: 1.25rem 1rem;
}

.process-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(232, 149, 42, 0.14);
  line-height: 1;
  margin-bottom: -1.75rem;
  user-select: none;
}

.process-icon-wrap {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

/* ── Testimonials ── */
.testimonials-section {
  background: #1a1a1a;
}

.testimonials-section h2 {
  color: #fff;
}

.testimonial-card {
  background: #252525;
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.testimonial-quote {
  font-size: 4rem;
  line-height: 0.75;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 80px 0;
}

.cta-heading {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-heading::after {
  display: none;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.btn-dark {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

.btn-outline-dark {
  border-color: #1a1a1a;
  color: #1a1a1a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background-color: #1a1a1a;
  color: #fff;
}

/* ── Page Header Banner ── */
.page-header {
  background: #1a1a1a;
  padding: 3.5rem 0 2.75rem;
  border-bottom: 3px solid var(--accent);
}

.page-header h1 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.page-header h1::after {
  display: none;
}

.page-subtitle {
  color: #9da5ad;
  font-size: 0.95rem;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

/* ── Gallery page section ── */
.gallery-section {
  padding: 2.5rem 0 3.5rem;
}

/* ── Contact info card ── */
.contact-info-card {
  border-left: 4px solid var(--accent);
  background: #f8f9fa;
  border-radius: 4px;
  padding: 2rem 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  color: var(--accent);
  font-size: 1rem;
  width: 1.1rem;
  flex-shrink: 0;
  padding-top: 3px;
}

.contact-info-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin-bottom: 0.15rem;
}

.contact-info-value {
  color: #333;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-value a {
  color: #333;
  text-decoration: none;
}

.contact-info-value a:hover {
  color: var(--accent);
}

/* ── Contact form ── */
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(232, 149, 42, 0.2);
}

.contact-form label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #666;
  margin-bottom: 0.35rem;
}

/* ── About page ── */
.about-photo {
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-services-strip {
  background: #f8f9fa;
  border-top: 1px solid #eee;
  padding: 3.5rem 0;
}

/* ── Responsive overrides ── */
@media (max-width: 991px) {
  .featured-grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .featured-item--large {
    grid-row: span 1;
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-section {
    height: 82vh;
    min-height: 460px;
  }
  .trust-item {
    border-bottom: 1px solid #333;
    padding: 0.75rem 0;
  }
  .trust-item:last-child {
    border-bottom: none;
  }
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }
  .cta-heading {
    font-size: 1.65rem;
  }
  .process-num {
    font-size: 3rem;
    margin-bottom: -1.25rem;
  }
  .process-step {
    padding-bottom: 0.5rem;
  }
}

/* ── Lightbox overlay ── */
#gallery-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#gallery-overlay.active {
  display: flex;
}

#gallery-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

#gallery-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

#gallery-caption {
  color: #ddd;
  margin-top: 10px;
  font-size: 0.9rem;
  text-align: center;
}

#gallery-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

#gallery-prev,
#gallery-next {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 20px 16px;
  user-select: none;
  flex-shrink: 0;
}

#gallery-close:hover,
#gallery-prev:hover,
#gallery-next:hover {
  color: var(--accent);
}
