/* Dream Bath Accessories - Website Styles */
/* Brand: Dark grey/black, Gold (#B8860B), White */

:root {
  --color-black: #1a1a1a;
  --color-dark: #1e1e2e;
  --color-grey: #5a5a6e;
  --color-gold: #c9a227;
  --color-gold-light: #e6c547;
  --color-gold-dark: #a6851e;
  --color-amber: #d4a54e;
  --color-white: #ffffff;
  --color-cream: #fdf9f2;
  --color-warm: #fef7eb;
  --color-border: #e8e0d4;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --shadow: 0 4px 24px rgba(201, 162, 39, 0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.25);
  --gradient-gold: linear-gradient(135deg, #e6c547 0%, #c9a227 50%, #a6851e 100%);
  --gradient-warm: linear-gradient(180deg, #fef7eb 0%, #fdf9f2 50%, #faf5eb 100%);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::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);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gradient-warm);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--color-grey);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-white);
  border: none;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e6c547 0%, #d4a84b 100%);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.85);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 1;
}

.logo-text-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  overflow: hidden;
}

.logo-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-black);
  text-transform: uppercase;
  /* Glossy / reflection effect — subtle shadow for depth */
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 2px rgba(0, 0, 0, 0.06),
    0 0 1px rgba(0, 0, 0, 0.1);
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 1px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Reflection — glossy mirrored effect like logo (subtle) */
.logo-reflection {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  transform: scaleY(-1);
  transform-origin: top center;
  opacity: 0.15;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 70%);
}

.logo-reflection .logo-brand,
.logo-reflection .logo-tagline {
  text-shadow: none;
  color: var(--color-black);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-black);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold);
}

.nav-btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  max-width: 72px;
  min-height: 44px;
  background: var(--gradient-gold);
  color: var(--color-white) !important;
  font-weight: 600;
  font-size: 0.7rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(201, 162, 39, 0.3);
  flex-shrink: 0;
  text-decoration: none;
  transition: all var(--transition);
}

.nav-btn-login:hover {
  background: linear-gradient(135deg, #e6c547 0%, #d4a84b 100%);
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-black);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide--active {
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
}

.hero-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(230, 197, 71, 0.4);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Collections Preview */
.collections-preview .section-header {
  --collections-size-1: clamp(1.75rem, 4vw, 2.5rem);
  font-size: var(--collections-size-1);
}

.collections-header {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  font-size: var(--collections-size-1);
}

.collections-title-main {
  font-size: 1em;
  font-weight: 600;
  line-height: 1.2;
}

.collections-title-sub {
  font-size: 0.5em;
  font-weight: 500;
  opacity: 0.95;
}

.collections-preview .collections-subtitle {
  font-size: 1rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.collection-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.collection-img-wrap {
  position: absolute;
  inset: 0;
}

.collection-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.2) 40%, transparent 70%);
  opacity: 0.9;
}

.collection-card:hover .collection-overlay {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.35) 0%, rgba(26,26,26,0.8) 100%);
}

.collection-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: var(--color-white);
}

.collection-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.collection-info p {
  font-size: 0.9rem;
  opacity: 0.9;
}


.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.18), 0 0 0 1px rgba(201, 162, 39, 0.15);
}

.collection-card .collection-info h3 {
  transition: color var(--transition);
}

.collection-card:hover .collection-info h3 {
  color: var(--color-gold-light);
}

.collection-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.category-item {
  padding: 32px;
  background: var(--color-white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.category-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-item p {
  color: var(--color-grey);
  font-size: 0.95rem;
}

/* Why Us */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us-content .section-tag {
  margin-bottom: 12px;
}

.why-us-content .section-title {
  margin-bottom: 24px;
}

.why-us-list {
  margin-bottom: 32px;
}

.why-us-list li {
  padding: 12px 0;
  padding-left: 24px;
  position: relative;
  color: var(--color-grey);
}

.why-us-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}

.why-us-list strong {
  color: var(--color-black);
}

.why-us-img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-us-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f1a 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-content p {
  opacity: 0.85;
  margin-bottom: 32px;
}

.cta-content .btn-primary {
  background: var(--gradient-gold);
  border: none;
  box-shadow: var(--shadow-gold);
}

.cta-content .btn-primary:hover {
  background: linear-gradient(135deg, #e6c547 0%, #d4a84b 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(201, 162, 39, 0.45);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #1e1e2e 0%, #151520 100%);
  color: rgba(255,255,255,0.85);
  padding: 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand p {
  max-width: 220px;
  font-size: 0.8rem;
  opacity: 0.85;
  margin: 0;
  line-height: 1.3;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 6px 0;
}

.footer-links ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links ul li {
  margin: 0;
}

.footer-links a,
.footer-contact a {
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-gold-light);
  opacity: 1;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-contact p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.footer-contact p + p {
  margin-top: 2px;
}

.footer-bottom {
  padding: 12px 0;
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.6;
  margin: 0;
}

/* Page Header (inner pages) */
.page-hero {
  padding: 140px 0 60px;
  background: var(--gradient-warm);
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.4;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--color-grey);
  max-width: 560px;
  margin: 0 auto;
}

/* Collections Page */
.collection-section {
  padding: 80px 0;
}

.collection-section:nth-child(even) {
  background: var(--color-cream);
}

.collection-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-gold);
}

.collection-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card a {
  display: block;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
}

.product-card-info {
  padding: 16px;
}

.product-card-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-card-info span {
  font-size: 0.85rem;
  color: var(--color-gold);
}

/* Catalog Gallery */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.catalog-item {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.catalog-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* About Page */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-profile-img {
  margin-bottom: 40px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-profile-img img {
  width: 100%;
  display: block;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--color-grey);
  font-size: 1.05rem;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3,
.contact-gallery h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.contact-info p,
.contact-gallery p {
  margin-bottom: 16px;
  color: var(--color-grey);
}

.contact-info a,
.contact-gallery a {
  color: var(--color-gold);
  font-weight: 500;
}

/* Contact carousel — animated image rotator */
.contact-carousel {
  position: relative;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--color-cream);
}

.contact-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
}

.contact-carousel .carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.contact-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 6s ease-out;
}

.contact-carousel .carousel-slide.active img {
  animation: carousel-zoom 6s ease-out forwards;
}

@keyframes carousel-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.contact-carousel .carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.contact-carousel .carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.contact-carousel .carousel-dots .dot:hover {
  background: rgba(255,255,255,0.8);
}

.contact-carousel .carousel-dots .dot.active {
  background: var(--color-gold-light);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(230, 197, 71, 0.5);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

/* Responsive */
@media (max-width: 1024px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .collection-products {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  
  .why-us-img {
    order: -1;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-btn-login {
    padding: 6px 8px;
    max-width: 66px;
    min-height: 40px;
    font-size: 0.65rem;
  }
  
  .collections-preview .collections-subtitle {
    font-size: 0.85rem;
  }
  
  .collection-grid {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .collection-products {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
  }
  
  .footer-links ul {
    flex-direction: column;
    gap: 4px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
