* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Barlow Condensed', sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.inner-page {
  padding-top: 120px;
}

main, .content {
  flex: 1;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 1000;
}

header.transparent {
  background: transparent;
  color: white;
}

header.solid {
  background: white;
  color: black;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-img {
  width: 140px; /* adjust as needed */
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.logo-img.black {
  opacity: 0;
}

.logo-img.white {
  opacity: 1;
}

#header.solid .logo-img.black {
  opacity: 1;
}

#header.solid .logo-img.white {
  opacity: 0;
}

.logo {
  position: relative;
  display: inline-block;
  height: 82px;
  width: 140px;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: inherit;
  font-weight: 400;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.hamburger {
  width: 24px;
  height: 16px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
  width: 100%;
  transform-origin: center;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: transparent;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  padding: 2rem 2rem 2rem 4rem; /* top, right, bottom, left */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: left 0.3s ease, background 0.3s ease;
  z-index: 1050;
}

#header.solid .nav-menu,
body.inner-page .nav-menu {
  background: white;
}

.nav-menu.show {
  left: 0;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.meet-team {
  padding: 2rem 2rem 1rem 2rem;
  text-align: center;
}

.footer-quote {
  padding: 1rem 2rem 3rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  text-align: center;
  margin: 1rem 2rem 0rem 2rem;
}

.explore-collections {
  padding: 7rem 2rem 2rem 2rem;
  text-align: center;
}

.team-gallery {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.team-gallery img, .collection-gallery img, .dress-gallery img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.team-gallery img:hover, .collection-gallery img:hover, .dress-gallery img:hover {
  transform: scale(1.05);
}

.quote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  text-align: justify;
  margin: 1rem 2rem 0rem 2rem;
  /* font-style: italic; */
}

.quote-serif {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 1.1rem;
  text-align: center;
  margin: 15rem 2rem 15rem 2rem;
  /* font-style: italic; */
}

.footer {
  background: #111;
  padding: 2rem 2rem;
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left a, .footer-right a {
  text-decoration: none;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  margin-left: 1.5rem;
}

.footer-left a:first-child {
  margin-left: 0;
}

.footer-right {
  display: flex;
  gap: 1rem;
}

.dress-page {
  display: flex;
  padding: 4rem 2rem 2rem 2rem;
  gap: 3rem;
}

.dress-page > .dress-page-gallery,
.dress-page > .dress-info {
  width: 50%;
}

.dress-page-gallery {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  max-height: 100vh; /* Important for independent scrolling */
  position: sticky;
  top: 120px; /* Same as header + page padding */
}

.dress-page-gallery img {
  display:block;
  width: 100%;
  object-fit:cover;
  transition: transform 0.3s;
  cursor: zoom-in;
}

.zoom-img:hover {
  transform: scale(1.05);
}

.dress-info {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.dress-info h1 {
  font-size: 1.6rem;
  font-weight: bolder;
}

.accordion {
  margin-top: 0rem;
}

.accordion-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  text-align: left;
  width: 100%;
  /* padding: 1rem 0; */
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  outline: none;
  color: black;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  /* padding-top: 1rem; */
}

.whatsapp-button {
  display: inline-block;
  margin-top: 2rem;
  background: #000000;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 50px;
  text-align: center;
}

.collections-hero {
  text-align: center;
  padding: 3rem 2rem 0rem 2rem;
}

.about-hero {
  text-align: center;
  padding: 3rem 2rem 1rem 2rem;
}

.about-content {
  text-align: justify;
  padding: 1rem 2rem 2rem 2rem;
}

.appointments-hero {
  text-align: center;
  padding: 5rem 2rem 2rem 2rem;
}

.appointment-form {
  display: flex;
  justify-content: center;
  padding: 2rem 2rem 4rem 2rem;
}

form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

form input, form textarea {
  padding: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 1rem;
  font-size: 1.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #333;
}

.meet-team button {
  padding: 1rem 4rem 1rem 4rem;
  font-size: 1.1rem;
  font-family: 'Barlow Condensed', sans-serif;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.meet-team button:hover {
  background: #333;
}

.collection-gallery, .dress-gallery {
  display: flex;
  justify-content: center;
  padding: 2rem 2rem;
}

.collection-inner, .dress-inner {
  display: flex;
  justify-content:center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

.collection-item {
  text-align: center;
  width: 300px;
}

.collection-item img, .dress-item img {
  /* width: 100%; */
  height: 400px;
  width: 300px;
  object-fit: cover;
  display: block;
  align-items: center;
}

.collection-item h3 {
  margin-top: 1rem;
  /* font-family: 'Playfair Display', serif; */
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1 rem;
  font-weight: bolder;
  color: black;
}

.accordion-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  text-align: left;
  width: 100%;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: bold;
  align-items: center;
}

.accordion-btn .arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.accordion-btn.active .arrow {
  transform: rotate(225deg); /* rotate downwards */
}


