/*
Theme Name: Athena Process Design & Manufacturing
Theme URI: https://athenaprocess.com
Author: athena-process-rem
Author URI: https://athenaprocess.com
Description: Modern corporate WordPress theme for Athena Process Design & Manufacturing - Industrial equipment and processing solutions
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: athena-process-rem
Tags: corporate, industrial, manufacturing, business, custom-menu, featured-images, flexible-header
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

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

p {
  margin-bottom: 1rem;
  color: #555;
}

a {
  color: #dc143c;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #a00000;
}

/* ===========================
   Layout & Container
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===========================
   Header Styles
   =========================== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: #dc143c;
  color: #fff;
  padding: 10px 0;
  font-size: 0.9rem;
}

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

.header-contact {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.header-contact span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-main {
  padding: 15px 0;
}

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

.site-logo h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #dc143c;
  font-weight: 800;
}

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

.site-logo span {
  display: block;
  font-size: 0.7rem;
  color: #666;
  font-weight: 400;
  margin-top: 5px;
}

/* ===========================
   Navigation Menu
   =========================== */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 5px;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  background: #dc143c;
  color: #fff;
}

/* Dropdown Menu */
.main-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  min-width: 250px;
  border-radius: 5px;
  padding: 10px 0;
  flex-direction: column;
  gap: 0;
}

.main-navigation li:hover > .sub-menu {
  display: flex;
}

.main-navigation .sub-menu a {
  padding: 12px 20px;
  border-radius: 0;
}

.main-navigation .sub-menu a:hover {
  background: #f5f5f5;
  color: #dc143c;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: #dc143c;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 5px;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
  background: linear-gradient(135deg, #dc143c 0%, #a00000 100%);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #fff;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background: #fff;
  color: #dc143c;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}

.btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  margin-left: 15px;
}

.btn-secondary:hover {
  background: #fff;
  color: #dc143c;
}

/* ===========================
   Features Section
   =========================== */
.features-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(220,20,60,0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #dc143c 0%, #a00000 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: #fff;
}

.feature-card h3 {
  color: #1a1a1a;
  margin-bottom: 15px;
}

.feature-card p {
  color: #666;
  line-height: 1.8;
}

/* ===========================
   Services Section
   =========================== */
.services-section {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220,20,60,0.2);
}

.service-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 3rem;
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  color: #1a1a1a;
  margin-bottom: 15px;
}

.service-content p {
  color: #666;
  margin-bottom: 20px;
}

.btn-link {
  color: #dc143c;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-link:hover {
  gap: 10px;
}

/* ===========================
   About Section
   =========================== */
.about-section {
  padding: 80px 0;
  background: #fff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  color: #1a1a1a;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.certifications {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cert-badge {
  background: #dc143c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.about-image {
  width: 100%;
  height: 400px;
  background: #f0f0f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* ===========================
   Stats Section
   =========================== */
.stats-section {
  background: linear-gradient(135deg, #dc143c 0%, #a00000 100%);
  color: #fff;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1.1rem;
  color: #fff;
  opacity: 0.9;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
  background: #f9f9f9;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  background: #dc143c;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220,20,60,0.3);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-widget h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-widget p,
.footer-widget li {
  color: #bbb;
  line-height: 1.8;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: #bbb;
  transition: all 0.3s ease;
}

.footer-widget a:hover {
  color: #dc143c;
}

.footer-bottom {
  padding: 30px 0;
  text-align: center;
}

.footer-bottom p {
  color: #999;
  margin: 0;
}

/* ===========================
   Page Templates
   =========================== */
.page-header {
  background: linear-gradient(135deg, #dc143c 0%, #a00000 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 10px;
}

.breadcrumbs {
  color: #fff;
  opacity: 0.9;
}

.breadcrumbs a {
  color: #fff;
}

.page-content {
  padding: 80px 0;
}

.content-area {
  max-width: 900px;
  margin: 0 auto;
}

/* ===========================
   Service Detail Page
   =========================== */
.service-detail {
  padding: 80px 0;
}

.service-header {
  margin-bottom: 40px;
}

.service-features {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  margin: 40px 0;
}

.service-features h3 {
  color: #dc143c;
  margin-bottom: 20px;
}

.service-features ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.service-features li {
  padding-left: 30px;
  position: relative;
  color: #555;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #dc143c;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===========================
   Contact Page
   =========================== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #dc143c;
  box-shadow: 0 0 0 3px rgba(220,20,60,0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info h3 {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: #dc143c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-text h4 {
  color: #1a1a1a;
  margin-bottom: 5px;
}

.info-text p {
  color: #666;
}

/* ===========================
   Projects/Portfolio
   =========================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 80px 0;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220,20,60,0.2);
}

.project-image {
  width: 100%;
  height: 250px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  color: #1a1a1a;
  margin-bottom: 15px;
}

.project-content p {
  color: #666;
  margin-bottom: 20px;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 992px) {
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-navigation.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  .main-navigation.active ul {
    flex-direction: column;
  }
  
  .main-navigation.active .sub-menu {
    position: static;
    box-shadow: none;
    background: #f9f9f9;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .features-grid,
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

/* ===========================
   Utility Classes
   =========================== */
.text-center {
  text-align: center;
}

.text-red {
  color: #dc143c;
}

.bg-red {
  background: #dc143c;
}

.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }

/* ===========================
   WordPress Core
   =========================== */
.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

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

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

.wp-caption-text {
  text-align: center;
  padding: 10px 0;
  color: #666;
  font-size: 0.9rem;
}

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

/* ===========================
   Animations
   =========================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}