/* Duraline Aluminium and Construction */
:root {
  --blue: #0066cc;
  --blue-dark: #004d99;
  --blue-light: #3385d6;
  --dark: #0a0a0a;
  --card: #141414;
  --section: #111111;
  --text: #ffffff;
  --muted: #b0b0b0;
  --border: rgba(255,255,255,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 100px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links > a,
.dropdown > a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
}
.nav-links > a:hover,
.nav-links > a.active,
.dropdown > a:hover {
  color: var(--text);
}
.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s;
}
.nav-links > a:hover::after,
.nav-links > a.active::after { width: 100%; }

/* DROPDOWN */
.dropdown { position: relative; }
.dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.dropdown-menu a:hover {
  background: rgba(0,102,204,0.1);
  color: var(--blue-light);
}

.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 4px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #111820 60%, #0a0a0a 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('Images/hero-house.jpg') center/cover no-repeat;
  opacity: 0.28;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  background: rgba(0,102,204,0.15);
  border: 1px solid rgba(0,102,204,0.4);
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--blue); }
.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,102,204,0.35);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-light);
}

/* ========== SECTIONS ========== */
section { padding: 100px 0; }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .subtitle {
  display: inline-block;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== ABOUT SECTION (fixed size) ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}

.about-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.about-content p {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  text-align: center;
  padding: 16px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.stat .num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
}

.stat .label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

.about-logo {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.about-logo img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* ========== PRODUCT CARDS – restore borders ========== */
.product-card {
  background: var(--card);
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,102,204,0.4) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ========== SERVICE CARDS – restore borders ========== */
.service-item {
  background: var(--card);
  border: 1px solid var(--border) !important;
  border-radius: 10px;
  padding: 32px 28px;
  transition: 0.3s;
}

.service-item:hover {
  border-color: rgba(0,102,204,0.35) !important;
}

/* SERVICES */
.services { background: var(--section); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.service-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: 0.3s;
}
.service-item:hover { border-color: rgba(0,102,204,0.35); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(0,102,204,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--blue);
}
.service-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-item p { color: var(--muted); font-size: 0.95rem; }

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--card);
  border: 1px solid var(--border);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.project-card:hover img { transform: scale(1.05); }
.project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.project-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.project-card span { color: var(--blue-light); font-size: 0.85rem; }

/* CTA */
.cta {
  background: linear-gradient(135deg, #004d99, #0066cc, #003d7a);
  padding: 80px 0;
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta .btn {
  background: white;
  color: var(--blue-dark);
}
.cta .btn:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
}

/* CONTACT */
.contact { background: var(--section); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}
.contact-info h3 { font-size: 1.4rem; margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item .icon {
  width: 44px; height: 44px;
  background: rgba(0,102,204,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item span { color: var(--muted); font-size: 0.95rem; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.2);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* FOOTER */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 280px;
  margin-top: 12px;
}
.footer h4 {
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.footer-links a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: 0.9rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 100px; left: 0; width: 100%;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 30px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .mobile-toggle { display: flex; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 16px;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}