/*
Theme Name: Veritas Puncta
Theme URI: https://veritaspuncta.com
Author: Veritas Puncta Team
Description: Professional industrial solutions WordPress theme with mega menu
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: veritas-puncta
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  background: #072c52 !important;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  max-height: 60px;
  width: auto;
}


/* Hero Section */
.hero-section {

  background: #072c52 !important;
    padding: 80px 0;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.btn-primary {
  background: #072c52;
  color: #fff;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #072c52;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,212,255,0.3);
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

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

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: #667eea;
}

.service-card h3 {
  color: #1a1a2e;
  font-size: 20px;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.learn-more {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Who We Are Section */
.who-we-are-section {
  padding: 80px 0;
  background: #fff;
}

.who-we-are-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.who-we-are-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.who-we-are-content h2 {
  color: #667eea;
  font-size: 36px;
  margin-bottom: 20px;
}

.who-we-are-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 16px;
}

/* Experience Section */
.experience-section {
  background: #0f1923;
  padding: 80px 0;
  color: #fff;
}

.experience-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-label {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.experience-content h2 {
  color: #ffd700;
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.experience-content p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 16px;
}

.experience-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Case Study Section */
.case-study-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.case-study-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.case-study-content .section-label {
  color: #667eea;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.case-study-content h2 {
  color: #1a1a2e;
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.case-study-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 16px;
}

.case-study-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* News Section */
.news-section {
  padding: 80px 0;
  background: #fff;
}

.news-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  text-align: center;
  color: #667eea;
  font-size: 36px;
  margin-bottom: 60px;
  font-weight: 700;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.news-card {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.news-image {
  overflow: hidden;
  height: 200px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 30px;
}

.news-content h3 {
  color: #1a1a2e;
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 15px;
}

.news-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 15px;
}

.read-more {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 10px;
}

/* Footer */
.site-footer {
  color: #fff;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 1200px) {
  .mega-dropdown {
    min-width: 600px;
    max-width: 95vw;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .experience-content h2,
  .who-we-are-content h2 {
    font-size: 30px;
  }
}

@media (max-width: 992px) {
  .header-container {
    padding: 0 20px;
    justify-content: center;
    position: relative;
  }
  
  .site-logo {
    margin: 0 auto;
  }
  
  
  .hero-container,
  .who-we-are-container,
  .experience-container,
  .case-study-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .who-we-are-container {
    grid-template-columns: 1fr;
  }
  
  .who-we-are-image {
    order: 2;
  }
  
  .who-we-are-content {
    order: 1;
  }
  
  /* Support both page-home.php and template-homepage.php */
  .experience-container,
  .experience-content-wrapper {
    display: flex;
    flex-direction: column;
  }
  
  .experience-image {
    order: 1;
  }
  
  .experience-content,
  .experience-text {
    order: 2;
  }
  
  .case-study-container {
    display: flex;
    flex-direction: column;
  }
  
  .case-study-image {
    order: 1;
  }
  
  .case-study-content {
    order: 2;
  }
  
  /* Project section (for template-homepage.php) */
  .project-content-wrapper {
    display: flex;
    flex-direction: column;
  }
  
  .project-image {
    order: 1;
  }
  
  .project-text {
    order: 2;
  }
  
  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-content p {
    font-size: 14px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 12px 30px;
    font-size: 14px;
  }
  
  .services-section,
  .who-we-are-section,
  .experience-section,
  .case-study-section,
  .news-section {
    padding: 60px 0;
  }
  
  .services-container,
  .who-we-are-container,
  .experience-container,
  .case-study-container,
  .news-container {
    padding: 0 20px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
  }
  
  .service-card h3 {
    font-size: 18px;
  }
  
  .who-we-are-content h2,
  .section-title {
    font-size: 28px;
  }
  
  .experience-content h2 {
    font-size: 26px;
  }
  
  .case-study-content h2 {
    font-size: 24px;
  }
  
  .news-content h3 {
    font-size: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .site-logo img {
    max-height: 45px;
  }
  
  .hero-content h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .hero-section {
    padding: 40px 0;
  }
  
  .services-section,
  .who-we-are-section,
  .experience-section,
  .case-study-section,
  .news-section {
    padding: 40px 0;
  }
  
  .who-we-are-content h2,
  .section-title {
    font-size: 24px;
  }
  
  .experience-content h2 {
    font-size: 22px;
  }
  
  .case-study-content h2 {
    font-size: 20px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 10px 25px;
    font-size: 13px;
  }
  
  .service-card {
    padding: 25px 15px;
  }
  
  .news-content {
    padding: 20px;
  }
  
  .footer-container {
    padding: 0 20px;
  }
}