/* vitrine
   Pagina Inicial
   Rodrigo Nishino <rodrigo.nsh@gmail.com>
   */

body
{
  background-image: none;
  
}

html
{
	height: 100%;
}

body.scrolled
{
	padding-top: 0px;
}

#categorias,
#cidades
{
	padding: 0px;
	list-style: none;
	list-style-position: inside;
	text-transform: uppercase;
}

#vvChatLink
{
	display: flex;
	align-items: center;
	font-weight: 400;
}

#categorias li a,
#cidades li a
{
	font-weight: 400;
	display: block;
	padding: 8px 0px;
}

#cidades li a{
	display: flex;
	align-items:center;
}

#cidades li img{ margin-right: 8px; }



/* Recentes Swiper */
.recentes-swiper
{
	height: 100vh;
	margin-bottom: 16px;
	--swiper-theme-color: #fff;
	--swiper-pagination-bullet-inactive-color: #fff;
}



.recentes-swiper .swiper-slide
{
	background-size: cover;
	background-position: top center;
}

.recentes-swiper .swiper-slide a
{
	width: 100%;
	height: 100%;
	color: white;
	display: flex;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.recentes-swiper .swiper-slide .txt
{
	padding: 64px;
	text-align: center;
	text-transform: uppercase;
}

.recentes-swiper h2
{
	width: 40vw;
	font-size: 70px;
	margin: 10px auto;
}

[orientation=portrait] .recentes-swiper
{
	height: calc(100vh - 58px);
	height: calc(100dvh - 58px);
}

[orientation=portrait] .recentes-swiper .swiper-pagination
{
	background: #00000099;
	padding: 10px;
	bottom: 0px !important;
}

[orientation=portrait] .recentes-swiper .swiper-slide .txt
{
	padding: 32px;
	padding-bottom: 64px;
}

[orientation=portrait] .recentes-swiper h2
{
	width: 60vw;
	font-size: 34px;
	margin: 10px auto;
}



#banners img
{
	width: 100%;
}

#coberturasSection
{
	background: #eee;
	flex-direction: column;
	align-items: center;
	height: 100vh;
	padding: 0px;
}



.fotos
{	
	display: grid;
	grid-column-gap: 24px;
	grid-row-gap: 24px;
	grid-template-columns: repeat(4, 1fr);
}

#agenda,
.fotos
{
	padding: 24px;
	position: relative;
	padding-top: 60px;
	margin-bottom: 32px;
}

#agenda::before,
.fotos::before
{
	position: absolute;
	top: 16px;
	left: 24px;
	font-size: 22px;
}

[orientation=portrait] .fotos
{
	padding: 60px 16px 16px;
}


[orientation=portrait] .fotos::before
{
	left: 16px;
}

#aniversarios::before { content: "🎂 Aniversários" }
#casamentos::before { content: "💖 Casamentos" } 
#batizados::before { content: "👶 Batizados, Chá de Bebê e Revelação" } 
#baladas::before { content: "😜 Baladas"} 
#ensaios::before { content: "📸 Ensaios" }
#carnaval::before { content: "🥳 Carnaval"}  
#geral::before { content: "😁 Outros" } 
#agenda::before { content: "📅 Agenda" } 

[icon]::before{ margin-right: 0.5em; }
[icon="aniversarios"]::before { content: "🎂" }
[icon="casamentos"]::before { content: "💖" } 
[icon="batizados"]::before { content: "👶" } 
[icon="baladas"]::before { content: "😜"} 
[icon="ensaios"]::before { content: "📸" }
[icon="carnaval"]::before { content: "🥳"}  
[icon="geral"]::before { content: "😁" } 
[icon="agenda"]::before { content: "📅" } 


.fotos:empty 	
{
	display: none;
}

/*
ripado na humildade de 
https://www.treinaweb.com.br/blog/css-aprenda-a-criar-o-efeito-de-flip-cards
*/

.fotos ons-card 
{
	display: block; 
	position: relative; 
	width: 100%;
	perspective: 1000px;
	transition: transform 1s;
	color: #282828;
	cursor: pointer;
}

.fotos ons-card .flipper
{
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	position: relative;
}

.fotos ons-card.show .flipper
{
	transition: transform 0.5s;
	transform: rotateY(180deg);
}

.fotos ons-card .frente,
.fotos ons-card .fundo
{
	width: 100%;
	height: 100%;
}

.fotos ons-card .fundo
{
	position: absolute;
	inset: 0px;
	opacity: 0;
	transform: rotateY(-180deg);
	transition: opacity 1s;
}

.fotos ons-card .fundo .content
{
	padding: 16px 16px 0px;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.fotos ons-card.show .frente img
{
	opacity: 0.2;
}

.fotos ons-card.show .fundo
{
	opacity: 1;
}

[orientation=portrait] .fotos
{
	grid-template-columns: repeat(1, 1fr);
}

/* só no caso do cara ter cadastrado a 
cobertura mas ainda nao enviou nenhuma foto */
[orientation=portrait] .fotos ons-card
{
	min-height: 47vw;
}


.fotos ons-card img
{
	width: 100%; 
	height: 180px;
	display: block; 
	opacity: 0.9;
	border-radius: 10px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	object-fit: cover;
	object-position: center;
	transition: opacity 1s;
}

[orientation=portrait] .fotos ons-card img
{
	height: auto;
}

.fotos ons-card h2
{
	
	font-size: 19px;
	font-weight: 900;
	margin:  0px 0px 8px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.fotos ons-card.particular h2::before
{
	content: "🔒 ";	
}

.fotos ons-card vv-spacer
{
	flex-grow: 1; 
}


.fotos ons-card p
{
	font-size: 15px;
}

.fotos ons-card:hover{
}

.fotos ons-card:hover img
{
	opacity: 1;
}

#agenda{ background-color: #d9d9d9; margin-bottom: 0px; }

#agenda .evento
{
	display: flex;
	margin-bottom: 16px;
}

#agenda .evento:last-child{ margin-bottom: 0px; }

.evento .data
{
	display: flex;
	flex-direction: column;
	text-align: center;
	margin-right: 16px;
}

.evento .mes
{
	color: white; 
	background: #0090a8;
	border-top-left-radius: 5px; 
	border-top-right-radius: 5px; 
	text-transform: uppercase;
	font-size: 12px;
}

.evento .dia
{
	background: white;
	font-size: 24px;
	font-weight: bold; 
	padding: 4px 16px;
}

.evento .sem
{
	background: lightgray; 
	border-bottom-left-radius: 5px; 
	border-bottom-right-radius: 5px; 
	border-bottom: 1px solid #00000052;
}

.evento .dados h3{ margin: 0px 0px 6px; }
.evento .dados p{ margin: 0px 0px 3px; }