/* Buyontic Main Stylesheet
   Created: 2025-05-21
*/

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Marcellus&display=swap');

/* CSS Variables */
:root {
  /* Colors */
  --buyontic-dark: #243642;
  --buyontic-primary: #387478;
  --buyontic-secondary: #629584;
  --buyontic-light: #E2F1E7;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-xxl: 8rem;
  
  /* Typography */
  --buyontic-heading: 'Marcellus', serif;
  --buyontic-body: 'Quicksand', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(36, 54, 66, 0.1);
  --shadow-md: 0 4px 8px rgba(36, 54, 66, 0.15);
  --shadow-lg: 0 8px 16px rgba(36, 54, 66, 0.2);
}

/* Global Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--buyontic-body);
  color: var(--buyontic-dark);
  background-color: var(--buyontic-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--buyontic-heading);
  margin-bottom: var(--space-md);
  font-weight: 500;
  line-height: 1.2;
  color: var(--buyontic-dark);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.1);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--buyontic-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: var(--buyontic-secondary);
  text-decoration: underline;
}

/* Container */
.buyontic-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md);
}

/* Header and Navigation */
.buyontic-header {
  background-color: var(--buyontic-light);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-medium);
}

.buyontic-header.scrolled {
  background-color: rgba(226, 241, 231, 0.95);
  box-shadow: var(--shadow-md);
}

.buyontic-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.buyontic-logo {
  display: block;
  width: 180px;
  height: auto;
}

.buyontic-nav {
  display: flex;
  align-items: center;
}

.buyontic-nav-list {
  display: flex;
  list-style: none;
}

.buyontic-nav-item {
  margin-left: var(--space-lg);
}

.buyontic-nav-link {
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.buyontic-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--buyontic-primary);
  transition: width var(--transition-medium);
}

.buyontic-nav-link:hover::after {
  width: 100%;
}

.buyontic-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
}

.buyontic-mobile-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--buyontic-dark);
  border-radius: 3px;
  transform: rotate(0deg);
  transition: transform var(--transition-fast), top var(--transition-fast);
}

.buyontic-mobile-toggle span:nth-child(1) {
  top: 6px;
}

.buyontic-mobile-toggle span:nth-child(2) {
  top: 14px;
}

.buyontic-mobile-toggle span:nth-child(3) {
  top: 22px;
}

.buyontic-mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 14px;
}

.buyontic-mobile-toggle.open span:nth-child(2) {
  width: 0;
  opacity: 0;
}

.buyontic-mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 14px;
}

/* Hero Section */
.buyontic-hero {
  padding-top: calc(90px + var(--space-xxl));
  padding-bottom: var(--space-xxl);
  background: linear-gradient(135deg, var(--buyontic-primary), var(--buyontic-secondary));
  color: white;
  position: relative;
  overflow: hidden;
}

.buyontic-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.buyontic-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.buyontic-hero-title {
  font-size: 3.5rem;
  color: white;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out;
}

.buyontic-hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.buyontic-button {
  display: inline-block;
  background-color: var(--buyontic-light);
  color: var(--buyontic-dark);
  font-weight: 600;
  padding: var(--space-md) var(--space-lg);
  border-radius: 30px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

.buyontic-button:hover, .buyontic-button:focus {
  background-color: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--buyontic-primary);
}

.buyontic-button-secondary {
  background-color: transparent;
  border: 2px solid var(--buyontic-light);
  color: var(--buyontic-light);
}

.buyontic-button-secondary:hover, .buyontic-button-secondary:focus {
  background-color: var(--buyontic-light);
  color: var(--buyontic-primary);
}

/* Sections */
.buyontic-section {
  padding: var(--space-xxl) 0;
}

.buyontic-section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.buyontic-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--buyontic-primary), var(--buyontic-secondary));
  margin: var(--space-sm) auto 0;
  border-radius: 3px;
}

/* Services Section */
.buyontic-services {
  background-color: white;
}

.buyontic-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.buyontic-service-item {
  background-color: var(--buyontic-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.buyontic-service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.buyontic-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--buyontic-primary), var(--buyontic-secondary));
  color: white;
}

.buyontic-service-icon svg {
  width: 80px;
  height: 80px;
}

.buyontic-service-content {
  padding: var(--space-lg);
}

.buyontic-service-title {
  margin-bottom: var(--space-sm);
  color: var(--buyontic-primary);
}

/* Products Section */
.buyontic-products {
  background-color: var(--buyontic-light);
}

.buyontic-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.buyontic-product-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
justify-content: space-between;
flex-direction: column;
}

.buyontic-product-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.buyontic-product-image {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
}

.buyontic-product-content {
  padding: var(--space-lg);
}

.buyontic-product-title {
  margin-bottom: var(--space-sm);
  color: var(--buyontic-primary);
}

.buyontic-product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--buyontic-dark);
  margin-bottom: var(--space-md);
}

/* About Section */
.buyontic-about {
  background-color: white;
}

.buyontic-about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.buyontic-about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.buyontic-about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.buyontic-about-image:hover img {
  transform: scale(1.05);
}

.buyontic-about-content h2 {
  margin-bottom: var(--space-lg);
}

.buyontic-about-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.buyontic-about-feature-icon {
  margin-right: var(--space-md);
  color: var(--buyontic-primary);
}

/* Testimonials Section */
.buyontic-testimonials {
  background-color: var(--buyontic-light);
  position: relative;
  overflow: hidden;
}

.buyontic-testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(98, 149, 132, 0.1) 0%, transparent 70%);
}

.buyontic-testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.buyontic-testimonial-item {
  background-color: white;
  border-radius: 8px;
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  margin: 0 var(--space-md);
}

.buyontic-testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
  position: relative;
}

.buyontic-testimonial-text::before,
.buyontic-testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--buyontic-secondary);
  opacity: 0.3;
  position: absolute;
  line-height: 1;
}

.buyontic-testimonial-text::before {
  top: -10px;
  left: -10px;
}

.buyontic-testimonial-text::after {
  bottom: -30px;
  right: -10px;
}

.buyontic-testimonial-author {
  font-weight: 600;
  color: var(--buyontic-primary);
}

/* Schedule Section */
.buyontic-schedule {
  background-color: white;
}

.buyontic-schedule-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.buyontic-schedule-tab {
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--buyontic-dark);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.buyontic-schedule-tab.active {
  color: var(--buyontic-primary);
  opacity: 1;
  border-bottom: 3px solid var(--buyontic-primary);
}

.buyontic-schedule-tab:hover, .buyontic-schedule-tab:focus {
  opacity: 1;
}

.buyontic-schedule-content {
  max-width: 800px;
  margin: 0 auto;
}

.buyontic-schedule-day {
  display: none;
}

.buyontic-schedule-day.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.buyontic-schedule-item {
  display: flex;
  margin-bottom: var(--space-lg);
  background-color: var(--buyontic-light);
  border-radius: 8px;
  overflow: hidden;
}

.buyontic-schedule-time {
  padding: var(--space-lg);
  background-color: var(--buyontic-primary);
  color: white;
  font-weight: 600;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buyontic-schedule-details {
  padding: var(--space-lg);
  flex-grow: 1;
}

.buyontic-schedule-title {
  margin-bottom: var(--space-xs);
}

.buyontic-schedule-instructor {
  font-style: italic;
  color: var(--buyontic-secondary);
  margin-bottom: var(--space-sm);
}

/* Contact Section */
.buyontic-contact {
  background-color: var(--buyontic-dark);
  color: white;
}

.buyontic-contact .buyontic-section-title {
  color: white;
}

.buyontic-contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.buyontic-contact-info {
  display: flex;
  flex-direction: column;
}

.buyontic-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.buyontic-contact-icon {
  margin-right: var(--space-md);
  background-color: var(--buyontic-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buyontic-contact-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.buyontic-contact-text h4 {
  margin-bottom: var(--space-xs);
  color: var(--buyontic-light);
}

.buyontic-contact-text p {
  margin-bottom: 0;
  opacity: 0.8;
}

.buyontic-contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: var(--space-xl);
}

.buyontic-form-group {
  margin-bottom: var(--space-lg);
}

.buyontic-form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.buyontic-form-control {
  width: 100%;
  padding: var(--space-md);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 4px;
  font-family: var(--buyontic-body);
  color: var(--buyontic-dark);
}

textarea.buyontic-form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.buyontic-footer {
  background-color: var(--buyontic-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0;
}

.buyontic-footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.buyontic-footer-logo {
  display: block;
  width: 150px;
  margin-bottom: var(--space-lg);
}

.buyontic-footer-about {
  max-width: 400px;
}

.buyontic-footer-heading {
  color: white;
  margin-bottom: var(--space-lg);
}

.buyontic-footer-links {
  list-style: none;
}

.buyontic-footer-link {
  margin-bottom: var(--space-md);
}

.buyontic-footer-link a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.buyontic-footer-link a:hover {
  color: white;
  text-decoration: none;
}

.buyontic-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.buyontic-text-center {
  text-align: center;
}

.buyontic-text-primary {
  color: var(--buyontic-primary);
}

.buyontic-mt-1 { margin-top: var(--space-sm); }
.buyontic-mt-2 { margin-top: var(--space-md); }
.buyontic-mt-3 { margin-top: var(--space-lg); }
.buyontic-mt-4 { margin-top: var(--space-xl); }

.buyontic-mb-1 { margin-bottom: var(--space-sm); }
.buyontic-mb-2 { margin-bottom: var(--space-md); }
.buyontic-mb-3 { margin-bottom: var(--space-lg); }
.buyontic-mb-4 { margin-bottom: var(--space-xl); }

/* Page Specific Styles */
.buyontic-policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-md);
}

.buyontic-policy-container h1 {
  margin-bottom: var(--space-xl);
}

.buyontic-policy-section {
  margin-bottom: var(--space-xl);
}

.buyontic-policy-section h2 {
  color: var(--buyontic-primary);
  border-bottom: 1px solid var(--buyontic-light);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.buyontic-success-container {
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
  padding: var(--space-xl);
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.buyontic-success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  background-color: var(--buyontic-primary);
  border-radius: 50%;
  margin: 0 auto var(--space-xl);
}

.buyontic-success-icon svg {
  width: 60px;
  height: 60px;
  fill: white;
}

/* Responsive Media Queries */
@media (max-width: 992px) {

  .buyontic-nav-item {
    margin-left: var(--space-md);
  }
  html {
    font-size: 15px;
  }
  
  .buyontic-about-container {
    grid-template-columns: 1fr;
  }
  
  .buyontic-about-image {
    margin-bottom: var(--space-lg);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .buyontic-nav-list {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--buyontic-light);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg) 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 999;
  }
  
  .buyontic-nav-list.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .buyontic-nav-item {
    margin: var(--space-md) 0;
    text-align: center;
  }
  
  .buyontic-mobile-toggle {
    display: block;
  }
  
  .buyontic-hero-title {
    font-size: 2.5rem;
  }
  
  .buyontic-schedule-item {
    flex-direction: column;
  }
  
  .buyontic-schedule-time {
    width: 100%;
    padding: var(--space-sm);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  .buyontic-container {
    width: 95%;
  }
  
  .buyontic-hero {
    padding-top: calc(70px + var(--space-xl));
    padding-bottom: var(--space-xl);
  }
  
  .buyontic-section {
    padding: var(--space-xl) 0;
  }
  
  .buyontic-logo {
    width: 150px;
  }
  
  .buyontic-contact-form {
    padding: var(--space-lg);
  }
}

@media (max-width: 360px) {
  html {
    font-size: 12px;
  }
  
  .buyontic-hero-title {
    font-size: 2rem;
  }
  
  .buyontic-button {
    display: block;
    width: 100%;
    margin-bottom: var(--space-md);
  }
  
  .buyontic-schedule-tabs {
    flex-direction: column;
  }
  
  .buyontic-schedule-tab {
    width: 100%;
    margin-bottom: var(--space-xs);
    text-align: center;
  }
}