/* Enermax Resources - Bold Modern Design */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --red: #E60012;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray: #F5F5F5;
  --dark-gray: #1A1A1A;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
}

main {
  margin-top: 90px;
}

/* Hero Sections */
.hero {
  min-height: 85vh;
  background: linear-gradient(135deg, #E60012 0%, #0A0A0A 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(230,0,18,0.03) 49%, rgba(230,0,18,0.03) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(230,0,18,0.03) 49%, rgba(230,0,18,0.03) 51%, transparent 52%);
  background-size: 60px 60px;
  opacity: 0.5;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  max-width: 900px;
}

.hero-highlight {
  color: var(--red);
  background: white;
  padding: 0 0.5rem;
}

.page-hero {
  background: linear-gradient(135deg, #0A0A0A 0%, #E60012 100%);
  padding: 8rem 3rem 6rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  color: white;
}

.page-hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
  color: white;
}

/* Sections */
.section {
  padding: 6rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-dark {
  background: var(--gray);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
  color: var(--black);
}

.section-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(10,10,10,0.8);
  max-width: 900px;
  margin-bottom: 4rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--red);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230,0,18,0.05), transparent);
  transition: left 0.6s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(230,0,18,0.1);
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--red);
}

.service-card p {
  color: rgba(10,10,10,0.8);
  line-height: 1.8;
}

/* About & Services Content */
.content-section {
  padding: 5rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.content-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--red);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(10,10,10,0.85);
  margin-bottom: 2rem;
}

.service-item {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-item h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--red);
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.service-item p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(10,10,10,0.85);
}

/* Contact Form */
.contact-container {
  padding: 5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

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

.submit-btn {
  background: var(--red);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #C00010;
  transform: translateY(-2px);
}

.info-item {
  margin-bottom: 2rem;
}

.info-item h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.info-item p {
  line-height: 1.8;
  color: rgba(10,10,10,0.8);
}

.info-item a {
  color: var(--red);
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  background: var(--gray);
  padding: 5rem 3rem;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.cta-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: rgba(10,10,10,0.8);
}

.cta-section .highlight {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--black);
  display: block;
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-primary:hover {
  background: #C00010;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--black);
  color: white;
}

.btn-secondary:hover {
  background: var(--dark-gray);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 3rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--red);
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--red);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-radius: 4px;
}

.newsletter-form button {
  padding: 0.875rem 2rem;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background: #C00010;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .nav-container {
    padding: 1.5rem 2rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .hero {
    padding: 3rem 2rem;
  }
  
  .section {
    padding: 4rem 2rem;
  }
  
  .content-section {
    padding: 4rem 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 2rem;
  }
  
  .page-hero {
    padding: 6rem 2rem 4rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    text-align: center;
  }
}
