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

:root {
  --navy: #0d1b3e;
  --navy-dark: #080f22;
  --navy-light: #1e2f55;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --gold-pale: #f5f0e0;
  --white: #ffffff;
  --cream: #f8f6f0;
  --text-primary: #0d1b3e;
  --text-secondary: #4a5568;
  --text-muted: #8a99ad;
  --border: #e8d9a0;
  --success: #25D366;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 8px rgba(13,27,62,0.08);
  --shadow-md: 0 4px 16px rgba(13,27,62,0.12);
  --shadow-lg: 0 8px 32px rgba(13,27,62,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.25s ease;
}

body {
  background-color: var(--navy-dark);
  font-family: var(--font-body);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

/* App Container - Centered Mobile Shell */
.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--cream);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 75px; /* space for sticky bottom nav */
}

/* Typography */
h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}

p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  min-height: 56px;
}

.logo-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.header-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
  display: block;
}

.header-icons {
  display: flex;
  gap: 16px;
  color: var(--gold-light);
  font-size: 1.25rem;
}

.header-icon-btn {
  cursor: pointer;
  position: relative;
}

.header-icon-btn:hover {
  color: var(--white);
  transform: scale(1.1);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 480px; /* Match app shell */
  height: 64px;
  background-color: var(--navy);
  border-top: 2px solid var(--gold);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 99;
  box-shadow: 0 -4px 20px rgba(8,15,34,0.3);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  gap: 4px;
  cursor: pointer;
  flex: 1;
  height: 100%;
}

.bottom-nav-item i {
  font-size: 1.2rem;
}

.bottom-nav-item.active {
  color: var(--gold);
  font-weight: 700;
}

.bottom-nav-item:hover {
  color: var(--gold-light);
}

/* Floating WhatsApp Support Button */
.whatsapp-float {
  position: fixed;
  bottom: 80px; /* Above bottom nav */
  right: calc(50% - 240px + 16px); /* Center aligned offset for shell */
  width: 56px;
  height: 56px;
  background-color: var(--success);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 98;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 16px;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(15deg);
  background-color: #20b855;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b8953c);
  color: var(--navy-dark);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold-pale);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--success);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20b855;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-danger {
  background-color: #e53e3e;
  color: var(--white);
}

.btn-danger:hover {
  background-color: #c53030;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-light);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--text-primary);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-verified {
  background-color: rgba(37, 211, 102, 0.15);
  color: #1e9e4b;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.badge-plan-silver {
  background-color: #e2e8f0;
  color: #4a5568;
}

.badge-plan-gold {
  background-color: #fef3c7;
  color: #d97706;
}

.badge-plan-platinum {
  background-color: #e0f2fe;
  color: #0369a1;
}

.badge-plan-diamond {
  background-color: #f472b6;
  color: #9d174d;
}

/* Alerts / Flash Messages */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-success {
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.alert-danger {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

/* Footer Section */
.main-footer {
  background-color: var(--navy-dark);
  padding: 32px 24px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  color: rgba(255, 255, 255, 0.85); /* Always light-colored for contrast */
  margin-top: auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social-btn {
  font-size: 1.25rem;
  color: var(--gold-pale);
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
}

.footer-social-btn.instagram:hover {
  color: #e1306c;
}

.footer-social-btn.facebook:hover {
  color: #1877f2;
}

.footer-social-btn.youtube:hover {
  color: #ff0000;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 24px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--gold-pale);
}

.footer-link:hover {
  color: var(--gold);
}

.footer-disclaimer-box {
  background-color: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.footer-disclaimer-box h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 700;
}

.footer-disclaimer-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
}

/* Micro-Animations & General Styles */
.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hamburger mobile panel styles */
.menu-panel {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background-color: var(--navy);
  z-index: 150;
  box-shadow: 4px 0 20px rgba(0,0,0,0.5);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.menu-panel.open {
  left: calc(50% - 240px);
}

@media (max-width: 480px) {
  .menu-panel.open {
    left: 0;
  }
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding-bottom: 16px;
}

.menu-close {
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-link {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95); /* Always light-colored for contrast */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.menu-link:hover, .menu-link.active {
  color: var(--gold);
}

/* Apparel Specifications Component */
.specs-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid var(--border);
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background-color: var(--cream);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.18);
  padding-bottom: 8px;
}

.spec-row.last {
  border-bottom: none;
  padding-bottom: 2px;
}

.spec-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-label i {
  color: var(--gold);
  width: 14px;
}

.spec-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
}

/* Apparel Specifications - Dark Theme Overrides */
body.theme-dark .spec-label {
  color: var(--text-secondary) !important;
}

body.theme-dark .spec-value {
  color: var(--text-primary) !important;
}


