* {
  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 {
  font-size: 1.2rem;
  letter-spacing: 10px;
  padding-left: 12px;
  text-align: center;
}

a.logo {
  text-decoration: none; /* remove underline */
  color: inherit;        /* follow header text color */
}


nav {
  margin-top: 0.5rem;
}

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);
}

.nav-dropdown {
  display: flex;
  flex-direction: column;
  margin: 0 1rem; /* matches nav a margin */
}


.dropdown-btn {
  background: none;
  border: none;
  color: inherit;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.dropdown-btn .plus {
  margin-left: 8px;
  font-weight: bold;
}

.dropdown-content {
  /* remove: display: none; */
  display: flex;              /* keep it in the flow so it can animate */
  flex-direction: column;
  margin-left: 1rem;
  padding-top: 1rem;
  overflow: hidden;
  max-height: 0;              /* collapsed */
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 250ms ease, opacity 200ms ease, transform 200ms ease;
}

.dropdown-content a {
  text-decoration: none;
  color: inherit;
  padding: 0.3rem 0;
  font-size: 1rem;
}

/* Reveal submenu when the dropdown is open */
.nav-dropdown.open .dropdown-content {
  display: flex;
}

/* When parent has .open, expand smoothly */
.nav-dropdown.open .dropdown-content {
  max-height: 160px; /* enough for 2–3 links; tweak if you add more */
  opacity: 1;
  transform: translateY(0);
}


/* (Optional) smooth slide-down */
.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}
.nav-dropdown.open .dropdown-content {
  max-height: 200px; /* adjust to fit your submenu */
}

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

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

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

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

.explore-collections {
  padding: 5rem 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.2rem;
  text-align: center;
  margin: 1rem 5rem 0rem 5rem;
  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;
}

.dress-page-gallery video {
  width: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}


.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: bold;
}

.accordion {
  /* margin-top: 0.5rem; */
}

.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 {
  position: relative;
  width: 100%;
  height: 500px; /* FIXED HEIGHT */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-top: 120px; so it clears fixed header */
}

.collections-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.collections-hero h1 {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 2.5rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 300;
}

.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;
}

.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: normal;
  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 */
}


/* Sort dropdown container */
.sort-container {
  display: flex;
  justify-content: flex-end;
  /* margin: 1rem auto 0 auto; */
  margin: 1rem 0 0 auto; /* top right bottom left */
  max-width: 1200px;
  padding: 0 2rem;
}

.sort-select {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  border: 1px solid black;
  background: white;
  color: black;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sort-select:hover {
  background: black;
  color: white;
}

/* Visually hidden label for accessibility */
.visually-hidden {
  position: absolute;
  left: -9999px;
}

/* Product name & price styles */
.product-name, .product-price {
  font-family: 'Barlow Condensed', sans-serif;
  text-align: left;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-name {
  font-weight: 600;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.product-price {
  font-size: 1rem;
  font-weight: 400;
}