/* ==========================================================================
   SYTIQ TECHNOLOGIES PRIVATE LIMITED - SIDE-BY-SIDE EDITORIAL SECTION STYLES
   ========================================================================== */

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

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --bg-main: #F6F4EF;
  --bg-subtle: #EFECE6;
  --bg-surface: #FFFFFF;
  --bg-card-warm: #FBF9F5;
  --bg-dark-accent: #1C1917;

  --text-main: #1C1816;
  --text-muted: #666059;
  --text-light: #948E85;
  --brand-accent: #8C6239;

  --border-hairline: rgba(28, 24, 22, 0.12);
  --border-subtle: #E6E1D7;
  --border-dark: #38322E;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-editorial: 0 15px 35px -10px rgba(28, 24, 22, 0.06);
  --shadow-hover: 0 25px 50px -15px rgba(28, 24, 22, 0.12);

  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::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-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fluid Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-main);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  word-wrap: break-word;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-accent);
}

.meta-label {
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

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

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

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section-header-editorial {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-header-editorial.center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Dedicated Side-by-Side Grid */
.editorial-side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

/* Buttons */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: 1px solid var(--text-main);
  background: var(--text-main);
  color: var(--bg-main);
  text-decoration: none;
  white-space: nowrap;
}

.btn-editorial:hover {
  background: transparent;
  color: var(--text-main);
  transform: translateY(-2px);
}

.link-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-main);
  border-bottom: 1px solid var(--text-main);
  padding-bottom: 0.3rem;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.link-editorial:hover {
  color: var(--brand-accent);
  border-color: var(--brand-accent);
  gap: 0.9rem;
}

/* Top Announcement Ticker */
.top-bar {
  background: var(--bg-dark-accent);
  color: #D6D0C7;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  transition: all var(--transition-smooth);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-editorial {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
}

.brand-logo-editorial span {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brand-accent);
  text-transform: uppercase;
}

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

.nav-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  padding: 0.4rem 0;
  position: relative;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-main);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

/* Mobile Side Drawer & Overlay */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-hairline);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 2rem;
  overflow-y: auto;
}

.mobile-side-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-main);
  cursor: pointer;
}

.drawer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.drawer-nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
}

.drawer-nav-link.active, .drawer-nav-link:hover {
  color: var(--brand-accent);
}

/* Full-Bleed Hero Background Slider */
.hero-fullbleed {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-hairline);
  padding: 5rem 0;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 8s ease-out;
  transform: scale(1.05);
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(246, 244, 239, 0.96) 0%, 
    rgba(246, 244, 239, 0.88) 50%, 
    rgba(246, 244, 239, 0.65) 100%
  );
  z-index: 2;
}

.hero-content-relative {
  position: relative;
  z-index: 3;
  max-width: 780px;
}

.hero-title-editorial {
  margin-bottom: 1.5rem;
}

.hero-desc-editorial {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 2.5rem;
  max-width: 660px;
}

.bg-slider-controls {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-hairline);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-editorial);
}

.bg-slider-caption {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-main);
}

.bg-slider-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bg-slider-btn {
  background: none;
  border: 1px solid var(--border-hairline);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.1rem;
  transition: all var(--transition-smooth);
}

.bg-slider-btn:hover {
  background: var(--text-main);
  color: var(--bg-main);
}

.bg-slider-dots {
  display: flex;
  gap: 0.4rem;
}

.bg-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.bg-slider-dot.active {
  background: var(--brand-accent);
  width: 24px;
  border-radius: 10px;
}

/* Framed Editorial Visuals */
.editorial-img-frame {
  background: var(--bg-surface);
  padding: 1.25rem;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-editorial);
  position: relative;
  width: 100%;
}

.editorial-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.editorial-img-caption {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Numbered Gallery Grid */
.editorial-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 2rem 1.75rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.editorial-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-main);
  box-shadow: var(--shadow-hover);
}

.card-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 1.25rem;
}

/* Stats Counter Bar */
.editorial-stats-bar {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  background: var(--bg-card-warm);
}

.editorial-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item-editorial {
  border-left: 1px solid var(--border-hairline);
  padding-left: 1.25rem;
}

.stat-number-editorial {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 300;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label-editorial {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Matrix Containers */
.matrix-editorial-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-editorial);
}

.matrix-editorial-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card-warm);
  flex-wrap: wrap;
  gap: 1rem;
}

.matrix-editorial-grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) );
  gap: 1.75rem;
  padding: 2rem;
}

.matrix-editorial-box {
  border-left: 2px solid var(--brand-accent);
  padding-left: 1.25rem;
}

.tag-editorial {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--bg-main);
  border: 1px solid var(--border-hairline);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

/* Tabs & Accordions */
.tab-navigation-editorial {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 0.75rem;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn-editorial {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  padding: 0.5rem 0;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-smooth);
}

.tab-btn-editorial.active, .tab-btn-editorial:hover {
  color: var(--text-main);
}

.tab-btn-editorial.active::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-main);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.accordion-header {
  padding: 1.25rem 1.75rem;
  background: var(--bg-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.accordion-header:hover {
  background: var(--bg-card-warm);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth);
  shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.75rem 1.5rem 1.75rem;
  display: none;
  color: var(--text-muted);
  line-height: 1.7;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* Forms */
.form-editorial-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-editorial);
  width: 100%;
}

.form-editorial-control {
  width: 100%;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid var(--border-hairline);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-smooth);
}

.form-editorial-control:focus {
  outline: none;
  border-bottom-color: var(--text-main);
}

/* Footer */
.footer-editorial {
  background: var(--bg-dark-accent);
  color: #D6D0C7;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-editorial-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-editorial h4 {
  color: #FFFFFF;
  font-size: 0.825rem;
  margin-bottom: 1.5rem;
}

.footer-editorial-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-editorial-link {
  color: #A39B90;
  font-size: 0.875rem;
  transition: color var(--transition-smooth);
}

.footer-editorial-link:hover {
  color: #FFFFFF;
}

.footer-editorial-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8C8479;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .editorial-side-by-side { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-fullbleed { min-height: auto; padding: 4rem 0; }
  .bg-slider-controls { bottom: 1.5rem; right: 1.5rem; }
  .editorial-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-editorial-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .editorial-cards-grid { grid-template-columns: 1fr; }
  .editorial-stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-item-editorial { border-left: none; border-top: 1px solid var(--border-hairline); padding-left: 0; padding-top: 1rem; }
  .stat-item-editorial:first-child { border-top: none; padding-top: 0; }
  .footer-editorial-grid { grid-template-columns: 1fr; gap: 2rem; }
  .matrix-editorial-grid { grid-template-columns: 1fr; }
  .bg-slider-controls { position: relative; bottom: auto; right: auto; margin-top: 2rem; justify-content: space-between; width: 100%; }
}
