/**
 * Modern Corporate Website Design System
 * Professional, clean, and trustworthy design for business websites
 */

:root {
    --corporate-primary: #1e40af;
    --corporate-secondary: #0891b2;
    --corporate-accent: #f59e0b;
    --corporate-dark: #0f172a;
    --corporate-gray: #64748b;
    --corporate-light: #f8fafc;
    --corporate-white: #ffffff;
    --corporate-border: #e2e8f0;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL STYLES - Modern Corporate Foundation
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl {
    background: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.7;
    font-size: 16px;
}

.storefront-tpl * {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION - Modern, Clean, Professional
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl .hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
    min-height: auto !important;
}

.storefront-tpl .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.storefront-tpl .hero-section .container {
    position: relative;
    z-index: 1;
}

.storefront-tpl .hero-section h1 {
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.02em;
    text-shadow: none !important;
}

.storefront-tpl .hero-section .lead {
    font-size: 1.125rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.storefront-tpl .hero-section .badge {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION - Sticky, Clean, Professional
   ═══════════════════════════════════════════════════════════════ */

.storefront-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.storefront-nav.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.storefront-nav .container {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.storefront-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: #0f172a;
    text-decoration: none;
}

.storefront-nav .nav-brand img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.storefront-nav .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.storefront-nav .nav-link {
    color: #475569;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.625rem 1.25rem;
    transition: all 0.25s ease;
    border-radius: 8px;
    text-decoration: none;
    position: relative;
}

.storefront-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.375rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--corporate-primary);
    transition: width 0.25s ease;
}

.storefront-nav .nav-link:hover {
    color: var(--corporate-primary);
    background: #f1f5f9;
}

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

.storefront-nav .nav-link.active {
    color: var(--corporate-primary);
    background: #eff6ff;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .storefront-nav .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .storefront-nav .nav-links {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS - Clean, Spacious, Modern Layout
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl section {
    padding: 4rem 0;
}

.storefront-tpl section:nth-child(even) {
    background: #f8fafc;
}

.storefront-tpl .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.storefront-tpl .section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 700px;
}

/* ═══════════════════════════════════════════════════════════════
   CARDS - Modern, Clean Design
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl .card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.storefront-tpl .card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.storefront-tpl .card-body {
    padding: 1.5rem;
}

.storefront-tpl .card h5,
.storefront-tpl .card h6 {
    color: #0f172a;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS & SERVICES - Grid Layout
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl .product-card,
.storefront-tpl .service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.storefront-tpl .product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.storefront-tpl .product-card .card-body,
.storefront-tpl .service-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.storefront-tpl .product-card h6,
.storefront-tpl .service-card h6 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.storefront-tpl .product-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--corporate-primary);
    margin-top: auto;
}

.storefront-tpl .service-card .price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--corporate-primary);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS - Modern, Professional
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl .btn {
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: none;
}

.storefront-tpl .btn-primary {
    background: var(--corporate-primary);
    color: white;
}

.storefront-tpl .btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.storefront-tpl .btn-outline-primary {
    border: 2px solid var(--corporate-primary);
    color: var(--corporate-primary);
    background: transparent;
}

.storefront-tpl .btn-outline-primary:hover {
    background: var(--corporate-primary);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION - Professional Form
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl #contact {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 4rem 2rem;
    border-radius: 16px;
    margin: 2rem 0;
}

.storefront-tpl #contact .form-control {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
}

.storefront-tpl #contact .form-control:focus {
    border-color: var(--corporate-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.storefront-tpl #contact .contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.storefront-tpl #contact .contact-info i {
    color: var(--corporate-primary);
    font-size: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   GALLERY - Modern Grid
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.storefront-tpl .gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.storefront-tpl .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.storefront-tpl .gallery-item:hover img {
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════
   REVIEWS - Clean Testimonial Cards
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl .review-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.storefront-tpl .review-card .stars {
    color: #f59e0b;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.storefront-tpl .review-card .reviewer-name {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.storefront-tpl .review-card .review-date {
    font-size: 0.875rem;
    color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER - Clean, Professional
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 2rem 0;
    margin-top: 4rem;
}

.storefront-tpl footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.storefront-tpl footer a:hover {
    color: white;
}

.storefront-tpl footer .vyaapar-logo {
    height: 50px !important;
    width: auto !important;
    opacity: 0.6 !important;
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING ACTION BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    color: white;
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.call {
    background: #1e40af;
}

/* ═══════════════════════════════════════════════════════════════
   BADGES & TRUST ELEMENTS
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.storefront-tpl .trust-badge i {
    color: #059669;
    font-size: 1.125rem;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .storefront-tpl .hero-section {
        padding: 60px 0 !important;
    }
    
    .storefront-tpl .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .storefront-tpl section {
        padding: 3rem 0;
    }
    
    .storefront-tpl .section-title {
        font-size: 1.75rem;
    }
    
    .floating-actions {
        bottom: 16px;
        right: 16px;
    }
    
    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: 1.375rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */

.storefront-tpl .text-corporate-primary {
    color: var(--corporate-primary) !important;
}

.storefront-tpl .bg-corporate-light {
    background: var(--corporate-light) !important;
}

.storefront-tpl .border-corporate {
    border-color: var(--corporate-border) !important;
}
