a {
    text-decoration: none;
    color: inherit;
  }
  h1 .naranja {
    color: #FF8A00; /* Orange */
  }
  
:root {
  --primary-color: #E63946; /* Orange instead of Pink */
  --secondary-color: #FF8A00; /* Red - keeping this */
  --accent-color: #457B9D; /* Blue - keeping this */
  --light-color: #F1FAEE;
  --dark-color: #1D3557;
  --gray-color: #f4f4f4;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

#loader p {
    color: #e63946;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 2.5rem;
    color: #e63946;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e63946;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background-color: #e63946;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #c1121f;
}






/* Main Content Styles */
main {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
  padding-top: 1rem;
}

.main-top {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 5rem;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 60px;
  height: 60px;
  margin-right: 1rem;
}

h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.search-container {
  position: relative;
  width: 70%;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  border: 2px solid var(--gray-color);
  border-radius: 25px;
  font-size: 1rem;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 107, 136, 0.2);
}

.search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 10;
  margin-top: 0.5rem;
}

.search-suggestions ul {
  list-style: none;
}

.search-suggestions li {
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-suggestions li:hover {
  background-color: var(--gray-color);
  color: var(--primary-color);
}

/* Sidebar Styles */
.sidebar {
  width: 280px;
  background-color: white;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.close-sidebar {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--dark-color);
}

.categories {
  margin-bottom: 2rem;
}

.category-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.category-btn:hover {
  background-color: var(--gray-color);
  color: var(--primary-color);
}

.category-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.filters h3 {
  margin-bottom: 1rem;
}

.filter-section {
  margin-bottom: 1.5rem;
}

.filter-section h4 {
  margin-bottom: 0.8rem;
}

.price-slider {
  padding: 0 0.5rem;
}

.price-slider input[type="range"] {
  width: 100%;
  margin-bottom: 0.8rem;
  accent-color: var(--primary-color);
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.filter-actions {
  margin-top: 1.5rem;
}

.clear-filters {
  background: none;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.clear-filters:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Content Styles */
.content {
  flex: 1;
  padding: 1.5rem;
}

.mobile-controls {
  display: none;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.filter-toggle {
  display: flex;
  align-items: center;
  background-color: white;
  border: 1px solid var(--gray-color);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.filter-toggle i {
  margin-right: 0.5rem;
}

.sort-control select {
  padding: 0.6rem;
  border: 1px solid var(--gray-color);
  border-radius: 4px;
  background-color: white;
  font-size: 0.9rem;
}

.results-info {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--dark-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  transform: translateY(0);
  opacity: 1;
}

.product-card.animate {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-image {
  height: 400px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 1.2rem;
}

.product-info h3 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.product-category {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.product-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.more-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.95rem;
}

.more-info-btn i {
  margin-right: 0.5rem;
}

.more-info-btn:hover {
  background-color: #D03040;
}

.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.no-results-image {
  width: 150px;
  height: 150px;
  margin-bottom: 1.5rem;
}

.clear-filters-btn {
  margin-top: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.clear-filters-btn:hover {
  background-color: #E67A00; /* Darker orange for hover state instead of #FF517B */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .search-container {
    width: 40%;
  }
}

@media (max-width: 768px) {
  .main-top {
    flex-direction: column;
    padding: 5rem 0.5rem;
  }
  
  .logo-container {
    margin-bottom: 1rem;
  }
  
  .search-container {
    width: 100%;
  }
  
  main {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    position: fixed;
    top: 80px;
    left: -100%;
    height: calc(100vh - 80px);
    z-index: 200;
    transition: left 0.3s ease;
  }
  
  .close-sidebar {
    display: block;
  }
  
  .mobile-controls {
    display: flex;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}







/* Footer */
footer {
    background-color: #003366; /* Dark Blue */
    color: white;
    padding: 1rem 0;
    font-size: 0.9rem;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info i {
    margin-right: 10px;
    color: #007BFF; /* Blue */
}

.footer-map {
    grid-column: span 3;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 1rem;
    position: relative;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-copyright {
    grid-column: span 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #e63946;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 5vh;
    right: 2vw;
    z-index: 1000;
    animation: float 2s infinite ease-in-out;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3vh); /* se mueve 2% de la altura de la ventana hacia abajo */
  }
  100% {
    transform: translateY(0);
  }
}
.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 2rem;
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        background-color: white;
        height: calc(100vh - 70px);
        width: 70%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        border-top-left-radius: 15px;
    }

    .nav-links li {
        margin: 1.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: #ffecf1;
        color: #e63946;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .burger div {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px;
        transition: all 0.3s ease;
    }
    
    /* Burger animation when menu is active */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: #e63946;
    }
    
    .burger.toggle .line2 {
        opacity: 0;
    }
    
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: #e63946;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .expertos .container {
        flex-direction: column;
    }

    .expertos-info {
        order: 2;
    }

    .expertos-img {
        order: 1;
    }

    .galeria-grid {
        grid-template-columns: 1fr 1fr;
    }

    .galeria-item-large {
        grid-column: span 2;
    }

    footer .container {
        grid-template-columns: 1fr;
    }
    
    .footer-map,
    .footer-copyright {
        grid-column: 1;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-item-large {
        grid-column: 1;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}