/*
Theme Name: PalC Networks Theme
Theme URI: https://palcnetworks.com
Author: PalC Networks
Author URI: https://palcnetworks.com
Description: Custom WordPress theme for PalC Networks - Enterprise Network Solutions & Cloud Services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: palc-theme
Tags: custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

/* ==========================================================================
   Node.js layout sync (from PalC-cursor-wp app/globals.css + layout.tsx)
   ========================================================================== */

/* Body: match Node layout */
html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
body.palc-body {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page wrapper: flex column, full viewport height */
.palc-layout.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Main content: flex-1 so footer sticks to bottom */
.site-main.flex-1 {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
}

/* Section padding (Node: section-padding) */
.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Container (Node: container-custom max-w-7xl mx-auto px-4 sm:px-6 lg:px-8) */
.container-custom {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Node gradient utilities */
.bg-gradient-primary {
  background: linear-gradient(135deg, #0041C2 0%, #00C2FF 100%);
}
.bg-gradient-soft {
  background: linear-gradient(180deg, #E4F4FF 0%, #FFFFFF 100%);
}
.bg-gradient-deep {
  background: linear-gradient(135deg, #002B7B 0%, #001B47 100%);
}

/* Grid pattern (Node: bg-grid-pattern) */
.grid-pattern,
.bg-grid-pattern {
  background-image:
    linear-gradient(to right, rgba(0, 65, 194, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 65, 194, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hide scrollbar (Node: no-scrollbar) */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
