/* Hillboy Engineering - Professional Redesign */
:root {
  --bg: #06101b;
  --bg-light: #f8fbff;
  --surface: #0f1d34;
  --text: #f8fbff;
  --text-dark: #1a2a40;
  --text-muted: #a9bdd4;
  --accent: #56abff;
  --accent-hover: #8ec4ff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --radius: 12px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: 0.2s;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 16, 27, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav__link:hover, .nav__link.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 75vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: url('../images/gallery/gallery-7.jpg') no-repeat center center/cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(6, 16, 27, 0.9) 0%, rgba(6, 16, 27, 0.4) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 700px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  font-weight: 800;
}

.hero__text {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero__highlights {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.hero__highlights span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__highlights span::before {
  content: '✓';
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  transition: 0.2s;
  cursor: pointer;
  border: none;
}

.btn:not(.light) {
  background: var(--accent);
  color: #06101b;
}

.btn:not(.light):hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn.light {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn.light:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn--large {
  width: 100%;
  justify-content: center;
  padding: 1.1rem;
  font-size: 1.1rem;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section--dark {
  background-color: #040912;
}

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

.section--light .section-heading p {
  color: #5a6a80;
}

.section-heading {
  margin-bottom: 4rem;
  max-width: 800px;
}

.section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
  font-weight: 800;
}

.section-heading p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Service Cards */
.service-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: 0.3s;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.service-card h3 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin: 0;
}

/* Capabilities */
.cap-box {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.cap-box h3 {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  color: var(--text-dark);
  border-bottom: 2px solid #eee;
  padding-bottom: 0.75rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-cloud span {
  padding: 0.5rem 1rem;
  background: #f0f4f8;
  color: #4a5568;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* RFQ Form */
.rfq-container {
  max-width: 900px;
  margin: 0 auto;
}

.form-wrapper {
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

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

.form-group.full-width {
  grid-column: span 2;
}

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  transition: 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  display: none;
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel__slide {
  min-width: 100%;
  position: relative;
  height: 500px;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 1.5rem;
  font-weight: 700;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 1rem;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.carousel__nav--prev { left: 0; }
.carousel__nav--next { right: 0; }

/* Trust Cards */
.trust-card {
  padding: 2rem;
  text-align: center;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.trust-card h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.trust-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #5a6a80;
}

/* Contact Details */
.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
}

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

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contact-item a, .contact-item p {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.map-placeholder {
  height: 100%;
  min-height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 200;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

/* Footer */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  margin: 0.5rem 0;
  color: var(--text-muted);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { height: auto; padding: 100px 0; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: auto; }
  .carousel__slide { height: 350px; }
  .contact-item a, .contact-item p { font-size: 1.25rem; }
}
