
/*
Theme Name: Luis Bei Custom Theme
Theme URI: https://luisbei.com
Author: Luis Henrique Bei
Author URI: https://luisbei.com
Description: Custom minimalist WordPress theme for luisbei.com - Professional portfolio and blog
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: luisbei
Tags: one-page, portfolio, blog, custom, minimalist

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* ==========================================================================
   CSS VARIABLES - Design System
   ========================================================================== */

:root {
  /* Primary Colors */
  --primary-purple: #8300E9;
  --primary-coral: #FF9A8B;
  --primary-turquoise: #7EBEC5;
  --primary-orange: #FC7223;
  
  /* Secondary Colors */
  --secondary-blue: #2EA3F2;
  --secondary-green: #07BF9A;
  --secondary-dark-blue: #0C71C3;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --black: #000000;
  --gray-dark: #333333;
  --gray-medium: #666666;
  --gray-light: #999999;
  --gray-very-light: #F4F4F4;
  --gray-ultra-light: #F2F2FA;
  --gray-border: #DDDDDD;
  
  /* Typography */
  --font-heading: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-medium);
  background-color: var(--white);
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-dark);
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.875rem); /* 78px max */
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3rem); /* 48px max */
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem); /* 32px max */
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem); /* 24px max */
}

p {
  margin-bottom: var(--spacing-sm);
}

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

a:hover {
  opacity: 0.8;
}

ul, ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

.section {
  padding: var(--spacing-xxl) 0;
}

.section-alt {
  background-color: var(--gray-ultra-light);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  transition: var(--transition-medium);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-coral);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(252, 114, 35, 0.4);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition-medium);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-purple);
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-md);
  margin: 0;
}

.main-navigation a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--gray-dark);
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--primary-purple);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--gray-dark);
  margin: 5px 0;
  transition: var(--transition-fast);
}

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

.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: var(--spacing-md) 0;
  text-align: center;
}

.footer-content p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

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

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .main-navigation.active {
    max-height: 300px;
  }
  
  .main-navigation ul {
    flex-direction: column;
    padding: var(--spacing-sm) 0;
    gap: 0;
  }
  
  .main-navigation a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

/* ==========================================================================
   WORDPRESS CORE STYLES
   ========================================================================== */

.alignleft {
  float: left;
  margin: 0 var(--spacing-sm) var(--spacing-sm) 0;
}

.alignright {
  float: right;
  margin: 0 0 var(--spacing-sm) var(--spacing-sm);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img {
  max-width: 100%;
  height: auto;
}
