/*
Theme Name: Eazy Tattoo Studio
Theme URI: https://eazytattoostudio.com
Author: Eazy Tattoo Studio
Description: A bold, black & white landing page WordPress theme for Eazy Tattoo Studio
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eazy-tattoo
Tags: black, white, tattoo, dark, minimalist, portfolio, responsive-layout, one-page, full-width-template
*/

/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   1. Google Fonts Import
   2. CSS Custom Properties (:root)
   3. CSS Reset & Global Base
   4. Typography & Headings
   5. Custom Scrollbar
   6. Preloader
   7. Buttons & Component Utilities
   8. Section Header (Common)
   9. Social Bar (Fixed Top Center)
   10. Hero Section
   11. About Section
   12. Our Work Section & Grid
   13. Gallery Section & Infinite Marquee
   14. Fullscreen Image Lightbox
   15. Social Lightbox Modal
   16. Site Footer & Map
   17. Scroll-Triggered Animations & Stagger Delays
   18. Keyframe Animations (Bounce, Marquee, Preloader)
   19. WordPress Core & Alignment Classes
   20. Accessibility & Utility Classes
   21. Responsive Media Queries (1024px, 768px, 480px)
   ========================================================================== */

/* ==========================================================================
   1. GOOGLE FONTS IMPORT
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   2. CSS CUSTOM PROPERTIES (:ROOT)
   ========================================================================== */
:root {
  /* Required Color Palette - Pure Black & White */
  --color-black: #000;
  --color-white: #fff;
  --color-gray: #888;
  --color-dark: #111;
  --color-overlay: rgba(0, 0, 0, 0.7);

  /* Extended Monochrome Accents */
  --color-dark-surface: #0a0a0a;
  --color-dark-card: #141414;
  --color-dark-card-hover: #1c1c1c;
  --color-gray-dark: #222;
  --color-gray-medium: #444;
  --color-gray-light: #aaa;
  --color-gray-subtle: #eee;
  --color-overlay-heavy: rgba(0, 0, 0, 0.95);
  --color-overlay-light: rgba(255, 255, 255, 0.1);
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --color-border-dark-hover: rgba(255, 255, 255, 0.35);
  --color-border-light: rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-heading: 'Bebas Neue', 'Impact', sans-serif, -apple-system;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  --letter-spacing-heading: 0.05em;
  --letter-spacing-tag: 0.2em;

  /* Spacing & Sizing */
  --container-max-width: 1320px;
  --section-padding-desktop: 120px 24px;
  --section-padding-tablet: 80px 20px;
  --section-padding-mobile: 60px 16px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-pill: 9999px;

  /* Transitions & Timing */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-Index Hierarchy */
  --z-negative: -1;
  --z-base: 1;
  --z-header: 100;
  --z-nav: 500;
  --z-social-bar: 1000;
  --z-lightbox: 9999;
  --z-preloader: 10000;
}

/* ==========================================================================
   3. CSS RESET & GLOBAL BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: var(--line-height-base);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .social-bar {
  top: calc(32px + 24px);
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   4. TYPOGRAPHY & HEADINGS
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--letter-spacing-heading);
  text-transform: uppercase;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   5. CUSTOM SCROLLBAR
   ========================================================================== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-gray-dark) var(--color-black);
}

/* Webkit Browsers */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-dark);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-black);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-medium);
}

/* ==========================================================================
   6. PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
  z-index: var(--z-preloader);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: all;
}

.preloader.loaded,
.preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.preloader__line {
  width: 140px;
  height: 2px;
  background-color: var(--color-white);
  animation: preloaderPulse 1.6s ease-in-out infinite;
}

.preloader__text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  color: var(--color-white);
  text-transform: uppercase;
}

/* ==========================================================================
   7. BUTTONS & COMPONENT UTILITIES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 38px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: background-color var(--transition-normal),
              color var(--transition-normal),
              border-color var(--transition-normal),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

/* Outline on White Background (e.g. About Section) */
.btn--outline {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Outline on Black Background (e.g. Our Work Section) */
.btn--white {
  background-color: var(--color-black);
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--white:hover,
.btn--white:focus-visible {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25);
}

.btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   8. SECTION HEADER (COMMON)
   ========================================================================== */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: 0.12em;
  color: var(--color-white);
  margin-bottom: 14px;
  position: relative;
}

.section-line {
  display: block;
  width: 64px;
  height: 3px;
  background-color: var(--color-white);
  transition: width var(--transition-normal);
}

.section-header:hover .section-line {
  width: 100px;
}

/* ==========================================================================
   9. SOCIAL BAR (FIXED TOP CENTER)
   ========================================================================== */
.social-bar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-social-bar);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 24px;
  background: var(--color-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--border-radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.social-bar:hover {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--color-border-dark-hover);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.social-bar__label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: var(--letter-spacing-tag);
  color: var(--color-white);
  white-space: nowrap;
  user-select: none;
  padding-right: 14px;
  border-right: 1px solid var(--color-border-dark);
  line-height: 1;
}

.social-bar__icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-bar__icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-white);
  font-size: 1rem;
  border-radius: 50%;
  transition: transform var(--transition-fast),
              background-color var(--transition-fast),
              color var(--transition-fast);
}

.social-bar__icons a:hover,
.social-bar__icons a:focus-visible {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: scale(1.18);
}

/* ==========================================================================
   10. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  background-color: var(--color-black);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Grayscale theme requirement on hero image */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  background-position: inherit;
  background-repeat: inherit;
  background-size: inherit;
  filter: grayscale(100%) contrast(110%);
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.85) 75%,
    var(--color-black) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__logo {
  max-width: 160px;
  max-height: 160px;
  width: auto;
  height: auto;
  margin-bottom: 24px;
  filter: grayscale(100%) brightness(120%);
  transition: transform var(--transition-normal);
}

.hero__logo:hover {
  transform: scale(1.05);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 11vw, 9.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.06em;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
  word-break: break-word;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gray-subtle);
  max-width: 680px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero__scroll-down {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--color-white);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color var(--transition-fast),
              background-color var(--transition-fast),
              color var(--transition-fast);
  animation: bounce 2.2s infinite ease-in-out;
}

.hero__scroll-down svg {
  display: block;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

.hero__scroll-down:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.hero__scroll-down:hover svg {
  stroke: var(--color-black);
}

/* ==========================================================================
   11. ABOUT SECTION
   ========================================================================== */
.about {
  background-color: var(--color-white);
  color: var(--color-black);
  padding: var(--section-padding-desktop);
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.about__container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__heading {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0.04em;
  color: var(--color-black);
  margin-bottom: 24px;
}

.about__tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gray-medium);
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
}

.about__tagline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background-color: var(--color-black);
}

.about__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.about__description {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-weight: 400;
  line-height: 1.85;
  color: #222;
  margin-bottom: 38px;
}

.about__description p {
  margin-bottom: 1.25rem;
}

.about__description p:last-child {
  margin-bottom: 0;
}

.about .social-lightbox-trigger {
  align-self: flex-start;
}

/* ==========================================================================
   12. OUR WORK SECTION & GRID
   ========================================================================== */
.our-work {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--section-padding-desktop);
  position: relative;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.work-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  background-color: var(--color-dark-card);
  border: 1px solid var(--color-border-dark);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: border-color var(--transition-normal),
              transform var(--transition-normal),
              box-shadow var(--transition-normal);
}

/* Circular option support */
.work-item.is-circular,
.work-item--circle {
  border-radius: 50%;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%) brightness(0.95);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.4s ease;
}

/* Subtle overlay on hover */
.work-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(0, 0, 0, 0.75) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.work-item:hover {
  border-color: var(--color-white);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.1);
}

.work-item:hover img {
  transform: scale(1.08);
  filter: grayscale(100%) contrast(120%) brightness(1.1);
}

.work-item:hover::after {
  opacity: 1;
}

.work-load-more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

/* ==========================================================================
   13. GALLERY SECTION & INFINITE MARQUEE
   ========================================================================== */
.gallery {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 120px 0 140px;
  position: relative;
  overflow: hidden;
}

.gallery .section-header {
  padding: 0 24px;
}

.gallery-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
  user-select: none;
  /* Fade edges for cinema feel */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.gallery-marquee:last-of-type {
  margin-bottom: 0;
}

.gallery-marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
  will-change: transform;
}

.gallery-marquee--reverse .gallery-marquee__track {
  animation: marquee-scroll-reverse 45s linear infinite;
}

/* Pause marquee scrolling when user hovers */
.gallery-marquee:hover .gallery-marquee__track {
  animation-play-state: paused;
}

.gallery-item {
  flex-shrink: 0;
  width: 340px;
  height: 240px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  background-color: var(--color-dark-card);
  border: 1px solid var(--color-border-dark);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-normal),
              border-color var(--transition-normal),
              box-shadow var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(105%) brightness(0.92);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-white);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.12);
  z-index: 5;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: grayscale(100%) contrast(115%) brightness(1.1);
}

/* ==========================================================================
   14. FULLSCREEN IMAGE LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay-heavy);
  z-index: var(--z-lightbox);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal),
              visibility var(--transition-normal);
  padding: 24px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.active,
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Lightbox Close Button */
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 10002;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast),
              border-color var(--transition-fast);
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: rotate(90deg) scale(1.05);
}

/* Lightbox Navigation Arrows */
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.65);
  color: var(--color-white);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
}

.lightbox__prev {
  left: 28px;
}

.lightbox__next {
  right: 28px;
}

.lightbox__prev:hover,
.lightbox__prev:focus-visible,
.lightbox__next:hover,
.lightbox__next:focus-visible {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-50%) scale(1.12);
}

/* Main Display Image */
.lightbox__content,
.lightbox__main {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 80px 20px;
  overflow: hidden;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  filter: grayscale(100%);
  transition: transform var(--transition-normal),
              opacity var(--transition-normal);
  user-select: none;
}

/* Thumbnail Strip at Bottom */
.lightbox__thumbnails {
  width: 100%;
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  z-index: 10001;
}

.lightbox__thumbnails::-webkit-scrollbar {
  height: 4px;
}

.lightbox__thumbnails::-webkit-scrollbar-thumb {
  background: var(--color-gray-dark);
}

.lightbox__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
}

.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.lightbox__thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.lightbox__thumb.active {
  opacity: 1;
  border-color: var(--color-white);
  transform: scale(1.06);
}

/* ==========================================================================
   15. SOCIAL LIGHTBOX MODAL
   ========================================================================== */
.social-lightbox,
.social-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay-heavy);
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal),
              visibility var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-lightbox.active,
.social-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.social-lightbox__modal,
.social-lightbox__dialog {
  background-color: var(--color-dark);
  border: 1px solid var(--color-border-dark-hover);
  border-radius: var(--border-radius-lg);
  padding: 48px 40px;
  max-width: 580px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95);
  transform: translateY(25px) scale(0.96);
  transition: transform var(--transition-normal);
}

.social-lightbox.active .social-lightbox__modal,
.social-lightbox.is-open .social-lightbox__modal {
  transform: translateY(0) scale(1);
}

.social-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border-dark);
  background: transparent;
  color: var(--color-white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast);
}

.social-lightbox__close:hover,
.social-lightbox__close:focus-visible {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: rotate(90deg);
}

.social-lightbox__header {
  text-align: center;
  margin-bottom: 34px;
}

.social-lightbox__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 8px;
}

.social-lightbox__subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--color-gray);
  text-transform: uppercase;
}

/* Social Media Cards Grid */
.social-lightbox__grid,
.social-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background-color: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-white);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: background-color var(--transition-normal),
              color var(--transition-normal),
              border-color var(--transition-normal),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.social-card__left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-card__icon {
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
}

.social-card__info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.social-card__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.social-card__handle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.75;
}

.social-card__arrow {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.social-card:hover,
.social-card:focus-visible {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.social-card:hover .social-card__arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   16. SITE FOOTER & MAP
   ========================================================================== */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  border-top: 1px solid var(--color-border-dark);
  padding: 100px 24px 36px;
  position: relative;
  z-index: 10;
}

.footer__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.footer__info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 36px;
  line-height: 0.95;
}

.footer__block {
  margin-bottom: 26px;
}

.footer__label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  color: var(--color-gray);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.footer__block p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-gray-subtle);
  line-height: 1.6;
}

.footer__block a {
  color: var(--color-white);
  text-decoration: none;
  position: relative;
}

.footer__block a:hover,
.footer__block a:focus-visible {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 10px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border-dark);
  color: var(--color-white);
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.04);
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
}

.footer__social a:hover,
.footer__social a:focus-visible {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-4px);
}

/* Embedded Google Map with B&W Grayscale Filter */
.footer__map {
  width: 100%;
  min-height: 380px;
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
  position: relative;
  background-color: var(--color-black);
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  /* Grayscale filter with high-contrast monochrome inversion */
  filter: grayscale(100%) invert(92%) contrast(85%);
  transition: filter var(--transition-normal);
}

.footer__map:hover iframe {
  filter: grayscale(100%) invert(88%) contrast(95%);
}

.footer__bottom {
  max-width: var(--container-max-width);
  margin: 70px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--color-border-dark);
  text-align: center;
}

.footer__bottom p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--color-gray);
}

/* ==========================================================================
   17. SCROLL-TRIGGERED ANIMATIONS & STAGGER DELAYS
   ========================================================================== */
.fade-in {
  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);
  will-change: opacity, transform;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Active Visible State */
.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Grid Item Stagger Delays */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* ==========================================================================
   18. KEYFRAME ANIMATIONS
   ========================================================================== */
/* Hero Scroll Chevron Bounce */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-12px);
  }
  60% {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* Gallery Marquee Infinite Scroll (Left) */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Gallery Marquee Infinite Scroll (Right / Reverse) */
@keyframes marquee-scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Preloader Line Animation */
@keyframes preloaderPulse {
  0% {
    transform: scaleX(0.15);
    opacity: 0.4;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0.15);
    opacity: 0.4;
  }
}

/* ==========================================================================
   19. WORDPRESS CORE & ALIGNMENT CLASSES
   ========================================================================== */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: var(--color-dark-card);
  border: 1px solid var(--color-border-dark);
  max-width: 96%;
  padding: 8px 8px 12px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 6px 0 0 0;
  color: var(--color-gray);
}

.screen-reader-text,
.sr-only {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus,
.sr-only:focus {
  background-color: var(--color-white);
  clip: auto !important;
  clip-path: none;
  color: var(--color-black);
  display: block;
  font-size: 1rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   20. ACCESSIBILITY & UTILITY CLASSES
   ========================================================================== */
.hidden {
  display: none !important;
}

.no-scroll {
  overflow: hidden !important;
}

:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.about :focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 3px;
}

/* ==========================================================================
   21. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* ---------- Tablet Landscape / Small Desktop (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding-desktop: 90px 24px;
  }

  .about__container {
    gap: 48px;
  }

  .about__heading {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .gallery-item {
    width: 290px;
    height: 200px;
  }

  .footer__container {
    gap: 48px;
  }

  .footer__map {
    min-height: 340px;
  }

  .footer__map iframe {
    min-height: 340px;
  }
}

/* ---------- Tablet Portrait (max-width: 768px) ---------- */
@media (max-width: 768px) {
  :root {
    --section-padding-desktop: 75px 20px;
  }

  /* Social Bar adjustments */
  .social-bar {
    top: 16px;
    padding: 8px 18px;
    gap: 14px;
  }

  .social-bar__label {
    font-size: 0.95rem;
    padding-right: 12px;
  }

  .social-bar__icons {
    gap: 10px;
  }

  .social-bar__icons a {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  body.admin-bar .social-bar {
    top: calc(46px + 16px);
  }

  /* Hero Section */
  .hero__title {
    font-size: clamp(3rem, 12vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 14px;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.22em;
  }

  .hero__scroll-down {
    bottom: 24px;
    width: 44px;
    height: 44px;
  }

  /* About Section Stacking */
  .about {
    padding: 80px 20px;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__heading {
    font-size: 3.2rem;
  }

  .about__description {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 30px;
  }

  /* Our Work Grid */
  .our-work {
    padding: 80px 20px;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Gallery Marquee */
  .gallery {
    padding: 80px 0 100px;
  }

  .gallery-marquee {
    margin-bottom: 16px;
  }

  .gallery-marquee__track {
    gap: 16px;
  }

  .gallery-item {
    width: 240px;
    height: 170px;
  }

  /* Footer Stacking */
  .site-footer {
    padding: 80px 20px 30px;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer__brand {
    font-size: 2.8rem;
    margin-bottom: 28px;
  }

  .footer__map {
    min-height: 320px;
  }

  .footer__map iframe {
    min-height: 320px;
  }

  .footer__bottom {
    margin-top: 50px;
  }

  /* Lightbox on Tablets */
  .lightbox__content,
  .lightbox__main {
    padding: 40px 20px 20px;
  }

  .lightbox__image {
    max-width: 95vw;
    max-height: 65vh;
  }

  .lightbox__prev {
    left: 12px;
  }

  .lightbox__next {
    right: 12px;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .lightbox__thumb {
    width: 58px;
    height: 58px;
  }
}

/* ---------- Mobile Devices (max-width: 480px) ---------- */
@media (max-width: 480px) {
  :root {
    --section-padding-desktop: 60px 16px;
  }

  /* Social Bar Compact */
  .social-bar {
    top: 12px;
    padding: 7px 14px;
    gap: 10px;
  }

  .social-bar__label {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    padding-right: 10px;
  }

  .social-bar__icons {
    gap: 8px;
  }

  .social-bar__icons a {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }

  body.admin-bar .social-bar {
    top: 12px;
  }

  /* Hero Section */
  .hero__title {
    font-size: clamp(2.6rem, 13vw, 4rem);
    letter-spacing: 0.04em;
  }

  .hero__subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }

  .hero__logo {
    max-width: 120px;
    margin-bottom: 18px;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2.5rem;
    letter-spacing: 0.08em;
  }

  .section-line {
    width: 48px;
    height: 2px;
  }

  /* About Section */
  .about {
    padding: 60px 16px;
  }

  .about__heading {
    font-size: 2.6rem;
  }

  .about__tagline {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }

  .about .btn {
    width: 100%;
    text-align: center;
  }

  /* Our Work Grid (1 Column on Mobile) */
  .our-work {
    padding: 60px 16px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .work-load-more .btn {
    width: 100%;
    text-align: center;
  }

  /* Gallery Marquee on Mobile */
  .gallery {
    padding: 60px 0 80px;
  }

  .gallery-item {
    width: 190px;
    height: 140px;
  }

  /* Lightbox Mobile Adjustments */
  .lightbox {
    padding: 16px 10px;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .lightbox__prev {
    left: 6px;
  }

  .lightbox__next {
    right: 6px;
  }

  .lightbox__image {
    max-width: 96vw;
    max-height: 60vh;
  }

  .lightbox__thumbnails {
    gap: 8px;
    padding: 8px 10px;
  }

  .lightbox__thumb {
    width: 48px;
    height: 48px;
  }

  /* Social Modal Mobile */
  .social-lightbox__modal,
  .social-lightbox__dialog {
    padding: 36px 20px 28px;
  }

  .social-lightbox__title {
    font-size: 2.2rem;
  }

  .social-card {
    padding: 14px 18px;
  }

  .social-card__name {
    font-size: 1.25rem;
  }

  .social-card__handle {
    font-size: 0.78rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 60px 16px 28px;
  }

  .footer__brand {
    font-size: 2.2rem;
  }

  .footer__map {
    min-height: 280px;
  }

  .footer__map iframe {
    min-height: 280px;
  }
}

/* ---------- Accessibility: Prefers Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .gallery-marquee__track,
  .gallery-marquee--reverse .gallery-marquee__track {
    animation: none !important;
  }

  .hero__scroll-down {
    animation: none !important;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right {
    opacity: 1 !important;
    transform: none !important;
  }
}
