/* Custom Styles for Print Fix */

:root {
    --primary-red: #ff4757;
    --primary-dark: #2f3542;
    --text-grey: #747d8c;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
}

/* Brand Text Logos */
.brand-logo {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--primary-dark);
    display: inline-block;
    line-height: 1;
}

.footer-logo-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: #fff;
    display: inline-block;
    line-height: 1;
    margin-bottom: 20px;
}

/* Navbar */
.navbar-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link.active {
    color: var(--primary-red) !important;
}

/* Hero Section */
.hero-section {
    background-color: #f8f9fa; /* Light grey background */
}

/* Buttons */
.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: #ff2e43;
    border-color: #ff2e43;
}

/* Categories */
.letter-spacing-2 {
    letter-spacing: 2px;
}

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

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    transition: transform 0.3s ease;
}

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

/* Badges */
.badge.bg-danger {
    background-color: var(--primary-red) !important;
}

/* Testimonials */
.card {
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* Footer */
footer {
    background-color: #1e272e;
}

footer h5, footer h6 {
    letter-spacing: 0.5px;
}

footer .btn-outline-light {
    width: 35px;
    height: 35px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer .btn-outline-light:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Enhanced Footer Styles */
.footer-section {
    padding: 60px 0 30px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-description {
    color: #adb5bd;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social .btn {
    margin-right: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-links a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 15px;
    color: #adb5bd;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact-info i {
    color: var(--primary-red);
    margin-right: 12px;
    margin-top: 3px;
    width: 16px;
}

.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter p {
    color: #adb5bd;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.footer-newsletter .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 20px;
}

.footer-newsletter .form-control::placeholder {
    color: #adb5bd;
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-red);
    box-shadow: none;
    color: #fff;
}

.footer-newsletter .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 25px;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 40px;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links li {
    margin: 0;
}

.footer-bottom-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-methods img {
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .footer-heading {
        margin-top: 30px;
    }
    
    .footer-heading::after {
        width: 30px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

/* Utilities */
.text-danger {
    color: var(--primary-red) !important;
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Chat Widget Styles */
.chat-widget-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0099ff; /* Blue color from reference */
    color: white;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0; /* Rounded top corners like a tab or full rounded */
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,153,255,0.3);
    cursor: pointer;
    z-index: 1050;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: transform 0.2s;
}
.chat-widget-btn:hover {
    transform: translateY(-2px);
}
.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 1050;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
}
.chat-header {
    background: #0099ff;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}
.chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}
.chat-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
    font-size: 0.9rem;
}
.chat-message.agent {
    background: #f1f1f1;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}
.chat-message.user {
    background: #e3f2fd;
    color: #0056b3;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 0;
}
