﻿/* Basic reset & variables */
:root{
  --accent:#c1a447;
  --dark:#0b0b0b;
  --muted:#666;
}
*{box-sizing:border-box}
body{margin:0;font-family:Arial, sans-serif;color:#111;background:#fff;line-height:1.5}

.container{max-width:1100px;margin:auto;padding:20px}

/* Header */
.site-header{background:#06202a;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.header-inner{display:flex;align-items:center;gap:18px}
.logo{width:150px}
.logo-small{width:110px}

.nav-list{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.nav-list a{text-decoration:none;color:#fff;font-weight:600}
.nav-list a.active{color:var(--accent)}
.nav-toggle{display:none;background:none;border:none;font-size:22px;color:#fff;}

/* Hero */
.hero{
  background:linear-gradient(rgba(6,32,42,.9),rgba(6,32,42,.75)), url("../images/hero.jpg") center/cover no-repeat;
  color:#fff;padding:80px 0;
}
.hero-inner h1{font-size:42px;margin-bottom:10px}
.btn{background:var(--accent);padding:12px 20px;border-radius:8px;text-decoration:none;font-weight:700;color:#000}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.card{background:#0f1112;color:#fff;padding:20px;border-radius:8px;box-shadow:0 6px 20px rgba(0,0,0,.4)}
.card h3{color:var(--accent)}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.gallery-item img{width:100%;height:160px;object-fit:cover;border-radius:8px}

/* Tracking */
.track-form{display:flex;gap:10px;margin-bottom:15px}
.track-form input{padding:10px;border:1px solid #ccc;border-radius:6px;flex:1}

/* Floating buttons */
.floating-actions{
  position:fixed;right:20px;bottom:20px;display:flex;flex-direction:column;gap:12px;z-index:9999
}
.fab{width:54px;height:54px;display:flex;align-items:center;justify-content:center;
  border-radius:50%;box-shadow:0 6px 18px rgba(0,0,0,.25);color:#fff;font-size:22px;text-decoration:none}
.whatsapp{background:#25D366}
.call{background:var(--accent);color:#000}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(10px);transition:0.6s}
.reveal.visible{opacity:1;transform:none}

/* Mobile */
@media(max-width:768px){
  .nav-list{display:none;flex-direction:column;background:#06202a;padding:10px}
  .nav-toggle{display:block}
}


/* ===========================
   Quote Section
=========================== */
.quote-section {
  background: #f9f9f9;
  padding: 60px 0;
  text-align: center;
}

.quote-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.quote-section p {
  color: #555;
  margin-bottom: 30px;
}

.quote-form {
  max-width: 700px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  text-align: left;
}

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.quote-btn {
  grid-column: span 2;
  padding: 14px;
  font-size: 18px;
  background: #c1a447;
  color: #000;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}
@media (max-width: 768px) {
  .quote-form {
    grid-template-columns: 1fr;
  }
  .quote-btn {
    grid-column: span 1;
  }
}
/* ===========================
   QUOTE SECTION
=========================== */
.quote-section {
  background: #f9f9f9;
  padding: 60px 0;
  text-align: center;
}

.quote-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.quote-section p {
  color: #555;
  margin-bottom: 30px;
}

.quote-form {
  max-width: 700px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  text-align: left;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.quote-btn {
  grid-column: span 2;
  font-size: 18px;
  padding: 14px;
  background: #c1a447;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* ===========================
   MOBILE QUOTE FORM
=========================== */
@media (max-width: 768px) {
  .quote-form {
    grid-template-columns: 1fr;
  }
  .quote-btn {
    grid-column: span 1;
  }
}

/* ===========================
   MOBILE NAVIGATION
=========================== */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-list {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 230px;
    background: #06202a;
    flex-direction: column;
    padding: 15px;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
  }

  .nav-list.show {
    display: flex;
  }

  .contact-quick {
    display: none;
  }
}
/* ===========================
   FLOATING ACTION BUTTONS
=========================== */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.fab {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.whatsapp {
  background: #25D366; /* WhatsApp Green */
}

.call {
  background: #c1a447; /* Your brand gold color */
  color: #000;
}

.fab:hover {
  transform: translateY(-3px);
  transition: 0.2s;
}

/* ===========================
   POPUP QUOTE FORM
=========================== */

.open-quote-btn {
  background: #c1a447;
  color: #000;
  padding: 14px 20px;
  font-size: 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  font-weight: 600;
}

.quote-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.quote-popup-content {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  animation: popFade 0.3s ease;
}

@keyframes popFade {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.quote-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  cursor: pointer;
}

.popup-quote-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-quote-form input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.submit-quote-btn {
  background: #c1a447;
  color: #000;
  padding: 12px;
  font-size: 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

/* HERO IMAGE */
.hero-image {
  position: relative;
  background: url("../images/hero.png") center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-left: 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 12px;
  color: #c1a447;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* SERVICE IMAGE BOXES */
.services-image-boxes {
  padding: 60px 0;
  text-align: center;
}

.services-image-boxes h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.service-box:hover {
  transform: translateY(-10px);
}

.service-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-box h3 {
  padding: 15px;
  background: #06202a;
  color: #fff;
}

/* MOBILE */
@media(max-width: 768px) {
  .hero-image { height: 50vh; }
  .hero-content h1 { font-size: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-box img { height: 220px; }
}


/* ===========================
   SLIDE-IN RIGHT QUOTE PANEL
=========================== */

.quote-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: flex-end;
  z-index: 9999;
}

.quote-popup.active {
  display: flex;
}

.quote-panel {
  width: 340px;
  max-width: 85%;
  background: #fff;
  height: 100vh;
  padding: 25px;
  box-shadow: -4px 0 16px rgba(0,0,0,0.25);
  transform: translateX(100%);
  animation: slideIn 0.35s forwards ease-out;
  position: relative;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* Close Button */
.quote-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Compact Form Styles */
.popup-quote-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.popup-quote-form label {
  font-size: 15px;
  font-weight: 600;
  display: block;
}

.popup-quote-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.submit-quote-btn {
  background: #c1a447;
  padding: 12px;
  font-size: 17px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #000;
  font-weight: 600;
  margin-top: 5px;
}

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

.about-text h2 {
  margin-top: 0;
  font-size: 28px;
}

.about-img img {
  width: 100%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
}

.about-section-alt {
  background: #f8f8f8;
  padding: 50px 0;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================
   GALLERY PAGE
============================ */
.page-header {
  background: linear-gradient(rgba(6,32,42,0.9), rgba(6,32,42,0.7)), url("../images/aj.jpg") center/cover no-repeat;
  padding: 70px 0;
  color: #fff;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  color: #c1a447;
  margin-bottom: 10px;
}

.gallery-section {
  padding: 50px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-box {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: 0.3s;
}

.gallery-box:hover {
  transform: scale(1.04);
}

.gallery-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* MOBILE */
@media (max-width: 768px) {
  .page-header h1 { font-size: 30px; }
  .gallery-box img { height: 180px; }
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-box h3,
.contact-form-box h3 {
  color: #06202a;
  font-size: 22px;
  margin-bottom: 10px;
}

.contact-box p a {
  color: #c1a447;
  text-decoration: none;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
}

.contact-form button {
  width: 100%;
  padding: 12px;
}

@media(max-width:768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {

  .nav-list {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 230px;
    background: #06202a;
    flex-direction: column;
    padding: 15px;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    z-index: 99999;  /* FIX: menu appears above hero */
  }

  .nav-list.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    z-index: 100000; /* Fix click issue */
  }

  .contact-quick {
    display: none;
  }
}
