/* GLOBAL */
body {
  padding-top: 90px;
  background: #ffffff;
  color: #222;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* CUSTOM FONT */
@font-face {
  font-family: 'Brittany';
  src: url('fonts/BrittanySignature-LjyZ.otf') format('opentype');
}

.brand-font {
  font-family: 'Brittany', cursive;
  font-size: 30px;
  color: #d62828; /* elegant red */
}

/* NAVBAR */
.custom-navbar {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  border-bottom: 3px solid #d62828;
  transition: transform 0.3s ease-in-out; /* Smooth slide animation */
}

/* Navbar hide class - slides navbar up */
.custom-navbar.navbar-hidden {
  transform: translateY(-100%);
}

.navbar .nav-link {
  color: #222 !important;
  font-weight: 500;
  transition: 0.3s;
}

.navbar .nav-link:hover {
  color: #d62828 !important;
}

/* HERO - FIXED FOR VERTICAL VIDEO */
.hero {
  height: 85vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

/* HERO VIDEO BACKGROUND - FIXED */
.hero-video {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  z-index: 0;
}

/* Overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(214,40,40,0.25), rgba(0,0,0,0.15));
  z-index: 1;
}

/* Keep hero content above video */
.hero > div {
  position: relative;
  z-index: 2;
}

/* CAROUSEL SPACING - FIXED */
.carousel-section {
  margin-top: 0; /* Remove extra margin that causes overlap */
  position: relative; /* Ensure proper stacking */
}

/* BUTTONS */
.btn-red {
  background: #d62828;
  color: white;
  border-radius: 30px;
  padding: 10px 28px;
  border: none;
  transition: 0.3s;
}

.btn-red:hover {
  background: #a4161a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(214,40,40,0.35);
}

/* SECTIONS */
section:nth-child(even) {
  background: #f1f1f1; /* soft grey */
}

/* CARDS */
.card {
  border: 1px solid #e5e5e5;
  border-radius: 15px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: #d62828;
}

.card img {
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* CAROUSEL */
.carousel-img {
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
}

/* FOOTER */
footer {
  background: #222 !important;
  color: #ffffff;
  border-top: 3px solid #d62828;
}

/* WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #51d628ff;
  color: white;
  font-size: 26px;
  padding: 14px 18px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #a4161a;
}

/* ===== ABOUT SECTION ENHANCEMENTS ===== */

#about {
  position: relative;
  overflow: hidden;
}

/* Subtle silver background shapes */
#about::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(192,192,192,0.15);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  z-index: 0;
}

#about::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(192,192,192,0.12);
  border-radius: 50%;
  bottom: -80px;
  right: -80px;
  z-index: 0;
}

/* Ensure content stays above shapes */
#about .container {
  position: relative;
  z-index: 2;
}

/* Half rounded modern image */
#about img {
  border-radius: 150px 20px 150px 20px;
  transition: 0.4s ease;
}

#about img:hover {
  transform: scale(1.03);
}

/* Highlight icons */
.highlight-icon {
  font-size: 28px;
  color: #d62828;
  margin-bottom: 8px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Product Cards */
.product-card {
  border: 1px solid #eee;
  border-radius: 15px;
  transition: 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: #d62828;
}

.product-card img {
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Service Cards */
.service-card {
  border: 1px solid #eee;
  border-radius: 18px;
  transition: 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: #d62828;
}

.service-card img {
  height: 260px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.service-icon {
  font-size: 28px;
  color: #d62828;
}

/* Section Background */
.contact-section {
  background: linear-gradient(to right, #ffffff 50%, #f5f5f5 50%);
}

/* Title Line */
.section-line {
  width: 60px;
  height: 3px;
  background: #d62828;
  margin: 10px auto 20px;
}

/* Contact Cards */
.contact-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 15px;
}

.social-btn {
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.social-btn.facebook {
  background: #1877f2;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.social-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* Map */
.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Contact links */
.contact-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,0,0,0.2);
  padding-bottom: 2px;
}

.contact-link:hover {
  color: #d62828;
  border-bottom-color: #d62828;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 991.98px) {
  .hero {
    height: 70vh;
  }

  .card img,
  .product-card img,
  .service-card img {
    height: 220px;
  }

  .contact-section {
    background: #f5f5f5;
  }
}

@media (max-width: 575.98px) {
  .hero {
    height: 65vh;
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .carousel-img {
    height: 220px;
  }

  .social-buttons {
    flex-direction: column;
  }

  .social-btn {
    width: 100%;
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
}