/*
Theme Name: Sao Viet Robotics
Theme URI: https://blogdaytinhoc.com
Author: Sao Viet Team
Author URI: https://blogdaytinhoc.com
Description: Modern WordPress theme for Sao Viet Robotics education center, featuring Kurio.vn inspired design with purple gradients and rounded elements
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saoviet-robotics
Tags: education, robotics, kids, responsive, custom-menu
*/

/* ============================================
   KURIO.VN INSPIRED DESIGN SYSTEM
   ============================================ */

:root {
  /* Colors - Purple Gradient Palette */
  --primary-purple: #572CD1;
  --primary-purple-light: #8864F0;
  --background-white: #FAFBFC;
  --surface-white: #FFFFFF;
  --text-dark: #1F2421;
  --text-muted: #5C635D;
  --border-color: #E7E1D7;

  /* Accent Colors */
  --accent-terracotta: #C4612F;
  --accent-terracotta-hover: #A94E22;
  --accent-terracotta-light: #F2E3D6;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(87, 44, 209, 0.1);
  --shadow-md: 0 4px 16px rgba(87, 44, 209, 0.15);
  --shadow-lg: 0 8px 32px rgba(87, 44, 209, 0.2);
  --shadow-button: 0 4px 14px rgba(87, 44, 209, 0.3);

  /* Border Radius - Very Rounded */
  --radius-sm: 1rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --radius-pill: 999px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Container */
  --container-max: 1200px;
  --container-padding: 2rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: var(--line-height-base);
  color: var(--text-dark);
  background-color: var(--background-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-purple-light);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-muted);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-purple {
  color: var(--primary-purple);
}

.bg-white {
  background-color: var(--surface-white);
}

.bg-light {
  background-color: var(--background-white);
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  :root {
    --font-size-base: 14px;
    --container-padding: 1rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}