/*
Theme Name: Agents & Operatives
Theme URI: https://agentsandoperatives.com
Author: Your Name
Author URI: https://yoursite.com
Description: A custom WordPress theme for Agents & Operatives CRM, merging automation with strategic human insight.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agents-operatives
Tags: custom-colors, custom-logo, custom-menu, editor-style, featured-images, responsive
*/

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

/* Brand Colors */
:root {
  /* Color Palette */
  --blue-primary: #007BFF;
  --teal-gradient-start: #00B3A4;
  --teal-gradient-end: #38C6E5;
  --navy-text: #1F2937;
  --soft-cream-bg: #FDFBF8;
  --charcoal-gray: #2E2E2E;
  --accent-green: #90E0A4;
  --white: #FFFFFF;
  
  /* Gradients */
  --teal-gradient: linear-gradient(135deg, var(--teal-gradient-start), var(--teal-gradient-end));
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--soft-cream-bg);
  color: var(--navy-text);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); /* 48-64px */
}

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

h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

p, li {
  font-size: clamp(1rem, 2vw, 1.25rem); /* 16-20px */
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem; /* 16px */
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--blue-primary);
  color: var(--white);
  border-radius: 0.75rem; /* rounded-xl */
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
  border-radius: 0.5rem; /* rounded-lg */
}

.btn-secondary:hover {
  background-color: rgba(0, 123, 255, 0.05);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 1rem; /* rounded-2xl */
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(31, 41, 55, 0.07);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-highlight {
  border-top: 4px solid;
  border-image: var(--teal-gradient) 1;
}

/* Header */
.site-header {
  padding: 1rem 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-logo {
  max-width: 200px;
  height: auto;
}

/* Navigation */
.main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--navy-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--blue-primary);
}

/* Footer */
.site-footer {
  background-color: var(--charcoal-gray);
  color: var(--white);
  padding: 3rem 0;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: var(--soft-cream-bg);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: var(--teal-gradient);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Features */
.features {
  padding: 4rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Icons */
.icon {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-gradient {
  stroke: url(#brand-gradient);
}

/* Media Queries */
@media (max-width: 768px) {
  .hero::after {
    width: 100%;
    height: 30%;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    bottom: 0;
    top: auto;
  }
  
  .nav-menu {
    display: none; /* Mobile menu toggle would be added with JS */
  }
}
