/* Placeholder styles for missing images */

/* Remove any logo placeholder styling since we have actual logo */
.nav-logo .logo,
.footer-logo .logo {
    background: transparent !important;
}

/* App mockup placeholder - updated for hero image */
.mockup-img {
    background: transparent;
    border: none;
    border-radius: 20px;
}

/* Only show placeholder if image fails to load */
.mockup-img[src*="app-mockup"]:not([src*="hero-img"]) {
    background: linear-gradient(135deg, var(--light-bg, #f8fafc) 0%, var(--light-blue, #dbeafe) 100%);
    border: 2px solid var(--border-color, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light, #6b7280);
    font-weight: 500;
    min-height: 500px;
}

.mockup-img[src*="app-mockup"]:not([src*="hero-img"])::before {
    content: "📱 App Mockup";
    font-size: 1.2rem;
}

/* Solution images placeholders - Only show if images fail to load */
.solution-image {
    position: relative;
    background: linear-gradient(135deg, var(--light-bg, #f8fafc) 0%, var(--light-blue, #dbeafe) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 3;
}

/* Fallback placeholders only if images fail to load */
.solution-image img[src*="restaurant"]:not([src*="unsplash"])::before {
    content: "🍽️ Restaurant Solution";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light, #6b7280);
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    z-index: 2;
    background: linear-gradient(135deg, var(--light-bg, #f8fafc) 0%, var(--light-blue, #dbeafe) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-image img[src*="grocery"]:not([src*="unsplash"])::before {
    content: "🛒 Grocery Solution";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light, #6b7280);
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    z-index: 2;
    background: linear-gradient(135deg, var(--light-bg, #f8fafc) 0%, var(--light-blue, #dbeafe) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-image img[src*="pharmacy"]:not([src*="unsplash"])::before {
    content: "💊 Pharmacy Solution";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light, #6b7280);
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    z-index: 2;
    background: linear-gradient(135deg, var(--light-bg, #f8fafc) 0%, var(--light-blue, #dbeafe) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Technology logo placeholders */
.tech-img {
    background: linear-gradient(135deg, var(--light-bg, #f8fafc) 0%, var(--light-blue, #dbeafe) 100%);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light, #6b7280);
    font-weight: 600;
    font-size: 0.9rem;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 1.2;
}

.tech-img[src*="angular"]::before {
    content: "⚡ Angular";
    color: #dd0031;
}

.tech-img[src*="nodejs"]::before {
    content: "🟢 Node.js";
    color: #339933;
}

.tech-img[src*="aws"]::before {
    content: "☁️ AWS";
    color: #ff9900;
}

.tech-img[src*="mysql"]::before {
    content: "🐬 MySQL";
    color: #4479a1;
}

.tech-img[src*="postgresql"]::before {
    content: "🐘 PostgreSQL";
    color: #336791;
}

.tech-img[src*="odoo"]::before {
    content: "📊 Odoo";
    color: #714b67;
}

.tech-img[src*="razorpay"]::before {
    content: "💳 Razorpay";
    color: #3395ff;
}

/* Generic image error handling - but not for logos */
img:not(.logo) {
    background: var(--light-bg, #f8fafc);
    border: 1px solid var(--border-color, #e5e7eb);
}

/* Hide broken image icon */
img {
    color: transparent;
}
