/* =====================
   RESET + BASE
===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", system-ui, Arial, sans-serif; color: #111; background: #f4f6f8; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* =====================
   HEADER – AESTHETIC
===================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 80px;
  width: auto;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  position: relative;
  padding: 0.6rem 1.1rem;

  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  color: #111;

  border-radius: 8px;
  transition: all 0.25s ease;
}

/* underline animation */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: #e10600;
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: #e10600;
}

/* ACTIVE PAGE (add class="active") */
.main-nav a.active {
  color: #ff1403;
}

.main-nav a.active::after {
  width: 100%;
}

/* Show More service card */
.service-more{
  text-decoration: none;
  
  background: linear-gradient(135deg, rgba(225,6,0,0.06), rgba(0,0,0,0.02));
}

.service-more .more-title{
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 0.35rem;
}

.service-more .more-sub{
  display: block;
  font-weight: 800;
  color: #e10600;
}

.service-more:hover{
  transform: translateY(-8px);
  border-color: rgba(225, 6, 0, 0.7);
}

.service-more .more-sub::after{
  content: "  →";
}


#full-services {
  scroll-margin-top: 130px; 
}


/* =====================
   GLOBAL LAYOUT
===================== */
.page {
  padding-top: 110px; /* space for fixed header */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

.card {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.10);
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 2.4rem; margin-bottom: 1.4rem; }

h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #e10600;
  margin-top: 10px;
  border-radius: 2px;
}

/* =====================
   HOME: FIXED BACKGROUND + HERO
===================== */
.fixed-hero {
  position: fixed;
  inset: 0;
  z-index: -1;

  
  background-image: url("img_out/out39.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #fff;
  padding: 3rem 2rem;

  background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.45));
}

.hero h1 {
  font-size: 3.2rem;
  max-width: 900px;
}

.hero p {
  font-size: 1.25rem;
  max-width: 760px;
  margin: 1.2rem auto 2.2rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions a {
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.25s ease;
}

.hero-actions .primary {
  background: #e10600;
  color: #fff;
}

.hero-actions .primary:hover { background: #b80000; }

.hero-actions .outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.hero-actions .outline:hover {
  background: #fff;
  color: #111;
}

/* =====================
   SERVICES (Home)
===================== */
.services {
  background: #fff;
}

.services h2 {
  text-align: center;
}

.services h2::after {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2.4rem 2rem;
  border-radius: 16px;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 20px 40px rgba(0,0,0,0.10);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 60px rgba(0,0,0,0.12);
}

/* =====================
   PROJECTS: SECTIONS + GALLERY
===================== */
.projects section {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  margin-bottom: 4rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.10);
}

.gallery {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;

  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  transition: 0.35s ease;
}

.gallery img:hover {
  transform: translateY(-8px) scale(1.04);
  filter: brightness(.85);
}

.show-more {
  display: block;
  margin: 2.5rem auto 0;
  padding: 1rem 3rem;
  border: none;
  border-radius: 40px;

  background: linear-gradient(135deg, #111, #444);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.5px;

  cursor: pointer;
  transition: 0.25s ease;
}

.show-more:hover {
  background: linear-gradient(135deg, #e10600, #ff3b3b);
  transform: translateY(-2px);
}

/* =====================
   LIGHTBOX
===================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  box-shadow: 0 50px 100px rgba(0,0,0,.75);
}

.close {
  position: absolute;
  top: 28px;
  right: 38px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  color: #fff;
  cursor: pointer;
  padding: 0 25px;
  user-select: none;
  transition: 0.2s ease;
}

.nav:hover { color: #e10600; }
.prev { left: 20px; }
.next { right: 20px; }

/* =====================
   CONTACT FORM
===================== */
.form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

label { font-weight: 800; color: #333; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font: inherit;
}
textarea { min-height: 160px; resize: vertical; }

button {
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: #e10600;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}
button:hover { background: #b80000; }


/* =====================
   CONTACT PAGE (PRO)
===================== */

.page-head{
  margin-bottom: 2rem;
}

.page-head p{
  color: #444;
  max-width: 780px;
}

.contact-page .container{
  max-width: 1400px;
}

.contact-grid{
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr 1.15fr; 
  gap: 2rem;
  align-items: start;
}

.contact-card{
  width: 100%;
  height: 100%;
  max-width: none;
  background: #fff;
  padding: 2.2rem;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.10);
}

.contact-card h2{
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.contact-card h2::after{
  width: 60px;
  height: 4px;
  margin-top: 10px;
  background: #e10600;
  content: "";
  display: block;
  border-radius: 2px;
}

/*checkbox field*/
.checkbox-field{
  margin-top: 1rem;
}

.checkbox-field label{
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

.checkbox-field input{
  accent-color: #e10600;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}


/* Info list */
.info-list{
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.info-item{
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1rem;
  border-radius: 14px;
  background: #f6f7f9;
  border: 1px solid rgba(0,0,0,0.06);
}

.info-icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(225, 6, 0, 0.10);
  font-size: 18px;
}

.card + .card {
  margin-top: 3rem;
} 

.info-label{
  font-weight: 800;
  font-size: 0.9rem;
  color: #222;
}

.info-value{
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

a.info-value:hover{
  text-decoration: underline;
  text-decoration-color: #e10600;
}

.contact-note{
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(225, 6, 0, 0.08);
  border: 1px solid rgba(225, 6, 0, 0.12);
  font-weight: 700;
  color: #222;
}

/* Map placeholder */
.map-box{
  margin-top: 1.4rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  height: 260px;
  width: 100%;
}
.map-box iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* Form */
.contact-form{
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label{
  display: block;
  font-weight: 900;
  margin-bottom: 0.45rem;
  color: #222;
}

.field input,
.field textarea,
.field select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  font: inherit;
  outline: none;
  transition: 0.2s ease;
}

.field textarea{
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color: rgba(225, 6, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.12);
}

.contact-btn{
  width: fit-content;
  min-width: 228px;
  margin: 0.6rem auto 0;

  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: #e10600;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
  display: block;
}

.contact-btn:hover{
  background: #b80000;
  transform: translateY(-1px);
}

.form-small{
  font-size: 0.92rem;
  color: #555;
}





/* =====================
   FOOTER
===================== */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2rem;
}


/* Mobile */
@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
  }

  .field-row{
    grid-template-columns: 1fr;
  }
}
/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; padding: 1rem; }
  .brand img { height: 56px; }
  .main-nav { justify-content: center; }
  .hero h1 { font-size: 2.2rem; }
}
