/*
Theme name:  Camping Village Child
Description: Camping Village Child Theme
Template:    campingvillage
*/

/* ------------------------------------------------------------ *\
	Fonts
\* ------------------------------------------------------------ */

@font-face {
    font-family: 'Lato';
    src: url('./assets/fonts/Lato-Bold.woff2') format('woff2'),
        url('./assets/fonts/Lato-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./assets/fonts/Lato-Regular.woff2') format('woff2'),
        url('./assets/fonts/Lato-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./assets/fonts/Lato-Light.woff2') format('woff2'),
        url('./assets/fonts/Lato-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('./assets/fonts/OpenSans-Regular.woff2') format('woff2'),
        url('./assets/fonts/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('./assets/fonts/OpenSans-Light.woff2') format('woff2'),
        url('./assets/fonts/OpenSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montez';
    src: url('./assets/fonts/Montez-Regular.woff2') format('woff2'),
        url('./assets/fonts/Montez-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('./assets/fonts/OpenSans-Bold.woff2') format('woff2'),
        url('./assets/fonts/OpenSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ------------------------------------------------------------ *\
	Base
\* ------------------------------------------------------------ */

body,
.nicdark_body {
	font-size: 15px;
	line-height: 1.47;
}

body:after {
	content: '';
	display: table;
	width: 100%;
	clear: both;
}

p {
	line-height: inherit;
}

.nicdark_site {
	overflow-x: hidden;
	overflow-y: auto;
}

/* ------------------------------------------------------------ *\
	Shell
\* ------------------------------------------------------------ */

.shell {
	max-width: 1230px;
	padding-inline: 15px;
	margin-inline: auto;
}

@media only screen and (min-width: 960px) and (max-width: 1199px) {
	.shell {
		max-width: 990px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.shell {
		max-width: 814px;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.shell {
		max-width: 490px;
	}
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
	.shell {
		max-width: 330px;
	}
}

/* ------------------------------------------------------------ *\
	Btn
\* ------------------------------------------------------------ */

.btn {
	appearance: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: inline-block;
	padding: 20px;
	background: #6088a4;
	color: #fff;
	padding: 10px 20px;
	font-size: 17px;
	line-height: 1.4;
	font-family: 'Open Sans', sans-serif;
}

.btn--white {
	background: #fff;
	color: #6088a4;
}

/* ------------------------------------------------------------ *\
	Btn Scroll
\* ------------------------------------------------------------ */

.btn-scroll {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: currentColor;
	transition: transform .6s;
}

.btn-scroll:hover {
	transform: scale(1.2);
}

/* ------------------------------------------------------------ *\
	Header
\* ------------------------------------------------------------ */

.header {
	margin-bottom: -15px;
}

.header .header__bar {
	padding: 10px;
	background: #6088a4;
	color: #fff;
	font-size: 13px;
	line-height: 1;
}

.header .header__bar a  {
	text-decoration: none;
	color: inherit;
}

.header .header__inner,
.header .header__nav-inner  {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.header .header__actions  {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.header .header__bar-actions > span {
	display: inline-block;
	height: 13px;
	width: 1px;
	background: currentColor;
}

.header .header__content-inner {
	padding-block: 10px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}

.header .header__btn {
	text-align: right;
}

.header .header__contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.header .header__contacts >  span {
	width: 1px;
	background: #f1f1f1;
}

.header .header__contacts a {
	display: inline-block;
}

.header .header__contacts a span {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #5b5b5b;
}

.header .header__nav {
	background: #6088a4;
	color: #fff;
}

.header .header__nav .shell {
	padding-block: 20px;
}

@media(min-width: 1024px){
	.header .header__mobile {
		display: none !important;
	}
}

@media(max-width: 1199px){

}

@media(max-width: 1023px){
	.header .header__desktop {
		display: none !important;
	}

	.header .header__content-inner {
		display: flex;
		justify-content: space-between;
	}

	.header .header__panel {
		position: fixed;
		top: 0;
		right: 0;
		width: 320px;
		bottom: 0;
		display: flex;
		z-index: 9999;
		transition: transform .6s;
		transform: translateX(100%);
	}

	body.admin-bar .header .header__panel {
		top: 32px;
	}

	body.has-active-nav .header .header__panel {
		transform: translateX(0);
	}

	.header .header__nav {
		width: 100%;
	}

	.header .header__nav .shell {
		max-height: 100%;
		overflow: auto;
	}

	.header .header__nav-inner {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 30px;
		margin-top: 20px;
	}
}

@media(max-width: 767px){
	.header .header__actions a span {
		display: none;
	}
}

/* ------------------------------------------------------------ *\
	Logo
\* ------------------------------------------------------------ */

.logo {
	display: block;
	background: url(./assets/images/langstone-logo.png) no-repeat center / contain;
	width: 200px; height: 59px;
}

/* ------------------------------------------------------------ *\
	Nav
\* ------------------------------------------------------------ */

.nav {
	line-height: 1;
	font-size: 12px;
}

.nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.nav li {
	border: solid;
	border-width: 0 1px 0 0;
	padding-right: 30px;
}

.nav li:last-child {
	border: 0;
}

.nav a {
	display: block;
	color: inherit;
	text-decoration: none;
}

@media(max-width: 1199px){
	.nav ul {
		gap: 15px;
	}

	.nav li {
		padding-right: 15px;
	}
}

@media(max-width: 1023px){
	.nav ul {
		display: block;
	}

	.nav li {
		border-width: 0 0 1px;
	}

	.nav a {
		padding-block: 15px;
	}
}

/* ------------------------------------------------------------ *\
	Nav Trigger
\* ------------------------------------------------------------ */

.nav-trigger { position: relative; display: inline-block; width: 30px; height: 23px; }
.nav-trigger span { position: absolute; display: block; height: 2px; width: 100%; background: #577b94; transition: top .2s .25s, left .2s .25s, opacity .2s .25s, transform .2s 0s; }
.nav-trigger span:nth-child(1) { top: 0; }
.nav-trigger span:nth-child(2) { top: 10px; }
.nav-trigger span:nth-child(3) { top: 21px; }

.nav-trigger.is-active span { transition: background .2s, top .2s, left .2s, opacity .2s, transform .2s .25s; }

.nav-trigger.is-active span:nth-child(3),
.nav-trigger.is-active span:nth-child(1) { top: 12px; background: #fff; }

.nav-trigger.is-active span:nth-child(2) { opacity: 0; }
.nav-trigger.is-active span:nth-child(1) { transform: rotate(45deg); }
.nav-trigger.is-active span:nth-child(3) { transform: rotate(-45deg); }

/* ------------------------------------------------------------ *\
	Socials
\* ------------------------------------------------------------ */

.socials {
	font-size: 14px;
}

.socials ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.socials a {
	display: block;
	width: 30px;
	height: 30px;
	background: #577b94;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: transform, background;
	transition-duration: .6s;
}

.socials a:hover {
	background: transparent;
	transform: scale(1.2);
}

/* ------------------------------------------------------------ *\
	Socials Secondary
\* ------------------------------------------------------------ */


.socials-secondaty {
	font-size: 16px;
}

.socials-secondary ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.socials-secondary a {
	display: block;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: transform;
	transition-duration: .6s;
}

.socials-secondary a:hover {
	background: transparent;
	transform: translateY(5px);
}

/* ------------------------------------------------------------ *\
	Footer
\* ------------------------------------------------------------ */

.footer {
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	line-height: 1.47;
}

.footer p {
	color: inherit;
}

.footer__image img {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

.footer .footer__content {
	background: #d3dcbd;
	padding-block: 60px;
	font-size: 15px;
}

.footer .footer__content h2 {
	margin-bottom: 10px;
	font-size: 17px;
	letter-spacing: -0.005em;
	color: #000;
}

.footer .footer__content h2:after {
	content: '';
	display: block;
	margin-top: 5px;
	width: 30px;
	height: 2px;
	background: #fff;
}

.footer .footer__content ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer .footer__content li {
	border-bottom: 1px solid;
}

.footer .footer__content ul a {
	display: block;
	padding-block: 10px;
	color: #000;
	font: inherit;
	letter-spacing: -0.005em;
}

.footer .footer__groups {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: flex-start;
}

.footer .footer__group {
	display: grid;
	gap: 40px;
}

.footer .footer__bar {
	background: #1b1e1b;
	padding-block: 20px;
	color: #fff;
}

.footer .footer__bar p {
	margin-bottom: 0;
	line-height: 1.6;
}

.footer .footer__bar p:nth-child(2) {
	color: #5b5b5b;
}

.footer .footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.footer .footer__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}


@media(max-width: 767px){
	.footer .footer__groups {
		grid-template-columns: repeat(1, 1fr);
		gap: 40px;
	}

	.footer .footer__inner {
		display: block;
		text-align: center;
	}

	.footer .footer__actions {
		justify-content: center;
		margin-top: 20px;
	}
}

/* ------------------------------------------------------------ *\
	Hero
\* ------------------------------------------------------------ */

.hero {
	margin-top: 15px;
	position: relative;
	transform: translateZ(0);
	padding: 150px 0;
	color: #fff;
}

.hero h1 {
	line-height: 1.4;
}

.hero h1,
.hero a {
	color: inherit !important;
}

.hero .hero__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -5;
}

.hero .hero__bg:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(67,74,84,0.2);
}

.hero .hero__bg img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -5;
	object-fit: cover;
}

.hero .hero__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

@media(max-width: 1023px){
	.hero .hero__container {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}
}

/* ------------------------------------------------------------ *\
	Breadcrumbs
\* ------------------------------------------------------------ */

.breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.breadcrumbs span {
	width: 1px;
	height: 15px;
	background: currentColor;
}
