/*
Theme Name: AI Generated Site Theme
Theme URI: https://ai-web-generator.com
Author: AI Web Generator
Author URI: https://ai-web-generator.com
Description: Custom theme for AI-generated websites with Elementor support. Features 6 pre-built design themes (Modern, Minimal, Corporate, Creative, Elegant, Bold) and 100+ custom Elementor widgets.
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: ai-theme
Tags: elementor, custom, ai-generated, full-site-editing, block-patterns
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
*/

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif);
  line-height: 1.6;
  color: var(--text-primary, #333);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elementor compatibility */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--max-content-width, 1280px);
}

.elementor-section.elementor-section-full_width {
  padding-left: 0;
  padding-right: 0;
}

/* AI Theme blocks wrapper */
.ai-theme-block {
  width: 100%;
}

/* Ensure Elementor widgets take full width when needed */
.elementor-widget-ai_hero_minimal,
.elementor-widget-ai_cta_centered,
.elementor-widget-ai_navbar_standard,
.elementor-widget-ai_footer_v1 {
  width: 100%;
}

/* Remove default margins from Elementor sections for seamless blocks */
.elementor-section.ai-seamless {
  margin: 0;
  padding: 0;
}

/* WordPress default element overrides */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
}

/* Hide Elementor page title */
.elementor-page-title {
  display: none;
}

/* Elementor editor specific */
.elementor-editor-active .ai-theme-block {
  min-height: 50px;
}
