/* Custom CSS for Minimalist Design */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Elegant modern button styles */
.theme-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.theme-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.theme-btn:hover {
    color: #0a0a0a;
}

.theme-btn:hover::before {
    width: 100%;
}

.theme-btn.dark {
    color: #0a0a0a;
    border-color: #0a0a0a;
}

.theme-btn.dark::before {
    background-color: #0a0a0a;
}

.theme-btn.dark:hover {
    color: #fff;
}

/* Selection Color */
::selection {
    background-color: #27272a; /* zinc-800 */
    color: #ffffff;
}

/* Subtle border for inputs */
input:focus, textarea:focus {
    outline: none;
    box-shadow: none;
    border-color: #18181b; /* zinc-900 */
}

/* ==================================================
   ENDÜSTRİYEL & MEKANİK ANİMASYONLAR
   ================================================== */

:root {
    /* Çok tok, anında tepki veren ve sonu sert duran özel mekanik eğri */
    --mech-easing: cubic-bezier(0.25, 1, 0.5, 1);
}

/* 1. Heavy Slide (Ağır ve Sürtünmesiz Kayma) */
.mech-slide-up {
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.8s var(--mech-easing), opacity 0.8s var(--mech-easing);
}
.mech-slide-up.mech-active {
    transform: translateY(0);
    opacity: 1;
}

.mech-slide-left {
    transform: translateX(100px);
    opacity: 0;
    transition: transform 0.9s var(--mech-easing), opacity 0.9s var(--mech-easing);
}
.mech-slide-left.mech-active {
    transform: translateX(0);
    opacity: 1;
}

.mech-slide-right {
    transform: translateX(-100px);
    opacity: 0;
    transition: transform 0.9s var(--mech-easing), opacity 0.9s var(--mech-easing);
}
.mech-slide-right.mech-active {
    transform: translateX(0);
    opacity: 1;
}

/* 2. Lazer Kesim (Laser Cut) Etkisi */
.laser-box {
    position: relative;
    border: none !important;
}
.laser-box::before, .laser-box::after {
    content: '';
    position: absolute;
    background: #0a0a0a;
    z-index: 10;
}
/* Üst çizgi */
.laser-box::before {
    top: 0; left: 0;
    width: 0; height: 2px;
    transition: width 0.5s linear; /* Lazer sabit hızda keser */
}
/* Sağ çizgi */
.laser-box::after {
    top: 0; right: 0;
    width: 2px; height: 0;
    transition: height 0.5s linear 0.5s; 
}
.laser-box.laser-active::before { width: 100%; }
.laser-box.laser-active::after { height: 100%; }

.laser-line-bottom, .laser-line-left {
    position: absolute;
    background: #0a0a0a;
    z-index: 10;
}
.laser-line-bottom {
    bottom: 0; right: 0;
    width: 0; height: 2px;
    transition: width 0.5s linear 1s;
}
.laser-line-left {
    bottom: 0; left: 0;
    width: 2px; height: 0;
    transition: height 0.5s linear 1.5s;
}
.laser-box.laser-active .laser-line-bottom { width: 100%; }
.laser-box.laser-active .laser-line-left { height: 100%; }

/* 3. Abkant Büküm Dinamiği (Menteşe gibi açılma) */
.abkant-reveal {
    opacity: 0;
    transform: perspective(1000px) rotateX(-90deg);
    transform-origin: top;
    transition: transform 0.7s var(--mech-easing), opacity 0.1s;
}
.abkant-reveal.mech-active {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg);
}

/* 4. Hover Kontrast (Mat yüzeye ışık vurması) */
.mech-hover {
    transition: filter 0.3s cubic-bezier(0, 0.55, 0.45, 1);
}
.mech-hover:hover {
    filter: brightness(1.15) contrast(1.2);
}

