/* SOG-BD Custom Styles */

/* Glassmorphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Elite White Glossy Design */
.glass-premium {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-premium:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-10px) scale(1.02);
}

/* Dynamic Brand Glows */
.hover-glow-hdl:hover {
    box-shadow: 0 0 40px rgba(30, 58, 95, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.hover-glow-deshi:hover {
    box-shadow: 0 0 40px rgba(22, 163, 74, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.hover-glow-mrclean:hover {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.hover-glow-deshihaat:hover {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Shimmer Light Sweep */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    animation: shimmer 6s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    30%,
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.gradient-purple {
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 50%, #7c3aed 100%);
}

.gradient-red {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 50%, #dc2626 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #166534, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-gold-text {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.card-lift {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.card-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
}

/* Image Zoom on Hover */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #166534 0%, #22c55e 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(22, 101, 52, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(22, 101, 52, 0.4);
}

.btn-secondary {
    background: white;
    color: #166534;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    border: 2px solid #166534;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #166534;
    color: white;
}

/* Hero Slider */
.hero-slide {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Section Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Staggered Reveal */
.reveal-stagger .reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-stagger.visible .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible .reveal-item:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.visible .reveal-item:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.visible .reveal-item:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.visible .reveal-item:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.visible .reveal-item:nth-child(5) {
    transition-delay: 0.5s;
}

/* Cinematic Image Reveal */
.reveal-image {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-image.visible {
    opacity: 1;
    transform: scale(1);
}

/* Ambient Floating Animation */
.animate-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, -15px);
    }
}

/* Status Badges */
.badge-running {
    background: linear-gradient(135deg, #eab308, #fbbf24);
    color: #1f2937;
}

.badge-ready {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
}

.badge-upcoming {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #16a34a, #166534);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Product Variant Tags */
.variant-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-overlay:hover {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

/* Horizontal Showcase Styles */
.showcase-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0 3rem;
    scrollbar-width: none;
    /* Firefox */
}

.showcase-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.showcase-card {
    flex: 0 0 calc(50% - 0.75rem);
    scroll-snap-align: start;
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    height: 500px;
}

@media (min-width: 1024px) {
    .showcase-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .showcase-card {
        flex: 0 0 85%;
    }
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card:hover .showcase-image {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
}

.glass-showcase-label {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.showcase-card:hover .glass-showcase-label {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

/* Featured Projects Refinements */
.object-top {
    object-position: top !important;
}

[class*="aspect-[3/4]"] {
    aspect-ratio: 3 / 4;
}

@media (max-width: 640px) {
    [class*="aspect-[3/4]"] {
        aspect-ratio: 4 / 5;
    }
}