/*
Theme Name: AI Solutions
Theme URI: http://example.com/ai-solutions
Author: Auto-Generated
Author URI: http://example.com
Description: A professional, modern theme for showcasing AI solutions.
Version: 2.0.0
Text Domain: ai-solutions
*/

:root {
    --primary-color: #0f172a;
    /* Slate 900 */
    --accent-color: #3b82f6;
    /* Blue 500 */
    --secondary-color: #64748b;
    /* Slate 500 */
    --bg-light: #f8fafc;
    /* Slate 50 */
    --white: #ffffff;
    --text-main: #334155;
    /* Slate 700 */
    --text-heading: #1e293b;
    /* Slate 800 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.5rem;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

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

a {
    transition: color 0.3s ease;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: var(--primary-color);
}

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

.main-navigation a {
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 600;
    font-size: 1rem;
}

.main-navigation a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    object-fit: cover;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    color: var(--white);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

/* Solutions Section */
.solutions-section {
    padding: 6rem 0;
    background: var(--white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.solution-image {
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-content {
    padding: 2rem;
}

.solution-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
}

.solution-content p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.read-more {
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    text-decoration: underline;
}

/* Other Tools Section */
.other-tools-section {
    background: var(--bg-light);
    padding: 6rem 0;
}

.tool-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tool-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.tool-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.about-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #64748b;
    padding: 4rem 0;
    border-top: 1px solid #1e293b;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tool-list {
        grid-template-columns: 1fr;
    }

    .main-navigation ul {
        display: none;
        /* simple hiding for mobile for now, or stack them */
    }
}