body {
  font-family: 'Poppins', sans-serif;
  background-color: #F7F5EF;
  color: #333333;
  height: 100%;
  width: 100%;
}

/* Topbar (fixed, solid background) */
.top-bar {
  height: 48px;
  /*background-color: #0D1B2A;*/
  color: white;
  position: fixed;
  z-index: 1030;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Navbar initial transparent overlay */
.navbar {
  position: fixed;
  top: 48px;
  width: 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1020;
  background-color: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(5px);
}

/* Navbar after scroll (solid background) */
.navbar.scrolled {
  background-color: #0D1B2A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #0D1B2A;
  background-color: #FFF;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
}

.hero-video,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: inline-block;
}

.carousel-caption h1, .carousel-caption p{
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  padding: 0.1rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
  max-height: 30px;
  height: auto;
  width: auto;
}


/* ========================
   Mobile Overrides
   ======================== */
@media (max-width: 768px) {
body {
padding-top: 0;
}

  .top-bar,
  .navbar {
    position: static;
    background-color: #0D1B2A !important;
  }
  
  .top-bar{ background-color: #000 !important; }

  .hero {
    position: relative;
    top: 0;
    height: auto;
    /*min-height: 60vh;*/
    padding-bottom: 1rem;
  }

  .hero-video {
    display: none;
  }

  .hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .overlay {
    background: rgba(0, 0, 0, 0.4);
  }

  .carousel-caption {
    padding: 0;
    top: 20%;
    text-align: center;
  }

  
.carousel-caption h1, .carousel-caption p{
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  padding: 0.3rem;
  border-radius: 3px;
  font-size: 1.2rem;
  background: none;
  text-align: center;
  margin: 0;
}

.carousel-caption h1{
font-size: 2rem;
}

#heroCarousel button{
    bottom: 25%;
}

.carousel-caption a{
    font-size: 1rem;
}

}


.navbar-brand, .nav-link {
  color: #FFFFFF !important;
}

/* ========================
   Button
   ======================== */

.btn-gold {
  background-color: #C9A227;
  color: white;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn-gold:hover {
  background-color: #b18f1d;
}

.section {
  padding: 60px 0;
}

.section-bg {
  background-color: #EAE3D2;
}

.footer {
  background-color: #0D1B2A;
  color: white;
  padding: 40px 0;
  margin: 0;
  clear: both;
}

.card {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.carousel-indicators [data-bs-target] {
  background-color: #C9A227;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.7;
}

.carousel-indicators .active {
  opacity: 1;
}



/* ========================
   Services
   ======================== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.text-gold {
  color: #C9A227;
}

/* Animation base */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.card-img-top {
  object-fit: cover;
  height: 220px;
}
.img-container {
  overflow: hidden;
  height: 220px;
}

.zoom-img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: transform 0.4s ease;
}

.service-card:hover .zoom-img {
  transform: scale(1.08);
}

.btn-gold {
  background-color: #C9A227;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-gold:hover {
  background-color: #b8941f;
  color: white;
}


/* ========================
   Home-About
   ======================== */
.btn-outline-gold {
  border: 1px solid #C9A227;
  color: #C9A227;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background-color: #C9A227;
  color: #fff;
}

.fade-in-left, .fade-in-right {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-left.visible, .fade-in-right.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========================
   Home-Team
   ======================== */
 .team-card {
  perspective: 1000px;
  height: 300px;
}

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.team-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #eee;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.flip-front {
  z-index: 2;
}

.flip-back {
  transform: rotateY(180deg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0D1B2A;
}

.text-gold {
  color: #C9A227;
}

/* Scroll animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }



/* ========================
   Home-Contact
   ======================== */
.map-wrapper {
  min-height: 400px;
  height: 100%;
  border: 1px solid #ddd;
  overflow: hidden;
}

form .form-label {
  font-weight: 500;
  color: #0D1B2A;
}

form .form-control {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}

form .form-control:focus {
  border-color: #C9A227;
  box-shadow: 0 0 0 0.15rem rgba(201, 162, 39, 0.25);
}

.btn-gold {
  background-color: #C9A227;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  transition: background-color 0.3s ease;
}

.btn-gold:hover {
  background-color: #b8941f;
}
.fade-in-left, .fade-in-right, .fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.fade-in-left.visible, .fade-in-right.visible, .fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

#contact-success {
  margin-bottom: 1.5rem;
  font-weight: 500;
  background-color: #e6f9e6;
  color: #2d7032;
  border-left: 4px solid #2d7032;
  padding: 12px 20px;
  border-radius: 4px;
}



/* ========================
   Home-footer
   ======================== */
.footer {
  font-size: 0.9rem;
  background-color: #0D1B2A;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #C9A227;
}

.text-gold {
  color: #C9A227 !important;
}

.footer .form-control {
  border-radius: 0.3rem;
}

.footer .form-control:focus {
  border-color: #C9A227;
  box-shadow: 0 0 0 0.15rem rgba(201,162,39,0.25);
}

.footer .btn-gold {
  background-color: #C9A227;
  color: white;
  border: none;
}

.footer .btn-gold:hover {
  background-color: #b8941f;
}

/* ========================
   Home-gallery
   ======================== */
.gallery-img {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.masonry-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-out;
}

.masonry-item.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========================
   Scroll to top
   ======================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #C9A227;
  color: white;
  border: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  justify-content: center;
  align-items: center;
  display: flex;
}

.scroll-to-top:hover {
  background-color: #b8941f;
  transform: translateY(-3px);
}


section[id] {
  scroll-margin-top: 96px;
}


/* ========================
   privacy-policy
   ======================== */
/* Adjust top spacing for fixed nav */
.mt-space {
  margin-top: 96px;
}

.privacy-policy-section {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.privacy-policy-section h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0D1B2A;
}

.privacy-policy-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.privacy-policy-section li {
  margin-bottom: 0.5rem;
}

.privacy-policy-section a {
  color: #C9A227;
  text-decoration: none;
}

.privacy-policy-section a:hover {
  text-decoration: underline;
}


/* ========================
   terms-section
   ======================== */
.mt-space {
  margin-top: 96px;
}

.terms-section {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.terms-section h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0D1B2A;
}

.terms-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.terms-section li {
  margin-bottom: 0.5rem;
}

.terms-section a {
  color: #C9A227;
  text-decoration: none;
}

.terms-section a:hover {
  text-decoration: underline;
}


/* ========================
   cookie-policy
   ======================== */
.cookie-policy-section {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.cookie-policy-section h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0D1B2A;
}

.cookie-policy-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.cookie-policy-section li {
  margin-bottom: 0.5rem;
}

.cookie-policy-section a {
  color: #C9A227;
  text-decoration: none;
}

.cookie-policy-section a:hover {
  text-decoration: underline;
}


/* ========================
   disclaimer
   ======================== */
.disclaimer-section {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.disclaimer-section h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0D1B2A;
}

.disclaimer-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.disclaimer-section li {
  margin-bottom: 0.5rem;
}

.disclaimer-section a {
  color: #C9A227;
  text-decoration: none;
}

.disclaimer-section a:hover {
  text-decoration: underline;
}


/* ========================
   subscribe
   ======================== */
#subscribe-success, #subscribe-error {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 4px;
}

#subscribe-success {
  background-color: #e6f9e6;
  color: #2d7032;
  border-left: 4px solid #2d7032;
}

#subscribe-error {
  background-color: #fce6e6;
  color: #8a1f1f;
  border-left: 4px solid #8a1f1f;
}

/* ========== team ========== */
.team-img {
  transition: transform 0.3s ease;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}

.team-img:hover {
  transform: scale(1.03);
}

.team-card {
  transition: box-shadow 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}
