/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* HEADER / NAVBAR */
header, nav.navbar {
    background: #004d40;
    color: white;
    padding: 15px 0;
}
header .container, nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
nav a:hover {
    color: #ffca28;
}

/* HERO CAROUSEL */
.hero-section, .carousel-item {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    padding: 0 15px;
    color: white;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDown 1s forwards;
}

.carousel-caption p {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s forwards 0.5s;
}

/* HERO TEXT ANIMATIONS */
@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* PARTICLE CANVAS */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
    z-index: 1;
}

/* PRODUCTS SECTION */
.products {
    padding: 60px 20px;
}
.product-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.product-card {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    padding: 20px;
}
.product-card img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* CONTACT FORM */
.contact {
    padding: 40px 20px;
    text-align: center;
}
.contact input, .contact textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.contact button {
    background: #ffca28;
    color: #004d40;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
.contact button:hover {
    background: #e6b800;
}

/* FOOTER */
footer {
    background: #004d40;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    font-size: 30px;
    padding: 12px 16px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* RESPONSIVE HERO SLIDER */
@media (max-width: 992px) {
    .hero-section, .carousel-item { height: 60vh; }
    .carousel-caption h1 { font-size: 2rem; }
    .carousel-caption p { font-size: 1rem; }
}

@media (max-width: 768px) {
    .hero-section, .carousel-item { height: 50vh; }
    .carousel-caption h1 { font-size: 1.6rem; }
    .carousel-caption p { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .hero-section, .carousel-item { height: 40vh; }
    .carousel-caption h1 { font-size: 1.3rem; }
    .carousel-caption p { font-size: 0.8rem; }
    .carousel-caption { padding: 0 10px; }
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        font-size: 25px;
        padding: 10px 12px;
    }
}

/* ================= SOCIAL BAR ================= */
.social-bar {
  position: fixed;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-bar a {
  width: 42px;
  height: 42px;
  background: #0d6efd;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(13,110,253,0.5);
}

.social-bar a:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(13,110,253,0.9);
}

/* ================= FLOAT BUTTONS ================= */
.contact-float {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-float a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  animation: pulse 1.8s infinite;
}

.contact-float .whatsapp { background: #25d366; }
.contact-float .call { background: #0d6efd; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

/* DARK MODE SOCIAL */
body.dark-mode .social-bar a {
  background: #111;
  box-shadow: 0 0 15px #00ffcc;
}
/* ================= DARK MODE ================= */
body.dark-mode {
  background: #0b0f14;
  color: #eaeaea;
}

body.dark-mode nav,
body.dark-mode footer {
  background: #020617 !important;
}

body.dark-mode .card {
  background: #111827;
  color: white;
  border: 1px solid #1f2937;
}

body.dark-mode .btn-primary {
  background: #00ffcc;
  border: none;
  color: #000;
}

body.dark-mode iframe {
  filter: grayscale(1) invert(0.9);
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
