@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500;700&display=swap');

:root {
  --primary: #ffd700; /* Vibrant Construction Yellow */
  --primary-dark: #b39700;
  --secondary: #1a1a2e; /* Deep dark blue */
  --text-dark: #e6e6e6; /* Light gray text for dark mode */
  --text-light: #8a8a9a;
  --bg-dark: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.05);

  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: #fff;
  line-height: 1.2;
}

h1 { font-size: 4rem; font-weight: 800; }
h2 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.8rem; font-weight: 600; }

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-4 { margin-top: 4rem; }

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
  border: 2px solid var(--primary);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Glassmorphism Classes */
.glass {
  background: rgba(25, 25, 35, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: linear-gradient(to bottom, rgba(15, 15, 26, 0.9) 0%, transparent 100%);
  transition: all var(--transition-speed);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 50%;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 1.1rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-speed);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 100px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: bgZoom 20s infinite alternate linear;
}

@keyframes bgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 15, 26, 0.95) 0%, rgba(15, 15, 26, 0.7) 40%, rgba(15, 15, 26, 0.3) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255, 215, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 30px;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
  text-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  color: #f0f0f0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--bg-dark), rgba(20,20,35,0.7));
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
  margin-top: -50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  padding: 2rem;
  text-align: center;
  border-radius: 20px;
  transition: transform var(--transition-speed);
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Products Section */
.products {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 215, 0, 0.3);
}

.product-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-info {
  padding: 2rem;
}

.product-info h3 {
  margin-bottom: 0.5rem;
  transition: color var(--transition-speed);
}

.product-card:hover h3 {
  color: var(--primary);
}

.product-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-headings);
  font-size: 1rem;
}

.product-link i {
  transition: transform var(--transition-speed);
}

.product-card:hover .product-link i {
  transform: translateX(5px);
}

/* About Section */
.about {
  padding: 8rem 0;
  background: #141422;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-info h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.about-info p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.features-list {
  margin-top: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-item span {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 500;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: 20px;
  left: 20px;
  border: 2px solid var(--primary);
  border-radius: 24px;
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Contact Section */
.contact {
  padding: 8rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-details {
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 2rem;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-item p {
  color: var(--text-light);
}

.contact-form {
  padding: 3rem;
  border-radius: 24px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-headings);
  color: #fff;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-speed);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

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

/* Footer */
footer {
  background: #0a0a14;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 3.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.2rem; }
  .nav-links { display: none; } /* Add hamburger menu in real app */
  .hero { padding-top: 100px; text-align: center; }
  .hero-buttons { justify-content: center; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem 1.5rem; }
}
