/* ===============================
   ✅ RESET & GLOBAL STYLES
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: #000;
  font-family: sans-serif;
}

/* ===============================
   ✅ BACKGROUND IMAGE CONTAINER
   =============================== */
.background-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Lock width for background image layout */
  aspect-ratio: 768 / 994; /* Maintain aspect ratio of background image */
  background-image: url('images/background2.jpg');
  background-size: cover;
  background-position: center;
  margin: 0 auto;
}

/* ===============================
   ✅ HEADER IMAGE LINK AREA
   =============================== */
.header-image {
  position: absolute;
  top: 2%; /* Adjust this based on visual layout */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 500px;
  z-index: 10;
}

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

/* ===============================
   ✅ MAIN TEXT AREA (YELLOW ZONE)
   =============================== */
.content-area {
  position: absolute;
  top: 28%;     /* Start of yellow zone */
  left: 5%;
  right: 5%;
  bottom: 15%;  /* Just above green box */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  color: #000;
}

.content-area h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.content-area p {
  font-size: 1.2rem;
  max-width: 90%;
}

/* ===============================
   ✅ MOBILE RESPONSIVENESS
   =============================== */
@media (max-width: 600px) {
  .content-area h1 {
    font-size: 1.4rem;
  }

  .content-area p {
    font-size: 1rem;
  }
}
.footer-image {
  position: absolute;
  bottom: 3%; /* Adjust based on visual alignment */
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 400px;
  z-index: 10;
  pointer-events: auto;
  overflow: hidden; /* Prevents overflow on small screens */
}

.footer-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}
@media (max-width: 400px) {
  .footer-image {
    width: 90%;
  }
}
/* ===============================
   ✅ FOOTER PHONE IMAGE OVER CIRCLE
   =============================== */
.footer-phone {
  position: absolute;
  bottom: 7.7%;       /* Adjust based on position of red circle */
  right: 12%;        /* Move left/right to align with circle */
  width: 20%;       /* Scale image to fit circle */
  max-width: 135px;
  z-index: 10;
}

.footer-phone img {
  width: 100%;
  height: auto;
  display: block;
}
/* ===============================
   ✅ FOOTER CTA IMAGE (above green area)
   =============================== */
.footer-cta {
  position: absolute;
  bottom: 12%;      /* Adjust until it sits above footer text image */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 500px;
  z-index: 10;
}

.footer-cta img {
  width: 100%;
  height: auto;
  display: block;
}
/* ===============================
   ✅ SECTION TITLE (Yellow Area)
   =============================== */
.section-title {
  position: absolute;
  top: 22%;     /* Adjust to fit above the yellow text content */
  left: 7%;
  width: 100%;
  max-width: 500px;
  z-index: 10;
}

.section-title img {
  width: 100%;
  height: auto;
  display: block;
}
/* ===============================
   ✅ TITLE: Left Yellow Section
   =============================== */
.section-left-title {
  position: absolute;
  top: 23%;
  left: 5%;
  width: 50%;
  max-width: 360px;
  z-index: 10;
}

.section-left-title img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================
   ✅ TITLE: Right Blue Section
   =============================== */
.section-right-title {
  position: absolute;
  top: 31%;
  right: 1%;
  width: 32%;
  max-width: 300px;
  z-index: 10;
}

.section-right-title img {
  width: 100%;
  height: auto;
  display: block;
}
.row {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
}

.col-left {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-right {
  flex: 0 0 75%;
  max-width: 75%;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .col-left,
  .col-right {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.row {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
}

.col-left {
  flex: 0 0 25%;
  max-width: 25%;
  padding-top: 40px;
}

.col-right {
  flex: 0 0 75%;
  max-width: 75%;
  padding-top: 40px;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .col-left,
  .col-right {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.col-left img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.col-right img {
  width: 88%!important;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
}
.col-left img,
.col-right img {
  margin-top: 60px;   /* adjust as needed */
  width: 100%;
  height: auto;
  display: block;
}
/* ===============================
   ✅ Text block in yellow zone
   =============================== */
.yellow-text-block {
  position: absolute;
  top: 1%; /* adjust as needed */
  left: 0%;
  right: 6%;
  z-index: 10;

  /* 🟨 Styling for clean alignment */
  text-align: left;         /* ⬅ Left-align like in image */
  color: #000;
  font-size: 1rem;
  line-height: 1;         /* 🔁 Improves spacing like in image */
  font-weight: normal;
  width:70%;
}

.yellow-text-block p {
  margin-bottom: 1rem;      /* 🧾 Adds spacing between paragraphs */
}

.yellow-text-block a {
  color: #0000cc;           /* 🔵 Blue-ish link color */
  text-decoration: underline;
}
/*                  Mobile View                        */
.desktop-only { display: block; }
.mobile-only  { display: none; }

@media (max-width: 640px) {
  .desktop-only { display: none !important; }
  .mobile-only  { display: block !important; }
}
.section-title-mobile-view {
	position: absolute;
	top: 30%;
	left: 12%;
	width: 100%;
	max-width: 695px;
	z-index: 10;
}


.section-title-mobile-view img {
  width: 100%;
  height: auto;
  display: block;
}
.section-right-title-mobile-view {
	position: absolute;
	top: 13%;
	left: 7%;
	width: 90%;
	max-width: 300px;
	z-index: 10;
}
.section-right-title-mobile-view img {
	width: 100%;
	height: auto;
	display: block;
}
/* ===============================
   ✅ Text block in yellow zone
   =============================== */
.yellow-text-block-mobile-view {
	position: absolute;
	top: 34%;
	left: 18%;
	right: 6%;
	z-index: 10;
	text-align: left;
	color: #000;
	font-size: 1.4rem;
	line-height: 1.4;
	font-weight: normal;
	width: 70%;
}

.yellow-text-block-mobile-view p {
  margin-bottom: 1rem;      /* 🧾 Adds spacing between paragraphs */
}

.yellow-text-block-mobile-view a {
  color: #0000cc;           /* 🔵 Blue-ish link color */
  text-decoration: underline;
}
.col-left-mobile-view {
	position: absolute;
	top: 56%;
	left: 203px;
	width: 100%;
}
.col-left-mobile-view img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.text1-mobile-view {
	position: absolute;
	top: 1911px;
	left: 34px;
}
.footer-cta-mobile-view {
	position: absolute;
	bottom: 10%;
	left: 56%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 500px;
	z-index: 10;
}
.footer-cta-mobile-view img {
  width: 100%;
  height: auto;
  display: block;
}
.footer-image-mobile-view {
	position: absolute;
	bottom: 42px;
	left: 75%;
	transform: translateX(-50%);
	width: 70%;
	max-width: 400px;
	z-index: 10;
	pointer-events: auto;
	overflow: hidden;
}

.footer-image-mobile-view img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}
@media (max-width: 400px) {
  .footer-image-mobile-view {
    width: 90%;
  }
}
/* ===============================
   ✅ FOOTER PHONE IMAGE OVER CIRCLE
   =============================== */
.footer-phone-mobile-view {
	position: absolute;
	bottom: 3.7%;
	right: 36%;
	width: 30%;
	max-width: 177px;
	z-index: 10;
}

.footer-phone-mobile-view img {
  width: 100%;
  height: auto;
  display: block;
}
.header-image-mobile-view {
  position: absolute;
  top: 2%; /* Adjust this based on visual layout */
  left: 97%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  z-index: 10;
}
.header-image-mobile-view img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================
   ✨ EMAIL POPUP (Responsive, Accessible)
   =============================== */
:root{
  --pop-overlay: rgba(0,0,0,.55);
  --pop-bg: #ffffff;
  --pop-radius: 18px;
  --pop-shadow: 0 20px 60px rgba(0,0,0,.25);
  --pop-gap: 14px;
  --pop-accent: #111; /* neutral; inherits site */
}

.email-pop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--pop-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 9999;
  padding: 24px;
}

.email-pop.show { opacity: 1; visibility: visible; }

.email-pop__box {
  width: 100%;
  max-width: 520px;
  background: var(--pop-bg);
  border-radius: var(--pop-radius);
  box-shadow: var(--pop-shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.email-pop__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: #fafafa;
}

.email-pop__title {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .2px;
}

.email-pop__close {
  appearance: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
}

.email-pop__body {
  padding: 18px 20px 0 20px;
}

.email-pop__text {
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
  line-height: 1.45;
  color: #222;
}

.email-pop__form {
  display: grid;
  gap: var(--pop-gap);
  padding: 18px 20px 22px 20px;
}

.email-pop__row {
  display: grid;
  gap: 8px;
}

.email-pop label { font-size: .9rem; color: #111; }

.email-pop input[type="email"]{
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  outline: none;
}

.email-pop input[type="email"]:focus{
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

.email-pop__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.email-pop button {
  padding: 12px 14px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

.email-pop button.email-pop__secondary {
  background: #fff;
  color: #111;
}

.email-pop__msg {
  min-height: 1.1em;
  font-size: .95rem;
  padding: 0 20px 18px 20px;
  color: #0a7a30;
}

/* Mobile tweaks */
@media (max-width: 520px){
  .email-pop__actions{ grid-template-columns: 1fr; }
}



/* ===============================
   ✅ POPUP THEME OVERRIDES (Poker Green) + Mobile Redesign
   =============================== */

/* Theme variables */
:root{
  --poker-green: #0a8f2a; /* tweak if your ad page uses a different green */
  --poker-green-dark: #086e21;
  --poker-green-light: #12b23a;
  --pop-overlay: rgba(10, 143, 42, .88); /* green-tinted overlay */
  --pop-bg: linear-gradient(145deg, var(--poker-green) 0%, var(--poker-green-dark) 60%, var(--poker-green-light) 100%);
  --pop-text: #ffffff;
  --pop-accent: #ffffff;
}

/* Box uses green gradient background; text white */
.email-pop__box{
  background: var(--pop-bg) !important;
  color: var(--pop-text);
  border: 1px solid rgba(255,255,255,.1);
}

/* Header tweaks for contrast */
.email-pop__header{
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.email-pop__title{ color: var(--pop-text); }
.email-pop__close{ color: var(--pop-text); }

/* Body text contrast */
.email-pop__text{ color: rgba(255,255,255,.95); }

/* Inputs on green background */
.email-pop label{ color: rgba(255,255,255,.9); }
.email-pop input[type="email"]{
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,.2);
}
.email-pop input[type="email"]::placeholder{ color: #666; }

/* Buttons */
.email-pop button{
  background: #fff;
  color: #111;
  border: 1px solid #fff;
}
.email-pop button.email-pop__secondary{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.email-pop button.email-pop__secondary:hover{
  background: rgba(255,255,255,.08);
}

/* Success/error message */
.email-pop__msg{ color: #fff; }

/* ===== Mobile-first redesign ===== */
@media (max-width: 640px){
  .email-pop{
    padding: 0;
    background: var(--pop-overlay);
  }
  .email-pop__box{
    width: 100%;
    max-width: none;
    height: 100vh;
    border-radius: 0;          /* full screen sheet */
    display: grid;
    grid-template-rows: auto 1fr auto;
  }
  .email-pop__header{
    padding: 16px 16px;
  }
  .email-pop__body{
    padding: 16px 16px 0 16px;
  }
  .email-pop__form{
    padding: 16px;
    gap: 12px;
  }
  .email-pop__actions{
    grid-template-columns: 1fr;  /* single column buttons on mobile */
  }
  .email-pop input[type="email"]{
    font-size: 16px; /* prevent iOS zoom */
    padding: 14px 16px;
  }
  .email-pop button{
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
  }
  .email-pop__title{
    font-size: 1.05rem;
  }
}

/* ===== Desktop hover niceties ===== */
@media (min-width: 641px){
  .email-pop button:hover{
    filter: brightness(0.95);
  }
}
