/**
 * Zentoly Theme Main Stylesheet - Professional Black & White Monochrome Edition
 * Ultra-Sleek, High-End Corporate Architecture
 */

/* ==========================================================================
   1. Design System & CSS Variables (Monochrome Luxe)
   ========================================================================== */
:root {
    /* Brand Monochrome Palette */
    --color-black: #000000;
    --bg-dark: #000000;
    --bg-surface: #0a0a0a;
    --bg-card: #121212;
    --bg-card-hover: #1c1c1c;

    /* Crisp Borders */
    --border-color: #262626;
    --border-light: #404040;
    --border-highlight: #ffffff;

    /* Pure Contrast Text */
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --text-dim: #737373;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows & Glass */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 20px 30px -5px rgba(0, 0, 0, 0.9);
    --glass-backdrop: blur(20px) saturate(190%);

    /* Radius & Layout */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --container-max: 1240px;
}

/* ==========================================================================
   2. Reset & General Elements
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.01em;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: #a3a3a3;
}

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   3. Buttons & Component Utilities
   ========================================================================== */
.btn,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary,
.wp-block-button.is-style-fill .wp-block-button__link,
.zentoly-btn-main .wp-block-button__link {
    background-color: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
}

.btn-primary:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover,
.zentoly-btn-main .wp-block-button__link:hover {
    background-color: #e5e5e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-secondary,
.wp-block-button.is-style-outline .wp-block-button__link,
.zentoly-btn-sec .wp-block-button__link {
    background-color: transparent;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.zentoly-btn-sec .wp-block-button__link:hover {
    background-color: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: #e5e5e5;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffffff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.badge-highlight {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.text-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   4. Header & Navigation Bar
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.85rem 0;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid #404040;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #000000;
    font-size: 1.25rem;
}

.main-navigation ul,
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.main-navigation a,
.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.05em;
}

.main-navigation a:hover,
.nav-menu a:hover {
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   5. Dynamic Gutenberg Page Content & Home Styling
   ========================================================================== */
.zentoly-page-content {
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 80vh;
}

/* Gutenberg Hero Block Wrapper */
.zentoly-hero-block {
    text-align: center;
    padding: 6rem 1.5rem 4rem 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.zentoly-hero-heading {
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.zentoly-hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 2.5rem auto;
}

/* Gutenberg Services Grid Wrapper */
.zentoly-services-grid {
    margin-top: 2.5rem;
    gap: 1.75rem;
}

.zentoly-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.zentoly-service-card:hover {
    border-color: #ffffff;
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.category-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.zentoly-service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.offering-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.offering-list li {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.offering-list li::before {
    content: "—";
    color: var(--text-dim);
    font-weight: 700;
}

/* Comparison Table Styling */
.zentoly-table-wrapper {
    margin-top: 3rem;
    overflow-x: auto;
}

.zentoly-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.zentoly-comparison-table th,
.zentoly-comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.zentoly-comparison-table th {
    background: #171717;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.zentoly-comparison-table tr:hover {
    background: var(--bg-card-hover);
}

/* Contact Block */
.zentoly-contact-block {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
    margin-top: 6rem;
    text-align: center;
}

/* Section Title & Subtitle */
.section-title {
    font-size: 2.5rem;
    margin-top: 6rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 1.5rem auto;
}

/* ==========================================================================
   6. Footer & Footer Nav Menu Styling
   ========================================================================== */
.site-footer {
    background: #000000;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-dim);
    max-width: 340px;
}

.footer-col h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col ul,
.footer-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a,
.footer-nav-menu a {
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: color 0.25s ease;
}

.footer-col a:hover,
.footer-nav-menu a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ==========================================================================
   7. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .zentoly-hero-heading {
        font-size: 3rem;
    }

    .zentoly-services-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .zentoly-hero-heading {
        font-size: 2.2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}