/* style.css - Premium Dark Theme for ElectraSource Supply */

/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background-color: #0b0c10; /* Very dark blue-gray */
}

/* Typography & Links */
a {
  color: #66fcf1; /* Electric Teal */
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

a:hover {
  color: #45f3ff;
  transform: translateY(-1px);
}

/* Header & Navigation */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: rgba(11, 12, 16, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #1f2833;
}

.logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav a {
  color: #c5c6c7;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav a:hover {
  color: #66fcf1;
}

/* Hero Section */
.hero {
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  background: radial-gradient(circle, rgba(31,40,51,0.3) 0%, rgba(11,12,16,1) 100%), url('assets/hero.svg') center/cover no-repeat;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero h1 span {
  color: #66fcf1;
}

.hero p {
  font-size: 1.3rem;
  color: #c5c6c7;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Main Content Sections */
section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background-color: #66fcf1;
  border-radius: 2px;
}

.about p {
  font-size: 1.1rem;
  color: #c5c6c7;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

/* Location / Map Section */
.map {
  background-color: #1f2833;
  border-radius: 12px;
  padding: 3rem;
  margin-top: 2rem;
  border: 1px solid rgba(102, 252, 241, 0.1);
}

.map iframe {
  width: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Contact Section & Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #c5c6c7;
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  margin-top: 2rem;
}

.contact-details li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: #15171e;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #1f2833;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #c5c6c7;
  font-size: 0.9rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #1f2833;
  border-radius: 4px;
  background-color: #0b0c10;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #66fcf1;
  box-shadow: 0 0 8px rgba(102, 252, 241, 0.25);
}

.contact button {
  padding: 1rem 2rem;
  background-color: #66fcf1;
  color: #0b0c10;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact button:hover {
  background-color: #45f3ff;
  transform: translateY(-2px);
}

/* Footer Section - Row aligned */
.site-footer {
  background-color: #0b0c10;
  border-top: 1px solid #1f2833;
  padding: 4rem 5% 2rem;
  color: #c5c6c7;
}

.footer-rows-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-row.bottom-row {
  border-top: 1px solid #1f2833;
  padding-top: 2rem;
  font-size: 0.9rem;
}

.footer-brand h4 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #c5c6c7;
}

.footer-links a:hover {
  color: #66fcf1;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav ul {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-contact {
    text-align: center;
  }
}
