/*
Theme Name: FusionGeek Theme
Theme URI: https://www.raulskelly.com
Description: Theme custom para la web personal de Raúl Skelly - FusionGeek
Version: 1.0.0
Author: Raúl Skelly
Author URI: https://www.raulskelly.com
Text Domain: fg-theme
*/

/* CSS Variables */
:root {
  --fg-primary: #2d2e32;
  --fg-secondary: #fecd1a;
  --fg-text: #ffaf29;
  --fg-accent: #64f4ab;
  --fg-accent-dark: #327a56;
  --fg-light: #e8e8e8;
  --fg-almost-black: #25262a;
  --fg-white: #ffffff;

  --fg-font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --fg-font-body: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  --fg-font-weight-light: 300;
  --fg-font-weight-regular: 400;
  --fg-font-weight-medium: 500;
  --fg-font-weight-semibold: 600;
  --fg-font-weight-bold: 700;
  --fg-font-weight-extrabold: 800;

  --fg-font-size-xs: 0.75rem;
  --fg-font-size-sm: 0.875rem;
  --fg-font-size-base: 1rem;
  --fg-font-size-lg: 1.125rem;
  --fg-font-size-xl: 1.25rem;
  --fg-font-size-2xl: 1.5rem;
  --fg-font-size-3xl: 1.875rem;
  --fg-font-size-4xl: 2.25rem;
  --fg-font-size-5xl: 3rem;
  --fg-font-size-6xl: 3.75rem;

  --fg-line-height-tight: 1.2;
  --fg-line-height-normal: 1.5;
  --fg-line-height-relaxed: 1.75;

  --fg-shadow-sm: 0 1px 3px rgba(45, 46, 50, 0.08);
  --fg-shadow-md: 0 4px 12px rgba(45, 46, 50, 0.1);
  --fg-shadow-lg: 0 8px 24px rgba(45, 46, 50, 0.12);
  --fg-shadow-accent: 0 4px 16px rgba(100, 244, 171, 0.25);
  --fg-shadow-yellow: 0 4px 16px rgba(254, 205, 26, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--fg-font-body);
  font-size: var(--fg-font-size-base);
  font-weight: var(--fg-font-weight-regular);
  line-height: var(--fg-line-height-normal);
  color: var(--fg-primary);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fg-font-heading);
  font-weight: var(--fg-font-weight-bold);
  line-height: var(--fg-line-height-tight);
  margin: 0 0 1rem;
}

h1 { font-size: var(--fg-font-size-5xl); font-weight: var(--fg-font-weight-extrabold); }
h2 { font-size: var(--fg-font-size-4xl); }
h3 { font-size: var(--fg-font-size-3xl); font-weight: var(--fg-font-weight-semibold); }
h4 { font-size: var(--fg-font-size-2xl); font-weight: var(--fg-font-weight-semibold); }

p { margin: 0 0 1rem; }

a {
  color: var(--fg-accent-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--fg-text);
}

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

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-secondary { color: var(--fg-secondary); }
.text-accent { color: var(--fg-accent); }

.bg-primary { background-color: var(--fg-primary); color: var(--fg-white); }
.bg-light { background-color: var(--fg-light); }
.bg-white { background-color: var(--fg-white); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--fg-font-heading);
  font-weight: var(--fg-font-weight-semibold);
  font-size: var(--fg-font-size-base);
  padding: 0.875rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.btn-primary {
  background-color: var(--fg-secondary);
  color: var(--fg-primary);
}

.btn-primary:hover {
  background-color: var(--fg-text);
  transform: translateY(-2px);
  box-shadow: var(--fg-shadow-yellow);
  color: var(--fg-primary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--fg-primary);
  border: 2px solid var(--fg-primary);
}

.btn-secondary:hover {
  background-color: var(--fg-primary);
  color: var(--fg-white);
}

.btn-dark {
  background-color: var(--fg-almost-black);
  color: var(--fg-white);
}

.btn-dark:hover {
  background-color: var(--fg-primary);
}

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

.btn-white:hover {
  background-color: var(--fg-light);
  color: var(--fg-primary);
}

/* Cards */
.card {
  background-color: var(--fg-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--fg-shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fg-shadow-lg);
}

.card-accent {
  border-left: 4px solid var(--fg-accent);
}

/* Section spacing */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: var(--fg-font-size-4xl);
  margin-bottom: 0.5rem;
  color: var(--fg-primary);
}

.section-subtitle {
  font-size: var(--fg-font-size-lg);
  color: var(--fg-accent-dark);
  margin-bottom: 3rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  h1 { font-size: var(--fg-font-size-4xl); }
  h2 { font-size: var(--fg-font-size-3xl); }
  h3 { font-size: var(--fg-font-size-2xl); }
}

/* Entry Content */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.entry-content h2 { margin-top: 2rem; }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; }

/* Archive Grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-nav a {
  font-family: var(--fg-font-heading);
  font-weight: var(--fg-font-weight-medium);
  color: var(--fg-white);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--fg-secondary);
}

/* Site Header */
.site-header {
  background-color: var(--fg-primary);
  color: var(--fg-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header.scrolled {
  background-color: rgba(45, 46, 50, 0.95);
  backdrop-filter: blur(10px);
}

.site-logo {
  display: flex;
  align-items: center;
  font-family: var(--fg-font-heading);
  font-weight: var(--fg-font-weight-bold);
  font-size: var(--fg-font-size-xl);
  color: var(--fg-white);
  text-decoration: none;
}

.logo-img {
  max-width: 170px;
  width: 100%;
  height: auto;
  display: block;
}



/* Site Footer */
.site-footer {
  background-color: var(--fg-almost-black);
  color: var(--fg-light);
  padding: 3rem 0;
}

.site-footer a {
  color: var(--fg-light);
}

.site-footer a:hover {
  color: var(--fg-secondary);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: var(--fg-font-size-sm);
}

/* Testimonial Card */
.testimonial-card {
  background-color: var(--fg-primary);
  border-radius: 12px;
  padding: 2.5rem;
  color: var(--fg-white);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-family: var(--fg-font-heading);
  font-size: 6rem;
  font-weight: var(--fg-font-weight-extrabold);
  color: var(--fg-accent);
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-quote {
  font-style: italic;
  font-size: var(--fg-font-size-lg);
  color: var(--fg-accent);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-family: var(--fg-font-heading);
  font-weight: var(--fg-font-weight-semibold);
  font-size: var(--fg-font-size-base);
}

.testimonial-role {
  font-size: var(--fg-font-size-sm);
  opacity: 0.7;
}

/* Lead Magnet Section */
.lead-magnet-section {
  background-color: var(--fg-secondary);
  color: var(--fg-primary);
  padding: 4rem 0;
}

.lead-magnet-section h2 {
  color: var(--fg-primary);
}

/* Stats/Credentials Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--fg-font-heading);
  font-size: var(--fg-font-size-5xl);
  font-weight: var(--fg-font-weight-extrabold);
  color: var(--fg-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: var(--fg-font-size-base);
  color: var(--fg-primary);
}

/* Service Card */
.service-card {
  background: var(--fg-white);
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid var(--fg-accent);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fg-shadow-lg);
}

.service-card h3 {
  font-size: var(--fg-font-size-xl);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: #666;
  margin-bottom: 0;
}

/* Differentiator Block */
.differentiator {
  padding: 1.5rem;
  border-left: 4px solid var(--fg-secondary);
  background: var(--fg-white);
  margin-bottom: 1.5rem;
}

.differentiator h4 {
  font-size: var(--fg-font-size-lg);
  margin-bottom: 0.5rem;
  color: var(--fg-primary);
}

.differentiator p {
  margin: 0;
  color: #555;
}

/* Segment Card */
.segment-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: var(--fg-light);
  transition: all 0.3s ease;
}

.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fg-shadow-lg);
}

.segment-card h3 {
  color: var(--fg-primary);
  margin-bottom: 0.5rem;
}

.segment-card p {
  color: #666;
  font-size: var(--fg-font-size-sm);
  margin-bottom: 1rem;
}

/* CTA Block */
.cta-block {
  background-color: var(--fg-primary);
  color: var(--fg-white);
  padding: 4rem 0;
  text-align: center;
}

.cta-block h2 {
  color: var(--fg-white);
  margin-bottom: 1rem;
}

.cta-block p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Hero Section */
.hero {
  background-color: var(--fg-primary);
  color: var(--fg-white);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--fg-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: var(--fg-font-size-xl);
  font-weight: var(--fg-font-weight-light);
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: var(--fg-line-height-relaxed);
}

/* Hero Logo */
.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo-img {
  max-width: 170px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* WordPress Required */
.alignleft { float: left; margin-right: 1rem; }
.alignright { float: right; margin-left: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--fg-font-size-sm); color: #666; text-align: center; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; }

/* Comments */
.comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--fg-light);
}