/* ============================================
   REIGN ENTERPRISES — Site Styles
   Dark Navy / Gold / White Theme
   Fonts: Playfair Display + Montserrat
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0A1628;
  --navy-light: #0F1F3D;
  --navy-mid: #162A4A;
  --gold: #D4A853;
  --gold-hover: #E0BC6A;
  --red: #C41E2A;
  --red-hover: #D42A36;
  --red-dark: #9B1820;
  --white: #FFFFFF;
  --gray-light: #B0B8C8;
  --gray-dark: #6B7A90;
  --text: #FFFFFF;
  --max-width: 1200px;
  --header-height: 80px;
  --announcement-height: 36px;
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announcement-height);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.announcement-bar a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
}

.announcement-bar a:hover {
  color: var(--gold);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--white);
  margin-bottom: 8px;
}

p {
  font-size: 1rem;
  color: var(--gray-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.text-white { color: var(--white); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

/* Red button variant */
.btn-red {
  background-color: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}

.btn-red:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(196, 30, 42, 0.3);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: var(--announcement-height);
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 168, 83, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-img {
  height: 50px;
  width: auto;
}

.header-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
}

.header-logo-text span {
  color: var(--gold);
}

.header-phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.header-phone a {
  color: var(--white);
}

.header-phone a:hover {
  color: var(--gold);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  transition: color 0.3s ease;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + var(--announcement-height));
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--navy);
  z-index: 999;
  padding: 40px 24px;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.5) 0%,
    rgba(10, 22, 40, 0.7) 50%,
    rgba(10, 22, 40, 0.95) 100%
  );
}

/* Video hero background */
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.15) 0%,
    rgba(10, 22, 40, 0.3) 40%,
    rgba(10, 22, 40, 0.85) 100%
  );
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-light);
  margin-bottom: 32px;
  font-weight: 400;
}

.hero .btn-group {
  margin-top: 8px;
}

/* --- SECTIONS --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--navy-light);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Divider arch */
.section-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* --- TRUST BAR --- */
.trust-bar {
  padding: 40px 0;
  background-color: var(--navy-light);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-item .trust-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.trust-item .trust-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.trust-item .trust-label {
  font-size: 0.85rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- SERVICE CARDS --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--navy-light);
  border: 1px solid rgba(212, 168, 83, 0.1);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.service-card .btn {
  border-color: var(--red);
  color: var(--red);
}

.service-card .btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 24px;
}

/* --- GALLERY GRID --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* --- REVIEWS --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background-color: var(--navy-light);
  border: 1px solid rgba(212, 168, 83, 0.1);
  border-radius: 8px;
  padding: 32px;
}

.review-stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-text {
  font-style: italic;
  color: var(--gray-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.review-author {
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}

/* --- CTA SECTION --- */
.cta-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.85);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* --- CONTRACTOR CROSS-SELL --- */
.contractor-section {
  background-color: var(--navy-mid);
  padding: 64px 0;
  text-align: center;
  border-top: 3px solid var(--red);
}

.contractor-section h2 {
  margin-bottom: 16px;
}

.contractor-section p {
  max-width: 700px;
  margin: 0 auto 12px;
}

.contractor-products {
  list-style: none;
  margin: 24px auto;
  max-width: 500px;
  text-align: left;
}

.contractor-products li {
  padding: 6px 0;
  color: var(--gray-light);
  font-size: 1rem;
}

.contractor-products li::before {
  content: '✓ ';
  color: var(--gold);
  font-weight: 700;
}

/* --- ABOUT PAGE --- */
.about-story {
  max-width: 800px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* --- FAQ ACCORDION --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(212, 168, 83, 0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--gray-light);
  line-height: 1.7;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-item .icon {
  color: var(--gold);
  font-size: 1.2rem;
  min-width: 24px;
}

.contact-form-embed {
  background-color: var(--navy-light);
  border: 1px solid rgba(212, 168, 83, 0.1);
  border-radius: 8px;
  padding: 32px;
  min-height: 400px;
}

/* Tab navigation for forms */
.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(212, 168, 83, 0.15);
}

.form-tab {
  padding: 12px 24px;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-light);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.form-tab:hover {
  color: var(--white);
}

.form-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.form-content {
  display: none;
}

.form-content.active {
  display: block;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--navy);
  border-top: 2px solid var(--red);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.footer-links h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--gray-dark);
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 168, 83, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: center;
}

.footer-social a {
  color: var(--gray-dark);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--gold);
}

/* --- PAGE HERO (for inner pages) --- */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.6) 0%,
    rgba(10, 22, 40, 0.9) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- LIGHTBOX --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2001;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  /* Stack service page two-column grids */
  .section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Announcement bar — smaller text on mobile */
  .announcement-bar {
    font-size: 0.65rem;
    padding: 6px 12px;
    height: auto;
    min-height: var(--announcement-height);
  }

  .hero {
    min-height: 80vh;
    padding: 130px 20px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 0.9rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .trust-items {
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 140px 0 50px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .form-tabs {
    flex-wrap: wrap;
  }

  .form-tab {
    padding: 10px 16px;
    font-size: 0.75rem;
  }

  .cta-section {
    padding: 56px 0;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  /* Contact info icons */
  .contact-info-item {
    gap: 10px;
  }

  .contact-form-embed {
    padding: 20px;
    min-height: 300px;
  }

  /* About page inline photo */
  .about-story img {
    border-radius: 8px !important;
  }

  /* Lightbox — full width on mobile */
  .lightbox img {
    max-width: 95vw;
    max-height: 85vh;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    flex-direction: column;
    gap: 20px;
  }

  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .announcement-bar {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  /* Stack area tags tighter */
  .area-tag {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}
