@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   Design Tokens - Editorial Minimalist / Warm Earth
   ========================================================================== */
:root {
  --color-primary-dark: hsl(158, 45%, 8%);
  --color-primary: hsl(158, 40%, 12%);
  --color-primary-light: hsl(158, 25%, 20%);
  --color-accent: hsl(14, 52%, 48%);       /* Warm Terracotta */
  --color-accent-light: hsl(14, 65%, 58%);
  --color-accent-dark: hsl(14, 50%, 38%);
  
  --color-bg-base: hsl(36, 32%, 96%);        /* Warm Sand/Beige */
  --color-bg-surface: hsl(36, 40%, 98%);
  --color-bg-surface-alt: hsl(36, 20%, 91%);
  
  --color-text: hsl(158, 45%, 10%);
  --color-text-muted: hsl(158, 15%, 38%);
  --color-text-white: hsl(0, 0%, 100%);
  
  --color-border: hsl(158, 30%, 15%);       /* Sharp dark outlines */
  --color-border-light: rgba(11, 60, 42, 0.08);
  
  /* Typography */
  --font-headers: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Shadows - Flat Offset Style */
  --shadow-sm: 2px 2px 0px var(--color-border);
  --shadow-md: 4px 4px 0px var(--color-border);
  --shadow-lg: 8px 8px 0px var(--color-border);
  --shadow-accent-flat: 4px 4px 0px var(--color-accent);
  --shadow-glass: none;

  /* Layout Constants */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius-sm: 0px;                  /* Sharp corners for editorial look */
  --border-radius-md: 0px;
  --border-radius-lg: 0px;
  --border-radius-xl: 0px;
  
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-base);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary-dark);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.08) contrast(1.02);      /* Soft organic grading */
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
}

/* ==========================================================================
   Concept Selector Bar
   ========================================================================== */
.concept-selector-bar {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--color-bg-surface);
  border: 2px solid var(--color-border);
  padding: 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.concept-selector-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary-dark);
  margin-right: 8px;
}

.concept-btn {
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text-muted);
}

.concept-btn:hover {
  color: var(--color-accent);
}

.concept-btn.active {
  background: var(--color-accent);
  color: var(--color-text-white);
  border: 1px solid var(--color-border);
  font-weight: 700;
}

/* ==========================================================================
   Reusable Utilities
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 120px 0;
  position: relative;
  border-bottom: 2px solid var(--color-border);
}

.text-center { text-align: center; }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.section-title span {
  color: var(--color-accent);
}

.section-desc {
  max-width: 600px;
  margin: 0 auto 80px auto;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-headers);
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 2px solid var(--color-border);
  position: relative;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-bg-surface);
  color: var(--color-primary-dark);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
}

.btn-outline:hover {
  background: var(--color-border);
  color: var(--color-bg-base);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--header-height) + 20px);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 2px solid var(--color-border);
  background: var(--color-bg-base);
}

header.scrolled {
  height: var(--header-height);
  background: var(--color-bg-surface);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-top: 20px;
}

header.scrolled .nav-container {
  padding-top: 0;
}

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

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--color-bg-base);
  font-family: var(--font-headers);
}

.nav-logo h1 {
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  font-family: var(--font-headers);
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.75rem;
  display: block;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text);
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--color-border);
  transition: all var(--transition-normal);
}

/* ==========================================================================
   Hero Section - GIANT TYPOGRAPHY & PANORAMA (Completely Different Layout)
   ========================================================================== */
.hero-editorial {
  padding-top: calc(var(--header-height) + 60px);
  border-bottom: 2px solid var(--color-border);
  background: var(--color-bg-base);
  text-align: center;
}

.editorial-header-box {
  padding: 80px 0 60px 0;
}

.hero-editorial h1 {
  font-size: 6rem;
  letter-spacing: -3px;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-editorial h2 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-accent);
  margin-top: 24px;
}

.hero-editorial p {
  max-width: 650px;
  margin: 30px auto 44px auto;
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

.panorama-container {
  width: 100%;
  height: 400px;
  border-top: 2px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.panorama-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panorama-badge {
  position: absolute;
  bottom: 20px;
  right: 24px;
  background: var(--color-bg-surface);
  border: 2px solid var(--color-border);
  padding: 10px 18px;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Compliance & Trust Bar
   ========================================================================== */
.compliance-bar {
  background: var(--color-bg-surface);
  border-bottom: 2px solid var(--color-border);
  padding: 24px 0;
}

.compliance-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compliance-item i {
  font-size: 1.4rem;
  color: var(--color-accent);
}

.compliance-item span {
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--color-primary-dark);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .compliance-container {
    justify-content: center;
    gap: 16px;
  }
  .compliance-item {
    width: 45%;
    justify-content: center;
  }
}

/* ==========================================================================
   Product Showcase - ALTERNATING ROWS (Completely Different Layout)
   ========================================================================== */
.product-showcase-alternate {
  background-color: var(--color-bg-surface);
  padding: 120px 0 0 0;
}

.product-row-alternate {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 100px;
  margin-bottom: 100px;
}

.product-row-alternate:last-child {
  border-bottom: none;
  padding-bottom: 120px;
  margin-bottom: 0;
}

/* Alternate Left/Right */
.product-row-alternate.row-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.product-row-alternate.row-reverse .row-img-box {
  order: 2;
}

.row-img-box {
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.row-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-share-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-accent);
  color: var(--color-text-white);
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-right: 2px solid var(--color-border);
  border-bottom: 2px solid var(--color-border);
}

.row-content h3 {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.row-content p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.row-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.row-spec-item {
  border: 2px solid var(--color-border);
  padding: 16px;
  background: var(--color-bg-base);
  box-shadow: var(--shadow-sm);
}

.row-spec-item h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.row-spec-item p {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   Quality Stepper - NEWSPAPER COLUMNS (Completely Different Layout)
   ========================================================================== */
.quality-newspaper {
  background: var(--color-bg-base);
}

.newspaper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--color-border);
}

.newspaper-col {
  padding: 40px 24px;
  border-right: 2px solid var(--color-border);
  background: var(--color-bg-surface);
}

.newspaper-col:last-child {
  border-right: none;
}

.newspaper-num {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.newspaper-col h4 {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.newspaper-col p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Logistics Bill Of Lading Box
   ========================================================================== */
.shipping-section {
  background: var(--color-bg-surface);
}

.shipping-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.shipping-content h3 {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.shipping-content p {
  color: var(--color-text-muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* Bill of lading card (Layout shift) */
.lading-card {
  border: 2px solid var(--color-border);
  background: var(--color-bg-base);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.lading-card h4 {
  font-size: 1.2rem;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 14px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lading-card h4 span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-accent);
}

.lading-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--color-border);
  padding: 12px 0;
}

.lading-row:last-child {
  border-bottom: none;
}

.lading-row span:first-child {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
}

.lading-row span:last-child {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.map-container {
  position: relative;
  background: var(--color-bg-base);
  border: 2px solid var(--color-border);
  padding: 16px;
  aspect-ratio: 16/10;
}

.map-svg {
  width: 100%;
  height: 100%;
}

.map-bg-land {
  fill: var(--color-bg-surface-alt);
  stroke: var(--color-border);
  stroke-width: 0.5;
}

.map-route-line {
  stroke: var(--color-accent);
  stroke-width: 1.5;
  stroke-dasharray: 4, 4;
  fill: none;
  animation: dashRoute 45s linear infinite;
}

.map-port-dot {
  fill: var(--color-border);
  stroke: var(--color-bg-surface);
  stroke-width: 1.5;
  r: 4.5;
}

.map-port-mumbai {
  fill: var(--color-accent);
  r: 6.5;
}

.map-tooltip {
  position: absolute;
  background: var(--color-border);
  color: var(--color-bg-base);
  padding: 8px 12px;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 100;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

/* ==========================================================================
   RFQ - NATURAL LANGUAGE CONTRACT FORM (Completely Different Layout)
   ========================================================================== */
.rfq-section {
  background: var(--color-bg-base);
}

.nl-form-container {
  border: 2px solid var(--color-border);
  background: var(--color-bg-surface);
  padding: 60px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.nl-form-container h2 {
  font-size: 2.2rem;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.nl-form-body {
  font-family: var(--font-headers);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.2;
  color: var(--color-primary-dark);
}

.nl-input {
  display: inline-block;
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-accent-dark);
  font-family: var(--font-body);
  font-size: 1.25rem;
  padding: 0 10px;
  min-width: 150px;
  text-align: center;
  transition: border-color var(--transition-fast);
}

.nl-input:focus {
  border-color: var(--color-border);
}

select.nl-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: transparent;
}

.nl-submit-box {
  margin-top: 50px;
  text-align: center;
}

.contact-minimal-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  border-top: 2px solid var(--color-border);
  padding-top: 30px;
}

.contact-min-item h5 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.contact-min-item p {
  font-size: 0.9rem;
  font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--color-border);
  color: var(--color-bg-surface-alt);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-about h2 {
  color: var(--color-bg-base);
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-about h2 span {
  color: var(--color-accent);
}

.footer-about p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-links h4,
.footer-newsletter h4 {
  color: var(--color-bg-base);
  font-size: 0.85rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.newsletter-form {
  display: flex;
  margin-top: 16px;
}

.newsletter-form input {
  flex-grow: 1;
  background: var(--color-bg-surface);
  border: 2px solid var(--color-border);
  border-right: none;
  padding: 12px 16px;
  color: var(--color-text);
}

.newsletter-form button {
  background: var(--color-accent);
  color: var(--color-text-white);
  border: 2px solid var(--color-border);
  font-weight: 700;
  padding: 0 20px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.75rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dashRoute {
  to {
    stroke-dashoffset: -1000;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }
  
  .hero-editorial h1 {
    font-size: 4.2rem;
  }
  
  .product-row-alternate, .product-row-alternate.row-reverse, .shipping-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  
  .product-row-alternate.row-reverse .row-img-box {
    order: 0;
  }
  
  .newspaper-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .newspaper-col {
    border-bottom: 2px solid var(--color-border);
  }
  .newspaper-col:nth-child(even) {
    border-right: none;
  }
  .newspaper-col:nth-child(3), .newspaper-col:nth-child(4) {
    border-bottom: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .concept-selector-bar {
    width: 95%;
    justify-content: center;
    padding: 6px 12px;
  }
  
  .concept-selector-title {
    display: none;
  }
  
  .hero-editorial h1 {
    font-size: 2.8rem;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 250px;
    height: calc(100vh - var(--header-height));
    background: var(--color-bg-surface);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    align-items: flex-start;
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border-left: 2px solid var(--color-border);
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  
  .newspaper-grid {
    grid-template-columns: 1fr;
  }
  .newspaper-col {
    border-right: none;
    border-bottom: 2px solid var(--color-border);
  }
  .newspaper-col:last-child {
    border-bottom: none;
  }
  
  .nl-form-container {
    padding: 30px 20px;
  }
  
  .nl-form-body {
    font-size: 1.2rem;
    line-height: 1.8;
  }
  
  .nl-input {
    min-width: 100%;
    text-align: left;
    margin: 8px 0;
  }
  
  .contact-minimal-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
