/* 
  Cash Money Consulting - Main Stylesheet
*/

:root {
  --color-black: #000;
  --color-white: #fff;
  --color-gray-light: #f2f2f2;
  --color-gray: #808080;
  --color-gray-dark: #333;
  --color-gold: #a89f68;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  color: var(--color-white);
  background-color: var(--color-black);
  overflow-x: hidden;
  height: 100%;
}

/* Video Background Container */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(0.5) grayscale(30%);
}

/* Torn Paper Effect */
.torn-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: url('../images/torn-paper.png');
  background-size: cover;
  mix-blend-mode: screen;
  opacity: 0.2;
}

/* Main Content Area */
.site-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.entry-title {
  font-size: 3.5rem;
  margin: 3rem 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.site-title a {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--color-gold);
  letter-spacing: 1px;
}

/* Hero section with faded money background */
.hero-section {
  position: relative;
  padding: 3rem 2rem;
  text-align: center;
  min-height: 320px;
  color: #fff;
  z-index: 1;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0,0,0,0.95) 100%);
  z-index: 2;
}
.hero-section > .container, .hero-section h1, .hero-section p {
  position: relative;
  z-index: 3;
}
.hero-heading, .hero-subheading {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}

.hero-heading {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subheading {
  font-size: 2rem;
  margin-bottom: 3rem;
  letter-spacing: 1.5px;
}

/* Why Us Section */
.why-us-section {
  margin: 5rem 0;
  text-align: center;
  padding: 2rem;
}

.why-us-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.why-us-content {
  max-width: 800px;
  margin: 0 auto;
}

.why-us-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.why-us-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.why-us-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

/* Service Description */
.service-description {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Payment Section */
.service-payment-section {
  margin: 5rem 0;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  background-color: #000000;
  overflow: hidden;
  color: white;
}

/* Add the background with radial gradient fade */
.service-payment-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/bg_black.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
}

.service-payment-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}

/* Payment Options - Amex Card Style */
.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin: 3rem 0;
  perspective: 1000px;
  position: relative;
  z-index: 1;
}

/* Base payment option styling */
.payment-option {
  border: none;
  border-radius: 12px;
  padding: 1.5rem;
  width: 340px;
  height: 200px;
  text-align: left;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1.59 / 1; /* Credit card ratio */
  flex: none; /* Override flex to maintain exact dimensions */
  background-position: -50px center;
  background-repeat: no-repeat;
  background-size: 220px;
  background-image: url('../images/amex.png');
  background-blend-mode: soft-light;
}

/* Metallic banded effect for cards */
.card-green {
  background:
    repeating-linear-gradient(120deg,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.15) 18%,
      rgba(180,209,182,0.7) 36%,
      rgba(0,0,0,0.08) 54%,
      rgba(255,255,255,0.35) 72%,
      rgba(180,209,182,0.7) 90%,
      rgba(255,255,255,0.55) 100%
    ),
    linear-gradient(145deg, #b4d1b6 70%, #e6f2e8 100%);
  background-blend-mode: lighten, normal;
}

.card-gold {
  background:
    repeating-linear-gradient(120deg,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.15) 18%,
      rgba(212,175,55,0.7) 36%,
      rgba(0,0,0,0.08) 54%,
      rgba(255,255,255,0.35) 72%,
      rgba(212,175,55,0.7) 90%,
      rgba(255,255,255,0.55) 100%
    ),
    linear-gradient(145deg, #d4af37 60%, #fffbe6 100%);
  background-blend-mode: lighten, normal;
}

.card-platinum {
  background:
    repeating-linear-gradient(120deg,
      rgba(255,255,255,0.7) 0%,
      rgba(255,255,255,0.2) 18%,
      rgba(207,210,214,0.7) 36%,
      rgba(0,0,0,0.10) 54%,
      rgba(255,255,255,0.4) 72%,
      rgba(207,210,214,0.7) 90%,
      rgba(255,255,255,0.7) 100%
    ),
    linear-gradient(145deg, #cfd2d6 60%, #f5f6fa 100%);
  background-blend-mode: lighten, normal;
}

.card-black {
  background:
    repeating-linear-gradient(120deg,
      rgba(255,255,255,0.25) 0%,
      rgba(255,255,255,0.08) 18%,
      rgba(34,34,34,0.7) 36%,
      rgba(0,0,0,0.18) 54%,
      rgba(255,255,255,0.18) 72%,
      rgba(34,34,34,0.7) 90%,
      rgba(255,255,255,0.25) 100%
    ),
    linear-gradient(145deg, #222 60%, #444 100%);
  background-blend-mode: lighten, normal;
}

.payment-option:hover {
  transform: translateY(-8px) rotateY(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Add rounded apple wallet style border */
.payment-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 100%;
  background: url('../images/amex.png') left center no-repeat;
  background-size: 160px auto;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
  border-radius: 12px 0 0 12px;
}

/* Add a subtle overlay for card texture */
.payment-option::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(120deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.0) 100%);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10) inset, 0 0 0 1.5px rgba(255,255,255,0.25) inset;
}

/* Amex logo text only */
.payment-option .card-logo {
  position: absolute;
  top: 1rem;
  right: 1rem; /* Move to right side */
  font-size: 0.6rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  background-image: none; /* Remove the small SVG */
  padding-left: 0;
  opacity: 0.8;
}

/* Card details styling */
.card-details {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: monospace;
  color: rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 3;
}

.card-number {
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.card-exp {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: sans-serif;
  font-weight: 600;
  opacity: 0.9;
}

.payment-price {
  position: absolute;
  top: calc(50% + 40px);
  right: 32px;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
  color: rgba(0, 0, 0, 0.9);
  letter-spacing: 1px;
  z-index: 4;
  text-align: right;
  background: rgba(255,255,255,0.12);
  padding: 2px 10px;
  border-radius: 6px;
}

/* Move chip to middle right and style with arrow */
.card-chip {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  width: 45px;
  height: 35px;
  background: linear-gradient(135deg, #c4a747 0%, #f1d875 100%);
  border-radius: 6px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2);
  z-index: 4;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-chip:hover {
  transform: translateY(-50%) scale(1.07);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3), 0 5px 10px rgba(0, 0, 0, 0.3);
}
.card-chip:active {
  transform: translateY(-50%) scale(0.98);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
}
.card-chip::before, .card-chip::after {
  display: none;
}
.card-chip svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Hide regular payment buttons */
.payment-buttons {
  display: none;
}

/* Responsive adjustments for the cards */
@media (max-width: 768px) {
  .payment-option {
    width: 90%;
    max-width: 320px;
    margin: 0 auto;
    height: auto;
    aspect-ratio: 1.59 / 1;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--color-gray);
  background-color: rgba(0, 0, 0, 0.8);
}

/* Form Elements */
.form-row {
  margin-bottom: 1.5rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-align: left;
}

.form-row input,
.form-row select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.form-row input[type="radio"] {
  width: auto;
  min-width: unset;
  max-width: unset;
}

.form-row .payment-type-group {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1rem;
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 30px;
}

.form-row select option {
  background-color: var(--color-gray-dark);
}

/* Checkout Page Styles */
.checkout-form {
  max-width: 500px;
  margin: 0 auto;
}

#card-element {
  padding: 12px;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
}

#card-errors {
  color: #fa755a;
  text-align: left;
  margin-top: 0.5rem;
  min-height: 20px;
}

.success-message {
  background-color: rgba(39, 174, 96, 0.2);
  border: 1px solid #27ae60;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.error-message {
  background-color: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

/* Thank You Page */
.thank-you-content {
  text-align: center;
}

.next-steps {
  margin: 2rem 0;
  text-align: center;
}

.return-home {
  margin-top: 2rem;
}

/* Navigation */
.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.main-navigation a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.main-navigation a:hover {
  color: var(--color-gold);
}

/* Header */
.site-header {
  padding: 1.5rem 0;
  position: relative;
  z-index: 10;
}

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

.site-title {
  margin: 0;
}

/* Add to existing responsive styles */
@media (max-width: 768px) {
  .main-navigation ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .site-header .container {
    flex-direction: column;
  }
  
  /* Hero section mobile styles */
  .hero-heading {
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: 1px;
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-subheading {
    font-size: 1.2rem;
    line-height: 1.4;
    letter-spacing: 1px;
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-section {
    padding: 2rem 1rem;
    min-height: 250px;
  }
  
  .container {
    padding: 0.5rem;
  }
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #f1d875;
  color: #002663;
}

.btn-primary:hover {
  background-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(241, 216, 117, 0.5);
}

.btn-secondary:hover {
  background-color: rgba(241, 216, 117, 0.1);
  transform: translateY(-2px);
}

/* Payment Buttons */
.payment-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  position: relative;
  z-index: 3;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  text-align: center;
  font-size: 0.7rem;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Card name styling at the bottom of the card */
.card-name {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 1.1rem;
  font-family: sans-serif;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.9);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 3;
} 

.pause-overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.pause-message {
  color: var(--color-gold);
  max-width: 600px;
}

.pause-message h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.pause-message p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #fff;
}
