/*
Theme Name: Kreativss Theme
Author: Hitesh Prajapati
Description: Official cinematic theme for Kreativss Group with WebP optimization.
Version: 1.0
*/

body {
    background-color: #0c0c0c;
    color: #FEFEFE;
    margin: 0;
    overflow-x: hidden;
    font-family: "Figtree", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Plus Jakarta Sans", sans-serif;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0c0c0c;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}



#progress-bar-container {
    width: 300px;
    height: 2px;
    background: #333;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: #e8ff0b;
    transition: width 0.1s linear;
}

#header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 8px 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    width: 95%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header.hidden-up {
    transform: translate(-50%, -150%);
    opacity: 0;
}

.nav-link {
    position: relative;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e8ff0b;
}

#hero-canvas,
#readability-overlay,
.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

#hero-canvas {
    z-index: 0;
}

#readability-overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.text-overlay {
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.scene-text {
    position: absolute;
    text-align: center;
    opacity: 0;
    transform: translateY(100px);
    width: 100%;
    padding: 0 5%;
    max-width: 1000px;
}

.scene-text .brand-tag {
    font-family: "Figtree", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #e5e7eb;
    margin-bottom: 0.75rem;
    display: block;
    font-weight: 600;
}

.scene-text h2 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.scene-text p {
    color: #d1d5db;
    font-weight: 400;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

.accent {
    color: #e8ff0b;
}

.card-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(232, 255, 11, 0.05);
}

.liquid-btn {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.liquid-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #e8ff0b;
    color: #e8ff0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(232, 255, 11, 0.2);
}

.core-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.core-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(232, 255, 11, 0.4), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 10;
}

.core-card:hover::before {
    opacity: 1;
}

.core-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 255, 11, 0.3);
    box-shadow: 0 10px 40px -10px rgba(232, 255, 11, 0.15);
}

.footer-container {
    position: relative;
    z-index: 20;
    background-color: #0c0c0c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 1.5rem;
    text-align: center;
}

.text-gray-200,
.text-gray-300,
.text-gray-400,
.text-gray-500 {
    color: #ffffff !important;
}

body.light-mode {
    background-color: #f8f9fa !important;
    color: #000000 !important;
}

body.light-mode .bg-kreativssBlack,
body.light-mode .bg-\[\#0c0c0c\],
body.light-mode .bg-\[\#0d0d0d\],
body.light-mode .bg-\[\#0a0a0a\],
body.light-mode .bg-black {
    background-color: #f8f9fa !important;
}

body.light-mode #hero-pin-wrapper {
    background-color: #000 !important;
    color: #ffffff !important;
}

body.light-mode .text-white,
body.light-mode .text-gray-200,
body.light-mode .text-gray-300,
body.light-mode .text-gray-400,
body.light-mode .text-gray-500 {
    color: #000000 !important;
}

body.light-mode #hero-pin-wrapper .text-white,
body.light-mode #hero-pin-wrapper .text-gray-200,
body.light-mode #hero-pin-wrapper .text-gray-300,
body.light-mode #hero-pin-wrapper .text-gray-400,
body.light-mode #hero-pin-wrapper .text-gray-500,
body.light-mode footer .text-white,
body.light-mode footer .text-gray-200,
body.light-mode footer .text-gray-300,
body.light-mode footer .text-gray-400,
body.light-mode footer .text-gray-500 {
    color: #ffffff !important;
}

body.light-mode .scene-text p {
    color: #ffffff !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

body.light-mode .border-white\/10,
body.light-mode .border-white\/5,
body.light-mode .border-white\/20,
body.light-mode .border-white\/50,
body.light-mode .border-t,
body.light-mode .border-y {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .bg-\[\#111\]\/80,
body.light-mode .bg-\[\#111\]\/95 {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

body.light-mode .bg-\[\#1a1a1a\] {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .core-card .bg-gradient-to-t {
    display: none !important;
}

body.light-mode .bg-white\/5 {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .text-\[\#e8ff0b\],
body.light-mode .text-\[\#c8f135\] {
    color: #6a7a00 !important;
}

body.light-mode .nav-link {
    color: #000000;
}

body.light-mode .nav-link:hover {
    color: #6a7a00;
}

body.light-mode #header {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode #theme-toggle {
    color: #000000;
    border-color: #d1d5db;
}

body.light-mode #theme-toggle:hover {
    background: #e8ff0b;
}

body.light-mode .bg-transparent {
    background-color: #ffffff !important;
    color: #111827 !important;
    border-color: #d1d5db !important;
}

body.light-mode .bg-transparent::placeholder {
    color: #6b7280 !important;
}

body.light-mode .bg-transparent:focus {
    border-color: #6a7a00 !important;
    box-shadow: 0 0 0 2px rgba(106, 122, 0, 0.2) !important;
}

body.light-mode #mobile-drawer {
    background-color: #f8f9fa !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode #mobile-drawer .mobile-nav-link {
    color: #111827 !important;
}

body.light-mode #mobile-drawer .mobile-nav-link:hover {
    color: #6a7a00 !important;
}

body.light-mode #close-menu-btn {
    color: #4b5563 !important;
}

body.light-mode #close-menu-btn:hover {
    color: #111827 !important;
}



.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}