/* styles.css */
:root {
    --primary: #4CC9A6;
    --primary-dark: #4CC9A6;
    --secondary: #F4D65E;
    --dark: #1f2937;
    --light: #f3f4f6;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    color: var(--dark);
    margin: 0;
}

.txt{
    text-decoration: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navbar Styles */
.sticky-nav {
    position: sticky;
    top: 0;
    background-color: var(--dark);
    backdrop-filter: blur(10px);
    border-bottom: 0px solid #000000;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: 32px;
    margin-right: 8px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color:white;
}

.desktop-menu a {
    margin: 0 12px;
    padding: 8px 12px;
    text-decoration: none;
    color:#ffffff;
    font-weight: 500;
}

.desktop-menu a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.cart-btn {
    position: relative;
    padding: 8px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 9999px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: #d1fae5;
    color: var(--primary-dark);
    border: none;
    margin-right: 6px;
    margin-left: 6px;
}

.btn-white{
    border: 2px solid var(--dark);
    background-color: var(--dark);
    color: var(--primary);
    font-size: large;

}
.btn-gray{
    background-color: var(--primary);
    color: var(--dark);
    border: none;
}
.btn-outline-white {
    border: 2px solid var(--dark);
    background: transparent;
    color: var(--dark);
    font-size: large;
}

.btn-outline-white:hover {
    background: var(--dark);
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--dark);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;

}

.hero-text {
    flex: 1;
    margin-left: 50px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    padding-left: 100px;
    flex: 1;
}

.hero-image {
    flex: 1;
    overflow: hidden;
    height: 450px;
}

.hero-image img {
    width: 90%;
    margin-top: -25%;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.section-header h2 {
    margin-left: 1%;
    margin-right: 1%;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    margin-left: 1%;
    margin-right: 1%;
    font-size: 1.125rem;
    color: #000000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 20px;
}

.feature-card {
    background: var(--dark);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color:var(--primary)
}

.feature-card h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: #ffffff;
    line-height: 1.5;
}

/* Products Section */
.products-showcase {
    padding: 0px 0;
    background-color: #f3f4f6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 2%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 370px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 9999px;
}

.product-details {
    padding: 20px;
}

.product-details h3 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-description {
    color: #ffffff;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 500;
    padding: 0;
    text-decoration: underline;
}

.contact{
    height: 500px;
    padding: 100px 0;
    background-color: #f3f4f6;

}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.contact-header h1 {
    margin-left: 1%;
    margin-right: 1%;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.contact-header h2 {
    margin-left: 1%;
    margin-right: 1%;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.telefono{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* espacio entre ícono y número */
  margin: 20px 0;
}

.telefono h1{
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.img-tel{
    margin-right: -15px;
    margin-top: -7px;
    width: 30px;   /* ajusta tamaño */
    height: auto;
}

.button2 {
  display: inline-block;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #090909;
  padding: 0.7em 4.3em 0.7em 2.7em;
  font-size: 22px;
  border-radius: 0.5em;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
  box-shadow: 6px 6px 12px #c5c5c5,
             -6px -6px 12px #ffffff;
}

.button2.instagram{
    background: #ffffff; /* color principal */
}


.button2 > svg {
  height: 40px;
  position: absolute;
  padding: 0px 110px;
  margin-top: -35px;
}

.insta_png{
    height: 40px;
    width: auto;
    position: absolute;
    padding: 0px 100px;
    margin-top: -35px;
}

.button2:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5,
             inset -4px -4px 12px #ffffff;
}

.button2:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.button2:after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  background-color: #009087;
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.button2.instagram::after{
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);

}

.button2:hover {
  color: #ffffff;
  border: 1px solid #009087;
}

.button2.instagram:hover{
    border: 1px solid #d62976;
    }

.button2:hover:before {
  top: -35%;
  background-color: #009087;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.button2.instagram:hover:before{
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);

}

.button2:hover:after {
  top: -45%;
  background-color: #009087;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.button2.instagram:hover:after{
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);

}















/* Responsive Styles */

.mobile-menu {
        display: none;
    }
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
    }
    
    .features-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-text{
        margin-left: 5%;
    }
    .hero-actions{
        margin-left: -23%;
    }
    .hero-image{
        margin-left: 8%;        
    }
}

.mobile-menu {
    background-color: rgb(39, 39, 39);
    border-bottom: 0px solid #e5e7eb;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 50;
}

/* Estilos modo oscuro */
body.dark .mobile-menu {
    background-color: #111827;
    border-bottom: 1px solid #1f2937;
}

/* Contenedor de los enlaces */
.mobile-menu-links {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
}

/* Cada ítem del menú */
.mobile-menu-item {
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease;
}

/* Hover en modo claro */
.mobile-menu-item:hover {
    color: #059669;
}

/* Modo oscuro */
body.dark .mobile-menu-item {
    color: #d1d5db;
}

body.dark .mobile-menu-item:hover {
    color: #34d399;
}

/* Iconos */
.mobile-menu-icon {
    height: 1.25rem;
    width: 1.25rem;
}

/* Texto debajo de los iconos */
.mobile-menu-label {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.hidden{
    display: none;
}

