/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto Condensed', sans-serif; background: #000; color: #fff; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px; /* reduce top space */
  background: #000; /* keep dark header */
  position: fixed; /* make it stick like Levergy */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.logo-img {
  height: 90px; /* shrink logo if needed */
  width: 225px;
}
/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-links {
  display: flex;
  gap: 25px; /* spacing between nav links */
  align-content: center;
}
.social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.socials a {
  color: white;
  margin-left: 10px;
  font-size: 18px;
  transition: color 0.3s ease;
}
.socials a:hover {
  color: #f4c542; /* gold hover */
}
/* Push socials far to the right with a big gap */
.nav .socials {
  margin-left: 80px;  /* ✅ adjust this value for bigger or smaller gap */
  display: flex;
  gap: 15px;
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  position: relative;
}
.nav a.active { border-bottom: 2px solid #b39203; }

/* Dropdown desktop */
.nav-item { position: relative; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  padding: 20px 0;
  min-width: 180px;
  z-index: 999;
}
.submenu a {
  display: block;
  padding: 14px 15px;
  color: #fff;
  text-decoration: none;
}
.submenu a:hover {
  background: #111;
}
.nav-item:hover .submenu {
  display: block;
}
/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  padding-left: 20px;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

/* Hamburger active animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* Hide nav by default on small screens */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: #000;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 80px;
    padding-left: 30px;
    gap: 25px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav a, .submenu a {
    font-size: 18px;
    color: #fff;
  }

  .nav.open {
    transform: translateX(0);
  }

  /* Dropdowns in mobile */
  .nav-item .submenu {
    position: relative;
    top: 0;
    left: 0;
    background: none;
    display: none;
    padding-left: 15px;
  }

  .nav-item.active .submenu {
    display: flex;
    flex-direction: column;
  }

  /* ✅ Fix socials: bottom-left inside nav */
  .socials {
    position: absolute;
    bottom: 30px;
    left: 20px;
    display: flex;
    flex-direction: row; /* keep horizontal */
    gap: 20px;
  }

  /* Make hero and sections scroll nicely */
  section {
    padding: 100px 20px;
  }
}

/* === Responsive Footer === */
@media (max-width: 1024px) {
    .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: #000;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 80px;
    padding-left: 30px;
    gap: 25px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav a, .submenu a {
    font-size: 18px;
    color: #fff;
  }

  .nav.open {
    transform: translateX(0);
  }

  /* Dropdowns in mobile */
  .nav-item .submenu {
    position: relative;
    top: 0;
    left: 0;
    background: none;
    display: none;
    padding-left: 15px;
  }

  .nav-item.active .submenu {
    display: flex;
    flex-direction: column;
  }

  /* ✅ Fix socials: bottom-left inside nav */
  .socials {
    position: absolute;
    bottom: 30px;
    left: 20px;
    display: flex;
    flex-direction: row; /* keep horizontal */
    gap: 20px;
  }

  /* Make hero and sections scroll nicely */
  section {
    padding: 100px 20px;
  }
}

/* ========================
   HERO
======================== */
.hero {
  padding-top: 0; /* removed extra padding to reduce gap */
  height: 90vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
  background: url('hero-bg.jpg') no-repeat center/cover;
}
.hero::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 2; opacity: 0; transform: translateY(30px); transition: 1s ease-out; }
.hero-content.visible { opacity: 1; transform: translateY(0); }
.hero h1 { font-size: 3.5rem; text-transform: uppercase; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }


/* SLIDESHOW: container stays full width, height adjusts */
.slideshow-container {
  padding-left: 40px;
  padding-right: 40px;
  position: relative;
  width: 100%;
  height: 95vh;    /* baseline for large screen */
  overflow: hidden;
  background: #000;
}

/* slides hidden by default */
.slides {
  display: none;
}

/* each slide image stretches and covers container */
.slides img {
  width: 100%;
  height: 95vh;
  object-fit: cover;
}

/* overlay logo centered absolutely */
.logo-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.logo-overlay img {
  max-height: 150px;
  width: auto;
  opacity: 0.9;
}

/* fade-in effect */
.fade {
  animation: fade 1.5s ease-in-out;
}
@keyframes fade {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}
/* =========================
   CLIENTS SLIDER
========================= */
.slider { overflow: hidden; position: relative; width: 70vh; margin: 10px 10px; padding-left: 30px; padding-right: 30px;}
.slide-track {
  display: flex;
  width: calc(200px * 16);
  animation: scroll 55s linear infinite;
}
.slide { height: 160px; width: 200px; display: flex; justify-content: center; align-items: center; }
.slide img { max-height: 160px; max-width: 200px; object-fit: contain; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 8)); } }

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1024px) {
  .logo-img { height: 70px; width: 180px; }
  .slideshow-container { height: 80vh; }
  h2 { font-size: 2rem; padding-top: 0px; }
  
}

@media (max-width:768px) {
  /* Slideshow */
  .slideshow-container { height: 100%; }
  .slides img { height: 100%; object-fit: contain; }
  .logo-overlay img { height: 100px; padding-top: 10px;}

  /* Clients */
  .slide { width: 180px; }
  .slide img { max-width: 150px; }
}

@media (max-width:480px) {
  /* Slideshow */
  .slideshow-container { height: 90vh; }
  .slides img { height: 90vh; object-fit: contain; }
  .logo-overlay img { height: 70px; }

  /* Clients */
  .slide { width: 100px; }
  .slide img { max-width: 100px; }
}

.logo-overlay img { height: 160px; width: auto; opacity: 0.9; }

.fade { animation-name: fade; animation-duration: 1.5s; }
@keyframes fade { from { opacity: 0.4; } to { opacity: 1; } }


/* =========================
   HERO
========================= */
.hero {
  padding-top: 10px;
  height:90vh;
  display:flex; align-items:center; justify-content:center; text-align:center;
  position:relative;
  background: url('hero-bg.jpg') no-repeat center/cover;
}
.hero::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,0.6); }
.hero-content { position:relative; z-index:2; opacity:0; transform:translateY(30px); transition:1s ease-out; }
.hero-content.visible { opacity:1; transform:translateY(0); }
.hero h1 { font-size:3.5rem; text-transform:uppercase; margin-bottom:20px; }
.hero p { font-size:1.2rem; margin-bottom:30px; }

/* =========================
   PANELS & CONTAINERS
========================= */
.panel { padding:120px 60px; min-height:100vh; display:flex; align-items:center; justify-content:center; }
.panel.dark { background:#000; }
.container { max-width:1400px; margin:0 auto; text-align:center; opacity:0; transform:translateY(30px); transition:1s ease-out; }
.container.visible { opacity:1; transform:translateY(0); }

/* =========================
   HEADINGS
========================= */
h2 { font-size:2.5rem; margin-bottom:40px; text-transform:uppercase; }
h2::after { content:""; display:block; width:60px; height:3px; background:#f4c542; margin:10px auto 0; }

/* =========================
   SERVICES GRID
========================= */
.service-grid { display:flex; gap:30px; justify-content:center; align-items:stretch; flex-wrap:wrap; }
.service {
  flex: 1 1 250px; max-width:300px;
  background:#161616; padding:30px; border-radius:10px;
  display:flex; flex-direction:column; justify-content:space-between;
  transition: transform 0.3s;
}
.service:hover { transform: translateY(-10px); }
.service h3 { color:#f4c542; text-transform:uppercase; margin-bottom:10px; }

/* =========================
   CLIENTS SLIDER
========================= */
.slider {
  overflow: hidden;
  position: relative;
  width: 90vh;               /* more flexible than fixed 75% */
  margin: 30px auto;
}

.slide-track {
  display: flex;
  width: max-content;       /* auto-adjusts to number of slides */
  animation: scroll 55s linear infinite;
}

.slide {
  flex: 0 0 220px;          /* base width of slides */
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Smooth scroll animation (proportional) */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
  /* shifts half the track so the loop is seamless */
}
/* =========================
   TEAM
========================= */
.team-grid { display:flex; justify-content:center; gap:40px; flex-wrap:nowrap; overflow-x:auto; padding-bottom:20px; background:#000; }
.team-member { background:#161616; padding:20px; border-radius:8px; min-width:180px; max-width:200px; text-align:center; flex-shrink:0; transition:transform 0.3s; }
.team-member:hover { transform:translateY(-10px); }
.team-member h3 { font-size:1.5rem; margin-bottom:8px; }
.team-member p { font-size:0.95rem; color:#fff; }


/* Mobile reflow */
@media (max-width: 768px) {
  .team-grid {
    padding-top: 5px;
    flex-wrap: wrap;       /* allow stacking instead of scroll */
    justify-content: center;
    overflow-x: visible;   /* disable horizontal scroll */
  }
  .team-member {
    flex: 1 1 45%;         /* 2 per row on tablets */
    max-width: none;
  }
}
@media (max-width: 480px) {
  .team-member {
    flex: 1 1 100%;        /* 1 per row on phones */
  }
}
.footer { background:#161616; color:#fff; padding:20px 60px 15px; font-family:'Roboto Condensed',sans-serif; }
.footer-container {
  display:grid; grid-template-columns:repeat(6,1fr); gap:40px; margin:0 auto 40px; max-width:1200px;
}
.footer-column h4 { font-size:15px; font-weight:700; text-transform:uppercase; margin-bottom:15px; text-align:left; }
.footer-column ul { list-style:none; padding:0; }
.footer-column ul li { margin-bottom:8px; text-align:left; }
.footer-column ul li a { color:#fff; font-size:14px; transition:0.3s; }
.footer-column ul li a:hover { color:#c4c4c4; }
.footer-column p { font-size:14px; line-height:1.6; text-align:left; }
.footer-bottom { border-top:1px solid #fff; padding-top:20px; display:flex; justify-content:center; font-size:12px; text-align:center; }
 
/* Responsive breakpoints for footer */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr); /* tablets: 3 cols */
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr); /* small tablets: 2 cols */
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);           /* phones: 1 col */
    gap: 15px;
    text-align: center;
  }
  .footer-column h4,
  .footer-column ul li,
  .footer-column p {
    text-align: center;
  }
}
/* =========================
   CTA BUTTONS
========================= */
.cta-btn { display:inline-block; margin-top: 20px; padding:10px 20px; color: #fff; border:2px solid #fff; border-radius:6px; transition:0.3s; }
.cta-btn:hover { background:#b39203; color:#000; }
/* ===================== */
/* ✅ RESPONSIVE DESIGN  */
/* ===================== */

/* General scaling for images */
img {
  max-width: 100%;
  height: auto;
}

/* Small devices (phones < 768px) */
@media (max-width: 768px) {

  /* Slideshow smaller */
  .slideshow-container { height: 100%;padding-top: 50px; width: 100%; }
  .slides img { object-fit: cover; }
  .logo-overlay img { max-height: 120px; }

  /* Slideshow */
  .slideshow-container {
    height: 100%;
  }
  .slideshow-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .logo-overlay img {
    padding-top: 75px;
    max-width: 160px;
    width: 70%;
  }

  /* Hero text */
  .hero-content h1 {
    padding-top: 0;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 1rem;
  }

.slider {
  overflow: hidden;
  position: relative;
  width: 85vh;               /* more flexible than fixed 75% */
  margin: 20px auto;
}

.slide-track {
  display: flex;
  width: max-content;       /* auto-adjusts to number of slides */
  animation: scroll 55s linear infinite;
}

.slide {
  flex: 0 0 190px;          /* base width of slides */
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Smooth scroll animation (proportional) */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
  /* shifts half the track so the loop is seamless */
}
}

/* Medium devices (tablets < 1024px) */
@media (max-width: 1024px) {
.slider {
  overflow: hidden;
  position: relative;
  width: 75vh;               /* more flexible than fixed 75% */
  margin: 20px auto;
}
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
} 

/* =========================
   FADE-IN ANIMATION
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
