/* style.css */

/* ==================================================
	 1. BASE STYLES
	 ================================================== */
body {
	font-family: sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	background: #f9f9f9;
	color: #333;
}

main {
	max-width: 960px;
	margin: 2rem auto;
	padding: 0 1rem;
	background: white;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Let body/viewport fill the height */
html, body { height: 100%; }

/* Home page: background image + white overlay via CSS variables */
body.home {
	/* configurable knobs */
	--hero-img: none;          /* url(...) will be injected per page */
	--hero-size: 50%;          /* override per page if needed */
	--hero-wash: 0.75;				 /* opacity of the white wash */

	/* actual rendering */
	background:
		linear-gradient(rgba(255,255,255,var(--hero-wash)), rgba(255,255,255,var(--hero-wash))),
		var(--hero-img) center / var(--hero-size) no-repeat;

	background-attachment: scroll;  /* or 'fixed' if you want parallax feel */
}

@media (max-width: 900px) { body.home { --hero-size: 80%; } }
@media (max-width: 600px) { body.home { --hero-size: 110%; } } /* fill a bit more on phones */

/* Remove the white card on the home page */
body.home main {
	background: transparent !important;
	box-shadow: none;
	margin: 0 auto;
}

/* ==================================================
	 2. LAYOUT COMPONENTS
	 ================================================== */
.content-block {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}

.content-block .photo,
.content-block .text {
	flex: 1 1 300px;
}

.full-width-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* ==================================================
	 3. NAVIGATION (DESKTOP)
	 ================================================== */
.navbar{
	background-color: var(--color-steelblue);
	color: var(--color-white);
	padding: 0.75rem;
}

.container{
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo{
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--color-white);
	text-decoration: none;
}

.menu-toggle{
	background: none;
	border: none;
	color: var(--color-white);
	font-size: 1.5rem;
	cursor: pointer;
	display: none;
}

/* Main nav list */
.nav-links{
	list-style: none;
	display: flex;
	gap: 1rem;
	margin: 0; padding: 0;
}
.nav-links li{ position: relative; list-style: none; }

/* Top-level links */
.nav-links li a{
	color: var(--color-white);
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	transition: background-color .25s ease, color .25s ease;
}

/* Hover/focus: subtle dark bg + gold text */
.nav-links li a:hover,
.nav-links li a:focus{
	background: rgba(0,0,0,.25);
	color: var(--color-gold);
}

/* Dropdown arrow */
.dropdown-toggle .arrow{ font-size:.6rem; margin-left:.3rem; margin-top:2px; }

/* Dropdown menu */
.dropdown-menu{
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	background-color: var(--color-charcoal);
	z-index: 1000;
	flex-direction: column;
	padding: .5rem 0;
	margin: 0;
	list-style: none;

	/* soft reveal */
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.dropdown:hover .dropdown-menu{
	display: flex;
	opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-menu li{ margin: 0; padding: 0; list-style: none; }
.dropdown-menu li a{
	display: block;                 /* full row so highlight = menu width */
	padding: .5rem 1rem;
	color: var(--color-white);
	text-align: left;
	transition: background-color .25s ease, color .25s ease;
}
.dropdown-menu li a:hover,
.dropdown-menu li a:focus{
	background-color: var(--color-steelblue);
	color: var(--color-gold);
}

/* ==================================================
	 4. MOBILE NAVIGATION
	 ================================================== */
@media (max-width: 800px){
	.menu-toggle{ display:block; }

	.nav-links{
		display: none;
		flex-direction: column;
		position: absolute;
		top: 82px; right: 0;
		width: 220px;
		padding: 1rem;
		background: var(--color-charcoal);
		z-index: 9999;
		margin: 0;
	}
	.nav-links.show{ display:flex; }

	/* mobile submenu under Features */
	.nav-links .dropdown-menu{
		background-color: var(--color-darkgray);
		padding-left: 1rem;
		margin-top: .5rem;
		border-radius: 4px;
		position: static; /* stack inside panel */
	}

	.dropdown-menu li{ margin-bottom: 6px; }
	.dropdown-menu li a{
		display:block; padding:.5rem 1rem; color: var(--color-white);
		text-decoration:none; transition: background-color .25s ease, color .25s ease;
	}
	.dropdown-menu li a:hover{ background: var(--color-steelblue); color: var(--color-gold); }

	.dropdown-toggle{ width:100%; }
}

/* ==================================================
	 5. IMAGE STYLING
	 ================================================== */
img.hero {
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	margin-bottom: 2rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img.hero:hover {
	transform: scale(1.02);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Optional alt hero style - disabled
img.hero {
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
img.hero:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}
*/

.hero-banner {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.background-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(75%);
}

.overlay-text {
	position: absolute;
	color: white;
	text-align: center;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
	padding: 1rem;
}

/* Default (centered) */
.overlay-text.position-center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

/* Upper Left */
.overlay-text.position-upper-left {
	top: 1rem;
	left: 1rem;
	transform: none;
	text-align: left;
}

/* Lower Left */
.overlay-text.position-lower-left {
	bottom: 1rem;
	left: 1rem;
	top: auto;
	transform: none;
	text-align: left;
}

/* Upper Right */
.overlay-text.position-upper-right {
	top: 1rem;
	right: 1rem;
	left: auto;
	transform: none;
	text-align: right;
}

/* Lower Right */
.overlay-text.position-lower-right {
	bottom: 1rem;
	right: 1rem;
	top: auto;
	left: auto;
	transform: none;
	text-align: right;
}

/* ==================================================
 6. FORMS
 ================================================== */
form {
	 display: flex;
	 flex-direction: column;
	 gap: 1rem;
 }

 input[type="text"],
 input[type="email"],
 input[type="password"],
 textarea {
	 width: 100%;
	 padding: 0.5rem;
	 font-size: 1rem;
	 border: 1px solid #ccc;
	 border-radius: 4px;
	 box-sizing: border-box;
 }

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

 button[type="submit"] {
	 padding: 0.75rem 1.5rem;
	 font-size: 1rem;
	 border: 1px solid #888;
	 border-radius: 4px;
	 background-color: #f8f8f8;
	 cursor: pointer;
	 width: fit-content;
 }

 button[type="submit"]:hover {
	 background-color: #e0e0e0;
 }

/* ==================================================
		7. HERO TEXT & CALLOUT STYLES (GLOBAL)
		================================================== */
 .hero-title{   color: var(--color-charcoal);   font-size:2.5rem; font-weight:700; text-align:center; }
 .hero-subtitle{color: var(--color-royalblue);  font-size:2rem;   font-weight:600; text-align:center; }
 .hero-note{    color: var(--color-dodgerblue); font-size:1.5rem; font-weight:500; text-align:center; }
 .hero-callout{ color: var(--color-charcoal);   font-size:1.25rem; text-align:center; line-height:1.4; }
 .hero-callout span{ display:block; font-weight:400; }

 @media (max-width:1024px){
	 .hero-title{font-size:2.2rem;} .hero-subtitle{font-size:1.8rem;}
	 .hero-note{font-size:1.3rem;}  .hero-callout{font-size:1.1rem;}
 }
 @media (max-width:600px){
	 .hero-title{font-size:1.8rem;} .hero-subtitle{font-size:1.4rem;}
	 .hero-note{font-size:1.1rem;}  .hero-callout{font-size:1rem;}
	 .hero-callout br{ display:none; }
 }

 /* ==================================================
		8. HERO BACKGROUND IMAGE SIZING (GLOBAL)
		================================================== */

 /* Default fallback */
 body.home {
	 --hero-img: none;     /* image injected via CF */
	 --hero-wash: 0.75;
	 --hero-size: 50%;
	 background:
		 linear-gradient(rgba(255,255,255,var(--hero-wash)), rgba(255,255,255,var(--hero-wash))),
		 var(--hero-img) center / var(--hero-size) no-repeat;
	 background-attachment: scroll;
 }

 /* Desktop (larger screens) */
 @media (min-width: 1367px) {
	 body.home {
		 --hero-size: 60%;
	 }
 }

 /* Large iPad Pro 12.9" in landscape */
 @media (min-width: 1025px) and (max-width: 1366px) and (orientation: landscape) {
	 body.home {
		 --hero-size: 50%;
	 }
 }

 /* Mobile (≤ 600px) */
 @media (max-width: 600px) {
	 body.home {
		 --hero-size: 90%;
	 }
 }

 /* ==================================================
		9. RESPONSIVE FONT SCALING
		================================================== */

 /* Tablet (≤ 1024px) */
 @media (max-width: 1024px) {
	 .hero-title { font-size: 2.2rem; }
	 .hero-subtitle { font-size: 1.8rem; }
	 .hero-note { font-size: 1.3rem; }
	 .hero-callout { font-size: 1.1rem; margin-top: 1.5rem; }
 }

 /* Mobile (≤ 600px) */
 @media (max-width: 600px) {
	 .hero-title { font-size: 1.8rem; }
	 .hero-subtitle { font-size: 1.4rem; }
	 .hero-note { font-size: 1.1rem; }
	 .hero-callout { font-size: 1rem; margin-top: 1.2rem; }
 }

/* ==================================================
	 10. HERO SECTION (BR-controlled spacing)
	 ================================================== */
 .hero-section {
	 text-align: center;
	 padding: 0;          /* no padding top/bottom */
	 max-width: 960px;
	 margin: 0 auto;
 }

 /* Remove default margins/padding from hero elements */
 .hero-title,
 .hero-subtitle,
 .hero-note,
 .hero-callout {
	 margin: 0;
	 padding: 0;
 }

 /* Keep callout span on its own line */
 .hero-callout span {
	 display: block;
	 font-weight: 400;
 }

/* ==================================================
		11. POS FEATURE BLOCKS
		================================================== */
 .feature-block {
		 display: flex;
		 align-items: flex-start;   /* align blocks to the top */
		 justify-content: space-between;
		 gap: 2rem;
		 margin: 3rem 0;
		 flex-wrap: wrap;
 }

 /* Remove extra margin at the top of the text */
 .feature-text {
		 flex: 1 1 400px;
		 color: var(--color-charcoal);
		 font-size: 1rem;
		 line-height: 1.6;
		 margin-top: 0;   /* reset any browser default */
 }

 /* Headings already had margin-bottom, but strip top */
 .feature-text h2 {
		 color: var(--color-dodgerblue);
		 font-size: 1.8rem;
		 margin: 0 0 1rem 0;  /* no top margin, keep bottom */
 }

 .feature-image {
	 flex: 1 1 400px;
	 text-align: center;
 }

 .feature-image img {
	 max-width: 100%;
	 border-radius: 8px;
	 box-shadow: 0 4px 12px rgba(0,0,0,0.15);
 }

 .secondary-image {
	 margin-top: 1rem;
	 text-align: center; /* keeps it tidy under text */
 }

 .secondary-image img {
	 max-width: 100%;   /* shrink it a bit so it doesn’t overpower the text */
	 border-radius: 6px;
	 box-shadow: 0 3px 10px rgba(0,0,0,0.15);
 }

 /* Alternate layout (image left, text right) */
 .feature-block.reverse {
	 flex-direction: row-reverse;
 }

 /* Responsive tweaks */
 @media (max-width: 768px) {
	 .feature-block {
		 flex-direction: column;
		 text-align: center;
	 }
	 .feature-block.reverse {
		 flex-direction: column; /* no flip needed on mobile */
	 }
 }

 .feature-caption {
	 margin-top: 0.5rem;
	 font-size: 0.9rem;
	 color: #666; /* medium gray */
	 text-align: center;
	 font-style: italic;
 }

 .modal {
	 display: none;
	 position: fixed;
	 z-index: 2000;
	 padding-top: 60px;
	 left: 0; top: 0;
	 width: 100%; height: 100%;
	 background-color: rgba(0,0,0,0.9);
 }

 .zoomable {
	 cursor: zoom-in;
 }

 .modal-content {
	 margin: auto;
	 display: block;
	 max-width: 90%;
	 max-height: 90%;
 }

 .close {
	 position: absolute;
	 top: 20px; right: 40px;
	 color: white;
	 font-size: 2rem;
	 font-weight: bold;
	 cursor: pointer;
 }

/* ==================================================
		11a. FEATURE IMAGE STYLING
		================================================== */

 /* Default: clean screenshot with subtle shadow */
 .feature-image img {
	 border-radius: 6px;
	 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
	 max-width: 100%;
	 height: auto;
	 display: block;
	 margin: 0 auto;
 }

 /* Interactive: "bounce" hover effect (like hero images) */
 .feature-image img.interactive {
	 transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .feature-image img.interactive:hover {
	 transform: scale(1.02);
	 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
 }

 .coming-soon {
	 font-style: italic;
	 color: #cc0000; /* red highlight */
	 font-size: 0.95rem;
	 margin-top: -0.5rem;
 }

 p.experience-badge {
	 display:inline-block;
	 background:#f9f9f9;
	 color:#333;
	 font-size:1.25rem;
	 font-weight:600;
	 padding:0.5rem 1rem;
	 border-radius:6px;
	 margin-top:1rem;
	 border:1px solid #4169E1;
	 transition: all 0.2s ease-in-out;
 }
 p.experience-badge:hover {
	 box-shadow: 0 0 8px rgba(65,105,225,0.6);
 }

/* ==================================================
		11b. FEATURE SECTION INTRO
		================================================== */
 .features-intro {
	 max-width: 800px;
	 margin: 3rem auto;
	 text-align: center;
	 padding: 0 1rem;
 }

 .features-intro h2 {
	 font-size: 2rem;
	 margin-bottom: 0.5rem;
	 color: #222;
 }

 .features-intro .tagline {
	 font-size: 1.25rem;
	 font-weight: 600;
	 color: #555;
	 margin-bottom: 1rem;
 }

 .features-intro p {
	 font-size: 1.1rem;
	 line-height: 1.6;
	 color: #444;
 }

/* ==================================================
		12. FEATURE OUTRO / CALL TO ACTION
		================================================== */
 .features-cta {
	 text-align: center;
	 background: var(--color-steelblue);
	 color: var(--color-white);
	 padding: 60px 1rem;
	 margin-top: 4rem;
 }

 .features-cta h2 {
	 font-size: 2rem;
	 margin-bottom: 1rem;
 }

 .features-cta p {
	 font-size: 1.2rem;
	 margin-bottom: 2rem;
	 color: var(--color-white);
 }

 .features-cta a.button {
	 display: inline-block;
	 padding: 0.75rem 1.5rem;
	 background: var(--color-gold);
	 color: var(--color-black);
	 font-weight: bold;
	 text-decoration: none;
	 border-radius: 6px;
	 transition: background 0.3s ease;
 }

 .features-cta a.button:hover {
	 background: #e6c200; /* slightly darker gold */
 }

/* ==================================================
		13. RESPONSIVE FEATURE BLOCKS
		================================================== */

 /* Large iPad Pro 12.9" (landscape 1025–1366px) */
 @media (min-width: 1025px) and (max-width: 1366px) and (orientation: landscape) {
	 .features-intro h2 { font-size: 2.2rem; }
	 .features-intro p { font-size: 1.2rem; }
	 .feature-text h2 { font-size: 1.8rem; }
	 .feature-text { font-size: 1rem; }
	 .features-cta h2 { font-size: 2rem; }
	 .features-cta p { font-size: 1.2rem; }
 }

 /* General tablets (≤1024px) */
 @media (max-width: 1024px) {
	 .features-intro h2 { font-size: 2rem; }
	 .features-intro p { font-size: 1.1rem; }
	 .feature-text h2 { font-size: 1.6rem; }
	 .feature-text { font-size: 0.95rem; }
	 .features-cta h2 { font-size: 1.8rem; }
	 .features-cta p { font-size: 1.1rem; }
 }

 /* Small tablets / large phones (≤768px) */
 @media (max-width: 768px) {
	 .feature-block {
		 flex-direction: column;
		 gap: 1.5rem;
		 margin: 2rem 0;
	 }
	 .feature-text,
	 .feature-image {
		 flex: 1 1 100%;
		 text-align: center;
	 }
	 .feature-text h2 { font-size: 1.5rem; }
	 .features-cta { padding: 40px 1rem; }
	 .features-cta h2 { font-size: 1.6rem; }
 }

 /* Mobile phones (≤480px) */
 @media (max-width: 480px) {
	 .features-intro h2 { font-size: 1.6rem; }
	 .features-intro p { font-size: 1rem; }
	 .feature-text h2 { font-size: 1.3rem; }
	 .feature-text { font-size: 0.9rem; }
	 .feature-caption { font-size: 0.8rem; }
	 .features-cta h2 { font-size: 1.4rem; }
	 .features-cta p { font-size: 1rem; }
	 .features-cta a.button {
		 padding: 0.6rem 1.2rem;
		 font-size: 0.95rem;
	 }
 }
