/* ===================================================================
   PORTFOLIO CSS - OPTIMIZED & RESPONSIVE
   Mobile-First Approach | Cross-Browser Compatible | Performance Optimized
   =================================================================== */

/* ===================================================================
   1. CSS RESET & BASE STYLES
   =================================================================== */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

/* ===================================================================
   2. CSS CUSTOM PROPERTIES (VARIABLES)
   =================================================================== */

:root {
    /* Color System */
    --arslanbehleem-accent: #78F5B7;
    --arslanbehleem-accent2: #7AB8FF;
    --arslanbehleem-bg1: #0B1020;
    --arslanbehleem-bg2: #0C1026;
    --arslanbehleem-card: rgba(255, 255, 255, 0.06);
    --color-white: #fff;
    --color-black: #000;
    --color-text-primary: #333;
    --color-link: #c36;
    --color-link-hover: #336;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2rem;       /* 32px */
    --space-2xl: 3rem;      /* 48px */
    --space-3xl: 4rem;      /* 64px */
    
    /* Responsive Spacing */
    --section-padding: clamp(3rem, 8vw, 5.625rem);
    --container-padding: clamp(0.875rem, 4vw, 1.5rem);
    --card-padding: clamp(1rem, 3vw, 1.25rem);
    
    /* Typography Scale */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    
    /* Responsive Typography */
    --h1-size: clamp(2rem, 5vw, 3.75rem);
    --h2-size: clamp(1.625rem, 3.3vw, 2.5rem);
    --h3-size: clamp(1.25rem, 2.5vw, 1.75rem);
    
    /* Layout */
    --container-max-width: 1160px;
    --content-max-width: 800px;
    --wide-max-width: 1200px;
    
    /* Border Radius */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.75rem;    /* 12px */
    --radius-lg: 1rem;       /* 16px */
    --radius-xl: 1.25rem;    /* 20px */
    --radius-full: 999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.6s ease;
    
    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 50;
    --z-modal: 100;
    --z-tooltip: 200;
    
    /* Other */
    --direction-multiplier: 1;
    --page-title-display: block;
}

html[dir="rtl"] {
    --direction-multiplier: -1;
}

/* ===================================================================
   3. TYPOGRAPHY
   =================================================================== */

body {
    background-color: var(--color-white);
    color: var(--color-text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    margin-block-start: 0.5rem;
    margin-block-end: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p {
    margin-block-start: 0;
    margin-block-end: 0.9rem;
}

b, strong {
    font-weight: bolder;
}

sub {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    bottom: -0.25em;
}

/* ===================================================================
   4. LINKS & BUTTONS
   =================================================================== */

a {
    background-color: transparent;
    color: var(--color-link);
    text-decoration: none;
}

a:active,
a:hover {
    color: var(--color-link-hover);
}

a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
    outline: 0;
}

.page-content a {
    text-decoration: underline;
}

a:where(:not(.wp-element-button)) {
    text-decoration: underline;
}

/* Button Base Styles */
button {
    font-family: inherit;
    font-size: var(--text-base);
    line-height: 1.5;
    margin: 0;
    overflow: visible;
    text-transform: none;
    -webkit-appearance: button;
    appearance: button;
    width: auto;
}

[type="button"],
[type="submit"],
button {
    background-color: transparent;
    border: 1px solid var(--color-link);
    border-radius: var(--radius-sm);
    color: var(--color-link);
    display: inline-block;
    font-size: var(--text-base);
    font-weight: 400;
    padding: 0.5rem 1rem;
    text-align: center;
    transition: all var(--transition-base);
    user-select: none;
    white-space: nowrap;
    cursor: pointer;
}

[type="button"]:focus:not(:focus-visible),
[type="submit"]:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: 0;
}

[type="button"]:focus,
[type="button"]:hover,
[type="submit"]:focus,
[type="submit"]:hover,
button:focus,
button:hover {
    background-color: var(--color-link);
    color: var(--color-white);
    text-decoration: none;
}

[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

/* ===================================================================
   5. FORM ELEMENTS
   =================================================================== */

label {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* ===================================================================
   6. MEDIA ELEMENTS
   =================================================================== */

img {
    border-style: none;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    max-width: 100%;
    display: block;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/* ===================================================================
   7. UTILITY CLASSES
   =================================================================== */

[hidden] {
    display: none;
}

.sticky {
    display: block;
    position: relative;
}

/* ===================================================================
   8. PRINT STYLES
   =================================================================== */

@media print {
    *,
    *::after,
    *::before {
        background: transparent !important;
        box-shadow: none !important;
        color: var(--color-black) !important;
        text-shadow: none !important;
    }
    
    a,
    a:visited {
        text-decoration: underline;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
    }
    
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }
    
    img {
        break-inside: avoid;
    }
    
    h2, h3, p {
        orphans: 3;
        widows: 3;
    }
    
    h2, h3 {
        break-after: avoid;
    }
}

/* ===================================================================
   9. WORDPRESS & LEGACY STYLES
   =================================================================== */

:root {
    --wp--style--global--content-size: 800px;
    --wp--style--global--wide-size: 1200px;
    --wp--style--block-gap: 24px;
}

:where(body) {
    margin: 0;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 24px;
    margin-block-end: 0;
}

:where(.wp-site-blocks) > :first-child {
    margin-block-start: 0;
}

:where(.wp-site-blocks) > :last-child {
    margin-block-end: 0;
}

:root :where(.is-layout-flow) > :first-child {
    margin-block-start: 0;
}

:root :where(.is-layout-flow) > :last-child {
    margin-block-end: 0;
}

:root :where(.is-layout-flow) > * {
    margin-block-start: 24px;
    margin-block-end: 0;
}

:root :where(.is-layout-constrained) > :first-child {
    margin-block-start: 0;
}

:root :where(.is-layout-constrained) > :last-child {
    margin-block-end: 0;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 24px;
    margin-block-end: 0;
}

:root :where(.is-layout-flex) {
    gap: 24px;
}

:root :where(.is-layout-grid) {
    gap: 24px;
}

:root :where(.wp-block-pullquote) {
    font-size: 1.5em;
    line-height: 1.6;
}

.e-logo-wrapper {
    background: var(--e-a-bg-logo);
    border-radius: 50%;
    display: inline-block;
    line-height: 1;
    padding: 0.75em;
}

.e-logo-wrapper i {
    color: var(--e-a-color-logo);
    font-size: 1em;
}

/* Hide default site headers */
.page-header,
.page-title,
.site-header,
header.site-header {
    display: none !important;
}

#content,
.page-content,
.site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Legacy site footer/header styles */
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header) {
    margin-inline-start: auto;
    margin-inline-end: auto;
    width: 100%;
    padding-inline-start: var(--container-padding);
    padding-inline-end: var(--container-padding);
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block-start: 1rem;
    padding-block-end: 1rem;
    position: relative;
}

.site-header .site-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.site-header .site-branding {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.site-header .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.site-header .header-inner .site-branding .site-title {
    margin: 0;
}

.site-header .header-inner .site-branding .site-logo img {
    display: block;
}

.site-footer {
    padding-block-start: 1rem;
    padding-block-end: 1rem;
    position: relative;
}

.site-footer .site-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.site-footer .site-branding {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.site-footer .footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.site-footer .footer-inner .site-branding .site-title {
    margin: 0;
}

.site-footer .footer-inner .site-branding .site-logo img {
    display: block;
}

.site-navigation {
    align-items: center;
    display: flex;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
}

/* ===================================================================
   10. ANIMATIONS & KEYFRAMES
   =================================================================== */

@keyframes eicon-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

@keyframes arslanbehleem-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* ===================================================================
   11. MOTION PREFERENCES
   =================================================================== */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .arslanbehleem-fab {
        animation: none;
    }
    
    .arslanbehleem-reveal {
        transition: opacity 0.3s ease;
    }
}


/* ===================================================================
   12. PORTFOLIO COMPONENTS - BASE (MOBILE FIRST)
   =================================================================== */

/* Portfolio Root */
#arslanbehleem-portfolio {
    color: var(--color-white);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    display: block;
}

.arslanbehleem-wrap {
    background: linear-gradient(to bottom, var(--arslanbehleem-bg1), var(--arslanbehleem-bg2) 60%, var(--arslanbehleem-bg1));
}

#arslanbehleem-portfolio.arslanbehleem-wrap {
    width: 100%;
    margin: 0;
}

/* Container */
.arslanbehleem-container {
    max-width: var(--container-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

/* ===================================================================
   13. NAVIGATION
   =================================================================== */

.arslanbehleem-nav {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.arslanbehleem-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: clamp(0.625rem, 2vw, 0.875rem);
}

.arslanbehleem-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    font-size: var(--text-sm);
}

.arslanbehleem-logo-dot {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--arslanbehleem-accent), var(--arslanbehleem-accent2));
    flex-shrink: 0;
}

.arslanbehleem-nav-links {
    display: none;
    gap: clamp(0.75rem, 2.5vw, 1.25rem);
    font-size: var(--text-sm);
}

/* ===================================================================
   14. BUTTONS & BADGES
   =================================================================== */

.arslanbehleem-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.125rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    font-size: var(--text-sm);
    min-height: 44px;
    justify-content: center;
}

.arslanbehleem-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
    color: var(--color-white);
}

.arslanbehleem-btn:focus-visible {
    outline: 2px solid var(--arslanbehleem-accent);
    outline-offset: 2px;
}

.arslanbehleem-btn--primary {
    background: var(--arslanbehleem-accent);
    color: #081015;
    border-color: transparent;
}

.arslanbehleem-btn--primary:hover {
    background: var(--arslanbehleem-accent2);
    color: #081015;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(122, 184, 255, 0.4);
}

.arslanbehleem-badge {
    display: inline-block;
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.95);
    transition: var(--transition-base);
}

.arslanbehleem-workitem:hover .arslanbehleem-badge {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.arslanbehleem-badge-pro {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
}

/* ===================================================================
   15. HERO SECTION
   =================================================================== */

.arslanbehleem-hero {
    position: relative;
    overflow: hidden;
}

header.arslanbehleem-hero,
section.arslanbehleem-sec {
    scroll-margin-top: 110px;
}

.arslanbehleem-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(600px 400px at 20% 15%, rgba(122, 184, 255, 0.28), transparent 60%),
        radial-gradient(600px 400px at 80% 70%, rgba(120, 245, 183, 0.22), transparent 60%);
}

.arslanbehleem-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: clamp(4rem, 12vw, 7.5rem);
    position: relative;
    z-index: 1;
}

.arslanbehleem-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.8;
    font-size: var(--text-xs);
}

.arslanbehleem-h1 {
    font-size: clamp(2.125rem, 5vw, 3.75rem);
    line-height: 1.05;
    margin: 0.625rem 0 0 0;
    font-weight: 800;
}

.arslanbehleem-head-accent {
    background: linear-gradient(90deg, var(--arslanbehleem-accent), var(--arslanbehleem-accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-top: 0.375rem;
}

.arslanbehleem-sub {
    margin-top: 0.875rem;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    opacity: 0.88;
    max-width: 640px;
}

.arslanbehleem-cta-row {
    margin-top: 1.375rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.arslanbehleem-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.125rem;
    font-size: var(--text-sm);
    opacity: 0.85;
}

.arslanbehleem-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.375rem;
}

.arslanbehleem-stat {
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: var(--arslanbehleem-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.arslanbehleem-stat .v {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 800;
    color: var(--arslanbehleem-accent);
}

.arslanbehleem-stat .l {
    font-size: var(--text-xs);
    opacity: 0.7;
    margin-top: 0.25rem;
}

.arslanbehleem-portrait {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    margin: 0;
}

.arslanbehleem-portrait img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================================================
   16. SECTIONS
   =================================================================== */

.arslanbehleem-sec {
    padding-block: var(--section-padding);
}

.arslanbehleem-sec h2 {
    font-size: var(--h2-size);
    font-weight: 800;
    margin: 0;
}

.arslanbehleem-sec p.arslanbehleem-lead {
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* ===================================================================
   17. GRID SYSTEMS
   =================================================================== */

.arslanbehleem-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.125rem;
}

/* ===================================================================
   18. CARDS
   =================================================================== */

.arslanbehleem-card {
    border-radius: var(--radius-xl);
    background: var(--arslanbehleem-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.arslanbehleem-service-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.arslanbehleem-iconbox {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(120, 245, 183, 0.18), rgba(122, 184, 255, 0.18));
    flex-shrink: 0;
}

.arslanbehleem-hint {
    font-size: var(--text-sm);
    opacity: 0.75;
}

.arslanbehleem-card .arslanbehleem-actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

/* ===================================================================
   19. FILTERS & TABS
   =================================================================== */

.arslanbehleem-filters {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
    padding: 0.625rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.22) inset,
        0 10px 24px rgba(0, 0, 0, 0.08);
}

.arslanbehleem-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-weight: 600;
    letter-spacing: 0.0125em;
    cursor: pointer;
    font-size: var(--text-sm);
    transition: transform var(--transition-fast), background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    min-height: 44px;
}

.arslanbehleem-tab .ico {
    opacity: 0.95;
}

.arslanbehleem-tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.arslanbehleem-tab:focus-visible {
    outline: 2px solid var(--arslanbehleem-accent);
    outline-offset: 2px;
}

.arslanbehleem-tab[aria-pressed="true"] {
    background: linear-gradient(135deg, rgba(120, 245, 183, 0.6), rgba(122, 184, 255, 0.6));
    color: #000000;
    border-color: rgba(120, 245, 183, 0.4);
    box-shadow: 
        0 8px 24px rgba(122, 184, 255, 0.25),
        0 2px 0 rgba(0, 0, 0, 0.1) inset;
}

.arslanbehleem-tab[aria-pressed="true"]:hover {
    background: linear-gradient(135deg, rgba(120, 245, 183, 0.8), rgba(122, 184, 255, 0.8));
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 
        0 10px 28px rgba(122, 184, 255, 0.3),
        0 2px 0 rgba(0, 0, 0, 0.1) inset;
}

.arslanbehleem-tab[aria-pressed="true"]::after {
    content: "";
    position: absolute;
    left: 0.875rem;
    right: 0.875rem;
    bottom: -0.375rem;
    height: 3px;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, var(--arslanbehleem-accent), var(--arslanbehleem-accent2));
}

/* ===================================================================
   20. PORTFOLIO WORK SECTION
   =================================================================== */

.arslanbehleem-workwrap {
    position: relative;
}

.arslanbehleem-workgrid {
    margin-top: 1.125rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.arslanbehleem-workitem {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--arslanbehleem-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.arslanbehleem-workitem:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(120, 245, 183, 0.4);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(120, 245, 183, 0.3),
        0 0 20px rgba(120, 245, 183, 0.15);
}

.arslanbehleem-workitem:hover .arslanbehleem-workmeta strong {
    color: var(--arslanbehleem-accent);
    text-shadow: 0 0 8px rgba(120, 245, 183, 0.3);
}

.arslanbehleem-workitem:focus-visible {
    outline: 2px solid var(--arslanbehleem-accent);
    outline-offset: 2px;
}

.arslanbehleem-thumb {
    aspect-ratio: 16 / 9;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
    overflow: hidden;
    cursor: pointer;
}

.arslanbehleem-thumb--image {
    background-size: cover;
    background-position: center;
}

.arslanbehleem-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 50% 50%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.25));
    opacity: 0.6;
    transition: var(--transition-base);
}

.arslanbehleem-workitem:hover .arslanbehleem-thumb::after {
    opacity: 0.4;
}

.arslanbehleem-clickhint {
    position: absolute;
    left: 0.625rem;
    bottom: 0.625rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    z-index: 1;
}

.arslanbehleem-workmeta {
    padding: 0.75rem 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.arslanbehleem-workmeta strong {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-base);
}

/* ===================================================================
   21. PAGINATION
   =================================================================== */

.arslanbehleem-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 0.875rem;
    flex-wrap: wrap;
}

.arslanbehleem-pagebtn {
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    color: var(--color-white);
    font-size: var(--text-sm);
    min-height: 44px;
    min-width: 44px;
    transition: var(--transition-base);
}

.arslanbehleem-pagebtn:hover:not([disabled]) {
    background: rgba(255, 255, 255, 0.12);
}

.arslanbehleem-pagebtn:focus-visible {
    outline: 2px solid var(--arslanbehleem-accent);
    outline-offset: 2px;
}

.arslanbehleem-pagebtn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===================================================================
   22. TESTIMONIALS
   =================================================================== */

.arslanbehleem-tgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.75rem, 2.5vw, 1.25rem);
    margin-top: 1.125rem;
}

.arslanbehleem-tcard {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 1.125rem;
    background: var(--arslanbehleem-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.arslanbehleem-stars {
    color: var(--arslanbehleem-accent);
    letter-spacing: 0.125rem;
    font-size: var(--text-sm);
}

.arslanbehleem-tcard p {
    margin: 0.5rem 0 0 0;
    opacity: 0.95;
}

/* ===================================================================
   23. LIGHTBOX
   =================================================================== */

.arslanbehleem-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    padding: clamp(1rem, 4vw, 2rem);
}

.arslanbehleem-lightbox.open {
    display: flex;
}

.arslanbehleem-lightbox-inner {
    background: var(--color-black);
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: 0 30px 120px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.arslanbehleem-lightbox iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.arslanbehleem-lightbox-close {
    position: absolute;
    top: -0.625rem;
    right: -0.625rem;
    background: var(--arslanbehleem-accent);
    border: 2px solid var(--color-white);
    color: #081015;
    border-radius: var(--radius-full);
    width: 2.25rem !important;
    height: 2.25rem !important;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 0 !important;
}

@media (max-width: 56.25em) {
    .arslanbehleem-lightbox-close {
        width: 1.75rem !important;
        height: 1.75rem !important;
        font-size: 0.75rem;
    }
}

.arslanbehleem-lightbox-close:hover {
    background: var(--arslanbehleem-accent2);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.arslanbehleem-lightbox-close:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* ===================================================================
   24. FOOTER
   =================================================================== */

.arslanbehleem-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.625rem 0;
    font-size: var(--text-sm);
    opacity: 0.8;
}

/* ===================================================================
   25. FLOATING ACTION BUTTON
   =================================================================== */

.arslanbehleem-fab {
    position: fixed;
    right: 1.125rem;
    bottom: 1.125rem;
    z-index: calc(var(--z-modal) - 1);
    animation: arslanbehleem-bounce 1.8s infinite;
    transition: opacity 0.6s ease, transform 0.6s ease, pointer-events 0s linear 0.6s;
}

.arslanbehleem-fab.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.8);
}

/* ===================================================================
   26. REVEAL ANIMATION
   =================================================================== */

.arslanbehleem-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: var(--transition-slow);
}

.arslanbehleem-reveal.in {
    opacity: 1;
    transform: none;
}


/* ===================================================================
   27. RESPONSIVE MEDIA QUERIES
   =================================================================== */

/* Small Mobile (480px+) */
@media (min-width: 30em) {
    .arslanbehleem-eyebrow {
        font-size: 0.6875rem;
    }
    
    .arslanbehleem-btn {
        font-size: var(--text-sm);
    }
}

/* Tablet (768px+) */
@media (min-width: 48em) {
    /* Legacy site styles */
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header) {
        max-width: 600px;
    }
    
    /* Stats Grid */
    .arslanbehleem-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Service Grid */
    .arslanbehleem-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Work Grid */
    .arslanbehleem-workgrid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Testimonials Grid */
    .arslanbehleem-tgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (1024px+) */
@media (min-width: 64em) {
    /* Legacy site styles */
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header) {
        max-width: 800px;
    }
    
    /* Navigation */
    .arslanbehleem-nav-links {
        display: flex;
    }
    
    /* Hero Grid */
    .arslanbehleem-hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        padding: 6.875rem clamp(1rem, 4vw, 2rem);
        gap: clamp(1.25rem, 4vw, 3.75rem);
    }
    
    /* Service Grid */
    .arslanbehleem-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Work Grid */
    .arslanbehleem-workgrid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Testimonials Grid */
    .arslanbehleem-tgrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 75em) {
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header) {
        max-width: 1140px;
    }
}

/* Legacy Responsive Styles */
@media (max-width: 36em) {
    .site-footer:not(.footer-stacked) .footer-inner .site-branding,
    .site-footer:not(.footer-stacked) .footer-inner .site-navigation {
        display: block;
        max-width: none;
        text-align: center;
        width: 100%;
    }
}

/* Mobile Specific Optimizations (max-width: 480px) */
@media (max-width: 30em) {
    .arslanbehleem-nav-inner {
        padding-block: 0.625rem;
    }
    
    .arslanbehleem-logo {
        font-size: 0.8125rem;
    }
    
    .arslanbehleem-nav-links .arslanbehleem-btn {
        font-size: var(--text-xs);
        padding: 0.5rem 0.75rem;
    }
    
    .arslanbehleem-eyebrow {
        font-size: 0.625rem;
        letter-spacing: 0.16em;
    }
    
    .arslanbehleem-h1 {
        font-size: clamp(1.75rem, 5vw, 3.75rem);
        line-height: 1.08;
    }
    
    .arslanbehleem-head-accent {
        margin-top: 0.25rem;
    }
    
    .arslanbehleem-sub {
        font-size: 0.875rem;
        max-width: 100%;
    }
    
    .arslanbehleem-cta-row .arslanbehleem-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .arslanbehleem-badge {
        font-size: 0.6875rem;
        padding: 0.3125rem 0.5rem;
    }
    
    .arslanbehleem-sec {
        padding: 3rem 0;
    }
    
    .arslanbehleem-sec h2 {
        font-size: 1.375rem;
    }
    
    .arslanbehleem-card {
        padding: 1rem;
    }
    
    .arslanbehleem-grid-3 {
        gap: 0.75rem;
    }
    
    .arslanbehleem-stat {
        padding: 0.75rem;
    }
    
    .arslanbehleem-stat .v {
        font-size: 1.25rem;
    }
    
    .arslanbehleem-stat .l {
        font-size: 0.6875rem;
    }
    
    .arslanbehleem-filters {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .arslanbehleem-tab {
        padding: 0.5rem 0.75rem;
        font-size: var(--text-xs);
    }
    
    .arslanbehleem-workmeta {
        padding: 0.625rem 0.75rem;
    }
    
    .arslanbehleem-clickhint {
        font-size: 0.6875rem;
    }
    
    .arslanbehleem-pagebtn {
        padding: 0.5rem 0.75rem;
        font-size: var(--text-xs);
    }
    
    .arslanbehleem-tcard {
        padding: 0.875rem;
    }
    
    .arslanbehleem-stars {
        font-size: 0.8125rem;
    }
    
    .arslanbehleem-footer {
        padding: 1.125rem 0;
        font-size: var(--text-xs);
    }
    
    .arslanbehleem-footer .arslanbehleem-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem !important;
    }
    
    .arslanbehleem-footer .arslanbehleem-container > div:last-child {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .arslanbehleem-fab .arslanbehleem-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    /* Reduce hover effects on mobile for better performance */
    .arslanbehleem-workitem:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 
            0 6px 18px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(120, 245, 183, 0.25),
            0 0 15px rgba(120, 245, 183, 0.1);
    }
}

/* Tablet Range Specific (481px - 640px) */
@media (min-width: 30.0625em) and (max-width: 40em) {
    .arslanbehleem-h1 {
        font-size: 2rem;
    }
    
    .arslanbehleem-sub {
        font-size: 0.9375rem;
    }
    
    /* Moderate hover effects on tablet */
    .arslanbehleem-workitem:hover {
        transform: translateY(-3px) scale(1.015);
        box-shadow: 
            0 7px 22px rgba(0, 0, 0, 0.22),
            0 0 0 1px rgba(120, 245, 183, 0.35),
            0 0 18px rgba(120, 245, 183, 0.12);
    }
}

/* Large Desktop Hover Effects (1024px+) */
@media (min-width: 64em) {
    .arslanbehleem-workitem:hover {
        transform: translateY(-5px) scale(1.025);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(120, 245, 183, 0.5),
            0 0 25px rgba(120, 245, 183, 0.2);
    }
}

/* ===================================================================
   28. CUSTOM SCROLLBAR
   =================================================================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--arslanbehleem-bg1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--arslanbehleem-accent), var(--arslanbehleem-accent2));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--arslanbehleem-accent2), var(--arslanbehleem-accent));
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--arslanbehleem-accent) var(--arslanbehleem-bg1);
}

/* ===================================================================
   29. ACCESSIBILITY ENHANCEMENTS
   =================================================================== */

/* Focus Visible Styles */
*:focus-visible {
    outline: 2px solid var(--arslanbehleem-accent);
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--arslanbehleem-accent);
    color: #081015;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    z-index: calc(var(--z-modal) + 1);
}

.skip-to-content:focus {
    top: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .arslanbehleem-btn,
    .arslanbehleem-card,
    .arslanbehleem-tab {
        border-width: 2px;
    }
}

/* ===================================================================
   30. BROWSER-SPECIFIC FIXES
   =================================================================== */

/* Safari Specific */
@supports (-webkit-touch-callout: none) {
    .arslanbehleem-hero-grid {
        min-height: -webkit-fill-available;
    }
}

/* Firefox Specific */
@-moz-document url-prefix() {
    .arslanbehleem-thumb {
        image-rendering: -moz-crisp-edges;
    }
}

/* ===================================================================
   31. PERFORMANCE OPTIMIZATIONS
   =================================================================== */

/* GPU Acceleration for Animations */
.arslanbehleem-btn,
.arslanbehleem-tab,
.arslanbehleem-workitem {
    will-change: transform;
}

/* Contain Layout Shifts */
.arslanbehleem-workgrid,
.arslanbehleem-grid-3,
.arslanbehleem-tgrid {
    contain: layout;
}

/* ===================================================================
   END OF STYLESHEET
   =================================================================== */
