@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
/* --- Fonts & Variables --- */
:root {
  --raisin-black: #1f1f1f;
  --white: #ffffff;
  --light-grey: #bababa;
  --celadon-green: #24797e;
  --font-family: "Roboto", sans-serif;
}
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--raisin-black);
  color: var(--white);
}
#teal-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
body > * {
  position: relative;
  z-index: 1;
  padding-top: 80px; /*adjust depending on your nav height */
}
/* --- Logo or Icon --- */
.logo img {
  height: 50px; /* adjust to your desired size */
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}
/* --- Containers --- */
.container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}
/* --- Centering classes --- */
.section--center {
  text-align: center;
  padding: 4rem 1.5rem;
}
.center-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: 3rem 1.5rem;
}
.card--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: #262626;
}
/* --- Unified Interactive Buttons --- */
.button,
.read-more-btn,
.cta-button {
  background-color: transparent;
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;

  /* subtle dual glow initially */
  box-shadow: 0 0 6px #24797e /* teal */ 0 0 10px rgba(255, 255, 255, 0.7); /* white */

  /* pulsing glow animation */
  animation: pulseDualGlow 3s infinite ease-in-out;
}
.button:hover,
.read-more-btn:hover,
.cta-button:hover {
  background-color: #212121d0;
  color: var(--white);

  /* intense dual glow on hover */
  box-shadow: 0 0 20px rgb(36, 121, 126), 0 0 30px rgb(255, 255, 255),
    0 0 40px rgb(36, 121, 126), 0 0 50px rgb(255, 255, 255);
}

@keyframes pulseDualGlow {
  0% {
    box-shadow: 0 0 6px rgba(36, 121, 126, 0.5),
      0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(36, 121, 126, 0.9),
      0 0 20px rgba(255, 255, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 6px rgba(36, 121, 126, 0.5),
      0 0 10px rgba(255, 255, 255, 0.3);
  }
}
/* --- Hero Section --- */
.hero-container {
  max-width: 800px;
}
.underline {
  width: 80px;
  height: 4px;
  background-color: var(--celadon-green);
  margin: 20px auto;
}
.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  text-shadow: #151515;
}
.hero p {
  font-size: 1.2em;
  color: var(--light-grey);
  margin-bottom: 30px;
}
.slogan {
  font-family: "Roboto Mono", monospace;
  font-weight: 700; /* Bold */
}
/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* max 2 columns */
  gap: 30px;
}

/* Tablet: 2 columns */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: var(--celadon-green);
  color: var(--raisin-black);
}
.service-card p {
  color: var(--light-grey);
}
/* --- Service Modal / Overlay --- */
.service-modal {
  position: fixed;
  inset: 0;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 20000; /* above everything */
}
.service-modal.is-open {
  /* when open */
  display: flex;
}
/* dimming overlay */
.service-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  transition: opacity 220ms ease;
  opacity: 1;
}
/* panel */
.service-modal__panel {
  position: relative;
  width: min(860px, 94%);
  max-height: 86vh;
  overflow: auto;
  background: #111; /* dark panel */
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  color: var(--white);
  z-index: 20001;
  transform: translateY(8px);
  transition: transform 220ms ease, opacity 220ms ease;
}
/* close button */
.service-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  color: var(--light-grey);
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
}
.service-modal__close:hover {
  color: var(--celadon-green);
}
/* modal content styling (you can tweak) */
.service-modal__content h3 {
  margin-top: 0;
  color: var(--white);
}
.service-modal__content p,
.service-modal__content li {
  color: var(--light-grey);
  line-height: 1.5;
}
/* CTA link inside modal */
.service-modal__content .cta-link {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--celadon-green);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
}
/* responsive tweaks */
@media (max-width: 520px) {
  .service-modal__panel {
    padding: 18px;
    border-radius: 8px;
  }
  .service-modal__close {
    font-size: 24px;
    top: 8px;
    right: 8px;
  }
}
/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
/* --- Slider --- */
.slider-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slider-item {
  flex: 0 0 calc(100% / 3); /* 3 images desktop */
}
.slider-item img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
/* Tablet: 2 images */
@media (max-width: 992px) {
  .slider-item {
    flex: 0 0 50%; /* 2 images */
  }
}
/* Mobile: 1 image */
@media (max-width: 768px) {
  .slider-item {
    flex: 0 0 100%; /* 1 image */
  }
}
/* Arrows stay the same */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(36, 121, 126, 0.8);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 1.5em;
  border-radius: 10%;
  z-index: 10;
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}
/* Tablet: 2 images */
@media (max-width: 992px) {
  .slider-item {
    flex: 0 0 50%;
  }
}
/* Mobile: 1 image */
@media (max-width: 768px) {
  .slider-item {
    flex: 0 0 100%;
  }
}
/* Container for the video section */
.video-hero {
  position: relative; /* This is key for positioning child elements */
  width: 100%; /* Sets the section to full width of the screen */
  height: 250px; /* Sets the section height to the desired height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
/* Style the video element to act as a background */
.video-hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1; /* Places the video behind other content */
  object-fit: cover; /* Ensures the video covers the entire container without distortion */
}
/* Create the dark overlay for better text readability */
.video-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Adjust the last value (0.5) for desired darkness */
  z-index: 0;
}
/* Style the content (text and button) */
.video-hero .hero-content {
  position: relative;
  z-index: 1; /* Places content above the overlay */
  color: white;
  text-shadow: 2px 2px 2px var(--raisin-black);
  padding: 2rem;
}
/* Video hero section slogan in Roboto Mono Bold */
.video-hero .hero-content h1 {
  font-family: "Roboto Mono", monospace;
  font-weight: 700; /* Bold */
}
/* CONTACT SECTION SPLIT LAYOUT */
.contact-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
/* Left column: contact details */
.contact-title {
  text-align: center;
  margin-bottom: 40px;
}
.contact-info {
  flex: 1;
  color: var(--white);
}
.contact-info h2 {
  margin-bottom: 20px;
}
/* Right column: contact form */
.contact-form {
  flex: 1;
}
/* Labels */
.contact-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}
/* Spacing between inputs */
.form-group {
  margin-bottom: 20px;
}
/* Form field styling — KEEPING YOUR STYLE */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #444;
  background-color: #333;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 1em;
}
.form-message {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: #24797e33; /* light teal */
  color: #24797e;
  border: 1px solid #24797e;
}

.form-message.error {
  background-color: #ffcccc;
  color: #cc0000;
  border: 1px solid #cc0000;
}

/* Mobile layout */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .contact-info,
  .contact-form {
    width: 100%;
  }
}

/* --- Social Icons (Bottom Center on All Views) --- */
.social-icons {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 22px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 22px;
  border-radius: 8px;
  z-index: 9999; /* ALWAYS on top */
  backdrop-filter: blur(4px); /* Optional: soft frosty look */
}
.social-icons a img {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}
.social-icons a:hover img {
  transform: scale(1.22);
}
/* --- Navigation Styling --- */
.sticky-nav {
  background-color: #00000094; /* Slightly transparent */
  position: fixed; /* <-- change from sticky to fixed */
  top: 20px; /* adds space above the navigation bar * /
    left: 0;               /* make sure it starts from the left */
  width: 100%; /* span the full width */
  z-index: 100;
  padding: 15px 0;
  backdrop-filter: blur(4px);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.nav-links li {
  margin-left: 30px; /* Slightly more spacing for balance */
  position: relative; /* For hover effect if needed */
}
.nav-links li a {
  color: var(--white); /* Always white */
  text-transform: uppercase; /* Caps */
  font-weight: 600;
  text-decoration: none; /* No underline */
  transition: color 0.4s ease; /* Smooth hover transition */
  padding: 4px 0; /* Tiny vertical padding so hover feels smooth */
}
.nav-links li a:hover {
  color: var(--celadon-green); /* Teal on hover */
}
/* --- Mobile Nav Toggle --- */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* Hidden by default */
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* --- Footer --- */
.footer {
  background-color: #151515;
  padding: 30px 0;
  text-align: center;
  color: var(--light-grey);
  font-size: 0.9em;
}
.footer a {
  color: var(--light-grey);
}
/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(31, 31, 31, 0.95);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    margin: 0 0 15px 0;
  }
  .nav-toggle {
    display: block;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* ----------------------------- */
/* Contact Form Messages         */
/* ----------------------------- */

.form-message {
  display: none;
  margin-top: 15px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  animation: fadeInUp 0.4s ease forwards;
}

/* Success style (teal + honey glow) */
.form-message.success {
  display: block;
  background: rgba(36, 121, 126, 0.2);
  border: 2px solid #24797e;
  color: #8ef7ff;
  box-shadow: 0 0 10px #24797e, 0 0 20px #ffd95e;
}

/* Error style (shake + red glow) */
.form-message.error {
  display: block;
  background: rgba(255, 80, 80, 0.2);
  border: 2px solid #ff5050;
  color: #ffb3b3;
  animation: shake 0.4s ease;
  box-shadow: 0 0 12px #ff5050;
}

/* Glow pop entrance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shake animation */
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  50% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(0);
  }
}
