
/* RESET */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #000; /* Global black background */
}

/* =============================
   General Styling
============================= */
#page-wrapper {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1a1a1a;
  color: #f0f0f0;
  overflow-x: hidden;
  
  /* --- FLEXBOX STICKY FOOTER --- */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Force wrapper to be at least viewport height */
}

/* --- PUSH FOOTER DOWN & ACCOUNT FOR FIXED HEADER --- */
main {
  flex: 1 0 auto; /* Allow main content to grow */
  padding-top: 150px; /* ADDED: Pushes content down below the fixed header */
}

/* =============================
   Header Layout
============================= */
#main-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s;
  box-sizing: border-box;
  gap: 10px;
}

/* (The rest of your CSS is exactly the same as before) */

#main-header .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.breadcrumb-nav {
  font-size: 0.8rem;
  color: #fafafa;
  text-align: center;
}

.breadcrumb-nav ol {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-nav li::after {
  content: "›";
  margin: 0 0.3rem;
  color: #aaa;
}

.breadcrumb-nav li:last-child::after {
  content: "";
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  cursor: pointer;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #ffc107;
}

#page-wrapper .hero {
  height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?q=80&w=1964&auto=format&fit=crop' );
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

#page-wrapper .hero-text {
  animation: fadeIn 2s ease-in-out;
}

#page-wrapper .hero h1 {
  font-size: 2.2em;
  margin: 0;
}

#page-wrapper .hero p {
  font-size: 1.2em;
  margin-top: 0.5rem;
}

#page-wrapper .hero-text .favicon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-top: 1rem;
}

#page-wrapper .content-section {
  padding: 100px 20px;
  animation: slideIn 1s forwards;
}

/* --- ADJUST HERO PADDING SINCE MAIN NOW HAS IT --- */
#page-wrapper .hero {
    padding-top: 0; /* ADDED: Prevents double padding on the hero section */
}


#page-wrapper h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  color: #ffc107;
}

#page-wrapper .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

#page-wrapper .service-item {
  background-color: #2b2b2b;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

#page-wrapper .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

#page-wrapper .service-item h3 {
  color: #ffc107;
}

#page-wrapper .gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

#page-wrapper .gallery-item img {
  width: 100%;
  border-radius: 5px;
  transition: transform 0.3s, filter 0.3s;
}

#page-wrapper .gallery-item img:hover {
  transform: scale(1.03);
  filter: brightness(1.2);
}

#page-wrapper .contact-form {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  color: #fff;
}

#page-wrapper .contact-form input::placeholder,
#page-wrapper .contact-form textarea::placeholder {
  color: #fff;
}

#page-wrapper .contact-form input,
#page-wrapper .contact-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  background-color: #2b2b2b;
  color: #fff;
  font-size: 1em;
}

#page-wrapper .contact-form button {
  padding: 15px;
  border: none;
  border-radius: 5px;
  background-color: #ffc107;
  color: #1a1a1a;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

#page-wrapper .contact-form button:hover {
  background-color: #e0a800;
}

#success-message {
  text-align: center;
  color: #fafafa;
  margin-top: 20px;
  display: none;
}

/* =============================
   Footer
============================= */
#page-wrapper footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #000;
  flex-shrink: 0; /* Prevents footer from shrinking */
}

#page-wrapper .social-media a {
  margin: 0 10px;
  color: #fff;
  font-size: 1.3em;
  text-decoration: none;
  transition: color 0.3s;
}

#page-wrapper .social-media a:hover {
  color: #ffc107;
}

#page-wrapper footer p {
  margin-top: 20px;
  color: #aaa;
}
/* =============================================
   STALYTICS DEMO FOOTER BRANDING
   ============================================= */

.stalytics-branding-footer {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05); /* A very subtle background tint */
    border-left: 3px solid #00aaff; /* Using a brand accent color */
    border-radius: 4px;
    max-width: 600px; /* Keeps the text block from becoming too wide on large screens */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.stalytics-branding-footer p {
    margin: 0;
    padding: 0;
    font-size: 0.95rem; /* Slightly smaller to feel like a footnote */
    line-height: 1.6;
    color: #ccc; /* A lighter text color to distinguish it */
}

.stalytics-branding-footer strong {
    color: #fff; /* Make your brand name stand out */
    font-weight: 600;
}

.stalytics-branding-footer em {
    color: #00aaff; /* Use the accent color for the slogan */
    font-style: italic;
    display: block; /* Puts the slogan on its own line */
    margin-top: 0.5rem;
}

.stalytics-branding-footer .cta-button {
  display: inline-block;
  background-color: #d4af37;
  color: #001430;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 1rem 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#page-wrapper .content-section:not(.active) {
  display: none;
}

/* =============================
   Responsive Layout
============================= */
@media (min-width: 600px) {
  #main-header {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  main {
    padding-top: 100px; /* Adjust padding for shorter header on desktop */
  }

  #main-header .logo {
    font-size: 1.8em;
  }

  .breadcrumb-nav {
    font-size: 0.9rem;
  }

  #page-wrapper .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #page-wrapper .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  #main-header {
    padding: 20px 50px;
  }

  main {
    padding-top: 85px; /* Further adjust padding for desktop header */
  }

  #page-wrapper .hero h1 {
    font-size: 4em;
  }

  #page-wrapper .hero p {
    font-size: 1.5em;
  }

  #page-wrapper .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #page-wrapper .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #page-wrapper .contact-form {
    max-width: 600px;
  }
}

/* =============================
   Silktide Cookie Banner Fix
============================= */
#silktide-cookie-consent-wrapper {
  background-color: #000;
  color: #f0f0f0;
}

/* =============================
   Silktide Modal & Backdrop Fix
============================= */

#silktide-wrapper {
  --backdropBackgroundColor: rgba(0, 0, 0, 0.9); 
  --backdropBackgroundBlur: 0px;
}

#silktide-modal {
  background-color: #1a1a1a; 
  border: 1px solid #ffc107;
}
#silktide-modal .switch__pill {
  background: #ffffff; 
}
#silktide-modal .switch__dot {
  background: #111111;
}
#silktide-modal .switch input:checked + .switch__pill {
  background: #ffc107;
}

#silktide-modal .switch__on,
#silktide-modal .switch__off {
  color: #111111;
  position: absolute;
  transition: opacity 150ms ease-out;
}

#silktide-modal .switch__off {
  opacity: 1;
}
#silktide-modal .switch__on {
  opacity: 0;
}

#silktide-modal .switch input:checked ~ .switch__off {
  opacity: 0;
}
#silktide-modal .switch input:checked ~ .switch__on {
  opacity: 1;
}

#silktide-modal h1, 
#silktide-modal p, 
#silktide-modal legend {
  color: #f0f0f0 !important;
}


#silktide-cookie-icon svg {
  fill: #ffc107;
}