/* --- Variables Globales y Reseteo --- */
:root {
    --color-primario: #1a1a1a; /* Negro/Gris muy oscuro */
    --color-secundario: #f4f4f4; /* Gris claro */
    --color-acento: #c0a172;     /* Dorado/Beige elegante */
    --color-texto: #333;
    --fuente-principal: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --fuente-titulos: 'Georgia', 'Times New Roman', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fuente-principal);
    color: var(--color-texto);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--fuente-titulos);
    font-weight: normal;
    margin-bottom: 15px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

a {
    text-decoration: none;
    color: var(--color-primario);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Botones --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-acento);
    color: #fff;
    border: 1px solid var(--color-acento);
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--color-acento);
}

.btn-secondary {
    background-color: #fff;
    color: var(--color-primario);
    border: 1px solid var(--color-primario);
}

.btn-secondary:hover {
    background-color: var(--color-primario);
    color: #fff;
}


/* --- Encabezado y Navegación --- */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid var(--color-secundario);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--fuente-titulos);
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primario);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    padding-bottom: 5px;
    transition: border-bottom 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-acento);
    border-bottom: 2px solid var(--color-acento);
}

.header-icons a {
    font-size: 1.3rem;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.header-icons a:hover {
    color: var(--color-acento);
}

/* --- Sección Hero --- */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://via.placeholder.com/1600x900') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Grid de Productos --- */
.page-content {
    padding: 60px 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--color-secundario);
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.add-to-cart {
    position: absolute;
    bottom: -50px; /* Oculto inicialmente */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.product-card:hover .add-to-cart {
    bottom: 20px;
    opacity: 1;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 1.2rem;
    font-family: var(--fuente-principal);
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.1rem;
    color: var(--color-acento);
    font-weight: bold;
}

/* --- Pie de Página --- */
.main-footer {
    background-color: var(--color-primario);
    color: var(--color-secundario);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section {
    flex-basis: 250px;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-family: var(--fuente-principal);
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--color-secundario);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-acento);
}

.social-icons a {
    font-size: 1.4rem;
    margin-right: 15px;
    color: var(--color-secundario);
}

.social-icons a:hover {
    color: var(--color-acento);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}