/* Custom CSS for N.S. Printers Ltd */

/* Font Settings */
body {
    font-family: 'Noto Sans Bengali', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Custom Colors */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #dc2626;
    --success-color: #25d366;
    --info-color: #0ea5e9;
    --warning-color: #f59e0b;
    --light-color: #f8fafc;
    --dark-color: #1f2937;
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.brand-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: var(--light-color);
    border-radius: 6px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding-top: 80px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image-container {
    text-align: center;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    padding-top: 120px;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.product-card img {
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* WhatsApp Button */
.btn-whatsapp {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #20c653;
    border-color: #20c653;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Custom Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Featured Products Section */
.featured-products {
    padding: 5rem 0;
}

.featured-products h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

/* Order Now Section */
.order-now-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.order-now-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
}

footer h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* Category Filter */
.category-filter .btn {
    margin: 0.25rem;
}

.category-filter .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Order Steps */
.order-step {
    padding: 2rem;
    margin-bottom: 2rem;
}

.step-icon {
    margin-bottom: 1.5rem;
}

.order-step h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Order Form */
.order-form-section {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quick-order-options .btn {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Contact Cards */
.contact-item {
    padding: 1.5rem;
    border-radius: 10px;
    background-color: #f8fafc;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: #e2e8f0;
    transform: translateX(5px);
}

.contact-icon {
    min-width: 60px;
}

.quick-contact-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Mission Cards */
.mission-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mission-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.service-card:hover {
    background-color: white;
    border-color: var(--primary-color) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Contact Form */
.contact-form-section {
    border-radius: 15px;
}

/* Table Styles */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table-primary {
    background-color: var(--primary-color);
    color: white;
}

/* Accordion Styles */
.accordion-button {
    background-color: #f8fafc;
    color: var(--primary-color);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-in;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-in;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.rounded-custom {
    border-radius: 15px;
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        width: 100%;
    }
}
