/*
Theme Name: Loxemb Child
Theme URI: https://loxemb.com
Description: Custom Astra child theme for Loxemb.
Author: Loxemb
Template: astra
Version: 1.0.0
Text Domain: loxemb-child
*/

/* Loxemb custom design styles will go here. */

/* Loxemb Design System */
:root {
    --lox-primary: #2563eb;
    --lox-dark: #0f172a;
    --lox-text: #334155;
    --lox-light: #f8fafc;
    --lox-border: #e2e8f0;
}

body {
    color: var(--lox-text);
    background: #ffffff;
}

.ast-container {
    max-width: 1240px;
}

.site-title a {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.lox-hero {
    padding: 100px 24px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
    text-align: center;
}

.lox-hero h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
}

.lox-hero p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 700px;
    margin: 24px auto;
}

.lox-button {
    display: inline-block;
    padding: 15px 28px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.lox-button:hover {
    background: #1d4ed8;
    color: #ffffff;
}

@media (max-width: 768px) {
    .lox-hero {
        padding: 70px 20px;
    }
}

/* Loxemb Homepage */
.lox-hero {
    border-radius: 0 0 28px 28px;
}
.lox-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}
.lox-eyebrow {
    display: inline-block;
    color: #60a5fa;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}
.lox-services {
    max-width: 1240px;
    margin: 0 auto;
    padding: 85px 24px;
}
.lox-section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}
.lox-section-heading h2 {
    font-size: clamp(28px, 3vw, 42px);
    color: #0f172a;
}
.lox-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.lox-service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.lox-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .10);
}
.lox-service-icon {
    display: block;
    font-size: 34px;
    margin-bottom: 20px;
}
.lox-service-card h3 {
    color: #0f172a;
    font-size: 21px;
    line-height: 1.3;
}
.lox-service-card p {
    font-size: 15px;
    line-height: 1.7;
}
.lox-cta {
    background: #f1f5f9;
    text-align: center;
    padding: 80px 24px;
    border-radius: 24px;
    margin: 20px auto 80px;
    max-width: 1192px;
}
.lox-cta h2 {
    color: #0f172a;
    font-size: clamp(27px, 3vw, 40px);
}
.lox-cta p {
    margin: 16px auto 28px;
}
@media (max-width: 1000px) {
    .lox-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .lox-service-grid {
        grid-template-columns: 1fr;
    }
    .lox-services {
        padding: 55px 18px;
    }
    .lox-service-card {
        padding: 24px;
    }
    .lox-cta {
        margin: 10px 16px 55px;
        padding: 55px 22px;
    }
}

/* WhatsApp navigation button */
.main-header-menu .menu-item a[href*="wa.me"] {
    background: #16a34a;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 10px 18px;
    line-height: 1.4;
    margin: 8px 10px;
    transition: background .2s ease;
}
.main-header-menu .menu-item a[href*="wa.me"]:hover {
    background: #15803d;
    color: #ffffff !important;
}

/* Homepage layout refinements */
.home .site-content > .ast-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.home .entry-header {
    display: none;
}

.home .entry-content {
    margin-top: 0;
}

.home .lox-hero {
    padding: 75px 24px;
    border-radius: 0;
}

.home .lox-hero h1 {
    font-size: clamp(34px, 4vw, 56px);
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.home .lox-button {
    text-decoration: none;
}

@media (max-width: 600px) {
    .home .lox-hero {
        padding: 65px 20px;
    }
}

/* Full-width homepage hero */
.home .site-content,
.home .site-content .ast-container,
.home .site-content #primary,
.home .site-content .entry-content {
    margin-top: 0;
    padding-top: 0;
}

.home .site-content .ast-container,
.home .site-content #primary,
.home .site-content article,
.home .site-content .entry-content {
    width: 100%;
    max-width: 100%;
}

.home .site-content .entry-content > .wp-block-html {
    margin: 0;
}

.home .lox-hero {
    margin: 0;
}

/* Fix Astra link styles inside service cards */
.home .entry-content .lox-service-grid a.lox-service-link,
.home .entry-content .lox-service-grid a.lox-service-link:hover,
.home .entry-content .lox-service-grid a.lox-service-link:focus {
    color: #334155 !important;
    text-decoration: none !important;
}

.home .entry-content .lox-service-grid a.lox-service-link h3 {
    color: #0f172a !important;
    text-decoration: none !important;
}

.home .entry-content .lox-service-grid a.lox-service-link p {
    color: #334155 !important;
    text-decoration: none !important;
}

.home .entry-content .lox-service-grid a.lox-service-link:hover {
    border-color: #93c5fd;
}
