/* ================================================================
   KC HOME TEXTILE — Premium Design System
   ================================================================ */

/* ----- CSS Custom Properties ----- */
:root {
    /* Colors */
    --clr-bg: #0a0a0f;
    --clr-bg-2: #111118;
    --clr-bg-3: #1a1a24;
    --clr-surface: #16161f;
    --clr-surface-2: #1e1e2a;
    --clr-border: rgba(255, 255, 255, 0.06);
    --clr-text: #f0ebe3;
    --clr-text-muted: #8a8a9a;
    --clr-text-dim: #5a5a6a;

    /* Gold accent palette */
    --clr-accent: #c9a96e;
    --clr-accent-light: #dfc99f;
    --clr-accent-dark: #a07d3f;
    --clr-accent-glow: rgba(201, 169, 110, 0.15);

    /* Gradients */
    --grad-accent: linear-gradient(135deg, #c9a96e, #e8d5a3, #c9a96e);
    --grad-hero: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 0.4) 50%, rgba(10, 10, 15, 0.95) 100%);
    --grad-card: linear-gradient(145deg, rgba(201, 169, 110, 0.04), rgba(201, 169, 110, 0));
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-pad: clamp(80px, 12vw, 150px);
    --container-max: 1280px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ----- Light Theme Variables ----- */
:root[data-theme="light"] {
    --clr-bg: #fdfaf3;
    --clr-bg-2: #fffdf9;
    --clr-bg-3: #f7f3e9;
    --clr-surface: #fffefb;
    --clr-surface-2: #fdfbf7;
    --clr-border: rgba(0, 0, 0, 0.05);
    --clr-text: #2a2824;
    --clr-text-muted: #6b665c;
    --clr-text-dim: #969185;

    --grad-hero: linear-gradient(180deg, rgba(253, 250, 243, 0) 0%, rgba(253, 250, 243, 0.4) 50%, rgba(253, 250, 243, 0.95) 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-accent-dark) var(--clr-bg);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--clr-accent-dark);
    border-radius: 3px;
}

body {
    font-family: var(--font-body);
    background: var(--clr-bg);
    color: var(--clr-text);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 769px) {
    body {
        cursor: none;
    }
}


img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.custom-cursor,
.cursor-follower,
.navbar,
.nav-links,
.hero,
.section,
.footer,
.card,
.btn,
.theme-toggle,
.form-input {
    transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Custom Cursor ----- */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--clr-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100000;
    transition: transform 0.15s var(--ease-out-expo), background 0.3s, opacity 0.3s;
    opacity: 0;
    box-shadow: 0 0 10px var(--clr-accent-glow), 0 0 0 1.5px rgba(255, 255, 255, 0.4);
    will-change: transform;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid var(--clr-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.4s var(--ease-out-expo), width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
    opacity: 0;
    will-change: transform;
}

.cursor-hover .custom-cursor {
    transform: scale(3);
    background: var(--clr-accent-light);
}

.cursor-hover .cursor-follower {
    width: 60px;
    height: 60px;
    border-color: var(--clr-accent-light);
    opacity: 0.3;
}

/* ----- Preloader ----- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--clr-bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo img {
    height: clamp(60px, 10vw, 100px);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(201, 169, 110, 0.3));
    animation: preloaderSophisticated 3s var(--ease-in-out) infinite;
}

@keyframes preloaderSophisticated {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(0.98);
        filter: drop-shadow(0 0 10px rgba(201, 169, 110, 0.2)) brightness(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
        filter: drop-shadow(0 0 25px rgba(201, 169, 110, 0.5)) brightness(1.1);
    }
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.preloader-bar {
    width: 240px;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 32px auto;
    border-radius: 4px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    background: var(--grad-accent);
    border-radius: 2px;
    animation: preloaderFill 2s var(--ease-out-quint) forwards;
}

@keyframes preloaderFill {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.preloader-text {
    font-size: 13px;
    color: var(--clr-text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ----- Navigation ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.5s var(--ease-out-expo);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--clr-border);
}

.navbar.menu-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

:root[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--clr-border);
    color: var(--clr-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--clr-accent-glow);
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-2px);
}

.sun-icon,
.moon-icon {
    position: absolute;
    transition: all 0.5s var(--ease-out-expo);
}

/* Hide moon in dark, hide sun in light */
:root[data-theme="dark"] .sun-icon {
    transform: translateY(40px);
    opacity: 0;
}

:root[data-theme="dark"] .moon-icon {
    transform: translateY(0);
    opacity: 1;
}

:root[data-theme="light"] .sun-icon {
    transform: translateY(0);
    opacity: 1;
}

:root[data-theme="light"] .moon-icon {
    transform: translateY(-40px);
    opacity: 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-image {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: all 0.6s var(--ease-out-expo);
    will-change: height, transform, filter;
}

.logo-image:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 8px 15px rgba(201, 169, 110, 0.25));
}

.navbar.scrolled .logo-image {
    height: 48px;
}

:root[data-theme="light"] .logo-image {
    filter: invert(1) brightness(0.2) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

:root[data-theme="light"] .logo-image:hover {
    filter: invert(1) brightness(0.2) drop-shadow(0 8px 15px rgba(201, 169, 110, 0.25));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    z-index: 1001;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--clr-text-muted);
    position: relative;
    transition: color 0.3s;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--clr-accent);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease-out-expo);
        z-index: 1000;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    :root[data-theme="light"] .nav-links {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.toggle-line {
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ----- Hero Section ----- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1520 40%, #0f0f18 100%);
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
    z-index: 1;
    transition: background 0.5s var(--ease-out-expo);
}

:root[data-theme="light"] .hero-bg {
    background: linear-gradient(135deg, #fdfaf3 0%, #f7f1e1 40%, #fdfaf3 100%);
}

:root[data-theme="light"] .hero-overlay::before {
    background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.12) 0%, transparent 70%);
}

:root[data-theme="light"] .particle {
    background: var(--clr-accent-dark);
    opacity: 0.2;
}

:root[data-theme="light"] .hero-badge {
    background: rgba(201, 169, 110, 0.1);
    color: var(--clr-accent-dark);
    border-color: rgba(201, 169, 110, 0.4);
}

:root[data-theme="light"] .btn-outline {
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--clr-text);
}

:root[data-theme="light"] .scroll-mouse {
    border-color: var(--clr-text-dim);
}

:root[data-theme="light"] .scroll-wheel {
    background: var(--clr-accent);
}

:root[data-theme="light"] .marquee-item {
    color: #0a0a0f;
}

:root[data-theme="light"] .about-experience-badge {
    background: var(--clr-accent-dark);
    color: #ffffff;
}

:root[data-theme="light"] .btn-primary {
    color: #0a0a0f !important;
}

:root[data-theme="light"] .particle {
    background: var(--clr-accent-dark);
    opacity: 0.15;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--clr-accent);
    border-radius: 50%;
    opacity: 0;
    animation-name: particleFloat;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) translateX(0) scale(0);
    }

    10% {
        opacity: 0.6;
        transform: scale(1);
    }

    90% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) translateX(100px) scale(0);
    }
}


.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 80px 20px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-accent-light);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    background: rgba(201, 169, 110, 0.05);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--clr-accent);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 90px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line .char {
    display: inline-block;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.8s var(--ease-out-expo), opacity 0.8s var(--ease-out-expo);
}

.title-line.animated .char {
    transform: translateY(0);
    opacity: 1;
}

.title-accent {
    color: var(--clr-accent);
}

.title-accent .char {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle,
.hero-desc {
    font-size: clamp(15px, 1.8vw, 19px);
    color: var(--clr-text-muted);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.8;
}

.hero-cta,
.hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
    background: var(--grad-accent);
    color: var(--clr-bg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201, 169, 110, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--clr-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.1);
}

.btn-sm {
    padding: 12px 28px;
    font-size: 13px;
}

.btn-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 5;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--clr-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-text-dim);
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: floatShape 20s ease-in-out infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(201, 169, 110, 0.08);
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(201, 169, 110, 0.05);
    bottom: 10%;
    left: -5%;
    animation-delay: -7s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(201, 169, 110, 0.06);
    top: 50%;
    left: 20%;
    animation-delay: -14s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    100% {
        transform: translate(10px, -10px) scale(1.05);
    }
}

/* ----- Section Common Styles ----- */
.section {
    padding: var(--section-pad) 0;
    position: relative;
    width: 100%;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 16px;
    position: relative;
    padding-left: 32px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--clr-accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.text-accent {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--clr-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

/* ----- About Section ----- */
.about {
    background: var(--clr-bg-2);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 15, 0.4) 100%);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: var(--clr-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--clr-bg);
    box-shadow: 0 12px 40px rgba(201, 169, 110, 0.3);
    animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.experience-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.experience-text {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-text {
    color: var(--clr-text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--clr-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--clr-accent);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    color: var(--clr-accent);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--clr-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ----- Products Section ----- */
.products {
    background: var(--clr-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.product-card {
    display: block;
    background: var(--grad-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

.product-card:hover {
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(201, 169, 110, 0.05);
}

.product-image-container {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out-expo);
}

.product-card:hover .product-explore {
    transform: translateY(0);
}

.product-info {
    padding: 24px;
}

.product-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: var(--clr-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--clr-accent-glow);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--clr-accent);
}

/* Wide Product Card */
.product-card-wide {
    grid-column: 1 / -1;
    background: var(--grad-card);
    border: 1px solid var(--clr-border);
}

.product-card-wide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px;
    gap: 40px;
}

.product-wide-text {
    max-width: 500px;
}

.product-wide-text .product-title {
    font-size: 28px;
    margin-bottom: 16px;
}

.product-wide-text .product-desc {
    margin-bottom: 28px;
}

.product-wide-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-fabric {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            var(--clr-accent),
            var(--clr-accent-light),
            var(--clr-accent-dark),
            var(--clr-accent));
    filter: blur(40px);
    opacity: 0.3;
    animation: fabricSpin 15s linear infinite;
}

@keyframes fabricSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ----- Features Section ----- */
.features {
    background: var(--clr-bg-2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--grad-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card:hover::before {
    opacity: 0.5;
}

.feature-card:hover {
    border-color: rgba(201, 169, 110, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.feature-icon-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
}

.feature-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-accent-glow);
    border-radius: var(--radius-md);
    color: var(--clr-accent);
    position: relative;
    z-index: 1;
    transition: all 0.5s var(--ease-out-expo);
}

.feature-card:hover .feature-icon {
    background: var(--clr-accent);
    color: var(--clr-bg);
    transform: scale(1.1) rotate(5deg);
}

.feature-icon-ring {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: var(--radius-md);
    transform: rotate(8deg);
    transition: transform 0.5s var(--ease-out-expo);
}

.feature-card:hover .feature-icon-ring {
    transform: rotate(-5deg) scale(1.1);
    border-color: rgba(201, 169, 110, 0.2);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ----- Gallery Section ----- */
.gallery {
    background: var(--clr-bg);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 12px 28px;
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 50px;
    background: transparent;
    color: var(--clr-text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.gallery-tab:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.gallery-tab.active {
    background: var(--grad-accent);
    border-color: var(--clr-accent);
    color: var(--clr-bg);
    font-weight: 600;
}

.gallery-item.gallery-hidden {
    display: none;
}

.gallery-item.gallery-fade-in {
    animation: galleryFadeIn 0.5s var(--ease-out-expo) forwards;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: 320px;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 1;
    transition: background 0.5s var(--ease-out-expo);
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.92) 100%);
}

.gallery-caption {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    transform: translateY(0);
    transition: transform 0.5s var(--ease-out-expo), color 0.4s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .gallery-caption {
    color: #ffffff;
    transform: translateY(-4px);
}

.gallery-subcaption {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    letter-spacing: 0.5px;
    opacity: 0.9;
    transition: color 0.4s;
}

.gallery-item:hover .gallery-subcaption {
    color: #ffffff;
}

.gallery-count {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.4s var(--ease-out-expo);
}

.gallery-item:hover .gallery-count {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Product Sub-Gallery Modal ----- */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
    padding: 0 clamp(20px, 4vw, 60px) 60px;
}

.product-modal.open {
    opacity: 1;
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: 32px;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.modal-product-name {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-product-sub {
    font-size: 14px;
    color: var(--clr-text-muted);
    margin-top: 4px;
    display: block;
}

.modal-close {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--clr-text);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.modal-close:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.modal-thumb {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.4s var(--ease-out-expo);
}

.modal-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 169, 110, 0.2);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.modal-thumb:hover img {
    transform: scale(1.08);
}

/* ----- Thumbnail Lightbox ----- */
.thumb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(10, 10, 15, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s;
}

.thumb-lightbox.open {
    opacity: 1;
}

.thumb-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lb-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lb-close:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

/* ----- Testimonials Section ----- */
.testimonials {
    background: var(--clr-bg-2);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s var(--ease-out-expo);
}

.testimonial-card {
    min-width: 100%;
    padding: 48px;
    background: var(--grad-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.testimonial-stars {
    color: var(--clr-accent);
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.5vw, 24px);
    font-style: italic;
    line-height: 1.7;
    color: var(--clr-text);
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-accent-glow);
    border: 1px solid rgba(201, 169, 110, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--clr-accent);
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: var(--clr-text-muted);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    background: transparent;
    color: var(--clr-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-btn:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-glow);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-border);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--clr-accent);
    width: 24px;
    border-radius: 4px;
}

/* ----- Marquee Section ----- */
.marquee-section {
    padding: 28px 0;
    background: var(--clr-accent);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 48px;
    padding: 0 24px;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: #0a0a0f;
    white-space: nowrap;
    letter-spacing: 1px;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ----- Contact Section ----- */
.contact {
    background: var(--clr-bg);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}

.contact-info {
    text-align: center;
    width: 100%;
}

.contact-desc {
    font-size: 15px;
    color: var(--clr-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    margin-top: 48px;
}

@media (max-width: 900px) {
    .contact-details {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px;
    background: var(--grad-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.contact-detail-item:hover {
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.contact-detail-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--clr-accent-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.contact-detail-item:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--clr-accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: all 0.5s var(--ease-out-expo);
}

.contact-detail-item:hover .contact-icon {
    background: var(--clr-accent);
    color: var(--clr-bg);
    transform: scale(1.1);
}

.contact-detail-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 14px;
    color: var(--clr-text-muted);
}


/* Contact Form */
.contact-form-wrapper {
    background: var(--grad-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--clr-border);
    color: var(--clr-text);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--clr-accent);
}

.form-label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 14px;
    color: var(--clr-text-muted);
    pointer-events: none;
    transition: all 0.3s var(--ease-out-expo);
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -8px;
    font-size: 11px;
    color: var(--clr-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-accent);
    transition: width 0.4s var(--ease-out-expo);
}

.form-input:focus~.form-line {
    width: 100%;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* ----- Footer ----- */
.footer {
    background: var(--clr-bg-2);
    padding: 80px 0 0;
    border-top: 1px solid var(--clr-border);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-desc {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-glow);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: var(--clr-text-muted);
    transition: all 0.3s;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.footer-link:hover {
    color: var(--clr-accent);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--clr-border);
    font-size: 13px;
    color: var(--clr-text-dim);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--clr-text-dim);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--clr-accent);
}

/* ----- Back to Top ----- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-accent);
    color: var(--clr-bg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(201, 169, 110, 0.4);
}

/* ----- Scroll Reveal Animations ----- */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: all 0.9s var(--ease-out-expo);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

@media (max-width: 768px) {

    /* Hard reset for reveal elements to escape JS issues */
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        transition: none !important;
    }
}

.reveal-scale.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ----- Responsive Design ----- */
@media (max-width: 1280px) {
    :root {
        --section-pad: 100px;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 24px;
    }

    .section {
        padding: 24px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-follower {
        display: none;
    }

    /* Navbar Mobile Fix */
    .navbar {
        padding: 16px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link {
        font-size: 20px;
        font-weight: 500;
        letter-spacing: 0.5px;
        color: var(--clr-text-muted);
        position: relative;
        transition: color 0.3s;
        padding: 4px 0;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--clr-accent);
        transition: width 0.3s var(--ease-out-expo);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--clr-text);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    /* Hero Responsive */
    .hero {
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 48px);
    }

    .hero-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }

    /* Gallery Tabs Responsive */
    .gallery-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        margin-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
    }

    .gallery-tabs::-webkit-scrollbar {
        display: none;
    }

    .gallery-tab {
        flex-shrink: 0;
        padding: 10px 20px;
        font-size: 13px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 6px;
    }

    .gallery-item {
        aspect-ratio: 1/1;
    }

    .gallery-overlay {
        background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.95) 100%);
        padding: 10px;
    }

    .gallery-caption {
        font-size: 14px;
        line-height: 1.1;
        font-weight: 800;
        margin-bottom: 2px;
    }

    .gallery-sub {
        font-size: 10px;
        line-height: 1.2;
        margin-top: 0;
    }

    .gallery-count {
        top: 6px;
        right: 6px;
        padding: 3px 8px;
        font-size: 9px;
    }

    /* Product Modal Mobile */
    .product-modal {
        padding: 0 15px 40px;
    }

    .modal-header {
        padding: 20px 0;
        margin-bottom: 20px;
    }

    .modal-product-name {
        font-size: 22px;
    }

    .modal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .modal-thumb {
        aspect-ratio: 1/1;
    }

    /* Other Grids */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-experience-badge {
        right: 15px;
        bottom: -5px;
        width: 80px;
        height: 80px;
    }

    .experience-number {
        font-size: 22px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}