/*
Theme Name: Gone Digital Twenty Twenty Six
Theme URI: https://wordpress.org/themes/gonedigitaltwentysix
Author: the WordPress team
Author URI: https://wordpress.org
Description: Gone Digital Twenty Twenty Six is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Requires at least: 6.1
Tested up to: 6.9
Requires PHP: 5.6
Version: 1.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: gonedigitaltwentysix
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

.hero-video-frame {
	height: clamp(380px, 56vw, 760px);
	overflow: hidden;
	perspective: 1200px;
	position: relative;
	transform-style: preserve-3d;
	width: 100%;
}

.hero-video {
	display: block;
	height: 100%;
	object-fit: cover;
	transform: rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg)) scale3d(var(--hero-tilt-scale, 1), var(--hero-tilt-scale, 1), 1);
	transform-origin: center center;
	transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	width: 100%;
}

.hero-video-frame.is-tilting .hero-video {
	--hero-tilt-scale: 1.002;
}

.hero-video-overlay-group {
	bottom: clamp(34px, 6vw, 96px);
	left: clamp(34px, 6vw, 96px);
	opacity: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(8px, 1.2vw, 14px);
	position: absolute;
	transform: translate3d(0, 20px, 0);
	animation: heroOverlayEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
	z-index: 2;
}

.hero-video-overlay {
	height: auto;
	max-width: min(55%, 560px);
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, 14px, 0) scale(0.985);
	animation: heroOverlayEnter 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
	width: clamp(240px, 42vw, 520px);
	z-index: 2;
}

.hero-video-overlay-button {
	background: transparent;
	opacity: 0;
	border: 1px solid #ffffff;
	border-radius: 10px;
	color: #ffffff;
	cursor: pointer;
	display: inline-block;
	font-size: clamp(0.8rem, 1.2vw, 1rem);
	font-weight: 600;
	line-height: 1;
	padding: 0.6rem 1.1rem;
	text-decoration: none;
	text-transform: uppercase;
	transform: translate3d(0, 16px, 0);
	animation: heroOverlayEnter 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

@keyframes heroOverlayEnter {
	from {
		opacity: 0;
		transform: translate3d(0, 18px, 0) scale(0.985);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

.hero-video-overlay-button:hover,
.hero-video-overlay-button:focus-visible {
	background: #ffffff;
	border-color: #ffffff;
	color: #1f2a30;
	outline: none;
	text-decoration: none;
}

@media (max-width: 767.98px) {
	.hero-video-frame {
		height: 380px;
	}

	.hero-video-overlay-group {
		bottom: clamp(22px, 6vw, 38px);
		left: clamp(22px, 6vw, 38px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-video {
		transform: none;
		transition: none;
	}

	.hero-video-overlay-group,
	.hero-video-overlay,
	.hero-video-overlay-button {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

.scroll-reveal {
	opacity: 0;
	transform: translate3d(0, 34px, 0);
	transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.scroll-reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.scroll-reveal-delay-1 {
	transition-delay: 0.1s;
}

.scroll-reveal-delay-2 {
	transition-delay: 0.2s;
}

.scroll-reveal-delay-3 {
	transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
	.scroll-reveal,
	.scroll-reveal.is-visible {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.intro-banner-section {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 420px;
	position: relative;
	width: 100%;
}

.intro-banner-overlay {
	background-color: rgba(255, 255, 255, 0.72);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 4rem 2rem;
	width: 100%;
}

.intro-banner-overlay--left {
	min-height: 420px;
}

.intro-banner-overlay h2 {
	color: #1f2a30;
	font-size: clamp(1.8rem, 3.2vw, 2.8rem);
	font-weight: 600;
	margin: 0 auto 1.25rem;
	text-align: center;
	max-width: 520px;
}

.intro-banner-logo {
	display: block;
	margin: 0 auto;
	max-width: min(260px, 60vw);
	height: auto;
}

@media (max-width: 991.98px) {
	.intro-banner-section,
	.intro-banner-overlay--left {
		min-height: 320px;
	}

	.intro-banner-overlay {
		padding: 3rem 1.5rem;
	}

	.intro-banner-overlay h2,
	.intro-banner-logo {
		margin-left: auto;
		margin-right: auto;
	}
}

.feature-background-section {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-top: 3rem;
	position: relative;
	width: 100%;
}

.feature-background-overlay {
	background-color: rgba(17, 24, 28, 0.62);
	padding: 4rem 0;
}

.feature-section-title {
	color: #f4efe8;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 600;
	margin-bottom: 1rem;
}

.feature-card {
	background-color: rgba(251, 249, 245, 0.92);
	border-radius: 8px;
	height: 100%;
	padding: 1.5rem;
}

.feature-card-title {
	color: #36454f;
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.feature-card-text {
	color: #1f2a30;
	margin-bottom: 0;
}

.story-background-section {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-top: 3rem;
	position: relative;
	width: 100%;
}

.story-background-overlay {
	padding: 3rem 0;
}

.story-section-title {
	color: #f4efe8;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 600;
	margin-bottom: 0;
}

.story-card {
	border-color: white;
	border-width: 2pt;
	border-style: solid;
	border-radius: 8px;
	height: 100%;
	padding: 1.5rem;
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.story-card-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.story-card-link:hover,
.story-card-link:focus-visible {
	text-decoration: none;
}

.story-card:hover,
.story-card:focus-within {
	border-color: #ffffff;
	box-shadow: 0 0 24px rgba(255, 255, 255, 0.45), 0 0 44px rgba(255, 255, 255, 0.2);
	transform: translateY(-4px);
}

.story-card-title {
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.story-card-text {
	color: #ffffff;
	margin-bottom: 0;
}

@media (max-width: 991.98px) {
	.story-background-overlay {
		padding: 2.5rem 0;
	}
}

.body-text {
	font-size: 16pt;
	text-align: justify;

}

.magazine-destinations-section {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.magazine-destinations-kicker {
	color: #6f7d66;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.magazine-destinations-title {
	color: #1f2a30;
	font-size: clamp(1.5rem, 2.8vw, 2.4rem);
	font-weight: 700;
	line-height: 1.1;
}

.magazine-destinations-intro {
	color: #3f4f55;
	font-size: clamp(0.95rem, 1.25vw, 1.05rem);
	max-width: 760px;
}

.magazine-destinations-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.magazine-filter-button {
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid #c6ced6;
	border-radius: 999px;
	color: #24313d;
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1;
	padding: 0.58rem 0.95rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.magazine-filter-button:hover,
.magazine-filter-button:focus-visible {
	background: #ffffff;
	box-shadow: 0 6px 16px rgba(31, 42, 48, 0.12);
	color: #1f2a30;
	outline: none;
	transform: translateY(-1px);
}

.magazine-filter-button.is-active {
	background: #1f2a30;
	border-color: #1f2a30;
	box-shadow: 0 7px 16px rgba(31, 42, 48, 0.22);
	color: #ffffff;
}

.magazine-destination-item {
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.magazine-destination-item.is-hidden {
	display: none;
}

.page-template-page-destinations .entry-header,
.page-template-page-destinations .entry-title,
.page-template-page-destinations .wp-block-post-title {
	display: none;
}

.page-template-page-destinations .site-main,
.page-template-page-destinations .container.py-5 {
	margin-top: 0;
	padding-top: 0;
}

.magazine-destination-card {
	backdrop-filter: blur(2px);
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(134, 149, 138, 0.42);
	border-radius: 16px;
	box-shadow: 0 12px 26px rgba(31, 42, 48, 0.08);
	height: 100%;
	padding: 1.2rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.magazine-destination-card:hover {
	box-shadow: 0 14px 28px rgba(31, 42, 48, 0.13);
	transform: translateY(-2px);
}

.magazine-destination-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.magazine-destination-pill {
	background: #f2f5f8;
	border: 1px solid #d6dde4;
	border-radius: 999px;
	color: #2f3f4d;
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1;
	padding: 0.38rem 0.62rem;
}

.magazine-destination-country {
	color: #1f2a30;
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.2;
}

.magazine-destination-famous {
	color: #334248;
	font-size: 0.95rem;
	line-height: 1.5;
}

@media (max-width: 767.98px) {
	.magazine-destinations-section {
		border-radius: 14px;
		padding: 1.1rem;
	}
}

.about-scroll-frame {
	background-color: #fbf9f5;
	border: 1px solid #d7d0c6;
	border-radius: 10px;
	max-height: 70vh;
	overflow-y: auto;
	padding: 1.5rem;
}

/* Contact Form 7 custom styles for Gone Digital Twenty Twenty Six */
.contact-form-7-wrapper form.wpcf7-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 2.5rem 2rem 2rem 2rem;
  margin-bottom: 2rem;
}
.contact-form-7-wrapper .wpcf7-form-control {
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
  width: 100%;
  background: #fafbfc;
  transition: border-color 0.2s;
}
.contact-form-7-wrapper .wpcf7-form-control:focus {
  border-color: #bdbdbd;
  outline: none;
  background: #fff;
}
.contact-form-7-wrapper label {
  font-weight: 500;
  margin-bottom: 0.4rem;
  display: block;
}
.contact-form-7-wrapper .wpcf7-submit {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 0.7rem;
  transition: background 0.2s;
}
.contact-form-7-wrapper .wpcf7-submit:hover {
  background: #444;
}
.contact-form-7-wrapper .wpcf7-response-output {
  margin-top: 1rem;
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
}