@charset "utf-8";
/* CSS Document 

Tooplate 2151 Winter Gallery

https://www.tooplate.com/view/2151-winter-gallery

*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--color-snow: #fafbfc;
	--color-ice: #e8f4f8;
	--color-frost: #d4e9f2;
	--color-winter-blue: #7ba8bd;
	--color-slate: #4a5f6d;
	--color-charcoal: #2c3e50;
	--color-white: #ffffff;
	--font-serif: 'Cormorant Garamond', serif;
	--font-sans: 'Montserrat', sans-serif;
}

body {
	font-family: var(--font-sans);
	background: linear-gradient(135deg, var(--color-snow) 0%, var(--color-ice) 100%);
	color: var(--color-charcoal);
	line-height: 1.6;
	min-height: 100vh;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 1.5rem 2rem;
	z-index: 1000;
	border-bottom: 1px solid rgba(123, 168, 189, 0.1);
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-family: var(--font-serif);
	font-size: 1.8rem;
	font-weight: 300;
	letter-spacing: 2px;
	color: var(--color-slate);
	display: flex;
	align-items: center;
	gap: 0.8rem;
	text-decoration: none;
	transition: color 0.3s ease;
	background-color: transparent:
}

.logo:hover {
	color: var(--color-winter-blue);
}

.logo:hover .logo-icon {
	opacity: 1;
}

.logo-icon {
	width: 24px;
	height: 24px;
	opacity: 0.6;
}

.nav-links {
	display: flex;
	gap: 2rem;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
	color: var(--color-slate);
	font-size: 0.9rem;
	font-weight: 300;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: color 0.3s ease;
	position: relative;
	padding-top: 1.5rem;
}

.nav-links a::before {
	content: '❄';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.85rem;
	color: var(--color-winter-blue);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.nav-links a.active::before,
.nav-links a:hover::before {
	opacity: 1;
}

.nav-links a:hover {
	color: var(--color-winter-blue);
}

/* Hero Section */
.hero {
	margin-top: 80px;
	padding: 12rem 2rem 10rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(rgba(250, 251, 252, 0.85), rgba(232, 244, 248, 0.9));
	z-index: 1;
}

.hero::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(123, 168, 189, 0.05) 100%);
	z-index: 2;
	pointer-events: none;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	animation: heroSlide 18s infinite;
	opacity: 0;
}

.hero-bg:nth-child(1) {
	background-image: url('slider1.jpg');
	animation-delay: 0s;
}

.hero-bg:nth-child(2) {
	background-image: url('slider2.jpg');
	animation-delay: 6s;
}

.hero-bg:nth-child(3) {
	background-image: url('slider3.jpg');
	animation-delay: 12s;
}

@keyframes heroSlide {
	0% {
		opacity: 0;
	}

	5% {
		opacity: 1;
	}

	33% {
		opacity: 1;
	}

	38% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

.hero-content {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 3;
}

.hero h1 {
	font-family: var(--font-serif);
	font-size: 4.5rem;
	font-weight: 300;
	color: var(--color-slate);
	margin-bottom: 1.5rem;
	letter-spacing: 3px;
	line-height: 1.2;
	position: relative;
	z-index: 1;
}

.hero p {
	font-size: 1.1rem;
	color: var(--color-winter-blue);
	font-weight: 300;
	letter-spacing: 2px;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
}

/* Filter Section */
.filter-container {
	padding: 3rem 2rem;
	text-align: center;
}

.filter-buttons {
	display: inline-flex;
	gap: 2.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.filter-btn {
	background: none;
	border: none;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	color: var(--color-slate);
	cursor: pointer;
	padding: 0.5rem 0;
	position: relative;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	font-weight: 300;
	transition: color 0.3s ease;
}

.filter-btn::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 100%;
	height: 1px;
	background: var(--color-winter-blue);
	transition: transform 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
	color: var(--color-winter-blue);
}

.filter-btn.active::after {
	transform: translateX(-50%) scaleX(1);
}

/* Gallery Section */
.gallery-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
	grid-auto-flow: dense;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	cursor: pointer;
	background: var(--color-white);
	box-shadow: 0 4px 20px rgba(123, 168, 189, 0.08);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
        }
.gallery-item img{
	width:100%;
	height:200px;
	object-fit:cover;
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.gallery-item:nth-child(1) {
	animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
	animation-delay: 0.15s;
}

.gallery-item:nth-child(3) {
	animation-delay: 0.2s;
}

.gallery-item:nth-child(4) {
	animation-delay: 0.25s;
}

.gallery-item:nth-child(5) {
	animation-delay: 0.3s;
}

.gallery-item:nth-child(6) {
	animation-delay: 0.35s;
}

.gallery-item:nth-child(7) {
	animation-delay: 0.4s;
}

.gallery-item:nth-child(8) {
	animation-delay: 0.45s;
}

.gallery-item:nth-child(9) {
	animation-delay: 0.5s;
}

.gallery-item.tall {
	grid-row: span 2;
}

.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(123, 168, 189, 0.15);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(44, 62, 80, 0.8), transparent);
	padding: 2rem 1.5rem 1.5rem;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
	transform: translateY(0);
}

.gallery-title {
	font-family: var(--font-serif);
	font-size: 1.3rem;
	color: var(--color-white);
	font-weight: 300;
	margin-bottom: 0.3rem;
}

.gallery-category {
	font-size: 0.75rem;
	color: var(--color-frost);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 300;
}

/* Lightbox */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(250, 251, 252, 0.98);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.lightbox.active {
	display: flex;
	opacity: 1;
}

.lightbox-content {
	max-width: 90%;
	max-height: 85vh;
	position: relative;
	animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
	from {
		transform: scale(0.9);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

.lightbox-content img {
	max-width: 100%;
	max-height: 85vh;
	display: block;
	box-shadow: 0 20px 60px rgba(123, 168, 189, 0.2);
}

.lightbox-info {
	text-align: center;
	margin-top: 2rem;
}

.lightbox-info h3 {
	font-family: var(--font-serif);
	font-size: 2rem;
	color: var(--color-slate);
	font-weight: 300;
	margin-bottom: 0.5rem;
}

.lightbox-info p {
	font-size: 0.85rem;
	color: var(--color-winter-blue);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 300;
}

.lightbox-close {
	position: absolute;
	top: 2rem;
	right: 2rem;
	background: none;
	border: none;
	font-size: 3rem;
	color: var(--color-slate);
	cursor: pointer;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	font-weight: 200;
}

.lightbox-close:hover {
	color: var(--color-winter-blue);
	transform: rotate(90deg);
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 50px;
	height: 50px;
	cursor: pointer;
	font-size: 1.5rem;
	color: var(--color-slate);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-nav:hover {
	background: var(--color-white);
	color: var(--color-winter-blue);
}

.lightbox-prev {
	left: 2rem;
}

.lightbox-next {
	right: 2rem;
}

/* Footer */
footer {
	text-align: center;
	padding: 4rem 2rem 3rem;
	margin-top: 4rem;
	border-top: 1px solid rgba(123, 168, 189, 0.1);
}

footer p {
	color: var(--color-winter-blue);
	font-size: 0.85rem;
	letter-spacing: 1.5px;
	font-weight: 300;
}

footer a {
	color: var(--color-winter-blue);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

footer a:hover {
	opacity: 0.7;
}

/* About Section */
.about-section {
	max-width: 900px;
	margin: 6rem auto 0;
	padding: 0 2rem;
	text-align: center;
}

.about-section h2 {
	font-family: var(--font-serif);
	font-size: 3rem;
	font-weight: 300;
	color: var(--color-slate);
	margin-bottom: 2rem;
	letter-spacing: 2px;
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	margin-top: 3rem;
	text-align: left;
}

.about-text p {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--color-slate);
	margin-bottom: 1.5rem;
	font-weight: 300;
}

.about-image {
	width: 100%;
	height: 400px;
	background: transparent;
	border-radius: 2px;
	overflow: hidden;
}

.about-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.5rem;
}

.stat-box {
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(123, 168, 189, 0.15);
	border-radius: 2px;
	text-align: center;
	transition: all 0.3s ease;
}

.stat-box:hover {
	background: rgba(255, 255, 255, 0.9);
	border-color: var(--color-winter-blue);
	transform: translateY(-3px);
}

.stat-number {
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 400;
	color: var(--color-winter-blue);
	margin-bottom: 0.3rem;
}

.stat-label {
	font-size: 0.75rem;
	color: var(--color-slate);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 300;
}

/* Contact Section */
.contact-section {
	max-width: 700px;
	margin: 8rem auto 0;
	padding: 0 2rem;
	text-align: center;
}

.contact-section h2 {
	font-family: var(--font-serif);
	font-size: 3rem;
	font-weight: 300;
	color: var(--color-slate);
	margin-bottom: 1rem;
	letter-spacing: 2px;
}

.contact-section p {
	font-size: 1rem;
	color: var(--color-winter-blue);
	margin-bottom: 3rem;
	font-weight: 300;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.form-group label {
	font-size: 0.85rem;
	color: var(--color-slate);
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 300;
}

.form-group input,
.form-group textarea {
	padding: 1rem;
	border: 1px solid rgba(123, 168, 189, 0.2);
	background: var(--color-white);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	color: var(--color-charcoal);
	border-radius: 2px;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-winter-blue);
}

.form-group textarea {
	min-height: 150px;
	resize: vertical;
}

.submit-btn {
	padding: 1rem 3rem;
	background: var(--color-slate);
	color: var(--color-white);
	border: none;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 300;
	border-radius: 2px;
}

.submit-btn:hover {
	background: var(--color-winter-blue);
	transform: translateY(-2px);
}

.contact-info {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-top: 3rem;
	flex-wrap: wrap;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-slate);
	font-size: 0.9rem;
	font-weight: 300;
}

.contact-item a {
	color: var(--color-slate);
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-item a:hover {
	color: var(--color-winter-blue);
}

/* Mobile Menu */
.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--color-slate);
	cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
	.hero {
		padding: 8rem 2rem 6rem;
	}

	.hero h1 {
		font-size: 3rem;
	}

	.gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 1rem;
	}

	.mobile-menu-btn {
		display: block;
	}

	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-white);
		flex-direction: column;
		padding: 2rem;
		gap: 1.5rem;
		display: none;
		box-shadow: 0 10px 30px rgba(123, 168, 189, 0.1);
	}

	.nav-links a {
		padding-top: 0;
	}

	.nav-links a::before {
		display: none;
	}

	.nav-links.active {
		display: flex;
	}

	.lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.lightbox-prev {
		left: 1rem;
	}

	.lightbox-next {
		right: 1rem;
	}

	.lightbox-close {
		top: 1rem;
		right: 1rem;
		font-size: 2rem;
	}

	.about-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.about-stats {
		grid-template-columns: 1fr 1fr;
	}

	.about-section h2,
	.contact-section h2 {
		font-size: 2.5rem;
	}

	.contact-info {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 6rem 1.5rem 5rem;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.hero p {
		font-size: 0.95rem;
	}

	.filter-buttons {
		gap: 1.5rem;
	}

	.filter-btn {
		font-size: 0.85rem;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.about-stats {
		gap: 0.75rem;
	}

	.stat-box {
		padding: 1rem;
	}

	.stat-number {
		font-size: 1.5rem;
	}

	.stat-label {
		font-size: 0.7rem;
	}
}
/* ===== SECCION HISTORIA ===== */

.historia-section {
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.titulo-seccion {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #8B0000; /* rojo oscuro */
}

/* ===== SECCION HISTORIA INTEGRADA CON WINTER GALLERY ===== */

.historia-section {
    padding: 6rem 2rem;
    background: linear-gradient(
        135deg,
        var(--color-snow) 0%,
        var(--color-ice) 100%
    );
    margin-top: 6rem;
}

.titulo-seccion {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-slate);
    margin-bottom: 4rem;
    letter-spacing: 2px;
}

/* ===== TIMELINE ===== */

.timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

/* Línea vertical */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--color-winter-blue);
    opacity: 0.3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

/* Items */
.timeline-item {
    padding: 2rem 3rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

/* Punto circular */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    right: -7px;
    background: var(--color-white);
    border: 2px solid var(--color-winter-blue);
    top: 50px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -7px;
}

/* Contenido */
.timeline-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    padding: 2rem;
    border: 1px solid rgba(123, 168, 189, 0.15);
    border-radius: 2px;
    box-shadow: 0 8px 30px rgba(123, 168, 189, 0.08);
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(123, 168, 189, 0.15);
}

/* Imagen */
.timeline-content img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

/* Título año */
.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-slate);
    margin-bottom: 0.8rem;
}

/* Texto */
.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-slate);
    font-weight: 300;
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 13px;
        top: 40px;
    }

    .titulo-seccion {
        font-size: 2.5rem;
    }
}
.historia-section {
    scroll-margin-top: 120px;
}
html {
    scroll-behavior: smooth;
}

/* ========================= */
/* MEJORAS RESPONSIVE PRO */
/* ========================= */

/* Evita desbordes */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ========================= */
/* TABLET */
@media (max-width: 768px) {

	/* NAV */
	nav {
		padding: 1rem 1.5rem;
	}

	.logo {
		font-size: 1.4rem;
	}

	.mobile-menu-btn {
		display: block;
	}

	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-white);
		flex-direction: column;
		padding: 1.5rem;
		gap: 1.2rem;
		display: none;
		box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	}

	.nav-links.active {
		display: flex;
	}

	.nav-links a {
		padding: 0.5rem 0;
		font-size: 0.95rem;
	}

	/* HERO */
	.hero {
		padding: 6rem 1.5rem 4rem;
		margin-top: 70px;
	}

	.hero h1 {
		font-size: 2.3rem;
		letter-spacing: 1px;
	}

	.hero p {
		font-size: 0.9rem;
		letter-spacing: 1px;
	}

	/* GALERIA */
	.gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 1rem;
	}

	.gallery-item {
		animation: none;
		opacity: 1;
	}

	/* ABOUT */
	.about-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.about-section h2,
	.contact-section h2,
	.titulo-seccion {
		font-size: 2.2rem;
	}

	.about-image {
		height: 250px;
	}

	/* TIMELINE */
	.timeline::after {
		left: 20px;
	}

	.timeline-item {
		width: 100%;
		padding-left: 60px;
		padding-right: 20px;
	}

	.timeline-item:nth-child(even) {
		left: 0;
	}

	.timeline-item::after {
		left: 13px;
		top: 35px;
	}

	.timeline-content {
		padding: 1.5rem;
	}

	.timeline-content img {
		height: 180px;
	}

	.timeline-content h3 {
		font-size: 1.2rem;
	}

	/* CONTACTO */
	.contact-info {
		flex-direction: column;
		gap: 1rem;
		align-items: center;
	}
}


/* ========================= */
/* CELULARES PEQUEÑOS */
@media (max-width: 480px) {

	.hero {
		padding: 5rem 1rem 3rem;
	}

	.hero h1 {
		font-size: 1.9rem;
	}

	.hero p {
		font-size: 0.85rem;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.filter-buttons {
		gap: 1rem;
	}

	.filter-btn {
		font-size: 0.8rem;
	}

	.stat-box {
		padding: 1rem;
	}

	.stat-number {
		font-size: 1.4rem;
	}

	.stat-label {
		font-size: 0.7rem;
	}
}
.mobile-menu-btn{
    display:none;
    font-size:30px;
    background:none;
    border:none;
    cursor:pointer;
    margin-left:auto;
}

/* menú normal */
.nav-links{
    display:flex;
    gap:30px;
    list-style:none;
}

/* 📱 celular */
@media (max-width:768px){

    .mobile-menu-btn{
        display:block;
    }

    .nav-links{
        display:none;
        flex-direction:column;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:white;
        padding:20px;
    }

    .nav-links.active{
        display:flex;
    }
}