/*
Theme Name: POP Transpo Center
Theme URI: https://poptranspo.com
Author: POP Transpo Team
Author URI: https://poptranspo.com
Description: Custom WordPress theme for POP Transportation Center, fully compatible with Elementor page builder. Features a modern dark design with cyan accents, optimized for transportation and logistics businesses.
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: pop-transpo
Tags: elementor, transportation, business, dark, custom-colors
*/

/* === Reset & Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #cbd5e1;
  background: linear-gradient(to bottom right, #1e293b, #0f172a, #020617);
  min-height: 100vh;
}

/* === WordPress Core Alignment Classes === */
.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* === Screen Reader Text === */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* === Header Styles === */
.site-header {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-branding img {
  max-height: 80px;
  width: auto;
  height: auto;
}

.custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.site-title {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: white;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #22d3ee;
}

.contact-phone {
  font-size: 1.125rem;
  font-weight: 600;
}

.contact-email {
  font-size: 0.875rem;
}

/* === Navigation === */
.site-navigation {
  border-top: 1px solid rgba(51, 65, 85, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  color: white;
}

.main-menu a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.main-menu a:hover,
.main-menu a:focus {
  color: #22d3ee;
}

.main-menu .current-menu-item a {
  border-bottom: 2px solid #22d3ee;
  padding-bottom: 0.25rem;
}

/* === Main Content === */
.site-content {
  position: relative;
}

/* === Footer === */
.site-footer {
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #cbd5e1;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-separator {
  color: #475569;
}

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

/* === Responsive === */
@media (max-width: 1024px) {
  .header-contact {
    display: none;
  }

  .main-menu {
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .footer-content {
    gap: 1rem;
  }

  .footer-separator {
    display: none;
  }
}

/* === Homepage Layout Styles === */
.no-underline {
  text-decoration: none;
}

a.no-underline:hover,
a.no-underline:focus {
  text-decoration: none;
}

/* Ensure proper rendering of homepage sections */
section {
  position: relative;
}

/* === Elementor Compatibility === */
.elementor-page .site-content {
  padding: 0;
}

.elementor-default .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1280px;
}

/* Ensure Elementor widgets work with dark background */
.elementor-widget-text-editor {
  color: inherit;
}

.elementor-widget-heading .elementor-heading-title {
  color: inherit;
}
