/* ============================================
   S4U BY SHIVALI - PRODUCTION CSS
   Brand Colors: Black, White, Magenta (#e11d8c)
   ============================================ */

/* ROOT VARIABLES */
:root {
  --black: #000000;
  --white: #ffffff;
  --accent: #e11d8c;
  --gray-light: #f5f5f5;
  --gray-dark: #333333;
  --text-primary: #1a1a1a;
  --border-color: #e5e5e5;
  --transition: all 0.3s ease;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo-wrapper {
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--black);
  margin: 0;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-cta {
  color: var(--accent);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 40px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
  border-radius: 2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(225, 29, 140, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section h2 {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-dark);
  max-width: 800px;
  margin: 1.5rem auto 0;
  line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  background: var(--white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.brand-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.about-content {
  line-height: 1.95;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 1.8rem;
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0.3px;
}

.about-content p:first-letter {
  margin-left: 0;
}

/* ============================================
   COLLECTION SECTION
   ============================================ */

.collection {
  background: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: var(--gray-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08) rotate(0.5deg);
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 40%, transparent 100%);
  color: var(--white);
  padding: 4rem 1.5rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 1;
  transition: all 0.4s ease;
  text-transform: uppercase;
  word-wrap: break-word;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  padding-bottom: 2rem;
}

/* ============================================
   WHY US SECTION
   ============================================ */

.why-us {
  background: var(--gray-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.why-card {
  background: var(--white);
  padding: 2.5rem;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.why-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 900;
}

.why-card h3 {
  color: var(--black);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  background: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-content h2::after {
  background: var(--accent);
}

.legal-name {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cta-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto 2.5rem;
  color: #e0e0e0;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
  background: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4,
.footer-col h5 {
  margin-bottom: 1rem;
  color: var(--black);
}

.footer-col p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin: 0.5rem 0;
}

.footer-legal {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.5rem !important;
}

.footer-address {
  font-size: 0.9rem !important;
  color: var(--gray-dark);
  line-height: 1.5;
  margin-top: 0.5rem !important;
  text-align: justify;
}

.footer-gstin {
  font-size: 0.9rem !important;
  color: var(--text-primary);
  margin-top: 0.5rem !important;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-dark);
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Tablets (768px and up) */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .gallery-item {
    min-height: 320px;
  }

  .gallery-label {
    font-size: 0.9rem;
    padding: 2.5rem 1rem 1rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-outline {
    margin-left: 0;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero {
    height: 400px;
    margin-top: 50px;
  }
}

/* Phones (480px and down) */
@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  .container {
    width: 95%;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .hero {
    height: 300px;
    margin-top: 50px;
  }

  .hero-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .section {
    padding: 40px 0;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .why-grid {
    gap: 1.5rem;
  }

  .why-card {
    padding: 1.5rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .footer-inner {
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    gap: 1rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
  }

  .header,
  .footer,
  .cta-buttons {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 998;
  box-shadow: 0 4px 12px rgba(225, 29, 140, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--black);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================
   MOBILE MENU STYLES
   ============================================ */

.nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   PAGE LOAD ANIMATION
   ============================================ */

body.loaded {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
  }
  .logo-image {
    width: 130px;
    height: 70px;
 }