/* ============================================================
   FabFashion — Premium B2B Textile Website
   Shared Design System & Component Styles
   ============================================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Montserrat:wght@300;400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --gold:         #C9A84C;
  --gold-light:   #E8D5A3;
  --gold-dark:    #9A7A2E;
  --cream:        #FDFAF5;
  --warm-white:   #F5F0E8;
  --dark:         #1A1410;
  --text:         #3D2F1E;
  --text-light:   #7A6654;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold:  0 8px 32px rgba(201,168,76,0.25);
  --shadow-card:  0 4px 24px rgba(26,20,16,0.12);
  --radius:       16px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.8;
  margin-top: 1rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .section-desc { margin: 1rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.75rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.4);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ---------- Layout Utilities ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(253,250,245,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.7rem 0;
  box-shadow: 0 2px 24px rgba(26,20,16,0.08);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
#nav-logo-img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}
.scrolled #nav-logo-img {
  height: 45px;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  position: relative;
  transition: color var(--transition);
  padding-bottom: 4px;
}
#navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--gold) !important; }
.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(253,250,245,0.98);
  backdrop-filter: blur(16px);
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
  cursor: pointer;
  
  opacity: 0.9;
  transition: opacity var(--transition);
}
.footer-logo:hover { opacity: 1; }
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--gold);
}
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-feature-item {
  margin-bottom: 1.25rem;
}
.footer-feature-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.footer-feature-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}
.footer-secret-dot {
  position: absolute;
  right: 2rem;
  width: 8px; height: 8px;
  opacity: 0;
  cursor: pointer;
}

/* ============================================================
   PAGE HERO BANNER (Inner Pages)
   ============================================================ */
.page-hero {
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,20,16,0.7) 0%, rgba(26,20,16,0.5) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 1rem;
}
.page-hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
}

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
#hero {
  height: 100vh;
  min-height: 600px;
  background: url('images/hero_fabric.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(26,20,16,0.82) 0%, rgba(26,20,16,0.5) 55%, rgba(26,20,16,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 2rem;
  margin-left: max(2rem, calc((100vw - 1240px)/2));
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.4s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 520px;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.6s forwards;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.8s forwards;
}
.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 1s forwards;
}
.hero-badge {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-badge span { color: var(--gold); font-size: 1rem; }
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 1.2s forwards;
  z-index: 2;
}
.scroll-hint-text {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.scroll-hint-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  padding: 0 2.5rem;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   COLLECTIONS / STACKING CARDS
   ============================================================ */
#collections { background: var(--cream); }
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
  position: sticky;
  top: 80px;
  z-index: 50;
  background: var(--cream);
  padding: 1rem 0;
}
.filter-pill {
  padding: 0.5rem 1.4rem;
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--gold);
  color: #fff;
}
.stacking-cards-container {
  position: relative;
}
.fabric-card {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 42% 58%;
  background: var(--cream);
  overflow: hidden;
  transition: opacity 0.4s ease;
}
.fabric-card.hidden { display: none; }
.fabric-card-image {
  position: relative;
  overflow: hidden;
}
.fabric-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.fabric-card:hover .fabric-card-image img { transform: scale(1.03); }
.fabric-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
}
.fabric-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 60px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  align-self: flex-start;
}
.fabric-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.fabric-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.25rem;
}
.fabric-meta-item label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}
.fabric-meta-item span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.fabric-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 460px;
}
.card-number {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 300;
  color: rgba(201,168,76,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   NEW RANGE SECTION
   ============================================================ */
#new-range {
  background: var(--dark);
  color: #fff;
}
#new-range .section-title { color: #fff; }
#new-range .section-desc { color: rgba(255,255,255,0.65); }
.new-range-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}
.new-range-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.new-range-badge {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 60px;
}
.feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.feature-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
#stats-strip {
  background: var(--warm-white);
  border-top: 2px solid rgba(201,168,76,0.3);
  border-bottom: 2px solid rgba(201,168,76,0.3);
  padding: 4rem 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 2rem 3rem;
}
.stat-item:not(:last-child) {
  border-right: 1px solid rgba(201,168,76,0.3);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number sup {
  font-size: 0.5em;
  vertical-align: super;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about-section .section-desc { max-width: 520px; }
.about-text p:not(:last-child) { margin-bottom: 1.25rem; }
.about-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.about-logo-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 80px; height: 80px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  padding: 0.75rem;
}
.about-logo-badge img { width: 100%; height: 100%; object-fit: contain; }

/* ============================================================
   CLIENT LOGOS
   ============================================================ */
#clients { background: var(--warm-white); }
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.client-logo-box {
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  transition: var(--transition);
  min-height: 100px;
}
.client-logo-box:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}
.client-logo-box img {
  max-height: 50px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}
.client-logo-box:hover img { filter: grayscale(0); opacity: 1; }
.client-placeholder {
  width: 80px; height: 40px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.08));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   MISSION / COMPETENCIES / VISION
   ============================================================ */
#mission { background: var(--cream); }
.mission-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26,20,16,0.15);
}
.mission-card-image {
  height: 200px;
  overflow: hidden;
}
.mission-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mission-card:hover .mission-card-image img { transform: scale(1.05); }
.mission-card-body {
  padding: 1.75rem;
}
.mission-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}
.mission-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================================
   DIRECTORS
   ============================================================ */
#directors { background: var(--warm-white); }
.director-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.director-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26,20,16,0.15);
}
.director-avatar {
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  margin: 0 auto 1.5rem;
  display: block;
  object-fit: cover;
  background: #fff;
}
.director-avatar-placeholder {
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
}
.director-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.director-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.director-bio {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   GALLERY
   ============================================================ */
#gallery { background: var(--dark); }
#gallery .section-title,
#gallery .eyebrow { color: #fff; }
#gallery .eyebrow { color: var(--gold); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.gallery-item:nth-child(1),
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:nth-child(1) img,
.gallery-item:nth-child(5) img { height: 360px; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,20,16,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 0.5rem 1.25rem;
  border-radius: 60px;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--cream); overflow: hidden; }
.testimonials-track-wrap {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.testimonials-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.5s ease;
  will-change: transform;
}
.testimonial-card {
  min-width: 360px;
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
  border-left: 3px solid var(--gold);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  font-family: var(--font-display);
}
.testimonial-author-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.testimonial-author-info span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact-section { background: var(--warm-white); }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contact-info-item strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.contact-info-item span,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */
#newsletter {
  background: var(--dark);
  text-align: center;
  padding: 5rem 2rem;
}
.newsletter-logo { height: 100px;
  margin: 0 auto 1.5rem;
  
  opacity: 0.9;
}
#newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #fff;
  font-weight: 300;
  margin-bottom: 0.75rem;
}
#newsletter p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 60px;
  border: 1.5px solid rgba(201,168,76,0.4);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--gold); }

/* ============================================================
   WHY US PAGE
   ============================================================ */
.success-card {
  border-left: 4px solid var(--gold);
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  max-width: 720px;
}
.success-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,20,16,0.12); }
.success-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

#why-choose { background: var(--warm-white); }
.why-intro {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 680px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.tabs-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 60px;
  border: 2px solid var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--gold);
  color: #fff;
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  max-width: 680px;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

#excellence { background: var(--cream); }
.excellence-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.excellence-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26,20,16,0.12);
}
.excellence-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}
.excellence-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.excellence-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================================
   INFRASTRUCTURE PAGE
   ============================================================ */
#high-tech { background: var(--cream); }
.infra-text-block {
  max-width: 860px;
  margin: 0 auto;
}
.infra-text-block p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.75rem;
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.facility-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.facility-item img {
  width: 100%; height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.facility-item:hover img { transform: scale(1.06); }
.facility-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,20,16,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.facility-overlay span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.15em;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 0.45rem 1.1rem;
  border-radius: 60px;
}
.facility-item:hover .facility-overlay { opacity: 1; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.map-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--warm-white), var(--cream));
  border-radius: 12px;
  border: 1.5px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2rem;
  flex-direction: column;
  gap: 0.5rem;
}
.map-placeholder span:first-child { font-size: 2rem; }
.map-placeholder span:last-child {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
body.admin-body {
  background: #f0ede8;
  min-height: 100vh;
}
.admin-login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
}
.login-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 3rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.3);
}
.login-card .logo-wrap {
  text-align: center;
  margin-bottom: 2rem;
}
.login-card .logo-wrap img { height: 48px; margin: 0 auto 0.75rem; }
.login-card .logo-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 400;
}
.login-card .logo-wrap p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}
#admin-dashboard {
  display: none;
  min-height: 100vh;
}
.admin-sidebar {
  width: 240px;
  min-height: 100vh;
  background: var(--dark);
  padding: 2rem 0;
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
}
.admin-sidebar-logo {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  margin-bottom: 1.5rem;
}
.admin-sidebar-logo img { height: 36px;  }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover,
.admin-nav-item.active {
  color: var(--gold-light);
  background: rgba(201,168,76,0.08);
  border-left-color: var(--gold);
}
.admin-nav-item .nav-icon { font-size: 1rem; }
.admin-main {
  margin-left: 240px;
  padding: 2.5rem;
  min-height: 100vh;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.admin-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
}
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 0.85rem;
}
.admin-table thead { background: var(--dark); }
.admin-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.admin-table tbody tr { border-bottom: 1px solid rgba(201,168,76,0.1); }
.admin-table tbody tr:hover { background: rgba(201,168,76,0.04); }
.admin-table tbody td {
  padding: 1rem 1.25rem;
  color: var(--text);
  vertical-align: top;
}
.admin-table .unread { font-weight: 600; color: var(--gold-dark); }
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 60px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-unread { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.status-read { background: rgba(100,160,100,0.12); color: #3a7a3a; }
.status-admin { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.status-viewer { background: rgba(100,100,180,0.12); color: #4040a0; }
.btn-action {
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  margin-right: 0.25rem;
}
.btn-read { background: rgba(100,160,100,0.15); color: #2a6a2a; }
.btn-read:hover { background: rgba(100,160,100,0.3); }
.btn-delete { background: rgba(200,60,60,0.12); color: #9a2020; }
.btn-delete:hover { background: rgba(200,60,60,0.25); }
.btn-edit { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.btn-edit:hover { background: rgba(201,168,76,0.3); }
.add-btn-row { margin-bottom: 1.5rem; }
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.admin-stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--gold);
}
.admin-stat-card .stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.admin-stat-card .stat-lbl {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.log-entry {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(26,20,16,0.06);
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.log-time {
  font-size: 0.72rem;
  color: var(--text-light);
  white-space: nowrap;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast-success { background: #1a3a1a; color: #6dca6d; border-left: 3px solid #4caf4c; }
.toast-error { background: #3a1a1a; color: #e07070; border-left: 3px solid #c04040; }
.toast-gold { background: var(--dark); color: var(--gold-light); border-left: 3px solid var(--gold); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,20,16,0.7);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none; border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}
.modal-close:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { gap: 2.5rem; }
  .fabric-card { height: auto; position: relative; grid-template-columns: 1fr; }
  .fabric-card-image img { height: 300px; }
  .fabric-card-content { padding: 2.5rem 2rem; }
  .card-number { display: none; }
  .admin-stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero-content { margin-left: 0; padding: 0 1.5rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.5rem; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) { grid-column: span 2; }
  .stats-inner { flex-direction: column; gap: 0; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(201,168,76,0.3); }
  .stat-item:last-child { border-bottom: none; }
  .testimonial-card { min-width: 300px; }
  .newsletter-form { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .admin-sidebar { width: 200px; }
  .admin-main { margin-left: 200px; padding: 1.5rem; }
  .admin-stats-row { grid-template-columns: 1fr 1fr; }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
  .filter-bar { top: 68px; }
  .tabs-nav { flex-direction: column; }
  .tab-btn { width: fit-content; }
}

@media (max-width: 480px) {
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) { grid-column: span 1; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Image Rotator */
.image-rotator {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-color);
}
.image-rotator img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.image-rotator img.active {
  opacity: 1;
}

/* Lightbox Gallery */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9); z-index: 9999;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); transform: scale(0.95); transition: transform 0.3s ease; }
.lightbox.active img { transform: scale(1); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; line-height: 1; z-index: 10000; transition: color 0.3s; }
.lightbox-close:hover { color: var(--gold); }

/* Prevent Image Copying in Gallery */
.facility-item img, .lightbox img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-select: none;
}
