/* Custom Global Styles for SLPDT - Light Theme */
:root {
    --primary-color: #0F172A; /* Slate 900 */
    --secondary-color: #334155; /* Slate 700 */
    --accent-color: #0369A1; /* Sky 700 */
    --text-color: #1E293B; /* Slate 800 */
    --background-color: #F8FAFC; /* Slate 50 */
    --card-bg: #FFFFFF;
    --border-color: #E2E8F0; /* Slate 200 */
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

a:hover {
    color: var(--primary-color);
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    position: fixed; /* Stick to top */
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ast-theme-transparent-header .main-header-bar {
    border-bottom: 1px solid var(--border-color) !important;
    background: white !important; /* Force white header */
}

.site-title a {
    color: var(--primary-color) !important;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-description {
    display: none;
}

.main-navigation a {
    color: var(--secondary-color) !important;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
}

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

/* Hero Section */
.hero-section {
    min-height: 90vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px; /* Space for fixed header */
}

.hero-content h1 {
    font-size: 3.5rem !important;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem !important;
    font-weight: 400;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Project Section */
.projects-section {
    padding: 5rem 5% !important;
    background-color: var(--background-color);
}

.projects-section h2 {
    font-size: 2.25rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
}

.wp-block-columns {
    gap: 2rem !important;
    margin-bottom: 2rem !important;
}

.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

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

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

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align content */
    text-align: center;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
}

.project-title a {
    color: inherit;
    text-decoration: none;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Button override */
.wp-block-button__link {
    border-radius: 6px !important;
    font-weight: 500 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s !important;
    font-size: 0.9rem !important;
}

.is-style-outline .wp-block-button__link {
    border: 1px solid var(--border-color) !important;
    color: var(--text-color) !important;
    background: transparent !important;
}

.is-style-outline .wp-block-button__link:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: #f1f5f9 !important;
}

/* Footer */
.site-footer {
    background-color: var(--card-bg);
    color: var(--secondary-color);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.site-footer a {
    color: var(--primary-color);
    font-weight: 600;
}
