/*
Theme Name: Meridian Marketing
Theme URI: https://meridian.co
Author: Meridian
Description: A premium WordPress theme for integration-focused digital marketing agencies
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meridian
Domain Path: /languages
*/

/* ============================================
   CSS VARIABLES & ROOT
   ============================================ */

:root {
    --accent: #2563eb;
    --text: #1a202c;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
    --border: #e2e8f0;
    --white: #ffffff;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    color: var(--text-light);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e40af;
}

button, .btn {
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent);
}

.cta-btn {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 4px;
}

.cta-btn:hover {
    background: #1e40af;
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary:hover {
    background: #1e40af;
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 100px 24px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--text-light);
}

.hero-subtext {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   SECTIONS & CONTENT
   ============================================ */

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

section {
    padding: 80px 24px;
}

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

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 0 auto;
    max-width: 1200px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 0 auto;
    max-width: 1200px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 0 auto;
    max-width: 1200px;
}

/* ============================================
   CARDS & BOXES
   ============================================ */

.card {
    background: var(--white);
    padding: 32px;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.card h3 {
    margin-bottom: 16px;
}

.card p {
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--text);
    color: var(--white);
    padding: 80px 24px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.footer-section h4 {
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #cbd5e0;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .nav-links {
        gap: 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 24px;
    }

    section {
        padding: 60px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }
.mt-4 { margin-top: 64px; }

.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }
.mb-3 { margin-bottom: 48px; }
.mb-4 { margin-bottom: 64px; }

.py-1 { padding: 16px 0; }
.py-2 { padding: 32px 0; }
.py-3 { padding: 48px 0; }
.py-4 { padding: 64px 0; }
