/*
Theme Name: Xhylo Pulse
Theme URI: https://xhylopulse.com
Author: Xhylo Pulse Team
Author URI: https://xhylopulse.com
Description: A modern, SEO-optimized WordPress theme for website monitoring and uptime tracking services. Features semantic HTML, responsive design, and Tailwind CSS integration.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xhylopulse
Tags: accessibility-ready, block-styles, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, rtl-language-support, threaded-comments, translation-ready
*/

/* ===== Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1f2937;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: #ffffff;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1em;
}

a {
/*     color: #4f46e5; */
    text-decoration: none;
    transition: color 0.2s ease;
}


/* ===== Layout ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-content {
    min-height: calc(100vh - 200px);
}

/* ===== Header ===== */
.site-header {
/*     background: #1e1b4b; */
    position: sticky;
    top: 0;
    z-index: 1000;
/*     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); */
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.site-logo a {
    color: inherit;
    text-decoration: none;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
/*     background: #4f46e5; */
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.main-navigation a {
/*     color: #c7d2fe; */
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current_page_item > a {
    color: #fff;
}

.main-navigation .cta-button {
/*     background: #059669; */
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.main-navigation .cta-button:hover {
/*     background: #047857; */
}

/* ===== Mobile Menu ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
/*     color: #fff; */
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
    }
    
    .main-navigation.toggled {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
/*         background: #1e1b4b; */
        padding: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== Footer ===== */
.site-footer {
/*     background: #1e1b4b; */
/*     color: #c7d2fe; */
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
/*     color: #a5b4fc; */
    font-size: 0.875rem;
}

.footer-col a:hover {
/*     color: #fff; */
}

.footer-bottom {
/*     border-top: 1px solid #312e81; */
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

/* ===== Hero Section ===== */
.hero-section {
/*     background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%); */
/*     color: #fff; */
    padding: 5rem 0;
}

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

.hero-section h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section .subtitle {
/*     color: #c7d2fe; */
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ===== Content Sections ===== */
.section {
    padding: 4rem 0;
}

.section-gray {
/*     background: #f9fafb; */
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
/*     color: #6b7280; */
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
/*     background: #fff; */
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.15);
}

.card-icon {
    width: 3rem;
    height: 3rem;
/*     background: #eef2ff; */
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #4f46e5;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card p {
/*     color: #6b7280; */
    margin: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
/*     background: #4f46e5; */
/*     color: #fff; */
}

.btn-primary:hover {
/*     background: #4338ca; */
/*     color: #fff; */
}

.btn-secondary {
/*     background: #059669; */
/*     color: #fff; */
}

.btn-secondary:hover {
/*     background: #047857; */
/*     color: #fff; */
}

.btn-outline {
    background: transparent;
/*     border: 2px solid #4f46e5; */
/*     color: #4f46e5; */
}

.btn-outline:hover {
/*     background: #4f46e5; */
/*     color: #fff; */
}

/* ===== Breadcrumb ===== */
.breadcrumb {
/*     background: #f9fafb; */
/*     border-bottom: 1px solid #e5e7eb; */
    padding: 0.75rem 0;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    font-size: 0.875rem;
}

.breadcrumb a {
/*     color: #4f46e5; */
}

.breadcrumb .separator {
/*     color: #9ca3af; */
}

.breadcrumb .current {
/*     color: #374151; */
    font-weight: 500;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
/*     color: #374151; */
}

.form-input {
    width: 100%;
    padding: 0.75rem;
/*     border: 1px solid #d1d5db; */
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
/*     border-color: #4f46e5; */
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== WordPress Specific ===== */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.wp-caption-text {
    font-size: 0.875rem;
/*     color: #6b7280; */
    text-align: center;
    margin-top: 0.5rem;
}

.gallery-caption {
    font-size: 0.875rem;
/*     color: #6b7280; */
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

/* ===== Search Form ===== */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form .search-submit {
    padding: 0.75rem 1rem;
/*     background: #4f46e5; */
/*     color: #fff; */
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.search-form .search-field {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
}

/* ===== Comments ===== */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 1.5rem;
}

.comment-body {
/*     background: #f9fafb; */
    padding: 1rem;
    border-radius: 0.5rem;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
/*     border: 1px solid #d1d5db; */
    border-radius: 0.25rem;
/*     color: #374151; */
}

.pagination .current {
/*     background: #4f46e5; */
/*     color: #fff; */
    border-color: #4f46e5;
}