/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Contenedor principal */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #FDB235;
}

/* Secciones generales */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #ED8430;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #FDB235;
    border-radius: 2px;
}

/* Hero (Inicio) */
.hero {
    background: linear-gradient(135deg, #FDB235 0%, #ED8430 100%);
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: white;
    color: #ED8430;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Nosotros */
.about {
    background: white;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
}

/* Productos */
.products {
    background: #f9f9f9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(253, 178, 53, 0.2);
    border-color: #FDB235;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ED8430;
}

.product-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FDB235;
}

.note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

/* Contacto */
.contact {
    background: white;
}

.contact form {
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #ED8430;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: #FDB235;
}

.contact button {
    width: 100%;
    background: #FDB235;
    color: white;
    font-size: 1.1rem;
    padding: 14px;
}

.contact button:hover {
    background: #ED8430;
}

.contact-info {
    text-align: center;
    margin-top: 30px;
}

.contact-info a {
    color: #ED8430;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Burbuja centrada powered by Beanstalk */
.powered-by-bubble {
    background: white;
    border-radius: 40px;
    padding: 8px 16px 8px 12px;
    box-shadow: 0 4px 15px rgba(253, 178, 53, 0.3);
    border: 2px solid #FDB235;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.powered-by-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(237, 132, 48, 0.4);
}

.powered-by-bubble a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ED8430;
    font-weight: 600;
    font-size: 0.9rem;
}

.powered-by-bubble span {
    background: linear-gradient(135deg, #FDB235, #ED8430);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.powered-by-bubble img {
    border-radius: 50%;
    transition: transform 0.3s ease;
    width: 48px;
    height: auto;
}

.powered-by-bubble:hover img {
    transform: rotate(10deg) scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .powered-by-bubble {
        padding: 6px 12px 6px 8px;
    }
    
    .powered-by-bubble span {
        font-size: 0.8rem;
    }
    
    .powered-by-bubble img {
        width: 36px;
    }
}