@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Roboto:wght@400;700&display=swap');

/* Global Resets and Box Sizing */
* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

*:before,
*:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Base Body Styles - Sketchbook Theme */
body {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #3a3a3a;
	background-color: #fdfaf4; /* Off-white paper color */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Layout Containers */
.out, .hero, .info {
	background-color: #fdfaf4;
}

.inner {
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	max-width: 960px;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}

section {
	position: relative;
	max-width: 1920px;
	width: 100%;
	margin: 0 auto;
}

/* Header */
.header {
	padding: 20px 0;
	border-bottom: 2px dashed #c7c7c7;
}

.header .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header .logo {
	font-family: 'Permanent Marker', cursive;
	text-decoration: none;
	font-size: 32px;
	font-weight: 500;
	color: #3a3a3a;
}

.header nav a {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	color: #3a3a3a;
	padding: 8px 16px;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.header nav a:hover {
	color: #e67700;
	text-decoration: underline;
}

/* Hero Section */
.hero {
	padding: 60px 0;
}

.hero__content {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 50px;
}

.hero__content figure {
	width: 45%;
}

.hero__content figure img {
	width: 100%;
	border: 12px solid white;
	box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
	transform: rotate(-2deg);
}

.hero__content .hero__content-text {
	width: 55%;
}

.hero__content-text {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hero__content-text h1 {
	font-family: 'Permanent Marker', cursive;
	font-size: 52px;
	font-weight: 500;
	color: #3a3a3a;
	line-height: 1.1;
}

.hero__content-text p {
	font-size: 16px;
	color: #555;
}

.hero__content-text ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	gap: 8px;
	padding-left: 0;
}

.hero__content-text li {
	padding-left: 30px;
	position: relative;
}

.hero__content-text li::before {
	content: '✏️';
	position: absolute;
	left: 0;
	top: 0;
	font-size: 20px;
}

.hero__content-text h2 {
	font-family: 'Permanent Marker', cursive;
	font-size: 24px;
	font-weight: 500;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #3a3a3a;
}

.hero__content-text-pay {
	margin-top: 20px;
	display: flex;
	align-items: center;
	gap: 25px;
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.7);
	border: 2px dashed #c7c7c7;
}

.hero__content-text-pay h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 38px;
	font-weight: 700;
	color: #3a3a3a;
}

.hero__content-text-pay b {
	font-weight: 700;
}

.hero__content-text-pay a {
	background-color: #ffd6a5;
	font-family: 'Permanent Marker', cursive;
	font-size: 20px;
	padding: 14px 35px;
	color: #3a3a3a;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid #3a3a3a;
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: 3px 3px 0px #3a3a3a;
}

.hero__content-text-pay a:hover {
	transform: rotate(-2deg) scale(1.05);
	box-shadow: 5px 5px 0px #3a3a3a;
}

/* Info Sections (Policies, Terms, etc.) */
.info {
	padding: 50px 0;
}

.info__group {
	width: 100%;
	margin: 0 auto 20px;
	background: #ffffff;
	padding: 40px;
	line-height: 1.6;
	border: 1px solid #ddd;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info__group-top {
	font-family: 'Permanent Marker', cursive;
	line-height: 1.3;
	font-size: 28px;
	font-weight: 500;
	user-select: none;
	cursor: default;
	color: #3a3a3a;
}

.info__group-content {
	padding-top: 20px;
	display: flex;
	flex-direction: column;
}

.info__group h2 {
	font-family: 'Permanent Marker', cursive;
	font-size: 20px;
	margin-top: 24px;
	font-weight: 500;
	color: #3a3a3a;
}

.info__group ul {
	display: flex;
	flex-direction: column;
	list-style: disc;
	margin-left: 20px;
	gap: 12px;
}

.info__group p,
.info__group ul {
	padding-top: 16px;
	padding-left: 0;
}

.info__group a {
    color: #e67700;
	font-weight: 700;
}

/* Footer */
.discl-footer {
	width: 100%;
}
.discl-footer .cellar {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	background: #e9e4d9;
	font-size: 14px;
	line-height: 1.2;
	color: #555;
	padding: 20px 0;
	text-align: center;
	border-top: 2px dashed #c7c7c7;
}

.discl-footer p {
	margin: 0 5px;
}

.discl-footer a {
	color: #3a3a3a;
	cursor: pointer;
	text-decoration: underline;
	font-weight: 700;
	margin: 0 5px;
}

/* Popup Modal */
.popup {
	display: none;
	background-color: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1010;
}

.popup .inner {
	max-width: 520px;
	width: 100%;
	position: absolute;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
}

.popup .wrapper {
	width: 100%;
	background: #fdfaf4;
	padding: 40px;
	position: relative;
	border: 3px solid #3a3a3a;
	box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}
.popup .wrapper .close {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 28px;
	height: 28px;
	cursor: pointer;
	opacity: 0.8;
	font-family: 'Permanent Marker', cursive;
	font-size: 24px;
	line-height: 28px;
	text-align: center;
}
.popup .wrapper .close:before {
	content: 'X';
	color: #3a3a3a;
}
.popup .wrapper .close:after {
	content: '';
}


.popup .wrapper h2 {
	font-family: 'Permanent Marker', cursive;
	font-size: 32px;
	color: #3a3a3a;
	text-align: center;
	margin: 10px auto 24px;
	font-weight: 500;
}

.popup .wrapper form {
	max-width: 400px;
	width: 100%;
	margin: 0 auto;
}

.popup .wrapper form label {
	display: inline-block;
	color: #555;
	width: 100%;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 700;
}

.popup .wrapper form .name,
.popup .wrapper form .phone {
	color: #3a3a3a;
	width: 100%;
	border: 2px solid #ccc;
	background-color: #fff;
	padding: 0 15px;
	height: 48px;
	margin-bottom: 15px;
	font-size: 16px;
	border-radius: 4px;
}

.popup .wrapper form .name:focus,
.popup .wrapper form .phone:focus {
    outline: none;
    border-color: #3a3a3a;
}

.popup .wrapper form .form_btn {
	width: 100%;
	color: #3a3a3a;
	background-color: #ffd6a5;
	height: 50px;
	border: 2px solid #3a3a3a;
	cursor: pointer;
	margin-top: 20px;
	font-weight: 500;
	font-size: 20px;
	font-family: 'Permanent Marker', cursive;
	transition: 0.3s all;
	box-shadow: 3px 3px 0px #3a3a3a;
}

.popup .wrapper form .form_btn:hover {
	transform: scale(1.02);
	box-shadow: 5px 5px 0px #3a3a3a;
}

.popup .wrapper .success {
	display: none;
	background: #caffbf;
	border: 2px dashed #3a3a3a;
	width: 100%;
	text-align: center;
	color: #3a3a3a;
	padding: 20px;
	font-family: 'Permanent Marker', cursive;
}

.popup .wrapper .active + .success {
	display: block;
}

.active {
	display: none;
}

/* Consent Popup Styles */
#consent-popup {
	position: fixed;
	bottom: 15px;
	left: 15px;
	right: 15px;
	width: auto;
	background-color: #fff;
	color: #3a3a3a;
	padding: 20px;
	text-align: center;
	display: none; /* Controlled by JS */
	flex-direction: column;
	z-index: 1000;
	border: 2px solid #3a3a3a;
	box-shadow: 5px 5px 0px #3a3a3a;
}
#consent-message {
	max-width: 90%;
	margin: 0 auto;
	font-size: 0.9rem;
	line-height: 1.5;
	font-family: 'Roboto', sans-serif;
}
#consent-message a {
	color: #e67700;
	text-decoration: underline;
}
.consent-buttons {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.consent-button {
	background-color: #3a3a3a;
	border: 2px solid #3a3a3a;
	padding: 10px 20px;
	color: white;
	cursor: pointer;
	flex: 1;
	max-width: 150px;
	font-size: 0.9rem;
	transition: all 0.2s;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
}
.consent-button:hover {
	background-color: #fff;
	color: #3a3a3a;
}
#additional-settings {
	display: none;
	text-align: left;
	margin: 20px auto 0;
	max-width: 300px;
	font-family: 'Roboto', sans-serif;
}
.switch {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0;
}
.switch input[type='checkbox'] {
	width: 20px;
	height: 20px;
}
.switch span {
	flex-grow: 1;
	margin-right: 10px;
}

/* Responsive Styles */
@media (max-width: 720px) {
	.hero__content {
		flex-direction: column;
	}

	.hero__content figure,
	.hero__content .hero__content-text {
		width: 100%;
	}

	.hero__content-text h1 {
		font-size: 40px;
	}
}

@media (max-width: 700px) {
	/* Burger Menu Styles */
	.burger {
		display: block;
		width: 24px;
		height: 20px;
		cursor: pointer;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		right: 15px;
		z-index: 3;
	}
	.navigation .burger-line {
		position: absolute;
		top: 0;
		width: 24px;
		height: 3px;
		background-color: #3a3a3a;
		transition: 0.5s all;
		left: 0;
		border-radius: 3px;
	}
	.navigation .second,
	.navigation .third {
		margin-top: 8px;
	}
	.navigation .fourth {
		margin-top: 16px;
	}
	.navigation.open .second {
		transform: rotate(45deg);
		background-color: #3a3a3a;
	}
	.navigation.open .third {
		transform: rotate(-45deg);
		background-color: #3a3a3a;
	}
	.navigation.open .first,
	.navigation.open .fourth {
		display: none;
	}
	.navigation .nav-wrap {
		background-color: #fdfaf4;
		border-left: 2px dashed #c7c7c7;
		max-width: 200px;
		display: flex;
		flex-direction: column;
		position: fixed;
		width: 100%;
		top: 0;
		right: 0;
		transform: translateX(100%);
		height: 100%;
		overflow: hidden;
		transition: 0.5s all;
		z-index: 2;
		padding: 60px 20px;
	}
	.navigation.open .nav-wrap {
		transform: translateX(0%);
	}
	.navigation nav a {
		font-size: 18px;
		color: #3a3a3a;
		margin: 0;
		padding: 10px;
	}
}

@media (max-width: 480px) {
	.consent-button {
		padding: 10px;
		margin: 3px;
		flex-basis: 100px;
	}
	#consent-message {
		font-size: 0.8rem;
	}
	#consent-popup {
		bottom: 5px;
		left: 5px;
		right: 5px;
	}
}
