/* ==========================================================================
   AL SHARHAN — INTEGRATED COMPANY FOR GENERAL TRADING
   Official Brand Stylesheet & Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- 1. CSS Custom Properties / Design Tokens --- */
:root {
  /* Brand Color Palette */
  --color-brand-red: #A9161D;
  --color-burgundy-deep: #741014;
  --color-burgundy-dark: #4B0B10;
  --color-charcoal: #252525;
  --color-warm-white: #F7F5F2;
  --color-pure-white: #FFFFFF;
  --color-soft-grey: #E9E7E4;
  --color-steel-grey: #687078;
  --color-light-steel: #8D96A0;
  --color-muted-border: #E2DFDA;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-subheading: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', 'Cairo', serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(37, 37, 37, 0.04);
  --shadow-md: 0 10px 30px rgba(37, 37, 37, 0.08);
  --shadow-lg: 0 20px 50px rgba(37, 37, 37, 0.12);
  --shadow-burgundy: 0 14px 36px rgba(75, 11, 16, 0.28);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1240px;
  --container-wide: 1380px;
  --header-height: 86px;
}

/* --- 2. CSS Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-pure-white);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-brand-red);
  color: var(--color-pure-white);
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- 3. Typography & Utility Classes --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-charcoal);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: #4a4a4a;
  font-size: 1.05rem;
}

.text-arabic {
  font-family: var(--font-arabic);
  direction: rtl;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-brand-red);
  margin-bottom: 1rem;
}

.brand-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-red), var(--color-burgundy-deep));
}

.brand-tag.light {
  color: #F7D5D7;
}

.brand-tag.light::before {
  background: #F7D5D7;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin: 0 0 2.5rem 0;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--color-steel-grey);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6.5rem 0;
}

.section-padding-sm {
  padding: 4rem 0;
}

.bg-warm {
  background-color: var(--color-warm-white);
}

.bg-burgundy-dark {
  background-color: var(--color-burgundy-dark);
  color: var(--color-pure-white);
}

.bg-burgundy-dark h1, 
.bg-burgundy-dark h2, 
.bg-burgundy-dark h3, 
.bg-burgundy-dark p {
  color: var(--color-pure-white);
}

.bg-burgundy-deep {
  background-color: var(--color-burgundy-deep);
  color: var(--color-pure-white);
}

/* --- 4. Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xs);
  transition: var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--color-brand-red);
  color: var(--color-pure-white);
  border: 1px solid var(--color-brand-red);
  box-shadow: 0 6px 18px rgba(169, 22, 29, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-burgundy-deep);
  border-color: var(--color-burgundy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(116, 16, 20, 0.35);
  color: var(--color-pure-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-charcoal);
  border: 1.5px solid var(--color-charcoal);
}

.btn-secondary:hover {
  background-color: var(--color-charcoal);
  color: var(--color-pure-white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--color-pure-white);
  color: var(--color-burgundy-dark);
  border: 1px solid var(--color-pure-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background-color: var(--color-warm-white);
  color: var(--color-brand-red);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-pure-white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: var(--color-pure-white);
  color: var(--color-burgundy-dark);
  border-color: var(--color-pure-white);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* --- 5. Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(247, 245, 242, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 223, 218, 0.8);
  z-index: 1000;
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-soft-grey);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-charcoal);
  text-transform: capitalize;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-brand-red);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-brand-red);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-brand-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--color-charcoal);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
  background-color: var(--color-brand-red);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
  background-color: var(--color-brand-red);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--color-warm-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 6.5rem 2rem 2.5rem 2rem;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  right: 0;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(37, 37, 37, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-soft-grey);
  padding-bottom: 0.8rem;
  display: block;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--color-brand-red);
  padding-left: 8px;
}

.mobile-contact-box {
  margin-top: auto;
  padding: 1.5rem;
  background: var(--color-pure-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-soft-grey);
}

.mobile-contact-box h5 {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  color: var(--color-brand-red);
  margin-bottom: 0.5rem;
}

/* --- 6. Hero Section --- */
.hero-section {
  position: relative;
  background-color: var(--color-warm-white);
  padding: 5rem 0 6.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-soft-grey);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-arabic-title {
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  color: var(--color-burgundy-deep);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: inline-block;
  border-bottom: 2px solid rgba(169, 22, 29, 0.2);
  padding-bottom: 4px;
}

.hero-title {
  margin-bottom: 1.4rem;
  color: var(--color-charcoal);
}

.hero-title span {
  color: var(--color-brand-red);
  display: block;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--color-steel-grey);
  margin-bottom: 2.2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: -12px -12px auto auto;
  width: 140px;
  height: 140px;
  border-top: 3px solid var(--color-brand-red);
  border-right: 3px solid var(--color-brand-red);
  z-index: -1;
  border-radius: var(--radius-xs);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(37, 37, 37, 0.88);
  backdrop-filter: blur(8px);
  color: var(--color-pure-white);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-xs);
  border-left: 3px solid var(--color-brand-red);
  box-shadow: var(--shadow-md);
  max-width: 260px;
}

.hero-badge-title {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #F7D5D7;
  text-transform: uppercase;
}

.hero-badge-desc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-pure-white);
  margin-top: 2px;
}

/* --- 7. Company Introduction Section --- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
}

.intro-image-container {
  position: relative;
}

.intro-image-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-image-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.intro-image-frame:hover img {
  transform: scale(1.03);
}

.intro-accent-border {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-brand-red);
  border-radius: var(--radius-sm);
  z-index: -1;
  opacity: 0.5;
}

.intro-content {
  padding-left: 1rem;
}

.intro-content h2 {
  margin-bottom: 1.5rem;
}

.intro-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.intro-text {
  color: var(--color-steel-grey);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.intro-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.pillar-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--color-brand-red);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.pillar-mini-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.pillar-mini-desc {
  font-size: 0.85rem;
  color: var(--color-steel-grey);
}

/* --- 8. Visual Showcase Section --- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.showcase-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background-color: var(--color-soft-grey);
}

.showcase-item-featured {
  grid-column: span 7;
  height: 480px;
}

.showcase-item-medium-1 {
  grid-column: span 5;
  height: 480px;
}

.showcase-item-medium-2 {
  grid-column: span 4;
  height: 360px;
}

.showcase-item-medium-3 {
  grid-column: span 4;
  height: 360px;
}

.showcase-item-medium-4 {
  grid-column: span 4;
  height: 360px;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 37, 37, 0) 30%, rgba(75, 11, 16, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  opacity: 0.85;
  transition: opacity var(--transition-normal), background var(--transition-normal);
}

.showcase-item:hover .showcase-img {
  transform: scale(1.05);
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(37, 37, 37, 0.15) 0%, rgba(75, 11, 16, 0.92) 100%);
}

.showcase-tag {
  font-family: var(--font-subheading);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: #F7D5D7;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.showcase-caption {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-pure-white);
  font-weight: 600;
}

.showcase-view-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-pure-white);
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-normal);
}

.showcase-item:hover .showcase-view-icon {
  opacity: 1;
  transform: translateY(0);
}

/* --- 9. Brand Pillars / Company Highlights --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.pillar-card {
  background: var(--color-pure-white);
  border-radius: var(--radius-sm);
  padding: 2.4rem 1.8rem;
  border: 1px solid var(--color-soft-grey);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--color-brand-red);
  transition: width var(--transition-normal);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-muted-border);
}

.pillar-card:hover::after {
  width: 100%;
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  background: var(--color-warm-white);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-red);
  margin-bottom: 1.6rem;
  border: 1px solid var(--color-soft-grey);
  transition: var(--transition-normal);
}

.pillar-card:hover .pillar-icon-box {
  background-color: var(--color-brand-red);
  color: var(--color-pure-white);
  border-color: var(--color-brand-red);
}

.pillar-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--color-charcoal);
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--color-steel-grey);
  line-height: 1.6;
}

/* --- 10. Editorial Full-Width Banner --- */
.editorial-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 7rem 0;
  color: var(--color-pure-white);
  text-align: center;
  overflow: hidden;
}

.editorial-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(75, 11, 16, 0.92) 0%, rgba(116, 16, 20, 0.84) 100%);
  z-index: 1;
}

.editorial-banner-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.banner-arabic {
  font-family: var(--font-arabic);
  font-size: 1.7rem;
  color: #F7D5D7;
  margin-bottom: 0.8rem;
}

.editorial-banner h2 {
  color: var(--color-pure-white);
  margin-bottom: 1.2rem;
}

.editorial-banner p {
  color: #F7EAEB;
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

/* --- 11. Contact CTA Section --- */
.contact-cta-box {
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
  padding: 4.5rem 3rem;
  border: 1px solid var(--color-soft-grey);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.contact-cta-text h3 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.contact-cta-text p {
  font-size: 1.1rem;
  color: var(--color-steel-grey);
  max-width: 540px;
}

.contact-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

/* --- 12. Corporate Footer --- */
.site-footer {
  background-color: var(--color-burgundy-dark);
  color: var(--color-pure-white);
  padding: 5rem 0 2rem 0;
  border-top: 3px solid var(--color-brand-red);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-desc {
  color: #E2DFDA;
  font-size: 0.95rem;
  margin-top: 1.2rem;
  max-width: 320px;
  line-height: 1.65;
}

.footer-arabic-brand {
  font-family: var(--font-arabic);
  font-size: 1.15rem;
  color: #F7D5D7;
  margin-top: 0.8rem;
  direction: rtl;
  text-align: left;
}

.footer-column h4 {
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-pure-white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--color-brand-red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #E2DFDA;
  font-size: 0.95rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-pure-white);
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #E2DFDA;
  font-size: 0.92rem;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: #F7D5D7;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #B3AAA4;
  font-size: 0.88rem;
}

/* --- 13. Page Header Banner (Internal Pages) --- */
.page-hero {
  position: relative;
  background-color: var(--color-burgundy-dark);
  color: var(--color-pure-white);
  padding: 5.5rem 0 4.5rem 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(75, 11, 16, 0.94) 0%, rgba(37, 37, 37, 0.88) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--color-pure-white);
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: #F7EAEB;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #B3AAA4;
}

.breadcrumbs a {
  color: #F7D5D7;
}

.breadcrumbs a:hover {
  color: var(--color-pure-white);
  text-decoration: underline;
}

/* --- 14. Projects Gallery Page Styles --- */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.65rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--color-warm-white);
  color: var(--color-charcoal);
  border: 1px solid var(--color-soft-grey);
  transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-brand-red);
  color: var(--color-pure-white);
  border-color: var(--color-brand-red);
  box-shadow: 0 4px 12px rgba(169, 22, 29, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-card {
  background: var(--color-pure-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-soft-grey);
  transition: var(--transition-normal);
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand-red);
}

.gallery-thumb-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: var(--color-soft-grey);
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-thumb-wrap img {
  transform: scale(1.06);
}

.gallery-card-body {
  padding: 1.6rem;
}

.gallery-card-category {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--color-brand-red);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.gallery-card-desc {
  font-size: 0.9rem;
  color: var(--color-steel-grey);
  line-height: 1.55;
}

/* --- 15. Lightbox Modal --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.lightbox-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-footer {
  width: 100%;
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-pure-white);
}

.lightbox-caption-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-pure-white);
}

.lightbox-counter {
  font-size: 0.9rem;
  color: #B3AAA4;
  font-weight: 500;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  color: var(--color-pure-white);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--color-brand-red);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background-color: var(--color-brand-red);
  border-color: var(--color-brand-red);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* --- 16. Contact Page & Form Styles --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-panel {
  background-color: var(--color-warm-white);
  border-radius: var(--radius-sm);
  padding: 3rem 2.5rem;
  border: 1px solid var(--color-soft-grey);
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info-panel p {
  color: var(--color-steel-grey);
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-wrapper {
  width: 46px;
  height: 46px;
  background: var(--color-pure-white);
  border: 1px solid var(--color-soft-grey);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-red);
  flex-shrink: 0;
}

.contact-detail-content h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-detail-content p,
.contact-detail-content a {
  font-size: 0.95rem;
  color: var(--color-steel-grey);
  line-height: 1.5;
}

.contact-detail-content a:hover {
  color: var(--color-brand-red);
}

.contact-form-panel {
  background: var(--color-pure-white);
  border-radius: var(--radius-sm);
  padding: 3.5rem 3rem;
  border: 1px solid var(--color-soft-grey);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background-color: var(--color-warm-white);
  border: 1.5px solid var(--color-soft-grey);
  border-radius: var(--radius-xs);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brand-red);
  background-color: var(--color-pure-white);
  box-shadow: 0 0 0 3px rgba(169, 22, 29, 0.12);
}

.form-control.is-invalid {
  border-color: #D32F2F;
  background-color: #FFF8F8;
}

.form-control.is-valid {
  border-color: #2E7D32;
  background-color: #F8FFF8;
}

.form-feedback {
  font-size: 0.8rem;
  color: #D32F2F;
  min-height: 18px;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* Feedback Status Modal */
.form-status-modal {
  position: fixed;
  inset: 0;
  background: rgba(37, 37, 37, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.form-status-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.form-status-card {
  background: var(--color-pure-white);
  border-radius: var(--radius-sm);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--color-brand-red);
}

.status-icon-circle {
  width: 64px;
  height: 64px;
  background-color: #E8F5E9;
  color: #2E7D32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.form-status-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.form-status-card p {
  color: var(--color-steel-grey);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* --- 17. Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- 18. Responsive Breakpoints --- */
@media (max-width: 1200px) {
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-image-frame img,
  .intro-image-frame img {
    height: 400px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-item-featured {
    grid-column: span 12;
    height: 400px;
  }

  .showcase-item-medium-1 {
    grid-column: span 12;
    height: 380px;
  }

  .showcase-item-medium-2,
  .showcase-item-medium-3,
  .showcase-item-medium-4 {
    grid-column: span 6;
    height: 320px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }

  .nav-menu,
  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .brand-logo-img {
    height: 44px;
  }

  .section-padding {
    padding: 4.5rem 0;
  }

  .hero-section {
    padding: 3.5rem 0 4.5rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .showcase-item-medium-2,
  .showcase-item-medium-3,
  .showcase-item-medium-4 {
    grid-column: span 12;
    height: 280px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.8rem;
    gap: 2rem;
  }

  .contact-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .contact-cta-actions .btn {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-form-panel {
    padding: 2.2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-image-frame img {
    height: 320px;
  }

  .intro-image-frame img {
    height: 300px;
  }

  .intro-pillars {
    grid-template-columns: 1fr;
  }
}

/* Accessibility: Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
