/* General Body Styles */
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	color: #333;
}

/* Section Alternating Backgrounds */
body > section:nth-of-type(even) {
	background-color: #f4f4f4;
}

/* Container */
.container {
	width: 80%;
	margin: auto;
	overflow: hidden;
	padding: 0 20px;
}

/* Header */
header {
	background: #ffffff;
	padding: 20px 0;
	border-bottom: 1px solid #eaeaea;
}

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

.logo-background {
	width: 50px;
	height: 50px;
	background-color: #0AA0D5; /* Primary blue */
	border-radius: 22.5%; /* iOS-like squircle */
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-background img {
	width: 35px;
	height: auto;
}

header nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

header nav ul li {
	display: inline;
	margin-left: 20px;
}

header nav a {
	color: #333;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s;
}

header nav a:hover {
	color: #DC2448; /* Accent Color */
}

/* Hero Section */
.hero {
	position: relative;
	padding: 60px 0;
	text-align: center;
	color: #ffffff;
	background: url('../img/hero-bg.jpg') no-repeat center center/cover;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.hero .container {
	position: relative;
	z-index: 2;
}

.hero h1 {
	font-size: 2.5em;
	margin-bottom: 10px;
}

.hero p {
	font-size: 1.2em;
	margin-bottom: 20px;
}

.hero .hero-subheading {
	font-size: 1.5em;
	font-weight: 300;
	margin-bottom: 30px;
	color: #f4f4f4;
}

/* App Store Container */
.app-store-container {
	margin-top: 20px;
	text-align: center;
}

#app-store-badge {
	height: 50px;
	border: 2px solid white;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s;
}

#app-store-link:hover #app-store-badge {
	transform: scale(1.05);
}

.app-availability-text {
	color: #ffffff;
	margin-top: 10px;
	font-size: 0.9em;
	font-style: italic;
}


/* Features Section */
.features {
	padding: 40px 0;
	text-align: center;
}

.features h2 {
	font-size: 2em;
	margin-bottom: 40px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.feature {
	background: #ffffff;
	padding: 20px;
	border: 1px solid #eaeaea;
	border-radius: 5px;
}

.feature-icon-background {
	width: 135px; /* Increased width for oval shape */
	height: 90px;
	background-color: #0AA0D5; /* Primary blue */
	border-radius: 45px; /* (height / 2) to maintain curved ends */
	margin: 0 auto 20px; /* Center and add space below */
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-icon {
	height: 50px;
	width: auto;
}

.feature h3 {
	color: #0AA0D5; /* Primary Color */
}

/* Audience Section */
.audience {
	padding: 40px 0;
	text-align: center;
}

.audience h2 {
	font-size: 2em;
	margin-bottom: 40px;
}

.audience-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.audience-item {
	background: #ffffff;
	padding: 20px;
	border: 1px solid #eaeaea;
	border-radius: 5px;
}

/* Footer */
footer {
	background: #333;
	color: #ffffff;
	text-align: center;
	padding: 20px 0;
	margin-top: 40px;
}

footer .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer a {
	color: #0AA0D5; /* Primary Color */
	text-decoration: none;
	margin: 0 5px;
}

/* Button Styles */
.btn {
	display: inline-block;
	background-color: #0AA0D5; /* Primary Color */
	color: #ffffff;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s;
	cursor: pointer;
}

.btn:hover {
	background-color: #0883b3; /* Darker shade of primary color */
}

/* Form Page Styles */
.form-page {
	padding-top: 40px;
	padding-bottom: 40px;
	max-width: 600px;
	text-align: center;
}

.form-page h1 {
	margin-bottom: 20px;
}

.form-page form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: #ffffff;
	border: 1px solid #eaeaea;
	padding: 1.5rem;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	text-align: left;
}

.form-page label {
	font-weight: bold;
}

.form-page input,
.form-page textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	font: inherit;
	box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.form-page textarea {
	min-height: 150px;
	resize: vertical;
}

.form-page button {
	align-self: flex-start;
}

/* Content Page Styles */
.content-page {
	padding-top: 40px;
	padding-bottom: 40px;
	max-width: 800px;
}

.content-page h1 {
	text-align: center;
	margin-bottom: 40px;
}

.content-page h3 {
	color: #0AA0D5; /* Primary Color */
	margin-top: 2em;
	border-bottom: 2px solid #eaeaea;
	padding-bottom: 5px;
}

.content-page p, .content-page ul {
	line-height: 1.8;
}

.content-page ul {
	padding-left: 20px; /* Indent lists */
}

.content-page li {
	margin-bottom: 0.5em; /* Space out list items */
}

/* Gallery Section */
.gallery {
	padding: 40px 0;
	text-align: center;
	border-bottom: 1px solid #eaeaea;
}

.gallery h2 {
	font-size: 2em;
	margin-bottom: 40px;
}

.gallery-container {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 20px;
	padding-bottom: 20px; /* For scrollbar */
	-webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.gallery-item {
	flex: 0 0 auto;
	width: 250px; /* Uniform width for thumbnails */
	cursor: pointer;
	border: 1px solid #eaeaea;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
	transition: transform 0.2s;
}

.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-item img {
	width: 100%;
	height: 150px; /* Uniform height */
	object-fit: cover; /* Crop images to fit */
	object-position: top; /* Align images to the top */
	display: block;
}

.gallery-item p {
	padding: 10px;
	font-size: 0.9em;
	color: #666;
	margin: 0;
	background-color: #f9f9f9;
}

.play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50px;
	height: 50px;
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none; /* Allows clicks to go to the item */
}

.play-icon::after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 20px solid white;
	margin-left: 5px;
}

/* Lightbox Modal */
.lightbox {
	display: none; /* Hidden by default */
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	justify-content: center;
	align-items: center;
}

.lightbox.active {
	display: flex;
}

.lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.lightbox-item-container {
	display: flex;
	justify-content: center;
	align-items: center;
}

.lightbox-item-container img,
.lightbox-item-container video {
	max-width: 100%;
	max-height: 90vh;
	display: block;
}

.lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.3s;
}

.lightbox-close:hover {
	color: #ccc;
}

.lightbox-prev,
.lightbox-next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 30px;
	transition: 0.3s;
	user-select: none;
	background-color: rgba(0,0,0,0.3);
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background-color: rgba(0,0,0,0.6);
}

.lightbox-prev {
	left: -60px;
	border-radius: 3px 0 0 3px;
}

.lightbox-next {
	right: -60px;
	border-radius: 0 3px 3px 0;
}