/* =====================================================
   SUNTINT INTERIORS – PROFESSIONAL HOMEPAGE
===================================================== */

/* -------------------- RESET -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

/* -------------------- GLOBAL UTILITIES -------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
  font-size: 16px;
  max-width: 600px;
  margin-inline: auto;
}

/* -------------------- HEADER / HERO -------------------- */
.header {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.75)),
    url(images/windo1.jpeg) center/cover no-repeat;
  position: relative;
}

/* -------------------- NAVIGATION -------------------- */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.logo {
  height: 100px;
}

.nav-links {
  display: flex;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #f44336;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

#menu-btn,
#close-btn {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* -------------------- HERO CONTENT -------------------- */
.textbox {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.textbox h1 {
  font-size: clamp(36px, 6vw, 64px);
  color: #fff;
}

.textbox h2 {
  font-size: clamp(18px, 3vw, 28px);
  color: #abe5ec;
  margin-bottom: 10px;
}

.textbox p {
  color: #eee;
  font-size: 16px;
  max-width: 650px;
  margin: 20px auto 40px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #f44336;
  border-color: #f44336;
}

/* -------------------- SERVICES OVERVIEW -------------------- */
.services-overview .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-box {
  background: #fafafa;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box i {
  font-size: 30px;
  color: #f44336;
  margin-bottom: 15px;
}

.service-box h3 {
  font-size: 16px;
  font-weight: 500;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* -------------------- SERVICES LINK BUTTON -------------------- */
.link-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #f44336, #ff6659);
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(244,67,54,0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.link-btn::after {
  content: '→';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  transition: transform 0.4s ease;
  font-size: 18px;
}

.link-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(244,67,54,0.6);
  background: linear-gradient(90deg, #ff6659, #f44336);
}

.link-btn:hover::after {
  transform: translateY(-50%) translateX(6px);
}


/* -------------------- WORK GALLERY -------------------- */
.company .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.company-col {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.company-col img {
  transition: transform 0.4s ease;
}

.company-col:hover img {
  transform: scale(1.1);
}

.layer {
  position: absolute;
  inset: 0;
  background: rgba(244,67,54,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.company-col:hover .layer {
  opacity: 1;
}

.layer h3 {
  color: #fff;
  font-size: 18px;
}

/* -------------------- WHY US -------------------- */
.why-us .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.why-col h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.why-col p {
  color: #666;
}

/* -------------------- CTA -------------------- */
.cta {
  background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url(images/alum2.png.jpeg) center/cover no-repeat;
  padding: 100px 20px;
  border-radius: 10px;
  text-align: center;
  margin: 100px auto;
}

.cta h1 {
  color: #fff;
  margin-bottom: 30px;
}

/* -------------------- FOOTER -------------------- */
.footer {
  background: #111;
  color: #aaa;
  padding: 40px 20px;
  text-align: center;
}

.footer h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer .icons i {
  margin: 0 10px;
  color: #f44336;
  cursor: pointer;
}

/* -------------------- MOBILE NAV -------------------- */
@media (max-width: 768px) {
  #menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #f44336;
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 20px;
    padding-left: 30px;
  }

  #close-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
}
