/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #212121;
  color: #fff;
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding: 80px 0 100px 0;
}

header {
  position: relative;
  background: #212121;
  color: #ff9933;
  padding: 10px 20px;
  border-bottom: none;
  text-align: center;
  flex-wrap: wrap;
}

.fixed-heading {
  /* position: fixed; */
  inset: 0;
  z-index: 1000;
  background-color: #212121;
  display: flex;
  justify-content: center;  /* vertically center */
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding-top: 5px;
  /* Optional: prevent overlap with header nav */
  /* animation: slideInTop 0.9s ease-out forwards; */

}


.fixed-heading-inner {
  text-align: center;
}

.fixed-heading h1 {
  font-size: 10em;
  margin-bottom: 5px;
  background: linear-gradient(to right, #ff9933, #ffd194, #ff9933, #f89b1f, #ff9933, #ffd194, #ff9933);
  /* light → mid → dark orange */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* For Firefox */
  color: transparent;
  text-shadow: none;
  /* animation: slideInTop 2s ease-out forwards; */
  animation: riseFromDark 1.5s ease-out forwards;
}

.fixed-heading p {
  font-size: 2em;
  margin-bottom: 20px;
  margin-top: 0;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: riseFromDark 1.5s ease-out forwards;
}

/* === Section Layout === */
/* === Portfolio Section Layout === */
.content-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  /* Keeps layout consistent on wide screens */
  gap: 60px;
  min-height: 700px;
  /* Ensures enough vertical space */
  padding: 40px 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  position: relative;
}

#extra.content-section {
  min-height: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  height: 2px;
}
.content-section.active {
  opacity: 1;
}

/* === Side Images (Left and Right) === */
.side-image {
  width: 520px;
  height: 650px;
  object-fit: cover;
  border-radius: 50px;
  /* More rounded for premium look */
  box-shadow: 0 10px 30px rgba(164, 164, 164, 0.3);
  transition: transform 1.5s ease, opacity 0.8s ease;
  opacity: 0;
  transform: scale(0);
  flex-shrink: 0;
  /* Prevents shrinking on small screens */
}

.content-section.active .side-image {
  transform: scale(1);
  opacity: 1;
}

/* === Center Content (Fixed Size, Vertically Centered) === */
.center-content {
  width: 300px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-section.active .center-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.center-content h2 {
  font-size: 3em;
  color: #ff9933;
  margin: 0 0 20px;
  line-height: 1.2;
}

/* === Discover Button === */
.menu-button {
  padding: 10px 20px;
  font-size: clamp(14px, 5vw, 20px);
  font-weight: 700;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  background-color: transparent;
  border: 4px solid #ff9933;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.menu-button:hover {
  background-color: #ffa94d;
  color: white;
}

@keyframes riseFromDark {
  0% {
    transform: translateY(100px) scale(0.95);
    opacity: 0;
    filter: brightness(0) blur(6px);
  }

  60% {
    opacity: 0.5;
    filter: brightness(0.5) blur(3px);
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: brightness(1) blur(0);
  }
}

/* === Mobile-Friendly Responsive Scaling === */

@media (max-width: 1400px) {
  .main {
    padding: 40px 0 80px 0;
    gap: 60px;
  }

  .content-section {
    gap: 30px;
    padding: 30px 0;
  }

  .side-image {
    width: 450px;
    height: 600px;
    margin: 0;
  }

  .center-content {
    min-height: 220px;
    width: 260px;
    margin: 0;
    padding: 0;
  }

  .center-content h2 {
    font-size: 2.4em;
    margin: 6px 0 10px;
  }

  .menu-button {
    padding: 10px 18px;
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  .main {
    padding: 40px 0 80px 0;
    gap: 60px;
  }

  .fixed-heading{
    height:50px;
  }

  .content-section {
    gap: 30px;
    padding: 30px 0;
  }

  .side-image {
    width: 500px;
    height: 600px;
    margin: 0;
  }

  .center-content {
    min-height: 220px;
    width: 260px;
    margin: 0;
    padding: 0;
  }

  .center-content h2 {
    font-size: 2.4em;
    margin: 6px 0 10px;
  }

  .menu-button {
    padding: 10px 18px;
    font-size: 18px;
  }
}

@media (max-width: 850px) {
  .main {
    padding: 40px 0 80px 0;
    gap: 60px;
  }

  .fixed-heading{
    margin-top: 50px;
    height:800px;
  }

  .content-section {
    gap: 30px;
    padding: 30px 20px;
  }

  .side-image {
    width: 280px;
    height: 500px;
    margin: 0;
  }

  .center-content {
    min-height: 220px;
    width: 260px;
    margin: 0;
    padding: 0;
  }

  .center-content h2 {
    font-size: 2.4em;
    margin: 6px 0 10px;
  }

  .menu-button {
    padding: 10px 18px;
    font-size: 18px;
  }

  .fixed-heading h1 {
    font-size: 8em;
  }
}

/* @media (max-width: 768px) {
  main {
    padding: 30px 0 60px 0;
    gap: 40px;
  }

  .fixed-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 90vh;
    padding: 40px 10px 30px;
  }

  #product,
  #jewellery,
  #food,
  #model {
    display: flex !important;
    /* grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 20px; 
    padding: 10px;
    margin: 0;
    min-height: auto !important;
    height: auto;
    opacity: 1 !important; 
    transform: none !important;
    margin-bottom: 150px;
  }

  #fashion {
    display: grid !important;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 20px;
    padding: 10px;
    margin: 0;
    min-height: auto !important; 
    height: auto;
    opacity: 1 !important; 
    transform: none !important;
  }

  .side-image.left {
    grid-column: 1;
    grid-row: 1;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0;
    align-self: center;
  }

  .center-content {
    display: contents;
    margin: 0 !important;
    padding: 0 !important;
  }

  .center-content h2 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.6em;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    white-space: nowrap;
    align-self: center;
    justify-self: start;
    color: #ff9933;
  }

  .menu-button {
    grid-column: 1;
    grid-row: 2;
    font-size: 1em;
    padding: 10px 16px;
    margin: 0;
    line-height: 1;
    justify-self: start;
    align-self: center;
  }

  .side-image.right {
    grid-column: 2;
    grid-row: 2;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0;
    justify-self: start;
    align-self: center;
  }
} */


@media (max-width: 768px) {
  main {
    padding: 30px 0 60px 0;
    gap: 40px;
  }

  .fixed-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 90vh;
    padding: 40px 10px 30px;
  }

  #product,
  #jewellery,
  #food,
  #model,
  #fashion {
    display: grid !important;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 30px; 
    padding: 10px;
    margin: 0;
    min-height: auto !important;
    height: auto;
    opacity: 1 !important; 
    transform: none !important;
    margin-bottom: 200px;
  }

  .side-image.left {
    grid-column: 1;
    grid-row: 1;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0;
  }

  .side-image.right {
    grid-column: 2;
    grid-row: 1;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0;
  }

  .center-content {
    display: contents;
    margin: 0 !important;
    padding: 0 !important;
  }

  .center-content h2 {
    grid-column: 1 / span 2;
    grid-row: 2;
    font-size: 1.6em;
    margin: 0 auto;
    padding: 0;
    line-height: 1.2;
    text-align: center;
    color: #ff9933;
  }

  .menu-button {
    grid-column: 1 / span 2;
    grid-row: 3;
    font-size: 1em;
    padding: 10px 16px;
    margin: 8px auto 0;
    justify-self: center;
    align-self: center;
  }

  .fixed-heading h1 {
    font-size: 6em;
  }

  .fixed-heading p {
    font-size: 2em;
  }
}



@media (max-width: 480px) {
  main {
    padding: 20px 0 50px 0;
    gap: 30px;
  }

  .content-section {
    padding: 8px 0;
  }

  .fixed-heading{
    margin-top: 30px;
    height:800px;
  }

  .side-image {
    width: 180px;
    height: 450px;
    border-radius: 50px;
  }

  .center-content h2 {
    font-size: 1.6em;
    margin: 4px 0 10px;
  }

  .menu-button {
    font-size: 14px;
    padding: 8px 14px;
  }

  .fixed-heading h1 {
    font-size: 4em;
  }

  .fixed-heading p {
    font-size: 1.2em;
  }
}

@media (max-width: 380px) {
  .main {
    padding: 10px 0 40px 0;
    gap: 20px;
  }

  .fixed-heading{
    margin-top: 20px;
    height:100px;
  }

  .content-section {
    padding: 6px 0;
  }

  .side-image {
    width: 160px;
    height: 300px;
    border-radius: 40px;
  }

  .center-content h2 {
    font-size: 1.4em;
    margin: 4px 0 8px;
  }

  .menu-button {
    font-size: 13px;
    padding: 6px 12px;
  }

  .fixed-heading h1 {
    font-size: 3.5em;
  }

  .fixed-heading p {
    font-size: 1em;
  }
}

@media print {
  body {
    display: none !important;
  }
}