/*
Theme Name: Keiron's Construction
Theme URI: https://keironsconstruction.com
Author: Keiron's Construction
Author URI: https://keironsconstruction.com
Description: A high-contrast, architectural minimalist WordPress theme for Keiron's Construction. Features sharp geometric lines, expansive white space, and a monochrome palette with red accents — mirroring the discipline of technical architectural drawings.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keirons-construction
Tags: one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready, blog, construction, architecture

Keiron's Construction WordPress Theme, Copyright 2025 Keiron's Construction
Keiron's Construction is distributed under the terms of the GNU GPL v2 or later.
*/

/*
 * BASE RESET & LAYOUT
 * ===================
 */

html, body {
  margin: 0;
  padding: 0;
}

body {
  overscroll-behavior: none;
}

::-webkit-scrollbar {
  display: none;
}

main > :first-child {
  margin-top: 0 !important;
}

main > :last-child {
  margin-bottom: 0 !important;
}

/*
 * WORDPRESS SPECIFIC OVERRIDES
 * =============================
 */

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

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

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

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #4c4546;
  text-transform: uppercase;
  margin-top: 8px;
}

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

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f9f9f9;
  border-radius: 0;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #1a1c1c;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Navigation */
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99999;
}

.main-navigation li {
  position: relative;
}

/* Pagination */
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 64px 0;
  justify-content: center;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #000;
  color: #1a1c1c;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links span.current {
  background: #000;
  color: #fff;
}

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

.comment-body {
  border-bottom: 1px solid #e2e2e2;
  padding: 32px 0;
}

.comment-author {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
}

/* Form elements */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #cfc4c5;
  padding: 16px 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #1a1c1c;
  outline: none;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
  border-bottom-color: #000;
}

/* Responsive embeds */
embed,
iframe,
object {
  max-width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle .material-symbols-outlined {
  font-size: 24px;
  color: #1a1c1c;
}

@media (max-width: 1023px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.is-active {
  display: flex;
  opacity: 1;
}

.mobile-menu-panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.mobile-menu-panel a {
  font-family: 'Metrophobic', sans-serif;
  font-size: 32px;
  line-height: 40px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 12px 0;
  transition: color 0.3s;
}

.mobile-menu-panel a:hover {
  color: #ED1C24;
}

/* Sub-service page shared styles */
.service-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.service-hero .hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-size: cover;
  background-position: center;
}

.service-hero .hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000, rgba(0,0,0,0.4), transparent);
}

.service-hero .hero-content {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  width: 100%;
}

@media (max-width: 768px) {
  .service-hero .hero-content {
    padding: 0 24px;
  }
}
