/* MOBILE BROWSER RESET - ADD AT VERY TOP */
@media screen and (max-device-width: 800px) {
  * {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  h3 { font-size: 18px !important; }
  .fine-print { font-size: 10px !important; }
  footer { font-size: 12px !important; }
}

html {
  background-color: #000;
  background-image: url('images/background.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  height: 100%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  background: url('images/background.png') no-repeat center center fixed;
  background-size: cover;
  color: #e0e0e0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
}

.flex-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background-color: #000000;
  border-radius: 4px;
  flex-grow: 1;
  margin-bottom: 0;
}

.container.single-column {
  display: block;
}

.stack-rows > * + * {
  margin-top: 10px;
}

header {
  padding: 0;
  text-align: center;
}

header img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

nav {
  position: sticky;
  top: 0;
  background-color: #1a1a1a;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
  padding: 10px 0;
  text-align: center;
  z-index: 1000;
}

nav {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border-bottom: 1px solid #333;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3em;
  padding: 0;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav li {
  position: relative;
}

nav > ul > li > a {
  display: block;
  color: #90caf9;
  text-decoration: none;
  padding: 15px 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

nav > ul > li > a:hover {
  color: #ffffff;
  background: rgba(144, 202, 249, 0.1);
  border-bottom: 3px solid #90caf9;
  text-decoration: none;
}

/* Dropdown Menu Styles */
nav .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  min-width: 200px;
  z-index: 1001;
}

nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

nav .dropdown ul {
  flex-direction: column;
  padding: 10px 0;
}

nav .dropdown li {
  width: 100%;
}

nav .dropdown a {
  display: block;
  color: #e0e0e0;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 0.9em;
  font-weight: normal;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

nav .dropdown a:hover {
  color: #90caf9;
  background: rgba(144, 202, 249, 0.1);
  border-left: 3px solid #90caf9;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.text-column {
  flex: 1;
}

h1 {
  font-family: "Courier New", Courier, monospace;
}

h2 {
  font-family: "Courier New", Courier, monospace;
  color: #ffffff;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.text-column h2 {
  margin-top: 0;
  color: #ffffff;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
  font-family: "Courier New", Courier, monospace;
}

.slideshow-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  gap: 0;
}

footer {
  background-color: #1e1e1e;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #888;
  clear: both;
  width: 100%;
  flex-shrink: 0;
}

/* Slideshow Styles */

.float-right {
  float: right;
  width: 400px;
  margin: 0 0 20px 20px;
}

.slideshow-container {
  width: 400px;
  border: 2px solid #444;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 10px;
  position: relative;
}

.slideshow-container .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-container .slide.active {
  opacity: 1;
  position: relative;
}

.slideshow-container .caption {
  color: #90caf9;
  text-align: center;
  padding: 8px 0;
  font-weight: bold;
  background-color: #1a1a1a;
}

.slideshow-container .slide img {
  width: 100%;
  height: auto;
  display: block;
}

.container.single-column::after {
  content: "";
  display: table;
  clear: both;
}

.slideshow-container.float-right {
  float: right;
  width: 400px;
  margin: 0 0 1em 1em;
}

.two-columns {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

.two-columns .column {
  flex: 1;
}

.full-width {
  clear: both;
  margin-bottom: 2em;
}

.column-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.core-services-list li {
  font-size: 1.2em;
}

.core-services-list a {
  color: #a0c4ff;
  font-size: 1.2em;
  text-decoration: none;
}

.core-services-list a:hover {
  color: #c2dfff;
  text-decoration: underline;
}

.slideshow-text-column {
  /* Remove all the old slideshow-text-column rules that are interfering */
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.column {
  flex: 1;
  min-width: 300px;
  margin: 10px;
}

.offer-container {
  background-color: #2a2a2a;
  border-radius: 8px;
  padding: 20px;
  margin: 30px auto;
  max-width: 600px;
  text-align: center;
  border: 1px solid #444;
}

.offer-container h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
}

.offer-container ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.offer-container ul li {
  margin: 8px 0;
  font-size: 1.1em;
}

.fine-print {
  font-size: 0.7em;
  color: #aaa;
  margin-top: 10px;
}

.highlight-price {
  color: #4caf50; /* Readable green */
  font-weight: bold;
}

.highlight-offer {
  color: #f44336; /* Readable red */
  font-weight: bold;
}

.cost {
  color: #64b5f6; /* Slightly deeper than #90caf9 used for captions */
  font-weight: bold;
}

/* ONLY NEW ADDITIONS FOR LAYOUT OPTIONS */

.new-layout-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
  background-color: #000000;
  border-radius: 4px;
  flex-grow: 1;
  margin-bottom: 0;
  display: block;
}

.main-content-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.left-content-column {
  flex: 2;
}

.right-sidebar-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.service-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
  border: 1px solid #444;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(144, 202, 249, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #90caf9;
  box-shadow: 0 10px 20px rgba(144, 202, 249, 0.2);
}

.service-card h3 {
  color: #90caf9;
  margin-bottom: 15px;
  font-family: "Courier New", Courier, monospace;
  position: relative;
}

.service-card a {
  color: #a0c4ff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

.service-card a:hover {
  color: #c2dfff;
  text-decoration: underline;
}

.info-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin: 40px 0;
}

.coverage-area, .slideshow-section {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.new-layout-container .slideshow-container {
  width: 400px;
  border: 2px solid #444;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 10px;
  position: relative;
}

.blurb-row {
  margin-bottom: 40px;
}

.coverage-slideshow-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.new-layout-container .coverage-area {
  flex: 1;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.new-layout-container .coverage-area h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

.new-layout-container .coverage-area ul {
  text-align: left;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.new-layout-container .slideshow-column {
  flex: 0 0 auto;
}

.coverage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Service Subpage Two-Column Layout */
.service-main-content {
  display: flex !important;
  gap: 40px !important;
  align-items: flex-start !important;
}

.service-left-column {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important;
}

.service-right-column {
  flex: 0 0 400px !important;
  width: 400px !important;
  max-width: 400px !important;
  min-width: 400px !important;
}

/* Stack all right column elements with consistent spacing */
.service-right-column > * {
  width: 400px !important;
  margin: 0 0 20px 0 !important;
  display: block !important;
}

.service-right-column > *:last-child {
  margin-bottom: 0 !important;
}

/* Force all coverage area boxes to exact same positioning */
.service-right-column .coverage-area {
  width: 400px !important;
  max-width: 400px !important;
  min-width: 400px !important;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%) !important;
  border: 1px solid #333 !important;
  border-radius: 8px !important;
  padding: 20px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  margin: 0 0 20px 0 !important;
  position: static !important;
  float: none !important;
  clear: both !important;
}

.service-right-column .slideshow-container {
  width: 400px !important;
  max-width: 400px !important;
  min-width: 400px !important;
  margin: 0 0 20px 0 !important;
  position: relative !important;
  float: none !important;
  clear: both !important;
}

/* Nuclear option: force pricing box to match exactly */
.service-right-column .pricing-box {
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
  right: auto !important;
  transform: translateX(0) !important;
  position: static !important;
}

.service-right-column .coverage-area h2 {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  color: #ffffff !important;
  border-bottom: 1px solid #444 !important;
  padding-bottom: 5px !important;
  font-family: "Courier New", Courier, monospace !important;
}

.service-right-column .coverage-area ul {
  text-align: left !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Slideshow fix: keep images inside 400px column */
.service-right-column .slideshow-container {
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  position: relative;
}

.service-right-column .slideshow-container .slide {
  width: 100%;
  max-width: 400px;
}

.service-right-column .slideshow-container .slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* NEW CLASS FOR CONTACT SECTION */
.contact-section-normal {
  clear: both;
  margin-bottom: 2em;
  margin-top: 20px;
}

.contact-section-normal h2 {
  font-family: "Courier New", Courier, monospace;
  color: #ffffff;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.contact-section-normal p {
  line-height: 1.6;
  color: #e0e0e0;
}

.contact-section-normal .fine-print {
  font-size: 0.7em;
  color: #aaa;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .info-section, .main-content-row {
    flex-direction: column;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .coverage-list {
    grid-template-columns: 1fr;
  }
}

@-moz-document url-prefix() {
  html, body, .contact-block, .contact-block * {
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
  }
}

