
/* =========================================================================
   1. RESET CORE STYLES & FIXED MAIN HEADER LINKS
   ========================================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* Options: auto | thin | none */
    scrollbar-color: #888888 transparent;
}

html {
    scroll-behavior: smooth;
    background: #0b0b0b url(images/bg00.jpg) no-repeat top left;
    background-size: cover;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0b0b0b;
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.sub-label {
    color: #FFEB3B;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0;
}

/* Sticky Navbar Alignment Systems */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
    width: 90%;
    max-width: 1400px;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.hilight{color: #FFEB3B;}
.navbar .logo {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    height: 30px;
    position: absolute;
    bottom: 5px;
    filter: grayscale(100%) invert(1);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: none;
}

.navbar.scrolled .logo {
    bottom: 15px;
    left: 15px;
    display: block;
}

.navbar:before {
    /* content: 'DesignerJong'; */
    color: #fff;
    display: block;
    text-decoration: none;
    letter-spacing: .75px;
    position: absolute;
    top: 20px;
    left: 110px;
    font-weight: 700;
    border-style: solid;
    border-width: 1px 0;
    border-color: #6f1313;
    padding: 3px 3px 6px;
}

.navbar .nav-links a {
    color: #FFEB3B;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: #fff;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    align-items: center;
}

.navbar.scrolled {
    background: linear-gradient(90deg, #FFEB3B 0%, rgb(92 85 17 / 30%) 75%);
    padding: 30px 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 30px 20px rgb(11 11 11), inset 0 35px 0px #00000000, inset 0 0 0, inset 0 0 0 1px rgb(255 235 59 / 20%);
    border-radius: 7px;
}
.navbar.scrolled .navbar .logo{}
.navbar.scrolled .nav-links {
    width: 193px;
}

.navbar.scrolled:before {
    left: 75px;
    font-size: 14px;
}

.navbar.scrolled .nav-links a {
    color: #ffffff;
}

/* =========================================================================
   2. STAGE BLOCK SCALING HOOKS (DYNAMIC HEIGHT ENGINE)
   ========================================================================= */
.fullscreen-stage {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Row-Top Layout Layer: Positioned smoothly at the base of the framework screen */
.stage-row-top {
    width: 100%;
    padding: 30px 0;
    margin-top: 0px;
}

/* Split Row Layout Matrix Setup */
.hero-split-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    /* text-align: center; */
}

.hero-text-block h1 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 7px;
    line-height: 1.2;
}

.hero-content h1 {
    font-size: 1.2rem;
}

.hero-highlight-sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a5a5a5;
    /* Premium dark crimson accent string */
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Floating CV Download Block Styles */
.hero-cv-block, .hero-mail-block {
    display: flex;
    /* position: relative; */
    top: 20px;
    margin-right: 15px;
    display: inline-flex;
    min-width: 200px;
}

.cv-download-anchor {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    border: 1px solid #353535;
    padding: 10px 15px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    filter: grayscale(100%);
    width: 100%;
    background: #222;
    color: #ffffff;
    border-radius: 2px;
}
.hero-mail-block .cv-download-anchor{
    background: #0b0b0b;
}
.cv-download-anchor:hover {
    filter: grayscale(0%);
    box-shadow: inset 0 0 0 1px #FFEB3B;
    background: transparent;
    color: #FFEB3B;
}
.cv-download-anchor:hover .cv-action-label{color:#fff}
.cv-pdf-icon {
    width: 24px;
    height: auto;
    object-fit: contain;
}

.cv-meta {
    display: flex;
    flex-direction: column;
}

.cv-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.1;
}

.cv-action-label {
    color: #999;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: capitalize;
}

/* Drawer Parent Wrapper: Handled via safe hardware-accelerated clipping masks */
.stage-drawer-wrapper {
    position: relative;
    width: 100%;
    z-index: 5;
    height: 110px;
    /* Enhanced cutoff view profile housing metrics + top line of preview bio details */
    overflow: hidden;
    transition: height 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Open configuration toggled cleanly via JavaScript attributes */
.fullscreen-stage:has(.expand-btn[aria-expanded="true"]) .stage-drawer-wrapper {
	height:auto;
    max-height: 2000px;
    /* Comfortably clears all bio information grid panels down page */
}

/* Live Metrics Dashboard Row Layout Line */
.stage-row-bottom {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 260px;
    /* Enhanced structural boundary height framework */
    padding: 20px 40px 0;
    border-bottom: 1px solid #333;
}

.metric-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    border-right: 1px solid #141414;
    flex: 1;
}

.metric-block:last-child {
    border-right: none;
}

.metric-block strong {
    font-size: 2.2rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1;
}

.metric-block span {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: rgb(255, 93, 93);
    letter-spacing: 1px;
}

/* Premium Shadow Mask Teaser Overlay Layer */
.drawer-shadow-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, #0b0b0bc7 20%, rgb(11 11 11 / 65%) 60%, rgba(11, 11, 11, 0) 100%);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.fullscreen-stage:has(.expand-btn[aria-expanded="true"]) .drawer-shadow-mask {
    opacity: 0;
}

/* Independent Control Seam Strip Layer */
.stage-control-layer {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0;
    z-index: 20;
}

.stage-control-layer::after {
    content: '';
    /* display:block; */
    width: 100%;
    height: 1px;
    background: #222;
    position: absolute;
    top: 16px;
    z-index: -1;
}

/* Expand Control Button Component Styles */
.expand-btn {
    background: #111111;
    border: 1px solid #2c2b2b;
    color: #aaaaaa;
    padding: 10px 28px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    color: #FFEB3B;
    border-color: #615913;
    background: #1f1f1f;
}

.expand-btn .btn-indicator {
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.4s ease;
    display: inline-block;
    position: relative;
    top: -2px;
}

.expand-btn[aria-expanded="true"] .btn-indicator {
    transform: rotate(-135deg);
    top: 1px;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.expand-btn {
  --border-width: 1px;
  /* Define the gradient once so the border and glow stay perfectly synced */
  --glow-gradient: conic-gradient(    from var(--angle),    transparent 15%,    #000000,    #a8a8a8,    #000000 50%,    transparent 65%,    #000000,    #FFEB3B,    #000000 100%  );
  position: relative;
  border: var(--border-width) solid #bcbcbc00;
  border-radius: 9999px;
  cursor: pointer;
  /* z-index: 1; */
  background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,    var(--glow-gradient) border-box;
  animation: spin 7s linear infinite;
}

/* Soft outer glow layer */
.expand-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--glow-gradient);
  filter: blur(14px);
  opacity: 0.65;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.expand-btn:hover {
  animation-duration: 9s;
}

/* Intensify the glow slightly on hover */
.expand-btn:hover::after {
  opacity: 0.95;
  filter: blur(18px);
}

@keyframes spin {
  to {
    --angle: 360deg;
  }
}


/* Spacing fixes for nested biography sections */
.about-section {
    padding: 0 0 20px;
}
.about-right {padding: 20px;}
/* Metrics Top-Block Row Horizontal Grid */
.metrics-dashboard-grid {
    display: flex;
    width: 100%;
    height: 120px;
    border-bottom: 1px solid #141414;
}

.metric-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    border-right: 1px solid #141414;
    flex: 1;
}

.metric-block:last-child {
    border-right: none;
}

/* =========================================================================
   6. SPLIT CAROUSEL VIEWPORT REPLACEMENT MODULE (DYNAMIC VARIANT)
   ========================================================================= */
.hero-carousel-viewport.split-slider-variant {
    display: flex;
    width: 100%;
    /* height: 560px; */ /* Shifted slightly to handle descriptive text multi-line scaling safely */
    border-color: #1f1f1f;
    border-style: solid;
    border-width: 0;
    border-radius: 0;
    overflow: hidden;
    margin: 15px auto;
}

.hero-carousel-viewport.split-slider-variant::before,
.hero-carousel-viewport.split-slider-variant::after {
    display: none !important;
}

/* SIDEBAR CARD MATRIX */
.slider-sidebar-pane {
    width: 340px;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-sidebar-pane .pane-title {
    font-size: 1.15rem;
    font-weight: 400;
    color: #999;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
    line-height: 1.2;
}

.slider-sidebar-pane .pane-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #666;
}

/* MEDIA CANVAS WINDOW */
.slider-media-canvas {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    /* background: #000000; */
    overflow: hidden;
	touch-action: pan-y;
}

/* =========================================================================
   INLINE SLIDER 30% SNEAK PEEK & DIMMED PREVIEW
   ========================================================================= */
.inline-profile-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.inline-profile-slider img {
    flex: 0 0 70%;
    width: 70%;
    height: 100%;
    object-fit: contain;
    padding: 20px 30px;
    user-select: none;
    cursor: pointer;

    /* Resting dimmed state for peeking next slide */
    opacity: 0.28;
    filter: grayscale(80%);
    transform: scale(0.92);
    transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
}

/* Active slide sits at full brightness and scale */
.inline-profile-slider img.is-active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1);
}

/* Subtle right-edge shadow mask to blend the peeking slide into the frame */
.slider-media-canvas::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 18%;
    height: 100%;
    background: linear-gradient(to left, #0b0b0b 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 3;
}


/* Local Navigation Hotspots */
.inline-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: hsl(54deg 100% 62% / 15%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFEB3B;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s, border-color 0.2s;
}

.inline-nav-arrow:hover {
    background: rgb(86 79 19);
    border-color: rgb(255 235 59 / 48%);
}

.inline-prev { left: 15px; }
.inline-next { right: 15px; }

/* Responsive Phone Reflow Breakpoints */
@media (max-width: 768px) {
    .hero-carousel-viewport.split-slider-variant {
        flex-direction: column-reverse;
        height: auto;
    }

    .slider-sidebar-pane {
        width: 100%;
        border-right: none;
        border-top: 1px solid #1f1f1f;
        padding: 20px;
    }

    .slider-media-canvas, .inline-profile-slider {
        width: 100%;
        height: 150px;
    }
    .inline-profile-slider img{
    padding: 10px;
}
    .hero-mail-block .cv-download-anchor{
        margin-top: 15px;
    }
    .hero-cv-block, .hero-mail-block{
    width: 100%;
}
}

/* Horizontal sliding animation container track rail */
.hero-carousel-track {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    /* Uniform spacious item distribution lanes */
    white-space: nowrap;
    padding: 0 40px;
    will-change: transform;
}

/* Modular slide element styles */
.carousel-slide-item {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* filter: grayscale(100%); */
    opacity: 0.45;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.carousel-slide-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.carousel-slide-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

/*  .metric-block strong{
      font-size: 2rem;
    font-weight: 300;
    color: rgb(255, 255, 255);
    margin-bottom: 4px;
}
.metric-block span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgb(255, 93, 93);
    letter-spacing: 1px;
}
  .pdf{
    width: 85%;
    position: relative;
    bottom: 60px;
    right: 70px;
}
 =========================================================================
   MICRO-ANIMATION PROFILE ENGINE STYLES
   ========================================================================= */
.reveal-element {
    opacity: 0.35;
    /* Maintain subtle layout texture visibility prior to open */
    transform: translateY(15px);
    transition: opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1),
        transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform, opacity;
}

.reveal-element:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-element:nth-child(2) {
    transition-delay: 0.25s;
}

.stage-drawer-wrapper.is-expanded .reveal-element {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   3. ARRANGE ABOUT BACKGROUND COGNIZANCES
   ========================================================================= */
.about-section {
    /* background: #0f0f0f; */
    /* border-bottom: 1px solid #141414; */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.about-left h2 {
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: #ffffff;
    padding-right: 40px;
}

.resume-block {
    margin-bottom: 40px;
}

.resume-block:last-child {
    margin-bottom: 0;
}

.resume-block h3 {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid #1f1f1f;
    padding-bottom: 8px;
}

.resume-item {
    margin-bottom: 24px;
}

.resume-item:last-child {
    margin-bottom: 0;
}

.resume-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.resume-header strong {
    font-weight: 500;
    color: #fff;
}

.resume-header span {
    color: #777;
    font-size: 0.9rem;
}

.resume-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #888888;
}

/* =========================================================================
   4. CRRISP PORTFOLIO GRID HOVER WRAPPERS
   ========================================================================= */
.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-size: 2.25rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.gallery-header p {
    color: #FFEB3B;
    font-size: 0.95rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
    background: #0b0b0b;
    border: 1px solid #222;
}
.gallery-item:hover{
    background: #000;
}
/* FIXED: Changed object-fit back to contain from none to prevent oversized crops */
.gallery-item img {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: none; /* Changed from none to contain for responsive fluid scalability */
   padding: 30px;
   transition: opacity 0.8s ease, transform 0.8s ease;
   transform: scale(0.95);
   will-change: opacity, transform;
}

.gallery-item img.img-cover {
    z-index: 2;
    opacity: 0.45;
    filter: grayscale(100%);
}

.gallery-item img.img-hover {
    z-index: 1;
    opacity: 0;
    transform: scale(1.15);
}

.gallery-item.is-loaded img.img-cover {
    opacity: 0.45; /* Matches your resting grayscale cover state */
}

.gallery-item:hover img.img-cover {
    opacity: 0;
    transform: scale(0.95);
}

.gallery-item:hover img.img-hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1);
}

.gallery-item.hidden {
    display: none;
}
/* =========================================================================
   4B. NON-BLOCKING CARD SHIMMER SKELETON & IMAGE FADE-IN
   ========================================================================= */
.gallery-item:not(.is-loaded) {
    background: linear-gradient(
        110deg,
        #111111 30%,
        #1a1a1a 50%,
        #111111 70%
    );
    background-size: 200% 100%;
    animation: cardShimmer 1.6s ease-in-out infinite;
}

@keyframes cardShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Keep cover image hidden until decoded so it never pops in half-drawn */
.gallery-item:not(.is-loaded) img.img-cover {
    opacity: 0;
}

.gallery-actions {
    text-align: center;
    margin-top: 60px;
}

.btn-load-more {
    background: #4b4b4b;
    color: #ffffff;
    border: none;
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    border-radius: 4px;
    /* opacity: 0.5; */
}

.btn-load-more:hover {
    opacity: 1;
}

/* Dynamic exhausted variant state highlighting the anchor switch */
.btn-load-more.grid-exhausted {
  border-color: var(--text-accent, #3ed4bf); /* Matches your signature teal token line */
  color: #ffffff;
  background: #141414;
  letter-spacing: 2.5px;
}
.btn-load-more.grid-exhausted:hover {
  background: #1c1c1c;
  box-shadow: 0 0 15px rgba(62, 212, 191, 0.1);
}
/* =========================================================================
   5. CONTACT METER FORMS & SPLIT DETAILS ROWS
   ========================================================================= */

.contact-section {
    background: #0b0b0b;
    border-top: 1px solid #333;
    border-bottom: 1px solid #141414;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-section .section-container {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
}

.contact-left-form h2 {
    font-size: 2.25rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* FIXED: Places Name and Email on the same line with an option gap profile */
.form-row-split {
    display: flex;
    gap: 24px;
    width: 100%;
}

.form-row-split .form-group {
    flex: 1;
    /* Distributes horizontal real estate exactly 50/50 inline */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    background: #111111;
    border: 1px solid #2b2b2b;
    color: #ffffff;
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3ed4bf;
    /* Teal tracking accent color matches your template headers */
    box-shadow: 0 0 10px rgba(62, 212, 191, 0.05);
}

/* High-Performance Visual Validation State Indicators */
.form-group.field-invalid input,
.form-group.field-invalid textarea {
    border-color: #ff5d5d !important;
}

.error-message-text {
    font-size: 0.7rem;
    color: #ff5d5d;
    margin-top: 4px;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: none;
}

.form-group.field-invalid .error-message-text {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Submit Action Button Block */
.btn-submit {
    background: #292929;
    color: #ffffff;
    border: 1px solid #2c2b2b;
    padding: 16px 36px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover, .btn-load-more:hover {
    box-shadow: inset 0 0 0 1px #000000;
    background: rgb(255 229 0 / 15%);
    color: #FFEB3B;
}

.btn-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #222222;
}

.contact-right-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 40px;
}

.info-block h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #555555;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-block p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #cccccc;
}

/* Status Interaction Toast System Overlay */
.form-status-toast {
    padding: 14px 24px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: none;
    margin-top: 15px;
    animation: fadeInModal 0.4s ease forwards;
}

.form-status-toast.success-state {
    display: block;
    background: rgba(49, 78, 49, 0.15);
    border: 1px solid #314e31;
    color: #a3caa3;
}

.form-status-toast.error-state {
    display: block;
    background: rgba(111, 19, 19, 0.15);
    border: 1px solid #6f1313;
    color: #fca3a3;
}

/* Media query adjustment block guaranteeing phone viewports slide inline columns back to stacked block forms */
@media (max-width: 768px) {
    .form-row-split {
        flex-direction: column;
        gap: 24px;
    }
}
/* =========================================================================
   5B. CONTACT STATIC COPY ANCHOR EFFECTS
   ========================================================================= */
.contact-right-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 40px;
}

.info-block h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #777;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  font-weight: 600;
}

.info-block p {
  font-size: 1.3rem;
  font-weight: 300;
  color: #cccccc;
  line-height: 1.4;
}

/* Premium micro-transition link framework for email and phone hooks */
.contact-anchor {
  color: #cccccc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-anchor:hover {
  color: #3ed4bf; /* Pulls from your core signature teal accent tokens */
  border-color: rgba(62, 212, 191, 0.4);
}


/* =========================================================================
   6. SITE BLOCKS FOOTER CORE & INTERACTION TOGGLES
   ========================================================================= */
.main-footer {
    background: #070707;
    padding: 40px 0;
    border-top: 1px solid #141414;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 0 20px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.85rem;
    color: #FFEB3B;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 20px;
    display: none;
}

.footer-socials a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: #fff;
}

/* FLOATING TRIGGER ACTION CONSTRUCT */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgb(73 73 73 / 50%);
    border: 1px solid #000;
    color: #FFEB3B;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 28px;
    display: none;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: background 0.2s, border-color 0.2s;
    rotate: 90deg;
    font-family: Segoe UI;
    font-weight: 300;
    backdrop-filter: blur(20px);
    /* opacity: .75; */
}

.scroll-top-btn:hover {
    background: #0b0b0b;
    color: #ffffff;
    border-color: #FFEB3B;
}

/* =========================================================================
   7. INTERACTIVE CINEMA MODAL INTERFACES
   ========================================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-window {
    position: relative;
    background: #121212;
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 8px;
    border: 1px solid #222;
    overflow: hidden;
    animation: fadeInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #888;
    font-size: 32px;
    cursor: pointer;
    z-index: 101;
    transition: color 0.2s;
    text-align: center;
}

.modal-close:hover {
    color: #fff;
}

.modal-layout {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.modal-media-container {
    flex: 1.4;
    min-width: 0;
    height: 100%;
    background: #000000;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.modal-viewport {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.modal-viewport:active {
    cursor: grabbing;
}

.modal-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-slider img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(25, 25, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s;
}

.nav-arrow:hover {
    background: rgba(50, 50, 50, 0.9);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.slider-caption {
    font-size: 0.85rem;
    color: #999;
    margin-top: 15px;
    min-height: 18px;
    font-weight: 400;
    text-align: left;
    /* position: absolute; */
}

.modal-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb-nav-item {
    width: 50px;
    height: 50px;
    border: 0;
    background: #141414;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.35;
    flex-shrink: 0;
}

.thumb-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px 10px;
    border: 1px solid #666;
}

.thumb-nav-item.active {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.35);
}

.modal-sidebar {
    width: 380px;
    flex-shrink: 0;
    height: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-left: 1px solid #1f1f1f;
    overflow-y: auto;
    background: #121212;
}

.modal-sidebar h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #FFEB3B;
    line-height: 1.2;
}

.modal-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #888;
    margin-bottom: 30px;
}

.modal-metadata {
    border-top: 1px solid #1f1f1f;
    padding-top: 25px;
    margin-bottom: 30px;
}

.meta-row {
    font-size: 0.9rem;
    margin-bottom: 14px;
    color: #ccc;
}

.meta-row strong {
    color: #777;
    font-weight: 500;
    margin-right: 10px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    background: #1c1c1c;
    color: #888;
    padding: 6px 12px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

.meta-url-link {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-url-link:hover {
    border-color: #ffffff;
}

.external-icon {
    opacity: 0.6;
    display: inline-block;
    vertical-align: middle;
}

#modalLinkRow.hidden {
    display: none !important;
}

.modal-window.closing {
    animation: fadeOutModal 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeOutModal {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.97);
    }
}

/* =========================================================================
   7B. CORE MODAL SCROLL BLOCK LOCKS
   ========================================================================= */
body.modal-lock {
    overflow: hidden !important;
    /* Locks the canvas to a standard viewport envelope to eliminate page shifting */
    padding-right: var(--scrollbar-width, 0px);
}

/* =========================================================================
8. MEDIA DISPLAY PORTS QUERIES
========================================================================= */
@media (max-width: 1440px) {
    .fullscreen-stage {
        border-left: none;
        border-right: none;
        width: 100%;
        margin-top: 80px;
    }
}

@media (max-width: 992px) {
    .stage-row-top {
        padding: 0 40px;
    }

    .hero-content h1 {
        /* font-size: 3rem; */
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-left h2 {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        top: 10px;
        padding: 10px 15px;
    }

    .navbar ul {
        margin-right: 0px;
    }
    .navbar.scrolled ul {
        margin-right: -20px;
    }

    .stage-row-bottom {
        flex-direction: column;
        height: auto;
        margin-top: 40px;
    }

    .metric-block {
        padding: 25px 40px;
        border-right: none;
        border-bottom: 1px solid #141414;
    }

    .modal-layout {
        flex-direction: column;
    }

    .modal-window {
        height: 95vh;
    }

    .modal-media-container {
        flex: none;
        height: 50%;
        padding: 20px;
    }

    .modal-sidebar {
        width: 100%;
        flex: 1;
        border-left: none;
        border-top: 1px solid #1f1f1f;
        padding: 25px;
    }
}
/* =========================================================================
   8. MEDIA DISPLAY PORTS QUERIES (MOBILE GRID ADDITIONS)
   ========================================================================= */
@media (max-width: 768px) {
    /* ... Keep your existing navbar and stage drawer rules here ... */

    .portfolio-container {
        padding: 40px 16px; /* Soften padding fields to unlock maximize canvas real estate */
    }

    .gallery-header {
        margin-bottom: 30px;
    }

    .gallery-header h1 {
        font-size: 1.8rem; /* Scale headline down for compact viewports */
    }

    /* REVISED: Switches grid configuration to lock exactly 2 uniform cards side-by-side */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important; /* Tighter item gutters matching card ratios */
    }

    /* Adjust uniform padding boundaries inside the square thumbnail containers */
    .gallery-item img {
        padding: 16px !important; /* Prevents logos from bleeding into border bounds */
    }
    .gallery-item{
        border: 0px solid #333;
        background: #000000;
    }
    .navbar .logo, .navbar.scrolled .logo {
        left: 15px;
        filter: grayscale(100%);
        display: block;
    }
    .navbar.scrolled .logo{
    filter: grayscale(100%) invert(1);
}
    /* Touch optimization: increase base image opacity so cover logos remain highly legible without mouse hovers */
    .gallery-item img.img-cover {
        opacity: 0.65;
    }

    /* Adjust spacing layout fields around your responsive form row splitter splits */
    .form-row-split {
        flex-direction: column;
        gap: 16px;
    }
    
    .contact-section .section-container {
        padding: 40px 20px;
    }
	.gallery-item img{object-fit: contain;}
    .form-group input, .form-group textarea{
		background: #1e1e1e;
		border: 1px solid #292929;
	}
}
/* =========================================================================
   9. INDEPENDENT CAROUSEL LIGHTBOX MODAL OVERLAY SYSTEMS
   ========================================================================= */
.carousel-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 6, 6, 0.98);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-modal-overlay.is-active {
    display: flex;
    opacity: 1;
}

.carousel-modal-window {
    position: relative;
    background: #0e0e0e;
    border: 1px solid #1f1f1f;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-modal-overlay.is-active .carousel-modal-window {
    transform: scale(1);
}

.carousel-modal-viewport.is-zoomed {
    cursor: move;
}
.carousel-modal-viewport.is-zoomed img {
    transform: scale(2.2);
}

.carousel-modal-caption-bar {
    padding: 24px;
    background: #0e0e0e;
    border-top: 1px solid #141414;
}

.modal-carousel-thumbs::-webkit-scrollbar {
    display: none;
}

.modal-thumb-btn {
    width: 50px;
    height: 50px;
    background: #000000;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
    opacity: 0.4;
    flex-shrink: 0;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.modal-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-thumb-btn:hover,
.modal-thumb-btn.active {
    opacity: 1;
}

/* =========================================================================
   9B. LIGHTBOX PAN-AND-ZOOM INSPECTION LENS MECHANICS
   ========================================================================= */
.carousel-modal-viewport {
    position: relative;
    background: #050505;
    width: 100%;
    height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-bottom: 1px solid #141414;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.carousel-modal-viewport:active {
    cursor: grabbing;
}

.carousel-modal-viewport.is-zoomed {
    cursor: grab;
}

.carousel-modal-viewport.is-zoomed:active {
    cursor: grabbing;
}

.carousel-modal-viewport img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transform: scale(1) translate(0px, 0px);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Enhanced cursor states to cleanly signal zooming capabilities to visitors */
.carousel-modal-viewport:has(img[src=""]) {
    cursor: default;
}

.carousel-modal-viewport {
    cursor: zoom-in;
}

.carousel-modal-viewport.is-zoomed {
    cursor: move;
    /* Switch to manual crosshair grip indicator while lens is active */
}

/* Active magnification multiplier configuration */
.carousel-modal-viewport.is-zoomed img {
    transform: scale(2.2);
    /* Locks optimal inspection zoom depth scale line */
}
span#carouselModalClose {
    float: right;
    border-radius: 100px;
    font-size: 36px;
    width: 30px;
    height: 30px;
    line-height: 25px;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 5px;
    z-index: 1;
}
/* =========================================================================
   9C. LIGHTBOX MODAL INTERNAL THUMBNAIL TRACKS
   ========================================================================= */
.modal-carousel-thumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.modal-carousel-thumbs::-webkit-scrollbar {
    display: none;
}

.modal-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 5px 10px;
    border: 1px solid #666;
}

/* =========================================================================
   10. MOBILE ABOUT-SECTION FLUID INSULATION & STACKING SHIELDS
   ========================================================================= */
@media (max-width: 768px) {
    /* Force the stage drawer container to display 100% of the profile text on mobile phones */
    .stage-drawer-wrapper {
        transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
        height: auto !important;
        max-height: 140px; /* Baseline teaser limit matching your desktop profile */
    }

    .fullscreen-stage:has(.expand-btn[aria-expanded="true"]) .stage-drawer-wrapper {
        height: auto !important;
        max-height: none !important; /* Strips structural clipping completely when open */
        overflow: visible !important;
    }

    /* Convert your responsive about layout columns from side-by-side to vertical block stacks */
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        padding: 20px 0 !important;
    }

    /* Soften padding inside columns so long text sheets remain comfortable on small screens */
    .stage-row-top,
    .stage-row-bottom,
    .about-left {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
    }

    .about-left h2 {
        padding-right: 0 !important;
        font-size: 1.4rem !important; /* Slightly scales typography bounds down for mobile grids */
    }

    /* Prevent metrics layout boxes from squishing on mobile headers */
    .metrics-dashboard-grid {
        height: auto !important;
        flex-direction: column !important;
    }
    .dashboard-header-wrapper, .main-footer{
        padding: 40px 20px;
    }
    .carousel-modal-overlay{padding:0}
    .carousel-modal-viewport{
        height: 70vh;
        padding: 10px;
    }
    .carousel-modal-window{
        width: 90%;
        height: 95vh;
    }
}

.cf-turnstile {
    filter: grayscale(1);
    opacity: .55;
}

/* =========================================================================
   11. THEME TOGGLE BUTTON & LIGHT MODE OVERRIDES
   ========================================================================= */
.theme-toggle-btn {
    background: transparent;
    border: 0px solid #333;
    color: #aaa;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* margin-left: 16px; */
}

.theme-toggle-btn:hover {
    color: #3ed4bf;
    border-color: #3ed4bf;
}

/* Base Page & Typography */
html[data-theme="light"],
html[data-theme="light"] body {
    background: #f5f6f8 !important;
    background-image: none !important;
    color: #141414;
}

html[data-theme="light"] .hero-text-block h1,
html[data-theme="light"] .about-left h2,
html[data-theme="light"] .gallery-header h1,
html[data-theme="light"] .contact-left-form h2,
html[data-theme="light"] .metric-block strong,
html[data-theme="light"] .resume-header strong,
html[data-theme="light"] .slider-sidebar-pane .pane-title {
    color: #111111;
}

html[data-theme="light"] .sub-label,
html[data-theme="light"] .hero-highlight-sub,
html[data-theme="light"] .resume-header span,
html[data-theme="light"] .resume-item p,
html[data-theme="light"] .gallery-header p,
html[data-theme="light"] .slider-sidebar-pane .pane-desc,
html[data-theme="light"] .info-block p,
html[data-theme="light"] .contact-anchor {
    color: #555555;
}

html[data-theme="light"] .contact-anchor:hover {
    color: #137a6c;
}

/* Navbar & Logo Inversion */
html[data-theme="light"] .navbar .logo {
    /* filter: invert(1); */
}

html[data-theme="light"] .navbar .nav-links a {
    /* color: #555555; */
}

html[data-theme="light"] .navbar .nav-links a:hover {
    /* color: #000000; */
}

html[data-theme="light"] .navbar.scrolled {
    background-color: rgb(0 0 0 / 88%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* border: 1px solid #e2e4e8; */
}

html[data-theme="light"] .theme-toggle-btn {
    border-color: #cccccc;
    color: #000000;
}

html[data-theme="light"] .theme-toggle-btn:hover {
    border-color: #137a6c;
    color: #137a6c;
}
.theme-toggle-btn .icon-moon { display: none; }
.theme-toggle-btn .icon-sun { display: block; }

html[data-theme="light"] .theme-toggle-btn .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle-btn .icon-moon { display: block; }
/* Hero CV & Mail Buttons */
html[data-theme="light"] .cv-download-anchor,
html[data-theme="light"] .hero-mail-block .cv-download-anchor {
    background: #ffffff;
    border-color: #d8dce2;
    color: #111111;
}

html[data-theme="light"] .cv-download-anchor:hover {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #137a6c;
    color: #137a6c;
}

html[data-theme="light"] .cv-download-anchor:hover .cv-action-label {
    color: #333333;
}

/* Drawer Mask, Dividers & Expand Button */
html[data-theme="light"] .drawer-shadow-mask {
    background: linear-gradient(to top, #f5f6f8 20%, rgba(245, 246, 248, 0.65) 60%, rgba(245, 246, 248, 0) 100%);
}

html[data-theme="light"] .stage-control-layer::after,
html[data-theme="light"] .stage-row-bottom,
html[data-theme="light"] .portfolio-container,
html[data-theme="light"] .contact-section,
html[data-theme="light"] .resume-block h3,
html[data-theme="light"] .metric-block,
html[data-theme="light"] .metrics-dashboard-grid {
    border-color: #e0e3e8;
}

html[data-theme="light"] .stage-control-layer::after {
    background: #e0e3e8;
}

html[data-theme="light"] .expand-btn {
    background: #ffffff;
    border-color: #d0d5dd;
    color: #444444;
}

html[data-theme="light"] .expand-btn:hover {
    background: #f0f2f5;
    color: #111111;
    border-color: #999999;
}

/* Inline UI/UX Slider Edge Mask & Arrows */
html[data-theme="light"] .slider-media-canvas::after {
    background: linear-gradient(to left, #f5f6f8 0%, rgba(245, 246, 248, 0) 100%);
}

html[data-theme="light"] .inline-nav-arrow,
html[data-theme="light"] .nav-arrow {
    background: rgba(255, 255, 255, 0.85);
    border-color: #d0d5dd;
    color: #111111;
}

/* Portfolio Gallery Cards & Shimmer Skeleton */
html[data-theme="light"] .gallery-item {
    background: #ffffff;
    border: 1px solid #e2e5ea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .gallery-item:not(.is-loaded) {
    background: linear-gradient(110deg, #eceef2 30%, #f7f8fa 50%, #eceef2 70%);
    background-size: 200% 100%;
}

html[data-theme="light"] .btn-load-more {
    background: #e2e5ea;
    color: #222222;
    opacity: 0.85;
}

html[data-theme="light"] .btn-load-more.grid-exhausted {
    background: #ffffff;
    color: #137a6c;
    border: 1px solid #137a6c;
}

/* Contact Section & Form Inputs */
html[data-theme="light"] .contact-section {
    background: #f5f6f8;
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea {
    background: #ffffff;
    border-color: #d0d5dd;
    color: #111111;
}

html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group textarea:focus {
    border-color: #137a6c;
}

html[data-theme="light"] .btn-submit {
    background: #141414;
    color: #ffffff;
    border-color: #141414;
}

html[data-theme="light"] .btn-submit:hover {
    background: transparent;
    color: #137a6c;
    box-shadow: inset 0 0 0 1px #137a6c;
}

/* Footer */
html[data-theme="light"] .main-footer {
    background: #eceef2;
    border-top-color: #dde0e6;
}

/* Modals (Project Lightbox & Carousel Lightbox) */
html[data-theme="light"] .modal-overlay,
html[data-theme="light"] .carousel-modal-overlay {
    background-color: rgba(245, 246, 248, 0.96);
}

html[data-theme="light"] .modal-window,
html[data-theme="light"] .modal-sidebar,
html[data-theme="light"] .carousel-modal-window,
html[data-theme="light"] .carousel-modal-caption-bar {
    background: #ffffff;
    border-color: #e0e3e8;
    color: #111111;
}

html[data-theme="light"] .modal-media-container,
html[data-theme="light"] .carousel-modal-viewport {
    background: #f0f2f5;
    border-bottom-color: #e0e3e8;
}

html[data-theme="light"] .modal-sidebar h2,
html[data-theme="light"] .meta-url-link {
    color: #111111;
}

html[data-theme="light"] .modal-description,
html[data-theme="light"] .meta-row,
html[data-theme="light"] .carousel-modal-caption-bar p {
    color: #444444;
}

html[data-theme="light"] .tag-chip {
    background: #f0f2f5;
    color: #444444;
}

html[data-theme="light"] .gallery-item.is-loaded img.img-cover{
    filter: invert(1);
}
html[data-theme="light"] .gallery-item:hover img.img-hover{
    filter: drop-shadow(5px 5px 5px #00000078);
}
html[data-theme="light"] .gallery-item:hover{
    background: #ffffff;
    box-shadow: inset 0 0 100px 50px #ccc;
}