:root {
  --primary-color: #ff9800;
  --accent-color: #e88e00;
  --dark-bg: #081a63;
  --darker-bg:  #0a0f1f;
  --light-bg: #f5f8fd;
  --text-color-light: #eee;
  --text-color-dark: #0a0f1f;
  --grey-bg: #ebebeb;
}
  
html, body {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle, var(--light-bg), var(--grey-bg));
  color: var(--text-color-dark);
  margin: 0;
  padding: 0;
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* === HEADER === */

.navbar {
  background-color: var(--dark-bg);
}
  
.navbar-brand,
.nav-link {
  color: white !important;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

.logo img {
  height: 75px;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* === SCROLL NAV === */

.scroll-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  padding: 10px 0;
  background-color: var(--darker-bg);
}

.scroll-nav .nav-link {
  color: #ddd;
  margin: 0 20px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.scroll-nav .nav-link.active {
  color: var(--primary-color);
}

.scroll-nav .nav-link::after {
  content: '';
  display: block;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scroll-nav .nav-link.active::after {
  opacity: 1;
}

/* === BURGER === */

.burger {
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  z-index: 10000;
  position: relative;
}

/* === MOBILE NAV === */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background-color: var(--darker-bg);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.3);
  padding: 60px 20px 20px;
  transition: right 0.3s ease;
  z-index: 10000;
  text-transform: uppercase;
}

.mobile-drawer.show {
  right: 0;
}

.mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-drawer li {
  margin: 20px 0;
}

.mobile-drawer a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.show {
  display: block;
}

/* === CUSTOM SCROLLBAR === */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 5px;
  border: 2px solid var(--dark-bg);
}

/* === SECTION === */

section {
  text-align: center;
}

section h1, section h2 {
  font-size: 2.5rem;
  margin: 3rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-color-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}
  
section h1::after, section h2::after {
  content: '';
  width: 60%;
  height: 3px;
  color: var(--text-color-dark);
  position: absolute;
  left: 20%;
  bottom: 0;
  border-radius: 2px;
}

section h3 {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

section h3::after {
  content: '';
  width: 60%;
  height: 3px;
  color: var(--text-color-dark);
  position: absolute;
  left: 20%;
  bottom: 0;
  border-radius: 2px;
}

.section-separator {
  height: 40px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
}

.section-dark {
  background-color: var(--dark-bg);
  color: var(--text-color-light);
  background-image: url('../../img/other/carbon-fibre.png');
}

.section-dark h1, .section-dark h2 {
  color: var(--text-color-light);
}

/* === HERO === */

#hero {
  background-image: url('../../img/other/welcome-background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /
}

#hero h1 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 1px 1px 10px var(--text-color-light);
  color: var(--text-color-dark);
  animation: glitch 2s infinite;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  #hero {
    background-size: auto 100%;
    background-position: center center;
  }
}

#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  z-index: 0;
  pointer-events: none;
}

#hero > * {
  position: relative;
  z-index: 1;
}

.slogan {
  font-size: 1.2rem;
  color: var(--text-color-dark);
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 8px var(--text-color-light);
  font-style: italic;
  font-weight: 500;
}

/* === ABOUT === */

#about {
  text-align: center;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

#about .container {
  max-width: 1000px;
}

#about p {
  margin-bottom: 20px;
}

.about-text-icon, .services-text-icon, .contact-text-icon {
  color: var(--primary-color);
}

/* === GALLERY === */

#gallery {
  padding: 60px 20px;
  margin: 0 auto;
}

#section-white {
  padding: 60px 0;
  color: white;
}

#gallery .gallery-image {
  padding: 10px;
}

#gallery img {
  transition: transform 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
}

#gallery img:hover {
  transform: scale(1.05);
}

#gallery .img-thumbnail {
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery .img-thumbnail:hover {
  transform: translateY(-5px) rotateX(1deg) rotateY(1deg) scale(1.03);
  box-shadow: 0 0 6px var(--accent-color);
  z-index: 2;
  border: none;
}

.subgallery-title {
  margin: 40px 0 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}
  
#gallery .img-thumbnail:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.lg-outer .lg-thumb-item.active {
  border-color: var(--accent-color) !important;
}
  
/* === CONTACT === */

#contact {
  text-align: center;
}

form .form-control {
  border-radius: 8px;
  background-color: var(--text-color-light);
  border: 1px solid rgba(0, 0, 0, 0.175);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

form .form-control:focus {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  background-color: var(--light-bg);
  border: 2px solid var(--primary-color);
}

.google-map {
  width: 100%; 
  margin-bottom: 15px; 
  overflow: hidden; 
  border-radius: 12px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === BUTTONS === */

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  margin: 2rem 0 1rem;
  padding: 10px 25px;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:disabled {
  transition: opacity 0.3s ease;
  background-color: var(--accent-color) !important;
  transform: translateY(-2px);
  border-color: var(--accent-color);
  text-decoration: none;
}

/* === CONTACT POPUP === */

.contact-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  z-index: 1000;
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.contact-popup.success {
  background-color: rgba(40, 167, 69, 0.95);
}
.contact-popup.danger {
  background-color: rgba(220, 53, 69, 0.95);
}
.contact-popup.info {
  background-color: rgba(23, 162, 184, 0.95);
}

  
/* === FOOTER === */

footer {
  background-color: var(--darker-bg);
  color: #ddd;
  padding: 30px 0;
  text-align: center;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: var(--primary-color);
}

.footer-icon {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-icon:hover {
  transform: scale(1.2) translateY(-3px);
  color: var(--primary-color);
}
  
/* === COOKIE BANER === */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--light-bg);
  color: var(--text-color-dark);
  padding: 16px;
  font-size: 14px;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  display: none;
}

#accept-cookies {
  margin-left: 20px;
  padding: 8px 14px;
  background: var(--accent-color);
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-color-light)
}

/* === AOS === */

[data-aos] {
  transition-duration: 0.8s;
}
  
/* === MEDIA === */

@media (max-width: 767px) {
  section h2 {
    font-size: 2rem;
  }

  #gallery .col-sm-6 {
    padding: 0 10px;
  }
}

@media (min-width: 576px) {
  #gallery .img-thumbnail {
    height: 330px;
  }
}

@media (min-width: 768px) {
  #gallery .img-thumbnail {
    height: 360px;
  }
}

@media (min-width: 1200px) {
  #gallery .img-thumbnail {
    height: 400px;
  }
}
  
/* === SCROLL TO TOP === */

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 15px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: none;
  transition: opacity 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--accent-color);
}

.container {
   overflow-x: hidden;
   overflow: hidden;
}

.text-stroke-white {
    text-shadow:
      -1px -1px 0 white,
      1px -1px 0 white,
      -1px  1px 0 white,
      1px  1px 0 white;
}


  