/* Nina Duong Haute Couture – elegant, old-site colour scheme */
:root {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --text: #ffffff;
  --text-muted: #b0b0b0;
  --link: #cccccc;
  --link-hover: #ffffff;
  --accent: #c9b896;
  --border: #2a2a2a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--link-hover);
}

/* Header & nav */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.logo {
  display: block;
  position: absolute;
  left: 2rem;
}

.nav-main {
  display: flex;
  justify-content: center;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
}
.nav-main > ul > li {
  position: relative;
}
.nav-main a {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-main a[href]:hover {
  color: var(--accent);
}
/* Dropdown submenus */
.nav-main .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  z-index: 100;
  list-style: none;
  margin: 0;
}
.nav-main .nav-dropdown:hover .submenu {
  display: block;
}
.nav-main .submenu li {
  margin: 0;
}
.nav-main .submenu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* 25th anniversary banner – same width as header (logo to menu) */
.banner-25 {
  width: 100%;
  line-height: 0;
  background: var(--bg);
  padding: 0 2rem;
}
.banner-25 .banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.banner-25 img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Page containers */
.page {
  min-height: 60vh;
  padding: 3rem 1.5rem 4rem;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Home hero */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  margin: 0 0 0.5rem;
}
.hero .tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Section titles */
.section-title {
  font-size: 1.75rem;
  letter-spacing: 0.1em;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Wedding gowns – collections */
.collection {
  margin-bottom: 3rem;
}
.collection-name {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 1rem;
}
.dress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.dress-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
}
/* Portrait orientation so dresses aren’t over-cropped */
.dress-card .img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg);
}
.dress-card .img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.dress-card .info {
  padding: 1rem 1.25rem;
}
.dress-card .name {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}
.dress-card .desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Shoes – square format */
.shoe-grid .dress-card .img-wrap {
  aspect-ratio: 1 / 1;
}
.shoe-grid .dress-card .img-wrap img {
  object-position: center;
}

/* Accessories (veils) – wider format to match veil proportions */
.accessories-grid .dress-card .img-wrap {
  aspect-ratio: 4 / 3;
}
.accessories-grid .dress-card .img-wrap img {
  object-position: center;
}

/* Media page */
.media-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.media-list li {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.media-list a {
  display: inline-block;
}
.media-list .pdf {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}
.media-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

/* Contact form */
.contact-form-wrapper {
  margin-top: 2rem;
}
.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-field {
  margin-bottom: 1.25rem;
}
.contact-form-field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}
.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  box-sizing: border-box;
}
.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form-submit {
  margin-top: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s;
}
.contact-form-submit:hover:not(:disabled) {
  background: var(--accent);
  color: var(--bg);
}
.contact-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.contact-form-feedback {
  margin-top: 1rem;
  padding: 0.75rem;
  font-size: 0.95rem;
}
.contact-form-feedback.success {
  color: #8bc34a;
  border: 1px solid rgba(139, 195, 74, 0.4);
}
.contact-form-feedback.error {
  color: #e57373;
  border: 1px solid rgba(229, 115, 115, 0.4);
}

/* About / General content */
.prose {
  max-width: 720px;
}
.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

/* Footer info section */
.section-footer-info {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-col h3 {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  color: var(--accent);
}
.footer-col p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.footer-col a {
  color: var(--link);
}
.link-accent {
  color: var(--accent) !important;
  letter-spacing: 0.1em;
}
.dress-card {
  text-decoration: none;
  color: inherit;
}
.dress-card .name,
.dress-card .desc {
  color: var(--text);
}
.dress-card .desc {
  color: var(--text-muted);
}
.dress-card:hover .name {
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer a {
  color: var(--link);
}

/* Gallery pages (fw_port_module – compatibility with collection pages) */
.fullscreen_block {
  margin: 0;
  padding: 2rem 1.5rem 4rem;
}
.fs_blog_module.fw_port_module,
.fw_port_module.sorting_block {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.blogpost_preview_fw.fw-portPreview {
  margin: 0;
}
.fw-portPreview-wrapper {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
}
.fw-portPreview-wrapper a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.fw-portPreview-wrapper .fw_featured_image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.fw-portPreview-fadder {
  display: none;
}
.fw-portPreview-content {
  padding: 1rem 1.25rem;
}
.fw-portPreview-title {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  font-weight: 500;
}
.fw-portPreview-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
/* Shoes gallery – square images */
.shoes-gallery .fw-portPreview-wrapper .fw_featured_image {
  aspect-ratio: 1 / 1;
  object-position: center;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
  }
  .logo {
    position: static;
  }
  .nav-main ul {
    justify-content: center;
  }
  .dress-grid {
    grid-template-columns: 1fr;
  }
}
