/*
Theme Name: VayraPay
Theme URI: https://vayrapay.com
Description: A professional, modern WordPress theme for iGaming payment processing company
Version: 1.0.0
Author: VayraPay
Author URI: https://vayrapay.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vayrapay
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0f1419;
  color: #f8fafc;
  line-height: 1.6;
  font-size: 16px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: #94a3b8;
  line-height: 1.8;
}

a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #06b6d4;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: grid;
}

.row.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.row.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.row.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background-color: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #334155;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;  /* Subtle hover effect */
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #f8fafc;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #f8fafc;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    background-color: #1a2332;
    padding: 1rem;
    border-bottom: 1px solid #334155;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: scale(1.02);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid #334155;
}

.btn-secondary:hover {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 5rem 0;
}

section.hero {
  background: linear-gradient(135deg, rgba(15, 20, 25, 1) 0%, rgba(30, 41, 59, 0.8) 100%);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

section.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

section.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

section.hero .container {
  position: relative;
  z-index: 1;
}

section.dark {
  background-color: #0f1419;
}

section.dark-alt {
  background-color: rgba(26, 35, 50, 0.5);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background-color: rgba(26, 35, 50, 0.5);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card.blue:hover {
  border-color: #3b82f6;
}

.card.cyan:hover {
  border-color: #06b6d4;
}

.card.green:hover {
  border-color: #10b981;
}

.card.purple:hover {
  border-color: #a855f7;
}

.card.yellow:hover {
  border-color: #eab308;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f8fafc;
}

.card-text {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   HERO CONTENT
   ============================================ */

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text h1 .gradient {
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #94a3b8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-trust {
  font-size: 0.875rem;
  color: #64748b;
}

.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shape {
  position: absolute;
  border-radius: 0.5rem;
  opacity: 0.8;
}

.shape-1 {
  width: 200px;
  height: 150px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  transform: rotate(-12deg);
}

.shape-2 {
  width: 200px;
  height: 150px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  transform: rotate(6deg);
  opacity: 0.6;
}

.shape-3 {
  width: 200px;
  height: 150px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  opacity: 0.4;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: rgba(26, 35, 50, 0.5);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.feature-text {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title .gradient {
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: #0f1419;
  border-top: 1px solid #334155;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f8fafc;
}

.footer-section p {
  font-size: 0.875rem;
  color: #64748b;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f8fafc;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
  text-align: center;
}

.text-white {
  color: #f8fafc;
}

.text-muted {
  color: #94a3b8;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
  
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.125rem; }
  
  body {
    font-size: 15px;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */

.wp-block-image {
  margin: 1rem 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

/* ============================================
   CONTACT FORM MODAL
   ============================================ */

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

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #1a2332;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  border: 1px solid #334155;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: #f8fafc;
}

.modal-content p {
  margin-bottom: 1.5rem;
  color: #94a3b8;
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #f8fafc;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f8fafc;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  background-color: rgba(15, 20, 25, 0.5);
  color: #f8fafc;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: rgba(15, 20, 25, 0.8);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input[type="checkbox"] {
  margin-right: 0.5rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.375rem;
  text-align: center;
  font-weight: 500;
}

.form-status.success {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: block;
}

.form-status.error {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  display: block;
}

.form-status.loading {
  background-color: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  display: block;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  body {
    background-color: white;
    color: black;
  }
  
  a {
    color: black;
  }
  
  header,
  footer {
    display: none;
  }
}
