/* Page-specific Surf Photography styles go here */
.photo-page {
	background: #000;
	color: #e9e9e9;
	padding-bottom: 2rem;
}

.content-wrap {
	width: min(1180px, 100%);
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	box-sizing: border-box;
	margin: 0 auto;
}

.section-kicker {
	text-transform: uppercase;
	letter-spacing: 1.2px;
	font-size: 0.85rem;
	margin-bottom: 0.8rem;
	color: rgba(255, 255, 255, 0.86);
}

.photo-hero {
	position: relative;
	min-height: calc(100vh - 90px);
	min-height: calc(100dvh - 90px);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
}

.photo-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.72));
}

.photo-hero-content {
	position: relative;
	width: min(980px, 100%);
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	box-sizing: border-box;
	margin: 0 auto;
	z-index: 1;
	text-align: center;
}

.photo-hero-title {
	font-size: clamp(2.1rem, 5vw, 5rem);
	line-height: 1.05;
	margin: 0;
}

.photo-hero-subtitle {
	font-size: clamp(1rem, 2.1vw, 1.35rem);
	margin-top: 1rem;
	color: rgba(255, 255, 255, 0.95);
}

.value-section,
.portfolio-section,
.packages-section,
.photographer-section,
.photo-cta {
	padding: 4.2rem 0;
}

.value-section {
	background: #080808;
	border-top: 1px solid #1f1f1f;
	border-bottom: 1px solid #1f1f1f;
}

.value-section h2,
.portfolio-section h2,
.packages-section h2,
.photographer-section h2,
.photo-cta h2 {
	margin-bottom: 0.95rem;
	font-size: clamp(1.8rem, 3vw, 3rem);
	line-height: 1.1;
}

.value-section p,
.section-intro,
.package-card p,
.photographer-section p,
.deliverables-note {
	font-size: 1.05rem;
	line-height: 1.75;
	max-width: 78ch;
	margin: 0;
}

.section-intro {
	color: rgba(232, 232, 232, 0.9);
	margin-bottom: 1.6rem;
}

.portfolio-masonry {
	column-count: 3;
	column-gap: 1rem;
}

.portfolio-item {
	break-inside: avoid;
	background: #0d0d0d;
	border: 1px solid #242424;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 1rem;
}

.portfolio-item img {
	width: 100%;
	display: block;
	object-fit: cover;
}

.portfolio-item figcaption {
	padding: 0.8rem 0.9rem 1rem;
	font-size: 0.92rem;
	color: rgba(229, 229, 229, 0.92);
}

.portfolio-item figcaption span {
	display: inline-block;
	margin-right: 0.5rem;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	padding: 0.08rem 0.55rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.packages-section {
	background: #070707;
	border-top: 1px solid #1e1e1e;
	border-bottom: 1px solid #1e1e1e;
}

.packages-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.2rem;
}

.package-card {
	background: #0f0f0f;
	border: 1px solid #2a2a2a;
	border-radius: 14px;
	padding: 1.3rem 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.package-card h3 {
	font-size: 1.55rem;
	margin: 0;
}

.package-price {
	font-size: 1.6rem;
	line-height: 1;
	color: #ffffff;
	font-weight: 700;
	margin: 0;
}

.package-card ul {
	margin: 0;
	padding-left: 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.package-card-featured {
	border-color: #7f8b95;
	box-shadow: 0 0 0 1px rgba(168, 182, 194, 0.32);
	background: linear-gradient(180deg, #131313, #0d0d0d);
}

.deliverables-note {
	margin-top: 1rem;
	color: rgba(241, 241, 241, 0.92);
}

.photographer-grid {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 1.5rem;
	align-items: center;
}

.surfphotographer-image {
	width: 100%;
	max-width: 260px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid #ffffff;
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42);
}

.photographer-section h3 {
	font-size: 1.4rem;
	margin-top: 0;
	margin-bottom: 0.6rem;
	color: rgba(255, 255, 255, 0.95);
}

.photo-cta {
	text-align: center;
	padding-top: 4.4rem;
	padding-bottom: 3.8rem;
}

.photo-cta h2 {
	margin-bottom: 1.1rem;
}

.cta-button {
	display: inline-block;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(120deg, #7a7a7a, #a7a7a7);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	padding: 0.78rem 1.6rem;
	font-weight: 700;
	letter-spacing: 0.35px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(180, 180, 180, 0.35);
}

/* Desktop */
@media (min-width: 993px) {
	.photo-hero-title {
		font-size: 5rem;
	}

	.value-section p,
	.section-intro,
	.package-card p,
	.photographer-section p,
	.deliverables-note {
		font-size: 1.2rem;
	}
}

/* Tablets + mobile nav layout */
@media (max-width: 992px) {
	.navbar .container-fluid {
		justify-content: center;
	}

	.navbar-brand {
		position: static;
		transform: none;
		margin: 0;
	}

	.navbar-toggler {
		position: absolute;
		right: 0.75rem;
		top: 2.75rem;
		transform: translateY(-50%);
		z-index: 1001;
	}

	.navbar-toggler-icon {
		width: 1.75rem;
		height: 1.75rem;
		background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M3.646 5.646a.5.5 0 0 1 .708 0L8 9.293l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708' fill='rgba(255,255,255,0.95)'/%3e%3c/svg%3e");
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	.navbar-brand img {
		height: 5rem;
		margin: 0;
	}

	nav ul {
		margin-top: 15px;
		margin-bottom: 15px;
		margin-left: 0;
		justify-content: center;
		text-align: center;
		gap: 10px;
	}

	/* Force collapsed navbar links to align horizontally */
	.navbar-collapse .navbar-nav {
		flex-direction: row !important;
		align-items: center;
		gap: 0.75rem;
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
	}

	.navbar-collapse .nav-item {
		margin: 0 0.25rem;
	}

	.portfolio-masonry {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-count: unset;
		column-gap: unset;
		gap: 0.9rem;
		align-items: start;
	}

	.portfolio-item {
		break-inside: unset;
		margin-bottom: 0;
	}

	.packages-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.photographer-grid {
		grid-template-columns: 220px 1fr;
	}
}

/* Tablets */
@media (min-width: 769px) and (max-width: 992px) {
	.photo-hero-title {
		font-size: 3.5rem;
	}

	.photo-hero-subtitle,
	.value-section p,
	.section-intro,
	.package-card p,
	.photographer-section p,
	.deliverables-note {
		font-size: 1.05rem;
	}

	.package-card h3 {
		font-size: 1.1rem;
	}

	.package-price {
		font-size: 1.25rem;
	}

	.package-card {
		padding: 1rem 0.85rem;
		gap: 0.5rem;
		font-size: 0.88rem;
	}

	.packages-grid {
		gap: 0.65rem;
	}

	footer {
		margin: 50px 0 0;
		padding: 18px 50px 0;
	}
}

/* Mobiles */
@media (max-width: 768px) {
	.content-wrap,
	.photo-hero-content {
		width: min(1180px, calc(100% - 1.4rem));
	}

	.photo-hero {
		min-height: 68vh;
		min-height: 68svh;
	}

	.photo-hero-title {
		font-size: 2.6rem;
	}

	.photo-hero-subtitle,
	.value-section p,
	.section-intro,
	.package-card p,
	.photographer-section p,
	.deliverables-note {
		font-size: 1rem;
	}

	.value-section,
	.portfolio-section,
	.packages-section,
	.photographer-section,
	.photo-cta {
		padding: 3rem 0;
	}

	.portfolio-masonry {
		column-count: 1;
	}

	.packages-grid {
		grid-template-columns: 1fr;
	}

	.photographer-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.surfphotographer-image {
		max-width: 200px;
		margin: 0 auto;
	}

	/* Force collapsed navbar links to align horizontally */
	.navbar-collapse .navbar-nav {
		flex-direction: row !important;
		align-items: center;
		gap: 0.75rem;
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		margin-top: 35px;
	}

	.navbar-collapse .nav-item {
		margin: 0 0.25rem;
	}

	footer {
		margin: 20px 0 0;
		padding: 14px 20px 0;
		font-size: 12px;
	}

	.footer {
		font-size: 25px;
	}

	.footertrips {
		font-size: 25px;
	}

	img.footer-icon {
		width: 24px;
		height: 24px;
	}
}
