/* DigiShoot Marketing Homepage Styles */

/* Site header: frosted glass (Tailwind v2 CDN ignores bg-white/80 slash opacity) */
.marketing-site-nav {
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(14px) saturate(165%);
    backdrop-filter: blur(14px) saturate(165%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 4px 20px rgba(15, 23, 42, 0.06);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .marketing-site-nav {
        background: rgba(255, 255, 255, 0.94);
    }
}

/* Base Typography & Colors */
body { font-family: 'Inter', sans-serif; }
.elegant-font { font-family: 'Playfair Display', serif; }
.hero-gradient { background: #fff; }
.rose-accent { color: #ec4899; }
.soft-shadow { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12); }
.elegant-border { border: 2px solid rgba(236, 72, 153, 0.18); }
.gold-text { color: #d4af37 !important; }
.hero-slideshow { will-change: transform; transform: translateZ(0) scale(1.05); }
.hero-slideshow .slideshow-slide img { object-position: 80% center; }

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

.floating { animation: float 3s ease-in-out infinite; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); 
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 2rem;
    cursor: grab;
    user-select: none;
}

.slideshow-container:active {
    cursor: grabbing;
}

.slideshow-slide {
    display: none;
    animation: slideIn 0.8s ease-out;
}

.slideshow-slide.active {
    display: block;
}

.slideshow-slide img {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.3);
}

/* Second slideshow visuals */
.slideshow2-slide { 
    display: none; 
    animation: slideIn 0.8s ease-out; 
}
.slideshow2-slide.active { 
    display: block; 
}
.slideshow2-slide img { 
    width: 100%; 
    height: auto; 
    border-radius: 2rem; 
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.3); 
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* How It Works Animation */
.how-it-works-animation {
    position: relative;
    min-height: 400px;
}

.animation-step {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: stepFade 12s infinite;
}

.animation-step:nth-child(1) {
    animation-delay: 0s;
}

.animation-step:nth-child(2) {
    animation-delay: 4s;
}

.animation-step:nth-child(3) {
    animation-delay: 8s;
}

@keyframes stepFade {
    0%, 33.33% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    36.33%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

.upload-icon {
    animation: uploadBounce 2s ease-in-out infinite;
}

@keyframes uploadBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.processing-icon { 
    animation: processSpin 3s linear infinite; 
}
@keyframes processSpin { 
    0% { transform: rotate(0deg) scale(1); } 
    50% { transform: rotate(180deg) scale(1.05); } 
    100% { transform: rotate(360deg) scale(1); } 
}

.download-icon { 
    animation: downloadPulse 2s ease-in-out infinite; 
}
@keyframes downloadPulse { 
    0%, 100% { transform: scale(1); opacity: 1; } 
    50% { transform: scale(1.06); opacity: 0.9; } 
}

.glow-effect { 
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.35), 0 0 60px rgba(236, 72, 153, 0.15); 
}

/* Hero Section Styles */
.hero-section-min-height {
    min-height: 520px;
}

.hero-bg-gradient {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.92) 30%, rgba(255,255,255,0.0) 70%);
}

.hero-bg-image-wrapper {
    width: 100%;
    height: 100%;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Hide the entire background slideshow container on mobile */
    section > .absolute.inset-0.overflow-hidden {
        display: none !important;
    }
}

/* Desktop hero background image styling */
@media (min-width: 769px) {
    .hero-bg-image {
        object-fit: cover;
        object-position: center 40%;
        max-width: 50%;
        height: 100%;
        margin-left: auto;
        filter: brightness(1.05);
    }
}
