/* DTfreeze Premium Styling System */

/* Local font import */
@import url('../vendor/fonts/google-fonts.css');

:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --color-slate-900: #0c1b33;
    --color-cyan-500: #1e74a5;
    --color-orange-500: #0c1b33;
}

body {
    font-family: var(--font-body);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Glassmorphism Card Style */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-panel {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradient Glowing Text */
.gradient-text {
    background: linear-gradient(135deg, #1e74a5 0%, #3b82f6 50%, #0c1b33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

.dark ::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e74a5;
}

/* Neon Glow Effects */
.glow-cyan {
    box-shadow: 0 0 15px rgba(30, 116, 165, 0.3);
}

.glow-orange {
    box-shadow: 0 0 15px rgba(12, 27, 51, 0.3);
}

/* Floating Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Hover Zoom & Tilt for Product Cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom Navigation Indicator */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #1e74a5;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

/* Hero Diagonal Background Layout */
.hero-diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

/* Grid Patterns */
.bg-grid-pattern {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
}

/* Pulse animation for active campaigns */
.pulse-campaign {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .5;
        transform: scale(1.05);
    }
}

/* Bento Grid Layout styling */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

/* Glassmorphism glass card premium */
.glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .glass-card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 116, 165, 0.4);
    box-shadow: 0 12px 40px 0 rgba(30, 116, 165, 0.15);
}

/* Neon glow colors */
.glow-rose {
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.3);
}
.glow-purple {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}
.glow-blue {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}
.glow-green {
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

/* Premium gradient accents */
.gradient-cyan-blue {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}
.gradient-rose-orange {
    background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%);
}
.gradient-purple-pink {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

/* Category card design */
.category-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}
.category-card:hover {
    transform: scale(1.03);
}
.category-card:hover::before {
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.95) 100%);
}

/* Glow border animation */
@keyframes border-glow {
    0%, 100% { border-color: rgba(30, 116, 165, 0.2); }
    50% { border-color: rgba(30, 116, 165, 0.8); }
}
.border-glow-pulse {
    animation: border-glow 3s infinite;
}

/* Trendyol Inspired Styling System */
:root {
    --color-trendyol: #1e74a5;
    --color-trendyol-hover: #155c83;
    --color-trendyol-bg: #fafafa;
}

/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Category Story Circle */
.story-item {
    transition: transform 0.2s ease-in-out;
}
.story-item:hover {
    transform: translateY(-3px);
}
.story-circle {
    border: 2px solid #1e74a5;
    padding: 3px;
    background: #fff;
    transition: border-color 0.3s ease;
}
.story-item:hover .story-circle {
    border-color: #0c1b33;
}

/* Trendyol Product Card style */
.ty-product-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.ty-product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #1e74a5;
}

/* Heart Favorite button */
.favorite-btn {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 50%;
    color: #9b9b9b;
    transition: all 0.2s ease;
}
.favorite-btn:hover {
    color: #1e74a5;
    transform: scale(1.1);
}

/* Stars Rating */
.rating-stars {
    color: #ffc000;
}

/* Badges */
.ty-badge-orange {
    background-color: #eef7fc;
    color: #1e74a5;
    border: 1px solid #d2e8f4;
}
.ty-badge-green {
    background-color: #ebfaeb;
    color: #22c55e;
    border: 1px solid #c4fbc4;
}
.ty-badge-blue {
    background-color: #ebeefa;
    color: #3b82f6;
    border: 1px solid #c4d0fb;
}

/* Trendyol Styled Button */
.btn-trendyol {
    background-color: #1e74a5;
    color: #fff;
    font-weight: 700;
    transition: background-color 0.2s ease;
}
.btn-trendyol:hover {
    background-color: #155c83;
}

/* Premium Subtle Background Patterns */
.bg-dots-pattern {
    background-size: 24px 24px;
    background-image: radial-gradient(circle, rgba(30, 116, 165, 0.05) 1.2px, transparent 1.5px);
}

.bg-brand-grid {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(30, 116, 165, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 116, 165, 0.02) 1px, transparent 1px);
}

.dark .bg-brand-grid {
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
}

.bg-radial-mesh {
    background-image: 
        radial-gradient(at 0% 0%, rgba(30, 116, 165, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(12, 27, 51, 0.03) 0px, transparent 50%);
}

.dark .bg-radial-mesh {
    background-image: 
        radial-gradient(at 0% 0%, rgba(30, 116, 165, 0.09) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(12, 27, 51, 0.08) 0px, transparent 50%);
}

/* Premium Dark Mode Specific Overrides */
.dark .bg-white {
    background-color: #0c1b33 !important;
}

.dark .bg-slate-50 {
    background-color: #081222 !important;
}

.dark .bg-slate-100 {
    background-color: #11223b !important;
}

.dark .bg-slate-200 {
    background-color: #1a3254 !important;
}

.dark .bg-slate-300,
.dark .hover\:bg-slate-300:hover {
    background-color: #24416b !important;
}

.dark .bg-slate-50\/50 {
    background-color: rgba(8, 18, 34, 0.5) !important;
}

.dark .hover\:bg-slate-100:hover {
    background-color: #11223b !important;
}

.dark .hover\:bg-slate-100\/50:hover {
    background-color: rgba(17, 34, 59, 0.5) !important;
}

.dark .hover\:bg-slate-200\/60:hover {
    background-color: rgba(26, 50, 84, 0.6) !important;
}

.dark .text-slate-900,
.dark .text-slate-950,
.dark .text-slate-800 {
    color: #f8fafc !important;
}

.dark .text-slate-700,
.dark .text-slate-600 {
    color: #cbd5e1 !important;
}

.dark .text-slate-500 {
    color: #94a3b8 !important;
}

.dark .hover\:text-slate-950:hover {
    color: #ffffff !important;
}

.dark .border-slate-100,
.dark .border-slate-150,
.dark .border-slate-200,
.dark .border-slate-200\/60,
.dark .border-slate-200\/80,
.dark .border-slate-300,
.dark .border-slate-350 {
    border-color: #1a3254 !important;
}

.dark header#main-nav {
    background-color: #0c1b33 !important;
    border-color: #1a3254 !important;
}

.dark header a {
    color: #cbd5e1;
}

.dark header a:hover {
    color: #1e74a5;
}

.dark input, 
.dark select, 
.dark textarea {
    background-color: #11223b !important;
    border-color: #1a3254 !important;
    color: #f8fafc !important;
}

.dark input::placeholder, 
.dark textarea::placeholder {
    color: #475569 !important;
}

.dark .ty-product-card,
.dark .product-card {
    background-color: #102443 !important;
    border-color: #1a3254 !important;
}

.dark .story-circle {
    background: #0c1b33 !important;
    border-color: #1e74a5 !important;
}

.dark .story-circle > div {
    background: #11223b !important;
    color: #38bdf8 !important;
}

.dark .story-item:hover .story-circle {
    border-color: #38bdf8 !important;
}

.dark .favorite-btn {
    background-color: #102443 !important;
    border-color: #1a3254 !important;
    color: #94a3b8 !important;
}

.dark .alert-box.bg-emerald-50 {
    background-color: #064e3b !important;
    color: #a7f3d0 !important;
    border-color: #059669 !important;
}

.dark .alert-box.bg-rose-50 {
    background-color: #881337 !important;
    color: #fecdd3 !important;
    border-color: #e11d48 !important;
}

/* Custom premium badge and icon background states under dark mode */
.dark .bg-blue-100 {
    background-color: rgba(30, 116, 165, 0.2) !important;
}
.dark .text-blue-600 {
    color: #38bdf8 !important;
}

.dark .bg-green-100 {
    background-color: rgba(34, 197, 94, 0.2) !important;
}
.dark .text-green-600 {
    color: #4ade80 !important;
}

.dark .bg-orange-100 {
    background-color: rgba(249, 115, 22, 0.2) !important;
}
.dark .text-orange-600 {
    color: #fb923c !important;
}

.dark .ty-badge-orange {
    background-color: rgba(30, 116, 165, 0.15) !important;
    color: #38bdf8 !important;
    border-color: rgba(30, 116, 165, 0.4) !important;
}
.dark .ty-badge-green {
    background-color: rgba(34, 197, 94, 0.15) !important;
    color: #4ade80 !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
}
.dark .ty-badge-blue {
    background-color: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

.dark .gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #ffffff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Google Translate Custom Premium Styling Integration */
#google_translate_element {
    display: inline-block;
}
.goog-te-gadget {
    font-family: var(--font-body) !important;
    font-size: 0px !important; /* Hides "Powered by Google" text */
    color: transparent !important;
}
.goog-te-gadget .goog-te-combo {
    padding: 6px 10px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    height: auto !important;
    vertical-align: middle !important;
}
.dark .goog-te-gadget .goog-te-combo {
    border-color: #1a3254 !important;
    background-color: #11223b !important;
    color: #f8fafc !important;
}
.goog-te-gadget a:link, 
.goog-te-gadget a:visited,
.goog-te-gadget a img,
.goog-te-gadget span {
    display: none !important; /* Hides the Google Translate logo/link/powered by */
}
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
    display: none !important; /* Hides translation toolbar frame */
}
body {
    top: 0px !important; /* Prevents layout shifting from original banner */
}
