/* GIC Parts - Industrial Components Website */
/* Unique Semantic UI + Custom Industrial Design */

:root {
  --primary-blue: #1565C0;
  --secondary-blue: #1976D2;
  --dark-gray: #424242;
  --text-dark: #212121;
  --accent-orange: #FFA000;
  --light-bg: #FAFAFA;
  --white: #FFFFFF;
  --border-gray: #E0E0E0;
}

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

body {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Custom styling on top of Semantic UI */

.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 120px 0 80px;
  color: white;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.9) 0%, rgba(25, 118, 210, 0.85) 100%);
}

.hero-section .ui.container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.ui.menu.main-nav {
  border-radius: 0;
  border: none;
  border-bottom: 3px solid var(--primary-blue);
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ui.menu.main-nav .item {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.ui.menu.main-nav .active.item {
  background-color: var(--primary-blue) !important;
  color: white !important;
}

/* Product/Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.ui.card.category-card {
  border: 2px solid var(--border-gray);
  transition: all 0.3s ease;
}

.ui.card.category-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.15);
  transform: translateY(-4px);
}

.ui.card.category-card .header {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Content Sections */
section {
  padding: 4rem 0;
}

section.alt-bg {
  background-color: var(--light-bg);
}

section h2 {
  color: var(--dark-gray);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--accent-orange);
  display: inline-block;
}

section h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Images */
.content-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 2rem 0;
}

.hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 2rem;
}

/* Buttons */
.ui.button.primary-btn {
  background-color: var(--accent-orange);
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ui.button.primary-btn:hover {
  background-color: #FF8F00;
}

.ui.button.secondary-btn {
  background-color: var(--primary-blue);
  color: white;
  font-weight: 600;
}

.ui.button.secondary-btn:hover {
  background-color: var(--secondary-blue);
}

/* Lists */
ul.industry-list {
  list-style: none;
  padding: 0;
}

ul.industry-list li {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background-color: white;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

ul.feature-list {
  list-style: none;
  padding-left: 0;
}

ul.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

ul.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

footer h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

footer a {
  color: #E0E0E0;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--accent-orange);
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section .lead {
    font-size: 1.2rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}
