/* ============================================
   CEREMONY WEAR UK - Black & White Theme
   ============================================ */

/* CSS Variables */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray-100: #f8f8f8;
  --color-gray-200: #e8e8e8;
  --color-gray-300: #d0d0d0;
  --color-gray-500: #888888;
  --color-gray-700: #444444;
  --color-gray-900: #1a1a1a;
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --header-height: 70px;
  --container-width: 1200px;
  --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  background: var(--color-white);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--color-black);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.7;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-black);
}

.logo span {
  display: block;
  font-size: 0.6rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-gray-500);
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
  
  .nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  .nav-item a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
  }
  
  .nav-item a:hover,
  .nav-item.active a {
    border-bottom-color: var(--color-black);
    opacity: 1;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--color-black);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ============================================
   FULLSCREEN MOBILE MENU (Modal Style)
   ============================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .mobile-nav-list {
  list-style: none;
  text-align: center;
}

.mobile-menu .mobile-nav-item {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active .mobile-nav-item {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation */
.mobile-menu.active .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-item:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-item:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu .mobile-nav-item a {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-menu .mobile-nav-item a:hover {
  opacity: 0.5;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-gray-200);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-gray-700);
  max-width: 600px;
  margin: 0 auto 2rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--color-black);
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: var(--color-black);
  color: var(--color-white);
  opacity: 1;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1rem;
}

/* ============================================
   DRESS GALLERY GRID
   ============================================ */

.dress-gallery {
  padding: 60px 0;
}

.dress-gallery h2 {
  text-align: center;
  margin-bottom: 40px;
}

.dress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Dress Card */
.dress-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
}

.dress-card:hover {
  border-color: var(--color-black);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dress-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.dress-card-link:hover {
  opacity: 1;
}

.dress-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-gray-100);
}

.dress-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dress-card:hover .dress-image img {
  transform: scale(1.05);
}

/* Placeholder for dresses without images */
.dress-image .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 4rem;
  color: var(--color-gray-300);
}

/* Dress Info */
.dress-info {
  padding: 20px;
  text-align: center;
}

.dress-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* Enquire Button */
.btn-enquire {
  width: 100%;
  padding: 12px;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
}

.btn-enquire:hover {
  background: var(--color-gray-900);
}

/* View Details Button (on listing cards) */
.btn-view {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  transition: var(--transition);
}

.dress-card:hover .btn-view {
  background: var(--color-gray-700);
}

/* ============================================
   ENQUIRY MODAL POPUP
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid var(--color-gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.modal-close {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 30px;
}

/* Product shown in modal */
.modal-product {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--color-gray-100);
  margin-bottom: 25px;
}

.modal-product-image {
  width: 60px;
  height: 80px;
  background: var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-product-name {
  font-family: var(--font-heading);
  font-weight: 500;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--color-gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-black);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  margin-top: 25px;
}

.form-submit .btn {
  width: 100%;
}

/* Hidden honeypot field */
.hidden {
  display: none !important;
}

/* Form success message */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success .checkmark {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* ============================================
   CATEGORY SECTIONS
   ============================================ */

.category-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.category-section:last-child {
  border-bottom: none;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  margin-bottom: 10px;
}

.section-header p {
  color: var(--color-gray-700);
}

/* ============================================
   NEWS / BLOG SECTION
   ============================================ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  border: 1px solid var(--color-gray-200);
}

.news-card-image {
  aspect-ratio: 16/9;
  background: var(--color-gray-100);
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  padding: 25px;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.news-card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.news-card-excerpt {
  color: var(--color-gray-700);
  font-size: 0.95rem;
}

/* ============================================
   SINGLE DRESS PAGE
   ============================================ */

.dress-single {
  padding: 60px 0;
}

.dress-single-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .dress-single-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.dress-gallery-container {
  position: sticky;
  top: 90px;
}

.dress-single-image {
  aspect-ratio: 3/4;
  background: var(--color-gray-100);
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}

.dress-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dress-single-image:hover img {
  transform: scale(1.02);
}

.image-zoom-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dress-single-image:hover .image-zoom-hint {
  opacity: 1;
}

/* Thumbnail Gallery */
.dress-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.dress-thumbnails-label {
  width: 100%;
  font-size: 0.85rem;
  color: var(--color-gray-500);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.thumb {
  flex-shrink: 0;
  width: 80px;
  height: 100px;
  border: 2px solid var(--color-gray-200);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.thumb:hover {
  border-color: var(--color-gray-500);
  transform: scale(1.05);
}

.thumb.active {
  border-color: var(--color-black);
  border-width: 3px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ALL IMAGES GRID - New larger gallery */
.dress-all-images {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--color-gray-200);
}

.images-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text);
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.image-thumb {
  aspect-ratio: 3/4;
  border: 2px solid var(--color-gray-200);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.image-thumb:hover {
  border-color: var(--color-black);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.image-thumb.active {
  border-color: var(--color-black);
  border-width: 3px;
}

.image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .images-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.dress-single-info h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.dress-single-meta {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
}

.dress-single-description {
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ============================================
   IMAGE LIGHTBOX
   ============================================ */

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 3001;
  line-height: 1;
  padding: 10px;
}

.lightbox-close:hover {
  color: var(--color-gray-300);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 30px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: 50%;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.5);
  padding: 8px 16px;
  border-radius: 20px;
}

/* Mobile swipe hint */
.lightbox-swipe-hint {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  display: none;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 45px;
    height: 45px;
    font-size: 24px;
    background: rgba(255,255,255,0.2);
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 35px;
  }
  
  .lightbox-swipe-hint {
    display: block;
  }
}

/* ============================================
   PAGE CONTENT (Static pages like Contact, FAQ)
   ============================================ */

.page-content {
  padding: 60px 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--color-gray-200);
}

.content-wrapper h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-wrapper h3 {
  margin-top: 30px;
}

.content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.content-wrapper th,
.content-wrapper td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200);
}

.content-wrapper th {
  background: var(--color-gray-100);
  font-weight: 600;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 15px 0;
  padding-left: 25px;
}

.content-wrapper li {
  margin-bottom: 8px;
}

/* Contact Form Styling */
.contact-form {
  margin: 30px 0;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-gray-300);
  font-size: 1rem;
  font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-black);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  margin-top: 10px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--color-white);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-700);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--color-gray-500);
  font-size: 0.85rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: var(--color-gray-500);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--color-white);
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
  padding: 15px 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.breadcrumbs-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.back-button:hover {
  background: var(--color-gray-700);
  opacity: 1;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: 10px;
  color: var(--color-gray-500);
}

.breadcrumb-list a {
  color: var(--color-gray-500);
}

.breadcrumb-list a:hover {
  color: var(--color-black);
}

@media (max-width: 768px) {
  .breadcrumbs-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .breadcrumb-list {
    display: none;
  }
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-gray-200);
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header p {
  color: var(--color-gray-700);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-black);
  color: var(--color-white);
  padding: 10px 20px;
  z-index: 9999;
}

.skip-link:focus {
  top: 10px;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .dress-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .dress-info {
    padding: 15px;
  }
  
  .dress-name {
    font-size: 0.95rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .dress-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   DRESS DETAIL PAGE (NEW)
   ============================================ */

.dress-detail {
  padding: 40px 0;
}

.dress-detail-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: start;
}

/* LEFT: Images Section */
.dress-images-section {
  position: relative;
}

.dress-main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--color-gray-100);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--color-gray-200);
}

.dress-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dress-main-image:hover img {
  transform: scale(1.02);
}

.placeholder-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 8rem;
  color: var(--color-gray-300);
}

/* Gallery Grid */
.dress-gallery {
  margin-top: 25px;
}

.dress-gallery h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.gallery-thumb {
  aspect-ratio: 3/4;
  border: 2px solid var(--color-gray-200);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.gallery-thumb:hover {
  border-color: var(--color-gray-500);
  transform: scale(1.03);
}

.gallery-thumb.active {
  border-color: var(--color-black);
  border-width: 3px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT: Info Section */
.dress-info-section {
  position: sticky;
  top: 90px;
}

.dress-info-section h1 {
  font-size: 1.75rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.dress-meta {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.dress-description-desktop .description-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: 20px;
  max-height: 200px;
  overflow-y: auto;
}

.dress-description-mobile {
  display: none;
}

.delivery-info {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-bottom: 25px;
}

/* Enquiry Form Box */
.enquiry-form-box {
  background: var(--color-gray-100);
  padding: 25px;
  margin-bottom: 20px;
}

.enquiry-form-box h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.dress-enquiry-form .form-row {
  margin-bottom: 15px;
}

.dress-enquiry-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.dress-enquiry-form input,
.dress-enquiry-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-gray-300);
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.dress-enquiry-form input:focus,
.dress-enquiry-form textarea:focus {
  outline: none;
  border-color: var(--color-black);
}

.btn-block {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-gray-500);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}

.form-success {
  background: #d4edda;
  color: #155724;
  padding: 20px;
  text-align: center;
  font-weight: 500;
}

.back-link {
  margin-top: 20px;
}

/* Related Section */
.related-section {
  padding: 60px 0;
  background: var(--color-gray-100);
}

.related-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .dress-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .dress-info-section {
    position: static;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .dress-description-desktop {
    display: none;
  }
  
  .dress-description-mobile {
    display: block;
    margin-top: 20px;
    padding: 20px;
    background: var(--color-gray-100);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .dress-info-section h1 {
    font-size: 1.4rem;
  }
  
  .enquiry-form-box {
    padding: 20px 15px;
  }
}

/* Form Error Message */
.form-error {
  background: #f8d7da;
  color: #721c24;
  padding: 20px;
  text-align: center;
  font-weight: 500;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page {
  padding: 60px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-form-section h2 {
  margin-bottom: 10px;
}

.contact-form-section > p {
  color: var(--color-gray-600);
  margin-bottom: 30px;
}

.contact-form {
  background: var(--color-gray-100);
  padding: 30px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-gray-700);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-gray-300);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-black);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn-block {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  margin-top: 10px;
  background: #000000;
  color: #ffffff;
  border: 2px solid #000000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form .btn-block:hover {
  background: #ffffff;
  color: #000000;
}

/* Contact Info Section */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Store Image */
.store-image-card {
  padding: 0 !important;
  overflow: hidden;
}

.store-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Shop Name - Black text */
.shop-name {
  font-weight: bold;
  font-size: 1.1rem;
  color: #000000 !important;
  margin-bottom: 10px;
}

.info-box {
  background: var(--color-gray-100);
  padding: 25px;
}

.info-box h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.info-box p {
  margin: 0;
  color: var(--color-gray-600);
}

.info-box a {
  color: var(--color-black);
  text-decoration: underline;
}

.info-box ul {
  margin: 0;
  padding-left: 20px;
}

.info-box li {
  margin-bottom: 5px;
}

/* Alert Messages */
.alert {
  padding: 15px 20px;
  margin-top: 20px;
  border-radius: 4px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-section {
    padding: 60px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-form-container h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.contact-form-container > p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-form {
    background: #f8f8f8;
    padding: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #333;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-block {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-box {
    background: #f8f8f8;
    padding: 25px;
}

.contact-info-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.contact-info-box p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.contact-info-box a {
    color: #333;
    text-decoration: underline;
}

.contact-info-box a:hover {
    color: #000;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 25px;
    text-align: center;
    font-size: 1.1rem;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-section {
  padding: 40px 0 60px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: start;
}

.contact-form-section h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-form-section > p {
  color: #666;
  margin-bottom: 25px;
}

.contact-form {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #d4a574;
  box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.2);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-block {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
}

.contact-info-section {
  position: sticky;
  top: 100px;
}

.contact-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.contact-card h3 {
  margin: 0 0 15px 0;
  font-size: 1.1rem;
}

.contact-card address {
  font-style: normal;
  line-height: 1.7;
  color: #555;
}

.contact-card a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card .shop-name {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #000000 !important;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hours-table td:first-child {
  font-weight: 500;
  width: 40%;
}

.hours-table td:last-child {
  text-align: right;
  color: #666;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.alert {
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Mobile Contact Page */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-info-section {
    position: static;
    order: -1;
  }
  
  .contact-form {
    padding: 20px;
  }
}

/* ============================================
   PAGINATION STYLES
   ============================================ */
.pagination {
  margin: 40px 0;
  text-align: center;
}

.pagination-info {
  margin-bottom: 15px;
  color: #666;
  font-size: 0.9rem;
}

.pagination-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  background: #fff;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.pagination-link:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.pagination-link.current {
  background: #000;
  color: #fff;
  border-color: #000;
  font-weight: bold;
}

@media (max-width: 600px) {
  .pagination-link {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}
