@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');
@import 'sobre.css';
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Montserrat', sans-serif;
}

:root {
	--fundo: #f9f9f9;
	--cards: #fff;
	--botao-cta: #5ebbd6;
	--detalhes-rosa: #f6b0ce;
	--texto: #546e7a;
}

.botao {
	background-color: var(--botao-cta);
	color: var(--cards);
	border: none;
	border-radius: 5px;
	text-decoration: none;
	padding: 0.5rem 1rem;
	display: block;
	width: 100%;
	text-align: center;
	font-weight: 600;
}
.botao:hover {
	background-color: var(--detalhes-rosa);
	color: var(--cards);
	cursor: pointer;
}
.menuLinks {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	margin-top: 2rem;
	align-items: flex-end;
	position: fixed;
}

.links {
	text-decoration: none;
	justify-content: flex-end;
	gap: 2rem;
	cursor: pointer;
	padding: 0 1rem;
	align-items: flex-end;
	text-transform: uppercase;
	font-size: small;
	color: var(--texto);
	display: inline-block;
}

.links:hover {
	transform: scale(1.1);
	font-weight: bold;
}

.menu {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.btn-filtro.active {
	background-color: #f6b0ce; /* Sua cor rosa da marca */
	color: white;
	border: 1px solid #f6b0ce;
}
.filtro-btn {
	cursor: pointer;
	padding: 0 1rem;
	align-items: flex-end;
	text-transform: uppercase;
	font-size: small;
	color: var(--texto);
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
}
/* O Fundo Escuro (Container) */
#visualizador-modal {
	position: fixed; /* O que escolheste! */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9); /* Preto 90% opaco */
	z-index: 1000; /* Garante que fica EM CIMA de tudo */

	/* Flexbox para centralizar a imagem no meio do ecrã */
	display: none; /* Começa escondido! */
	justify-content: center;
	align-items: center;
	animation-name: aparecerSuave;
	animation-duration: 0.5s;
}

/* A Imagem Ampliada */
.modal-imagem {
	max-width: 90%; /* Não deixa a imagem sair do ecrã */
	max-height: 90%;
	border: 3px solid white; /* Uma moldura elegante */
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* O Botão de Fechar (X) */
.fechar-modal {
	position: absolute;
	top: 20px;
	right: 40px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s;
}
.links-menu {
	display: flex;
}

.fechar-modal:hover {
	color: var(--detalhes-rosa); /* Usa a tua cor personalizada */
}

@keyframes aparecerSuave {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

#menu-hamburger {
	font-size: 32px;
	color: var(--texto);
	cursor: pointer;
	display: none; /* Escondido por padrão */
}

@media (max-width: 768px) {
	#menu-hamburger {
		font-size: 32px;
		color: var(--texto);
		cursor: pointer;
		display: block; /* Escondido por padrão */
	}

	/* 1. MENU: Transforma a barra horizontal numa coluna vertical */
	.menu {
		flex-direction: row; /* Alinha horizontalmente (Logo | Hambúrguer) */
		flex-wrap: wrap; /* Permite que os links "caiam" para a linha de baixo */
		justify-content: space-between; /* Empurra o Logo para a esq. e o Ícone para a dir. */
		align-items: center; /* Alinha o centro verticalmente */
		padding: 15px 20px; /* Espaçamento interno */
	}

	.links-menu {
		flex-direction: column; /* Botões um embaixo do outro */
		gap: 10px; /* Espaço entre botões */
		margin-top: 15px;
		width: 100%;
		display: none;
	}

	.filtro-btn {
		width: 80%; /* Botões mais largos para facilitar o toque */
		margin: 0 auto; /* Centralizar os botões */
		padding: 12px; /* Área de toque maior */
	}

	/* 2. GALERIA: Apenas 1 coluna de fotos no celular */
	.gallery-container {
		grid-template-columns: 1fr; /* Uma foto por linha */
		gap: 15px;
		padding: 10px;
	}

	/* 3. PÁGINA SOBRE: Foto em cima, texto embaixo */
	.sobre {
		flex-direction: column;
		padding: 20px;
		height: auto; /* Remove altura fixa se houver */
	}

	.sobre .imagem img {
		width: 150px; /* Foto menor e redonda no topo */
		height: 150px;
		margin-bottom: 20px;
	}

	.sobre-content {
		width: 100%; /* Texto ocupa a largura toda */
		text-align: center; /* Texto centralizado fica bonito no mobile */
	}

	/* 4. PÁGINA CONTATO: Mapa e info empilhados */
	.contato {
		flex-direction: column;
		height: auto;
	}

	.contato iframe {
		height: 250px; /* Mapa mais baixo para não ocupar a tela toda */
		margin-bottom: 20px;
	}

	.card {
		width: 90%; /* Card de contatos ocupa quase toda a largura */
		margin: 0 auto 30px auto;
	}

	/* 5. MODAL: Ajuste da foto ampliada */
	.modal-imagem {
		max-width: 90%; /* Garante margem nas laterais */
		max-height: 80%;
	}
}
