/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #C2185B; /* Magenta oscuro / elegante */
    --secondary-color: #F8BBD0; /* Rosa claro */
    --accent-color: #E91E63; /* Rosa vibrante */
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --font-heading: 'Brankic1979', 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 70px;
}

.section-padding {
    padding: 40px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Header */
#main-header {
    background: linear-gradient(90deg, var(--primary-color) 30%, rgba(255, 255, 255) 50%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
    z-index: 1000;
    padding: 0;
    margin-top: 20px;
    border-radius: 36px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    background-color: #C2185B;
    border-radius: 36px;
    padding: 5px 10px;
}


.nav-links {
    display: flex;
    gap: 30px;
    padding: 10px 0;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-color);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

.nav-links .disabled {
    color: #ccc;
    cursor: not-allowed;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 25px;
}

.btn-contact:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/banner.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: -80px;
}

/* Fallback if image doesn't load well or to add a pink tint */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 35%;
    right: 200px;
    opacity: 0;
    animation: fadeUp 2s ease-out forwards;
    animation-delay: 0.5s;
}

#hero h1 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(194, 24, 91, 0.5);
}

/* Products Section */
.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    object-fit: cover;
    flex-shrink: 0;
}

.product-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.3);
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.product-info .code {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
}

.product-info .description {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 15px;
    min-height: 40px;
}

.features {
    margin-bottom: 10px;
}

.features li {
    font-size: 0.85rem;
    margin-bottom: 2px;
    color: var(--text-color);
}

.features li i {
    color: var(--accent-color);
    margin-right: 8px;
}

.details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light-text);
    margin-top: auto;
    margin-bottom: 2px;
}

.details i {
    color: var(--primary-color);
    margin-right: 5px;
}

.btn-consultar {
    display: block;
    width: 100%;
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    border-radius: 24px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-consultar:hover {
    background-color: #128C7E;
    color: white;
}

.btn-consultar i {
    margin-right: 5px;
}

/* Size Table */
.table-responsive {
    overflow-x: auto;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.size-table th, .size-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.size-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.size-table tr:last-child td {
    border-bottom: none;
}

.size-table tr:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Care Instructions */
.care-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.care-item {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    cursor: pointer;
}

.care-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.care-item p {
    font-weight: 600;
    color: var(--light-text);
}

/* Footer */
footer {
    background-color: #222;
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-logo h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--accent-color);
    letter-spacing: 1px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-contact ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact ul li i {
    width: 25px;
    color: var(--accent-color);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #888;
}

.gokywebs-signature {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 5px;
}

.gokywebs-signature a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.gokywebs-signature a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* Reducir padding lateral en móviles */
    }

    #main-header {
        margin-top: 0;
        top: 0;
        border-radius: 0;
        width: 100%;
    }

    .header-content {
        flex-direction: row;
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
        font-size: 1.8rem;
    }

    /* Ajustes del Hero para celular */
    #hero {
        height: auto;
        min-height: 50vh;
        background-position: 10% center;
        align-items: flex-start; /* Permitir que el contenido fluya */
        margin-top: 0; /* Resetear margen negativo */
        padding-top: 100px;
    }

    #hero::before {
        background: rgba(0,0,0,0.4); /* Un poco más oscuro para legibilidad */
    }
    .hero-content {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        padding: 20px;
        text-align: center;
        margin: 0;
        opacity: 1; /* Asegurar visibilidad */
        animation: fadeUp 1s ease-out forwards;
    }

    #hero h2 {
        font-size: 2rem;
        word-wrap: break-word; /* Evitar desbordamiento de palabras largas */
    }

    #hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Ajustes generales de texto y secciones */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    /* Ajustes para productos */
    .products-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
        gap: 30px;
    }

    /* Ajustes Footer */
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }
}

/* Hero Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.animate-slide-up {
    opacity: 0; /* Start hidden */
}

.animate-slide-up.active {
    animation: slideUp 2s ease-out forwards;
}

.animate-slide-in-left {
    opacity: 0; /* Start hidden */
}

.animate-slide-in-left.active {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    opacity: 0; /* Start hidden */
}

.animate-slide-in-right.active {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Staggered Delays for Product Cards */
.product-card:nth-child(1) { animation-delay: 0.2s; }
.product-card:nth-child(2) { animation-delay: 0.4s; }
.product-card:nth-child(3) { animation-delay: 0.6s; }
.product-card:nth-child(4) { animation-delay: 0.8s; }
.product-card:nth-child(5) { animation-delay: 1.0s; }
.product-card:nth-child(6) { animation-delay: 1.2s; }

/* Staggered Delays for Care Items */
.care-item:nth-child(1) { animation-delay: 0.2s; }
.care-item:nth-child(2) { animation-delay: 0.4s; }
.care-item:nth-child(3) { animation-delay: 0.6s; }
.care-item:nth-child(4) { animation-delay: 0.8s; }
.care-item:nth-child(5) { animation-delay: 1.0s; }

/* Contact Form Section */
#contacto-form {
    background-color: var(--light-bg);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px rgba(233, 30, 99, 0.2);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-submit:hover {
    background-color: var(--accent-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
}
