/* MK ORBIS - Global Natural Stone Supply - Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Brand Color Tokens matching uploaded MK Orbis logo */
  --navy-deep: #081326;
  --navy-primary: #0A192F;
  --navy-surface: #0E2340;
  --navy-light: #162E52;
  --navy-border: rgba(14, 35, 64, 0.15);
  
  --gold-primary: #C5A059;
  --gold-bright: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #8A6B27;
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 40%, #C5A059 70%, #9E7A31 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --bg-cream: #FAF9F6;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  --font-serif: 'Cinzel', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 25, 47, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 25, 47, 0.12);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.2);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-primary);
  line-height: 1.25;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Luxury Gold Text Gradient */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--gold-bright);
}

.bg-navy {
  background-color: var(--navy-primary);
  color: var(--text-light);
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--text-light);
}

/* Header & Top Notification Bar */
.top-bar {
  background-color: var(--navy-deep);
  color: rgba(248, 250, 252, 0.85);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.top-bar-item svg {
  color: var(--gold-bright);
}

/* Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* Logo Styling */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.brand-logo-svg {
  height: 52px;
  width: auto;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu for Natural Stones */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--navy-surface);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.dropdown-item:hover {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--gold-bright);
  padding-left: 1.5rem;
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
  filter: brightness(1.08);
}

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

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #FFFFFF;
}

.btn-navy {
  background: var(--navy-primary);
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-navy:hover {
  background: var(--navy-surface);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 19, 38, 0.95) 0%, rgba(10, 25, 47, 0.88) 100%),
              url('assets/images/marble.jpg') center/cover no-repeat;
  padding: 6rem 0 7rem;
  color: var(--text-light);
  overflow: hidden;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-bright);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(248, 250, 252, 0.85);
  font-weight: 400;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Category Quick Filter Pills */
.hero-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-pill {
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-pill:hover, .hero-pill.active {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border-color: var(--gold-bright);
  font-weight: 700;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* 5 Category Section Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Premium Category Card */
.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--gold-bright);
}

.category-card-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-card-img {
  transform: scale(1.08);
}

.category-card-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-bright);
  color: var(--gold-bright);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 0.9rem;
}

.category-card-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.category-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-card-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.category-card-tagline {
  color: var(--gold-dark);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.category-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.spec-chip {
  background: rgba(10, 25, 47, 0.05);
  border: 1px solid rgba(10, 25, 47, 0.1);
  color: var(--navy-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.category-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.link-explore {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.category-card:hover .link-explore {
  color: var(--gold-dark);
}

/* Individual Variety Stone Card */
.stone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.variety-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 25, 47, 0.1);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
}

.variety-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-bright);
}

.variety-color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
  margin-bottom: 0.75rem;
}

.variety-title {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.variety-origin {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.variety-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.variety-meta-table {
  width: 100%;
  font-size: 0.78rem;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
}

.variety-meta-table td {
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.variety-meta-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
}

.variety-meta-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy-primary);
}

/* Why MKORBIS Export Features */
.features-section {
  background-color: var(--navy-primary);
  color: var(--text-light);
  padding: 5.5rem 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-fast);
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-bright);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.feature-desc {
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.9rem;
}

/* Available For Audience Grid */
.audience-section {
  padding: 5rem 0;
  background: var(--bg-cream);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.audience-card:hover {
  border-color: var(--gold-bright);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.audience-icon-wrap {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-primary);
}

/* Interactive Modal Drawer for Export Quote */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 19, 38, 0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold-bright);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  transform: scale(0.92);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-window {
  transform: scale(1);
}

.modal-header {
  background: var(--navy-primary);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold-bright);
}

.modal-title {
  color: #FFFFFF;
  font-size: 1.4rem;
}

.modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--gold-bright);
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border: 1px solid rgba(10, 25, 47, 0.2);
  border-radius: var(--radius-sm);
  background-color: var(--bg-cream);
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-bright);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Footer Setup */
.main-footer {
  background: var(--navy-deep);
  color: rgba(248, 250, 252, 0.8);
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--gold-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-title {
  color: var(--gold-bright);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.footer-brand-sub {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-bright);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--gold-bright);
  padding-left: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  color: #FFFFFF;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 99;
  font-size: 1.75rem;
  transition: var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--navy-primary);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 2px solid var(--gold-bright);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
