/* =========================================================
   SAM’S CLOTHING – RESPONSIVE MASTER CSS
   ========================================================= */

/* ---------- Base Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #333;
  overflow-x: hidden;
  background-color: #fff;
}

/* ---------- Hero Section & Video Background ---------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  padding: 1rem;
  text-align: center;
}

/* ---------- Typography ---------- */
.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 600;
  color: rgb(0, 6, 69);
  margin-top: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
}

/* ---------- Color Variables ---------- */
:root {
  --navy-100: #e6eaf0;
  --navy-600: #1e3a5f;
  --navy-700: #152c47;
  --navy-800: #0c1e33;
  --navy-900: #061220;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background-color: var(--navy-700);
  border: none;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--navy-800);
}

/* ---------- Header ---------- */
#main-header {
  position: fixed;
  width: 100%;
  top: 0;
  transition: all 0.3s ease;
  z-index: 100;
}

#main-header .navbar {
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main-header .logo {
  height: 40px;
  transition: all 0.3s ease;
}

#main-header.scrolled {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#main-header.scrolled .nav-link {
  color: var(--navy-700);
}

/* ---------- Responsive Layouts ---------- */
@media (max-width: 1024px) {
  .hero-section {
    height: 80vh;
  }

  .loader-logo {
    width: clamp(100px, 50vw, 200px);
  }
}

@media (max-width: 768px) {
  .video-background {
    display: none;
  }

  .hero-section {
    background: url('path/to/mobile-thumbnail.jpg') no-repeat center center / cover;
    height: 100dvh;
  }

  .loader-content {
    padding: 0 20px;
  }

  .loading-dots span {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}

@media (max-width: 480px) {
  .loader-logo {
    width: 70%;
  }

  .btn-primary {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .navbar {
    flex-direction: column;
  }
}

/* ---------- Footer ---------- */
footer {
  background-color: var(--navy-800);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}


/* Responsive Certifications Section */
.certifications-section {
  padding: 2rem 1rem;
}

.certifications-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.certifications-grid img {
  width: 160px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.certifications-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Tablet responsiveness */
@media (max-width: 992px) {
  .certifications-grid img {
    width: 140px;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .certifications-grid {
    gap: 1rem;
  }

  .certifications-grid img {
    width: 45%;
    max-width: 160px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .certifications-grid img {
    width: 80%;
    max-width: 200px;
  }
}
