@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Nunito:wght@400&display=swap');

:root {
  /* Colors */
  --cf-primary: #1976D2;
  --cf-secondary: #7C4DFF;
  --cf-accent: #00E676;
  --cf-background: #F5F5F5;
  --cf-text: #37474F;
  --cf-text-light: #78909C;

  /* Typography */
  --cf-font-heading: 'Poppins', sans-serif;
  --cf-font-body: 'Nunito', sans-serif;
  --cf-font-size-h1: 2.75rem;
  --cf-font-size-h2: 2.25rem;
  --cf-font-size-h3: 1.75rem;
  --cf-font-size-h4: 1.5rem;
  --cf-font-size-body: 1rem;
  --cf-line-height: 1.7;

  /* Spacing */
  --cf-spacing-section: 80px;
  --cf-spacing-element: 24px;
  --cf-container-width: 1200px;
  --cf-border-radius: 8px;
}

/* Base Typography */
body {
  font-family: var(--cf-font-body);
  font-size: var(--cf-font-size-body);
  line-height: var(--cf-line-height);
  color: var(--cf-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cf-font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--cf-text);
  margin-bottom: 0.5em;
}

h1 { font-size: var(--cf-font-size-h1); }
h2 { font-size: var(--cf-font-size-h2); }
h3 { font-size: var(--cf-font-size-h3); }
h4 { font-size: var(--cf-font-size-h4); }

/* Links */
a {
  color: var(--cf-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cf-secondary);
}

/* Content */
.entry-content p,
.post-content p,
article p {
  margin-bottom: 1.5em;
  line-height: var(--cf-line-height);
}

.entry-content ul,
.entry-content ol,
.post-content ul,
.post-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.entry-content li,
.post-content li {
  margin-bottom: 0.5em;
}

/* Buttons */
.btn,
.button,
button,
input[type="submit"],
.wp-block-button__link {
  display: inline-block;
  background-color: var(--cf-primary);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: var(--cf-border-radius);
  font-family: var(--cf-font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: var(--cf-secondary);
  color: #fff;
  transform: translateY(-2px);
}

/* Cards and boxes */
.card,
.post-card,
.entry-card {
  background: #fff;
  border-radius: var(--cf-border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: var(--cf-spacing-element);
  transition: box-shadow 0.3s ease;
}

.card:hover,
.post-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--cf-border-radius);
}

article img,
.entry-content img,
.post-content img {
  margin: 1.5em 0;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--cf-primary);
  padding-left: 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--cf-text-light);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: var(--cf-background);
  font-weight: 600;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--cf-border-radius);
  font-family: var(--cf-font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--cf-primary);
}

/* Utility Classes */
.text-primary { color: var(--cf-primary); }
.text-secondary { color: var(--cf-secondary); }
.text-accent { color: var(--cf-accent); }
.bg-primary { background-color: var(--cf-primary); }
.bg-secondary { background-color: var(--cf-secondary); }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  .btn, .button {
    padding: 10px 20px;
    width: 100%;
    text-align: center;
  }
}
