/* xunexventgo - Main Stylesheet */

:root {
  /* Color variables */
  --xunexventgo-light: #FAF7F3;
  --xunexventgo-beige: #F0E4D3;
  --xunexventgo-tan: #DCC5B2;
  --xunexventgo-coral: #D9A299;
  
  /* Typography */
  --xunexventgo-font-primary: 'Cormorant Garamond', serif;
  --xunexventgo-font-secondary: 'Jost', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Other */
  --xunexventgo-border-radius: 3px;
  --xunexventgo-transition: all 0.3s ease;
  --xunexventgo-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--xunexventgo-font-secondary);
  background-color: var(--xunexventgo-light);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--xunexventgo-font-primary);
  font-weight: 500;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--xunexventgo-coral);
  text-decoration: none;
  transition: var(--xunexventgo-transition);
}

a:hover {
  color: var(--xunexventgo-tan);
}

img {
  max-width: 100%;
  height: auto;
}

.xunexventgo-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}

/* Header */
.xunexventgo-header {
  padding: var(--space-md) 0;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  transition: var(--xunexventgo-transition);
}

.xunexventgo-header.scrolled {
  background-color: rgba(250, 247, 243, 0.95);
  box-shadow: var(--xunexventgo-shadow);
  position: fixed;
  padding: var(--space-sm) 0;
}

.xunexventgo-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.xunexventgo-logo {
  display: flex;
  align-items: center;
}

.xunexventgo-logo-space {
  width: 40px;
  height: 40px;
  margin-right: var(--space-sm);
  background-color: var(--xunexventgo-coral);
  border-radius: 50%;
}

.xunexventgo-logo-text {
  font-family: var(--xunexventgo-font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--xunexventgo-coral);
}

/* Navigation */
.xunexventgo-nav {
  display: flex;
}

.xunexventgo-nav-list {
  display: flex;
  list-style: none;
}

.xunexventgo-nav-item {
  margin-left: var(--space-lg);
}

.xunexventgo-nav-link {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}

.xunexventgo-nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--xunexventgo-coral);
  transition: var(--xunexventgo-transition);
}

.xunexventgo-nav-link:hover::after,
.xunexventgo-nav-link.active::after {
  width: 100%;
}

.xunexventgo-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.xunexventgo-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  margin: 6px 0;
  transition: var(--xunexventgo-transition);
}

.xunexventgo-menu-toggle span.active:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.xunexventgo-menu-toggle span.active:nth-child(2) {
  opacity: 0;
}

.xunexventgo-menu-toggle span.active:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.xunexventgo-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--xunexventgo-beige);
  position: relative;
  overflow: hidden;
}

.xunexventgo-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--xunexventgo-coral) 0%, transparent 70%);
  opacity: 0.05;
}

.xunexventgo-hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-md);
}

.xunexventgo-hero-title {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  color: #333;
}

.xunexventgo-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  color: #555;
}

/* Buttons */
.xunexventgo-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--xunexventgo-border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--xunexventgo-transition);
  border: none;
  font-family: var(--xunexventgo-font-secondary);
}

.xunexventgo-btn-primary {
  background-color: var(--xunexventgo-coral);
  color: white;
}

.xunexventgo-btn-primary:hover {
  background-color: var(--xunexventgo-tan);
  color: white;
}

.xunexventgo-btn-secondary {
  background-color: transparent;
  border: 1px solid var(--xunexventgo-coral);
  color: var(--xunexventgo-coral);
}

.xunexventgo-btn-secondary:hover {
  background-color: var(--xunexventgo-coral);
  color: white;
}

/* Sections */
.xunexventgo-section {
  padding: var(--space-xl) 0;
}

.xunexventgo-section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.xunexventgo-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--xunexventgo-coral);
}

/* Products Section */
.xunexventgo-products {
  background-color: white;
}

.xunexventgo-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.xunexventgo-product {
  background-color: var(--xunexventgo-light);
  border-radius: var(--xunexventgo-border-radius);
  overflow: hidden;
  box-shadow: var(--xunexventgo-shadow);
  transition: var(--xunexventgo-transition);
}

.xunexventgo-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.xunexventgo-product-image {
  height: 200px;
  background-color: var(--xunexventgo-beige);
  display: flex;
  align-items: center;
  justify-content: center;
}

.xunexventgo-product-content {
  padding: var(--space-lg);
}

.xunexventgo-product-title {
  margin-bottom: var(--space-sm);
}

.xunexventgo-product-price {
  font-weight: bold;
  color: var(--xunexventgo-coral);
  margin-bottom: var(--space-md);
}

/* Custom Plans Section */
.xunexventgo-plans {
  background-color: var(--xunexventgo-beige);
}

.xunexventgo-plans-container {
  max-width: 800px;
  margin: 0 auto;
}

.xunexventgo-plans-intro {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.xunexventgo-plan-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.xunexventgo-plan {
  flex: 1 1 300px;
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--xunexventgo-border-radius);
  box-shadow: var(--xunexventgo-shadow);
  text-align: center;
}

.xunexventgo-plan-title {
  margin-bottom: var(--space-md);
  color: var(--xunexventgo-coral);
}

.xunexventgo-plan-price {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: var(--space-md);
}

.xunexventgo-plan-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.xunexventgo-plan-feature {
  margin-bottom: var(--space-sm);
}

/* Free Session Section */
.xunexventgo-free-session {
  background-color: white;
  text-align: center;
}

.xunexventgo-free-session-content {
  max-width: 700px;
  margin: 0 auto;
}

/* Certification Section */
.xunexventgo-certification {
  background-color: var(--xunexventgo-tan);
  color: white;
  text-align: center;
}

.xunexventgo-certification-content {
  max-width: 700px;
  margin: 0 auto;
}

.xunexventgo-certification-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.xunexventgo-certification-logo {
  background-color: white;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Contact Section */
.xunexventgo-contact {
  background-color: white;
}

.xunexventgo-contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.xunexventgo-contact-info {
  display: flex;
  flex-direction: column;
}

.xunexventgo-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.xunexventgo-contact-icon {
  margin-right: var(--space-md);
  color: var(--xunexventgo-coral);
  font-size: 1.5rem;
}

.xunexventgo-contact-form {
  display: flex;
  flex-direction: column;
}

.xunexventgo-form-group {
  margin-bottom: var(--space-md);
}

.xunexventgo-form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.xunexventgo-form-input,
.xunexventgo-form-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--xunexventgo-beige);
  border-radius: var(--xunexventgo-border-radius);
  font-family: var(--xunexventgo-font-secondary);
  transition: var(--xunexventgo-transition);
}

.xunexventgo-form-input:focus,
.xunexventgo-form-textarea:focus {
  outline: none;
  border-color: var(--xunexventgo-coral);
}

.xunexventgo-form-textarea {
  min-height: 150px;
  resize: vertical;
}

.xunexventgo-form-submit {
  align-self: flex-start;
}

/* Community Forum Section */
.xunexventgo-forum {
  background-color: var(--xunexventgo-beige);
}

.xunexventgo-forum-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.xunexventgo-forum-cta {
  margin-top: var(--space-lg);
}

/* Footer */
.xunexventgo-footer {
  background-color: #333;
  color: white;
  padding: var(--space-lg) 0;
  text-align: center;
}

.xunexventgo-footer-logo {
  margin-bottom: var(--space-lg);
}

.xunexventgo-footer-nav {
  margin-bottom: var(--space-lg);
}

.xunexventgo-footer-nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.xunexventgo-footer-nav-item {
  margin: 0 var(--space-md);
}

.xunexventgo-footer-nav-link {
  color: white;
}

.xunexventgo-footer-copyright {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Privacy Policy Popup */
.xunexventgo-privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: white;
  padding: var(--space-lg);
  z-index: 1000;
  transform: translateY(100%);
  transition: var(--xunexventgo-transition);
}

.xunexventgo-privacy-popup.show {
  transform: translateY(0);
}

.xunexventgo-privacy-popup-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.xunexventgo-privacy-popup-text {
  flex: 1;
  margin-right: var(--space-lg);
}

.xunexventgo-privacy-popup-text a {
  color: var(--xunexventgo-coral);
  text-decoration: underline;
}

/* Map */
.xunexventgo-map {
  height: 300px;
  border-radius: var(--xunexventgo-border-radius);
  overflow: hidden;
}

/* Privacy Policy Page */
.xunexventgo-privacy-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.xunexventgo-privacy-policy h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

/* Plan Page */
.xunexventgo-plan-page {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .xunexventgo-hero-title {
    font-size: 2.5rem;
  }
  
  .xunexventgo-contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .xunexventgo-menu-toggle {
    display: block;
  }
  
  .xunexventgo-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--xunexventgo-transition);
    z-index: 150;
    overflow-y: auto;
    padding-top: 60px;
  }
  
  .xunexventgo-nav.active {
    right: 0;
  }
  
  .xunexventgo-nav-list {
    flex-direction: column;
    padding: var(--space-lg);
  }
  
  .xunexventgo-nav-item {
    margin: var(--space-md) 0;
    margin-left: 0;
  }
  
  .xunexventgo-hero-title {
    font-size: 2rem;
  }
  
  .xunexventgo-hero-subtitle {
    font-size: 1.1rem;
  }
  
  /* Improve products display on mobile */
  .xunexventgo-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  /* Better plan display on mobile */
  .xunexventgo-plan-options {
    gap: var(--space-xl);
  }
  
  .xunexventgo-plan {
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  .xunexventgo-container {
    width: 95%;
  }
  
  .xunexventgo-hero {
    height: 90vh;
  }
  
  .xunexventgo-hero-title {
    font-size: 1.75rem;
  }
  
  .xunexventgo-hero-subtitle {
    font-size: 1rem;
  }
  
  .xunexventgo-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .xunexventgo-section {
    padding: var(--space-lg) 0;
  }
  
  .xunexventgo-product {
    margin-bottom: var(--space-lg);
  }
  
  .xunexventgo-footer-nav-list {
    flex-direction: column;
  }
  
  .xunexventgo-footer-nav-item {
    margin: var(--space-xs) 0;
  }
}

/* Extra small devices - ensuring responsiveness down to 320px */
@media (max-width: 375px) {
  html {
    font-size: 12px;
  }
  
  .xunexventgo-container {
    width: 92%;
    padding: 0 var(--space-xs);
  }
  
  .xunexventgo-hero {
    height: 85vh;
  }
  
  .xunexventgo-hero-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
  }
  
  .xunexventgo-hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
  }
  
  .xunexventgo-section-title {
    font-size: 1.5rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .xunexventgo-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .xunexventgo-products-grid {
    grid-template-columns: 1fr;
  }
  
  .xunexventgo-plan {
    padding: var(--space-md);
  }
  
  .xunexventgo-plan-price {
    font-size: 1.5rem;
  }
  
  .xunexventgo-contact-container {
    gap: var(--space-md);
  }
  
  .xunexventgo-contact-item {
    margin-bottom: var(--space-md);
  }
  
  .xunexventgo-map {
    height: 200px;
  }
  
  .xunexventgo-logo-text {
    font-size: 1.2rem;
  }
  
  .xunexventgo-logo-space {
    width: 30px;
    height: 30px;
  }
  
  .xunexventgo-privacy-popup-content {
    flex-direction: column;
  }
  
  .xunexventgo-privacy-popup-text {
    margin-right: 0;
    margin-bottom: var(--space-md);
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #222;
    color: #f5f5f5;
  }
  
  .xunexventgo-header.scrolled {
    background-color: rgba(34, 34, 34, 0.95);
  }
  
  .xunexventgo-nav-link {
    color: #f5f5f5;
  }
  
  .xunexventgo-menu-toggle span {
    background-color: #f5f5f5;
  }
  
  .xunexventgo-hero {
    background-color: #2a2a2a;
  }
  
  .xunexventgo-hero-title,
  .xunexventgo-hero-subtitle {
    color: #f5f5f5;
  }
  
  .xunexventgo-products,
  .xunexventgo-free-session,
  .xunexventgo-contact {
    background-color: #2a2a2a;
  }
  
  .xunexventgo-plans,
  .xunexventgo-forum {
    background-color: #333;
  }
  
  .xunexventgo-product {
    background-color: #222;
  }
  
  .xunexventgo-plan {
    background-color: #222;
  }
  
  .xunexventgo-form-input,
  .xunexventgo-form-textarea {
    background-color: #333;
    color: #f5f5f5;
    border-color: #444;
  }
  
  .xunexventgo-footer {
    background-color: #111;
  }
}