/* =================================================================
   CUOIDEP.COM — LANDING PAGE STYLES (MATCHING USER MOCKUP DESIGN)
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

:root {
  --bg-cream: #FAF7F2;
  --bg-card: #FFFFFF;
  --wine: #732238;
  --wine-dark: #521424;
  --wine-title: #3A0818;
  --wine-light: #FCE8EE;
  --rose: #C04A67;
  --text-main: #4A3E44;
  --text-muted: #7E6C74;
  --border-light: rgba(115, 34, 56, 0.12);
  --shadow-sm: 0 4px 16px rgba(74, 14, 35, 0.05);
  --shadow-md: 0 10px 30px rgba(74, 14, 35, 0.08);
  --shadow-lg: 0 18px 45px rgba(74, 14, 35, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 1. NAVBAR ──────────────────────────────────────────────── */
.main-nav {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(115, 34, 56, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.nav-link:hover {
  color: var(--wine);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-login-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.nav-login-link:hover {
  color: var(--wine);
}

.btn-nav-start {
  background: var(--wine);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(115, 34, 56, 0.25);
}

.btn-nav-start:hover {
  background: var(--wine-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(115, 34, 56, 0.35);
}

/* ── 2. HERO SECTION ────────────────────────────────────────── */
.hero-section {
  padding: 48px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 48px;
}

.hero-left {
  max-width: 500px;
}

.hero-badge-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 35px;
  line-height: 1.25;
  color: var(--wine-title);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--wine);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(115, 34, 56, 0.3);
}

.btn-hero-primary:hover {
  background: var(--wine-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(115, 34, 56, 0.4);
}

.btn-hero-outline {
  background: #fff;
  color: var(--wine);
  border: 1.5px solid var(--wine);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-hero-outline:hover {
  background: var(--wine-light);
  transform: translateY(-1px);
}

.hero-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup-wrap {
  width: 100%;
  max-width: 580px;
  position: relative;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(74, 14, 35, 0.12);
  transition: transform 0.3s ease;
}

.hero-mockup-img:hover {
  transform: translateY(-3px);
}

/* ── 3. THREE VALUE PILLARS ROW ─────────────────────────────── */
.pillars-section {
  padding: 24px 0 60px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid rgba(115, 34, 56, 0.1);
  border-bottom: 1px solid rgba(115, 34, 56, 0.1);
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pillar-icon {
  font-size: 32px;
  color: var(--wine);
  line-height: 1;
  flex-shrink: 0;
}

.pillar-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--wine-title);
  margin-bottom: 3px;
}

.pillar-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── 4. PROCESS STEPS (MỘT KẾ HOẠCH, CÙNG NHAU CHUẨN BỊ) ────── */
.process-section {
  padding: 60px 0 80px;
  text-align: center;
}

.section-title-serif {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  color: var(--wine-title);
  font-weight: 700;
  margin-bottom: 48px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(115, 34, 56, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--wine);
  background: #fff;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--wine-title);
  margin-bottom: 5px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-divider-line {
  width: 60px;
  height: 1px;
  background: rgba(115, 34, 56, 0.2);
  margin: 0 10px;
}

/* ── 5. WEDDING CARDS COLLECTION ────────────────────────────── */
.collection-section {
  padding: 20px 0 70px;
}

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.collection-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--wine-title);
  font-weight: 700;
  margin-bottom: 4px;
}

.collection-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.collection-view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.collection-view-all:hover {
  text-decoration: underline;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-product {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(115, 34, 56, 0.08);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  background: #f0ebe4;
}

.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-product:hover .card-thumb-wrap img {
  transform: scale(1.04);
}

.card-info {
  padding: 14px 12px;
  text-align: center;
}

.card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--wine-title);
  margin-bottom: 6px;
}

.card-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.card-link:hover {
  text-decoration: underline;
}

/* ── 6. BOTTOM CTA BANNER ───────────────────────────────────── */
.cta-banner-section {
  padding: 30px 0 60px;
}

.cta-banner-box {
  background: var(--wine);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  position: relative;
  box-shadow: 0 12px 35px rgba(115, 34, 56, 0.25);
}

.cta-banner-left {
  height: 96px;
  width: 220px;
  flex-shrink: 0;
  position: relative;
}

.cta-banner-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-banner-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(115, 34, 56, 0) 0%, rgba(115, 34, 56, 0.8) 70%, var(--wine) 100%);
}

.cta-banner-center {
  flex: 1;
  padding: 0 24px;
}

.cta-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #fff;
  font-weight: 600;
}

.cta-banner-right {
  padding-right: 32px;
}

.btn-cta-white-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cta-white-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-1px);
}

/* ── 7. FOOTER ──────────────────────────────────────────────── */
.main-footer {
  padding: 24px 0 36px;
  border-top: 1px solid rgba(115, 34, 56, 0.08);
  text-align: center;
}

.footer-addr {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(126, 108, 116, 0.7);
  margin-top: 6px;
}

/* ── 8. PRINT ORDER FORM & MODALS ──────────────────────────── */
.btn-print-order-nav {
  background: rgba(115, 34, 56, 0.08);
  color: var(--wine);
  border: 1.5px solid rgba(115, 34, 56, 0.22);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.btn-print-order-nav:hover {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(115, 34, 56, 0.25);
}

.btn-print-order-nav i {
  font-size: 15px;
}

/* Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 8, 16, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.modal-card {
  background: #fff;
  border-radius: 24px;
  max-width: 740px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  border: 1px solid rgba(115, 34, 56, 0.12);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal-card::-webkit-scrollbar {
  width: 6px;
}
.modal-card::-webkit-scrollbar-track {
  background: #FAF7F2;
}
.modal-card::-webkit-scrollbar-thumb {
  background: #E5D5D8;
  border-radius: 10px;
}
.modal-card::-webkit-scrollbar-thumb:hover {
  background: var(--wine);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #eee;
  color: #555;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.modal-close:hover {
  background: #f3f4f6;
  color: var(--wine);
  transform: rotate(90deg);
}

/* Print Form Sections */
.print-form-section {
  background: #fff;
  border: 1px solid #f0e6e8;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.print-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--wine-title);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.print-section-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.print-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.print-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.print-field:last-child {
  margin-bottom: 0;
}

.print-field label {
  font-size: 12px;
  font-weight: 600;
  color: #4A333E;
}

.print-field .req {
  color: #dc2626;
  font-weight: 700;
}

.print-field input,
.print-field select,
.print-field textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #e5d9dc;
  border-radius: 10px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  background: #faf7f8;
  transition: all 0.2s;
  box-sizing: border-box;
}

.print-field input:focus,
.print-field select:focus,
.print-field textarea:focus {
  border-color: var(--wine);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(115, 34, 56, 0.12);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-left {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-btn-group {
    justify-content: center;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-divider-line {
    display: none;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner-box {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 20px;
  }
  .cta-banner-left {
    display: none;
  }
  .cta-banner-right {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-right {
    gap: 10px;
  }
  #admin-nav-actions {
    gap: 6px !important;
  }
  #btn-nav-admin-plan, #btn-nav-admin-badge {
    padding: 6px 9px !important;
    font-size: 11px !important;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .print-grid-2 {
    grid-template-columns: 1fr;
  }
  .btn-print-order-nav span.text-long {
    display: none;
  }
}

