/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

/* ================= VARIABLES ================= */
:root{
  --brand-gold:#c4a96f;
  --dark-bg:#0e0e0e;
  --dark-section:#141414;
  --box-bg:#1c1c1c;
}

/* ================= BASE ================= */
body{
  background:var(--dark-bg);
  color:#ffffff;
  line-height:1.6;
}

a{
  color:#ffffff;
  text-decoration:none;
}

/* ================= WRAPPER ================= */
.wrap{
  max-width:1100px;
  margin:auto;
  padding:80px 20px;
}

/* ================= HEADER ================= */
header{
  background:#000000;
  position:sticky;
  top:0;
  z-index:999;
}

.header-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px;
}

/* ================= BRAND ================= */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  height:48px;
}

/* ================= COMPANY NAME ================= */
.company-name{
  font-size:22px;
  font-weight:700;
  line-height:1.1;
  letter-spacing:1px;
  color:var(--brand-gold);
}

.brand-main{
  display:inline-block;
}

.company-name sup{
  font-size:11px;
  vertical-align:super;
  margin-left:2px;
}

.brand-sub{
  display:block;
  font-size:14px;
  font-weight:400;
  color:#ffffff;
  margin-top:2px;
}

/* ================= NAV ================= */
nav a{
  margin-left:22px;
  font-size:16px;
  opacity:0.9;
  transition:0.3s;
}

nav a:hover{
  opacity:1;
  color:var(--brand-gold);
}

/* ================= HERO ================= */
.hero{
  background:url('../assets/images/hero.jpg') center/cover no-repeat;
  padding:180px 20px;
}

.hero h2{
  font-size:56px;
  margin-bottom:15px;
}

.hero span{
  color:var(--brand-gold);
}

.hero p{
  font-size:18px;
  max-width:600px;
}

/* ================= SECTION HEADINGS ================= */
section h3{
  font-size:32px;
  margin-bottom:25px;
}

/* ================= SERVICES GRID ================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}

.grid div{
  background:var(--box-bg);
  padding:30px;
  border-radius:6px;
  text-align:center;
  transition:0.3s;
}

.grid div:hover{
  background:#242424;
  transform:translateY(-4px);
}

.grid img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:6px;
}

/* ================= DARK SECTION ================= */
.dark{
  background:var(--dark-section);
}

/* ================= ABOUT ================= */
.about-grid{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:60px;
}

.about-intro{
  font-size:18px;
  margin-bottom:18px;
}

.about-intro strong{
  font-size:19px;
  font-weight:600;
}

.about-intro strong span{
  color:var(--brand-gold);
}

.about-text p{
  max-width:560px;
}

.about-list{
  list-style:none;
  margin-bottom:30px;
}

.about-list li{
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
  font-size:16px;
  transition:color 0.3s ease, padding-left 0.3s ease;
}

.about-list li:hover{
  color:var(--brand-gold);
  padding-left:6px;
}

.about-timeline{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.about-timeline div{
  border-left:2px solid var(--brand-gold);
  padding-left:12px;
  font-size:15px;
  line-height:1.45;
}

.about-timeline span{
  color:var(--brand-gold);
  font-weight:700;
}

/* ================= PROJECT / WORK ================= */
#work .wrap{
  padding-top:40px;
  padding-bottom:40px;
}

.work-title{
  font-size:32px;
  margin-bottom:10px;
}

.work-filter{
  display:flex;
  gap:18px;
  margin-bottom:14px;
}

.work-filter button{
  background:none;
  border:none;
  color:#ffffff;
  opacity:0.6;
  cursor:pointer;
  font-size:15px;
  position:relative;
}

.work-filter button.active,
.work-filter button:hover{
  opacity:1;
}

.work-filter button.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  background:var(--brand-gold);
}

/* Case grid */
.case-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:32px;
  margin-top:0;
}

.case-item{
  background:#141414;
  border-radius:10px;
  overflow:hidden;
  transition:0.4s;
}

.case-item:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,0.45);
}

.case-item img{
  width:100%;
  height:320px;
  object-fit:cover;
}

.case-info{
  padding:22px;
}

.case-info h4{
  font-size:20px;
  margin-bottom:6px;
}

.case-info p{
  font-size:15px;
  opacity:0.85;
}

/* ================= FOOTER ================= */
.site-footer{
  position:relative;
  background:linear-gradient(90deg,#0b0b0b 0%,#000 55%);
  overflow:hidden;
}

.site-footer::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:60%;
  height:100%;
  background:url('../assets/images/footer-pattern.png') no-repeat right top;
  background-size:900px;
  opacity:0.45;
  pointer-events:none;
  mask-image:linear-gradient(to bottom,#000 40%,transparent);
  -webkit-mask-image:linear-gradient(to bottom,#000 40%,transparent);
}

.footer-content{
  position:relative;
  max-width:1100px;
  margin:auto;
  padding:100px 20px 80px;
}

.footer-left{
  max-width:420px;
}

.footer-left h3{
  font-size:34px;
  margin-bottom:22px;
}

.footer-left p{
  font-size:16px;
  line-height:1.45;
  margin-bottom:6px;
  opacity:0.9;
}

.footer-bottom{
  background:#000;
  text-align:center;
  padding:20px;
  font-size:14px;
  color:#777;
  border-top:1px solid rgba(255,255,255,0.06);
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

  .wrap{
    padding:60px 20px;
  }

  .hero{
    padding:120px 20px;
  }

  .hero h2{
    font-size:40px;
  }

  .about-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .case-item img{
    height:240px;
  }

  .site-footer::after{
    width:100%;
    background-size:520px;
    opacity:0.22;
  }
}

/* ================= PROJECT SECTION – HEIGHT FIX ================= */

/* Reduce overall padding for Project section only */
#work .wrap{
  padding-top:32px;   /* was 40px+ */
  padding-bottom:32px;
}

/* Reduce space under "Project" title */
.work-title{
  margin-bottom:6px;  /* tighter */
}

/* Reduce space between filters and cards */
.work-filter{
  margin-bottom:10px; /* key fix */
}

/* Remove extra gap above cards */
.case-grid{
  margin-top:0;
}

.case-item{
  transition:opacity 0.35s ease, transform 0.35s ease;
}
/* ================= MOBILE NAV FIX ================= */
@media (max-width:768px){

  .header-wrap{
    flex-direction:column;     /* logo on top */
    align-items:flex-start;
    gap:18px;
  }

  nav{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    padding-left:4px;          /* align with logo text */
  }

  nav a{
    margin:0;
    font-size:15px;
    opacity:0.85;
  }
}
