/*
Theme Name: SEO Agency Theme
Description: A modern WordPress theme for SEO agencies with Tailwind CSS and ACF Pro page builder
Version: 1.0
Author: Your Name
*/

/* Tailwind Container Configuration */
.container {
    @apply max-w-7xl mx-auto px-4;
}

/* Navigation Dropdown Styles */
.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-parent:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* SEO Agency Design System */

/* Brand Colors (CSS Custom Properties) */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Typography Scale */
.text-display {
    @apply text-5xl md:text-6xl font-bold leading-tight;
}

.text-h1 {
    @apply text-4xl md:text-5xl font-bold leading-tight;
}

.text-h2 {
    @apply text-3xl md:text-4xl font-bold leading-tight;
}

.text-h3 {
    @apply text-2xl md:text-3xl font-semibold leading-tight;
}

.text-h4 {
    @apply text-xl md:text-2xl font-semibold leading-tight;
}

.text-h5 {
    @apply text-lg md:text-xl font-semibold leading-tight;
}

.text-body-lg {
    @apply text-lg leading-relaxed;
}

.text-body {
    @apply text-base leading-relaxed;
}

.text-body-sm {
    @apply text-sm leading-relaxed;
}

/* Button System */
.btn {
    @apply inline-flex items-center justify-center px-6 py-3 text-base font-medium rounded-lg transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2;
}

.btn-primary {
    @apply btn bg-blue-600 text-white hover:bg-blue-700 focus:ring-blue-500 shadow-md hover:shadow-lg;
}

.btn-secondary {
    @apply btn bg-purple-600 text-white hover:bg-purple-700 focus:ring-purple-500 shadow-md hover:shadow-lg;
}

.btn-outline {
    @apply btn border-2 border-blue-600 text-blue-600 hover:bg-blue-600 hover:text-white focus:ring-blue-500;
}

.btn-ghost {
    @apply btn text-gray-700 hover:bg-gray-100 focus:ring-gray-500;
}

.btn-sm {
    @apply px-4 py-2 text-sm;
}

.btn-lg {
    @apply px-8 py-4 text-lg;
}

.btn-xl {
    @apply px-10 py-5 text-xl;
}

/* Card System */
.card {
    @apply bg-white rounded-xl shadow-md overflow-hidden;
}

.card-hover {
    @apply card transition-all duration-300 hover:shadow-xl hover:-translate-y-1;
}

.card-body {
    @apply p-6;
}

.card-header {
    @apply px-6 py-4 border-b border-gray-200;
}

.card-footer {
    @apply px-6 py-4 border-t border-gray-200 bg-gray-50;
}

/* Section Spacing */
.section {
    @apply py-16 md:py-24;
}

.section-sm {
    @apply py-12 md:py-16;
}

.section-lg {
    @apply py-20 md:py-32;
}

/* Custom utilities to complement Tailwind */
.gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Custom shadows for agency feel */
.shadow-agency {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-agency-lg {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Hover effects for interactive elements */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Custom animations for AOS */
.aos-init[data-aos^="fade"][data-aos^="fade"] {
    opacity: 0;
    transition-property: opacity, transform;
}

.aos-animate[data-aos^="fade"][data-aos^="fade"] {
    opacity: 1;
    transform: none;
}

/* WordPress specific overrides */
.wp-block-image {
    @apply mb-6;
}

.wp-block-quote {
    @apply border-l-4 border-blue-500 pl-4 italic text-gray-600;
}

/* Ensure Tailwind works with WordPress content */
.entry-content h1 { @apply text-4xl font-bold mb-4; }
.entry-content h2 { @apply text-3xl font-bold mb-4; }
.entry-content h3 { @apply text-2xl font-bold mb-3; }
.entry-content h4 { @apply text-xl font-bold mb-3; }
.entry-content p { @apply mb-4; }
.entry-content ul { @apply list-disc pl-6 mb-4; }
.entry-content ol { @apply list-decimal pl-6 mb-4; }
.entry-content a { @apply text-blue-600 hover:text-blue-800; }

/* Post Builder Sections */
.post-builder-sections {
    margin-top: 2rem;
}

/* Main Content Centering */
.site-main {
    @apply py-8;
}

.site-main .container {
    @apply max-w-7xl mx-auto px-4;
}

/* SEO Agency Component Styles - Ready for custom components */