/* MSN BRIDAL DESIGNE — Modern & Elegant */

:root {
  --color-ivory: #faf9f6;
  --color-champagne: #e8e4dc;
  --color-gold: #b8860b;
  --color-gold-light: #d4af37;
  --color-charcoal: #2c2c2c;
  --color-ink: #1a1a1a;
  --color-muted: #6b6b6b;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --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: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-ivory);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--color-gold);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.03em; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-champagne);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-list a {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-charcoal);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-gold);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 1.5rem 80px;
  background: var(--color-ink);
  color: var(--color-ivory);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 0.6s ease;
}

.hero-video.is-playing video {
  opacity: 0.5;
}

.hero-bg::after,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(26,26,26,0.4) 0%, rgba(26,26,26,0.88) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.hero .tagline {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--color-ivory);
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 2px solid var(--color-gold-light);
  color: var(--color-gold-light);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  background: var(--color-gold-light);
  color: var(--color-ink);
  border-color: var(--color-gold-light);
}

.btn-primary {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-ivory);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-ink);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-head .label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* Image grid / gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery--index {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery--index .gallery-item--featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 320px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-champagne);
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ivory);
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .gallery--index {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery--index .gallery-item--featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/10;
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .gallery--index {
    grid-template-columns: 1fr;
  }
  .gallery--index .gallery-item--featured {
    grid-column: span 1;
  }
}

/* Two-column with image */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.two-col .image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-champagne);
}

.two-col .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-col .content h2 {
  margin-bottom: 1rem;
}

.two-col .content p {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

/* CTA strip */
.cta-strip {
  background: var(--color-charcoal);
  color: var(--color-ivory);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-strip h2 {
  color: var(--color-ivory);
  margin-bottom: 0.5rem;
}

.cta-strip p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: var(--color-ivory);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-nav a:hover {
  color: var(--color-gold-light);
}

.footer-contact {
  text-align: right;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-contact a {
  color: var(--color-gold-light);
}

.copyright {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Page title (inner pages) */
.page-hero {
  padding: 140px 1.5rem 4rem;
  background: var(--color-champagne);
  text-align: center;
  position: relative;
}

.page-hero--contact {
  background: var(--color-charcoal);
}

.page-hero--contact .page-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/msndesign1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
}

.page-hero--contact .page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
}

.page-hero__text-wrap {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 90%;
  padding: 1.75rem 2.5rem;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 8px;
  text-align: center;
}

.page-hero--contact h1,
.page-hero--contact .sub,
.page-hero--about h1,
.page-hero--about .sub {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-hero--contact h1,
.page-hero--about h1 {
  color: #fff;
  font-weight: 600;
}

.page-hero--contact .sub,
.page-hero--about .sub {
  color: #f5f4f0;
}

.page-hero--about {
  background: var(--color-charcoal);
}

.page-hero--about .page-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/msndesign2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
}

.page-hero--about .page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
}

.page-hero h1 {
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.page-hero .sub {
  font-size: 1rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h3 {
  margin-bottom: 1rem;
  color: var(--color-ink);
}

.contact-info p,
.contact-info a {
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.contact-info a:hover {
  color: var(--color-gold);
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-champagne);
  background: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* About page content */
.about-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
  padding: 0 1.5rem;
}

.about-intro p {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.about-founder {
  padding: 4rem 0;
}

.about-founder .two-col .content .label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.about-founder .two-col .content h2 {
  margin-bottom: 1rem;
}

.about-founder .two-col .content p {
  margin-bottom: 1rem;
}

/* Services / highlights */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 4rem 1.5rem;
  background: var(--color-champagne);
}

.highlight-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.highlight-card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-ink);
}

.highlight-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ========== Fully responsive ========== */

@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .two-col {
    padding: 0 1.25rem;
    gap: 3rem;
  }
  .highlights {
    padding: 3rem 1.25rem;
    gap: 1.5rem;
  }
  .cta-strip {
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 72px;
    padding: 0 1rem;
  }
  .logo {
    font-size: 1.15rem;
    letter-spacing: 0.06em;
  }
  .nav-list {
    gap: 1.25rem;
  }
  .nav-list a {
    font-size: 0.8rem;
  }
  .hero {
    padding: 100px 1rem 60px;
    min-height: 100vh;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero .tagline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.75rem);
  }
  .hero .lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.8rem;
  }
  .page-hero {
    padding: 100px 1rem 3rem;
  }
  .page-hero__text-wrap {
    padding: 1.25rem 1.5rem;
    max-width: 95%;
  }
  .page-hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  .page-hero .sub {
    font-size: 0.9rem;
  }
  .section-head {
    margin-bottom: 2rem;
  }
  .section-head h2 {
    font-size: clamp(1.6rem, 5vw, 2.25rem);
  }
  .section-head p {
    font-size: 0.95rem;
  }
  .contact-grid {
    padding: 0 1rem 3rem;
    gap: 2.5rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .footer-contact {
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .copyright {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 68px;
  }
  .logo {
    font-size: 1rem;
  }
  .nav-list {
    gap: 1rem;
  }
  .nav-list a {
    font-size: 0.75rem;
  }
  .hero {
    padding: 90px 0.75rem 50px;
  }
  .hero .tagline {
    letter-spacing: 0.15em;
  }
  .page-hero {
    padding: 90px 0.75rem 2.5rem;
  }
  .page-hero__text-wrap {
    padding: 1rem 1.25rem;
  }
  .section {
    padding: 2.5rem 0;
  }
  .highlights {
    grid-template-columns: 1fr;
    padding: 2.5rem 1rem;
  }
  .highlight-card {
    padding: 1.5rem 1rem;
  }
  .cta-strip {
    padding: 2.5rem 1rem;
  }
  .cta-strip h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .about-founder {
    padding: 2.5rem 0;
  }
  .two-col {
    padding: 0 1rem;
    gap: 2rem;
  }
  .two-col .image-wrap {
    aspect-ratio: 4/3;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 0.75rem 0.9rem;
  }
  .contact-form textarea {
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 0.75rem;
  }
  .logo {
    font-size: 0.9rem;
  }
  .nav-list {
    gap: 0.75rem;
  }
  .nav-list a {
    font-size: 0.7rem;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .page-hero h1 {
    font-size: 1.6rem;
  }
  .gallery {
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .gallery--index {
    gap: 0.75rem;
  }
  .btn {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1rem;
  }
  .container {
    padding: 0 0.75rem;
  }
}
