/*
Theme Name: Digital Tools Showcase
Theme URI: https://yourwebsite.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A clean, lightweight WordPress theme for showcasing digital tools with About section and tools cards grid.
Version: 1.0.0
License: GPL v2 or later
Text Domain: digital-tools-showcase
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #3b82f6;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 24px;
}

.highlights-list {
    list-style: none;
    margin-bottom: 32px;
}

.highlights-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights-list li::before {
    content: "✓";
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59,130,246,0.3);
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.section-header p {
    color: #64748b;
    font-size: 1.125rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Tool Card */
.tool-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.tool-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tool-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f172a;
}

.tool-description {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
}

.tool-button {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    transition: opacity 0.3s;
}

.tool-button:hover {
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
}

.site-footer p {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content h1 {
        font-size: 2rem;
    }
    
    .header-inner {
        flex-direction: column;
    }
    
    .main-nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}