/* Estilos generales */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Helvetica Neue', Arial, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: #f9f9f9;
	color: #333;
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header y navegación */
header {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: all 0.3s ease;
}

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

.logo {
	width:100px;
	height:100px;
	cursor: pointer;
}

.logo img {

}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 30px;
}

nav ul li a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: color 0.3s;
	position: relative;
	padding: 5px 0;
}

nav ul li a:hover {
	color: #8a6d3b;
}

nav ul li a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #8a6d3b;
	transition: width 0.3s ease;
}

nav ul li a:hover::after {
	width: 100%;
}

/* Hero section */
.hero {
	  background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* El degradado siempre queda arriba */
    background-image: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('img/Vela Chica.png');

    transition: background-image 0.5s ease-in-out;
    color: #fff;
    text-align: center;
    padding: 150px 20px;
}

.hero h1 {
	font-size: 48px;
	margin-bottom: 20px;
	letter-spacing: 3px;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
	font-size: 20px;
	max-width: 700px;
	margin: 0 auto 30px;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 1s forwards 0.8s;
}

.btn {
	display: inline-block;
	background-color: #8a6d3b;
	color: #fff;
	padding: 12px 30px;
	text-decoration: none;
	border-radius: 4px;
	font-weight: bold;
	transition: all 0.3s;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 1s forwards 1.1s;
}

.btn:hover {
	background-color: #6b5228;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sección de productos */
.products {
	padding: 100px 0;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s, transform 0.8s;
}

.products.visible {
	opacity: 1;
	transform: translateY(0);
}
.box {
	padding: 100px 0;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s, transform 0.8s;
}
.box.visible {
	opacity: 1;
	transform: translateY(0);
}
.section-title {
	text-align: center;
	margin-bottom: 50px;
	font-size: 32px;
	letter-spacing: 2px;
	position: relative;
	padding-bottom: 15px;
}

.section-title::after {
	content: '';
	position: absolute;
	width: 80px;
	height: 3px;
	background-color: #8a6d3b;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

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

.product-card {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
	opacity: 0;
	transform: translateY(20px);
}

.product-card.visible {
	opacity: 1;
	transform: translateY(0);
}

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

.product-image {
	height: 250px;
	background-color: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: all 0.3s;
}

.product-image img{
	height: 250px;
}

.product-card:hover .product-image {
	background-color: #eaeaea;
}

.product-info {
	padding: 20px;
}
.product-info-ws {
	text-align:center;
	padding: 20px;
}
.destacado a{
	color:#6b5228;
}

.product-name {
	font-size: 18px;
	margin-bottom: 10px;
	font-weight: bold;
}

.product-details {
	color: #666;
	font-size: 14px;
	margin-bottom: 15px;
}

.product-price {
	font-weight: bold;
	color: #8a6d3b;
	font-size: 18px;
}

/* Sección sobre la marca */
.about {
	padding: 100px 0;
	background-color: #fff;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s, transform 0.8s;
}

.about.visible {
	opacity: 1;
	transform: translateY(0);
}

.about-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.about-text {
	flex: 1;
}

.about-text h2 {
	font-size: 32px;
	margin-bottom: 20px;
	letter-spacing: 2px;
	position: relative;
	padding-bottom: 15px;
}

.about-text h2::after {
	content: '';
	position: absolute;
	width: 80px;
	height: 3px;
	background-color: #8a6d3b;
	bottom: 0;
	left: 0;
}

.about-text p {
	margin-bottom: 20px;
	color: #666;
}

.about-image {
	flex: 1;
	background-color: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	transition: all 0.3s;
}
.about-image img{
	height: 400px;
}


.about-image:hover {
	transform: scale(1.02);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
	background-color: #222;
	color: #fff;
	padding: 80px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-column h3 {
	font-size: 18px;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.footer-column h3::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background-color: #8a6d3b;
}

.footer-column ul {
	list-style: none;
}

.footer-column ul li {
	margin-bottom: 10px;
}

.footer-column ul li a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-column ul li a:hover {
	color: #8a6d3b;
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid #444;
	color: #999;
	font-size: 14px;
}
#ws {
	cursor: pointer;
    position: fixed;
	z-index: 10;
	height: 50px;
	width: 50px;
	right: 20px;
	bottom: 20px;
}
#ws img{
	height: 50px;
	width: 50px;
}

/* Animaciones */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */
@media (max-width: 768px) {
	.header-content {
		flex-direction: column;
		text-align: center;
	}
	
	nav ul {
		margin-top: 20px;
		justify-content: center;
		flex-wrap: wrap;
	}
	
	nav ul li {
		margin: 0 10px 10px;
	}
	
	.hero h1 {
		font-size: 36px;
	}
	
	.hero p {
		font-size: 18px;
	}
	
	.about-content {
		flex-direction: column;
	}
	
	.about-image {
		height: 300px;
		margin-top: 30px;
	}
	
	#ws {
		cursor: pointer;
		position: fixed;
		z-index: 10;
		height: 70px;
		width: 70px;
		right: 20px;
		bottom: 20px;
	}
	#ws img{
		height: 70px;
		width: 70px;
	}
}

/* Indicador de sección activa */
.active-section {
	color: #8a6d3b !important;
	font-weight: bold;
}

.active-section::after {
	width: 100% !important;
}