/* styles.css - Common Styles for Koala Card Website */
:root {
    --primary-red: #FA0F0C;
    --primary-grey: #9E9E9E;
    --primary-black: #232323;
    --light-grey: #f8f9fa;
    --dark-grey: #6c757d;
    --white: #ffffff;
    --border-color: #eaeaea;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 20px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-black);
    line-height: 1.6;
}

/* Header Styles */
.navbar-brand {
    font-weight: bold;
    color: var(--primary-red) !important;
    font-size: 1.5rem;
}

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

.nav-link {
    color: var(--primary-black) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d80c09;
    border-color: #d80c09;
    transform: translateY(-1px);
}

.btn-outline-dark {
    border-color: var(--primary-black);
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--primary-black);
    border-color: var(--primary-black);
    color: var(--white);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title {
    font-weight: 700;
    color: var(--primary-black);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--primary-red);
    bottom: -10px;
    left: 25%;
}

/* Card Styles */
.category-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.category-card .card-body {
    padding: 25px;
    text-align: center;
}

.category-title {
    color: var(--primary-red);
    font-weight: 600;
    margin: 15px 0 10px;
}

.category-description {
    color: var(--primary-grey);
    margin-bottom: 15px;
}
.col_margin {
    margin-bottom: 25px;
}
.product-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.product-img {
    height: 250px !important;
    object-fit: cover !important;
    width: 100% !important;
}

.product-title {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 5px;
}

.product-category {
    color: var(--primary-grey);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-price {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Product Detail Styles */
.product-detail-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product-detail-title {
    font-weight: 700;
    color: var(--primary-black);
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-detail-price {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.product-detail-description {
    color: var(--primary-black);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.product-features li {
    margin-bottom: 10px;
    color: var(--primary-black);
}

.product-features li i {
    color: var(--primary-red);
    margin-right: 10px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 15px 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-red);
}

.breadcrumb-item.active {
    color: var(--primary-red);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-grey);
}

/* Tabs */
.nav-tabs {
    border-bottom: 1px solid var(--border-color);
}

.nav-tabs .nav-link {
    color: var(--primary-grey);
    border: none;
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-red);
    border: none;
}

.nav-tabs .nav-link.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
    background-color: transparent;
}

.tab-content {
    padding: 30px 0;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.quantity-btn {
    background-color: var(--light-grey);
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #e9ecef;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 5px;
}

/* Thumbnail Images */
.thumbnail-img {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-img:hover, .thumbnail-img.active {
    opacity: 1;
    border-color: var(--primary-red);
}

/* Review Stars */
.review-stars {
    color: #ffc107;
}

.review-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Badges */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

/* Alert & Status */
.stock-alert {
    color: #28a745;
    font-weight: 600;
}

.stock-alert i {
    margin-right: 5px;
}

/* Form Elements */
.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.form-label {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(250, 15, 12, 0.25);
}

/* Progress Bars */
.progress {
    height: 8px;
    margin-bottom: 10px;
}

.progress-bar {
    background-color: var(--primary-red);
}

/* Testimonials */
.testimonial-card {
    background-color: var(--light-grey);
    border-radius: 10px;
    padding: 25px;
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-red);
}

/* Newsletter */
.newsletter-section {
    background-color: var(--light-grey);
    padding: 60px 0;
    text-align: center;
}

.newsletter-title {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-img {
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-black);
    border: 1px solid var(--border-color);
}

.pagination .page-link:hover {
    color: var(--primary-red);
    background-color: var(--light-grey);
    border-color: var(--border-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

/* Footer Styles */
footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-title {
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--primary-grey);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 30px;
    color: var(--primary-grey);
    text-align: center;
}

/* Utility Classes */
.text-primary-red {
    color: var(--primary-red) !important;
}

.bg-light-grey {
    background-color: var(--light-grey) !important;
}

.border-red {
    border-color: var(--primary-red) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .product-detail-title {
        font-size: 1.5rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
    }
    
    .section-header {
        margin: 40px 0 30px;
    }
    
    .about-section, .newsletter-section {
        padding: 40px 0;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 15px;
    }
    
    .d-md-flex {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .quantity-selector {
        justify-content: center;
    }
    
    .tab-content {
        padding: 20px 0;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-grey);
    border-top: 2px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .navbar, footer, .btn, .breadcrumb {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .product-card, .category-card {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* About Us Page Specific Styles */

/* Hero Section */
.about-hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.about-hero .hero-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* About Content Section */
.about-content {
    padding: 60px 0;
}

.about-img {
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    width: 100%;
}

/* Values Section */
.values-section {
    background-color: var(--light-grey);
    padding: 60px 0;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.value-item h4 {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.value-item p {
    color: var(--primary-grey);
    line-height: 1.6;
}

/* Simple CTA Section */
.simple-cta {
    padding: 60px 0;
    text-align: center;
}

.simple-cta .section-title {
    margin-bottom: 20px;
}

/* Team Section (Simplified) */
.team-section {
    padding: 60px 0;
}

.team-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.team-name {
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Stats Section (Simplified) */
.stats-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.stat-item {
    margin-bottom: 30px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Timeline (Simplified) */
.timeline-section {
    padding: 60px 0;
    background-color: var(--light-grey);
}

.timeline-item {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
}

.timeline-year {
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.timeline-item h4 {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 10px;
}

/* Responsive Adjustments for About Page */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }
    
    .about-hero .hero-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 40px 0;
    }
    
    .values-section,
    .team-section,
    .stats-section,
    .timeline-section {
        padding: 40px 0;
    }
    
    .value-item {
        margin-bottom: 30px;
    }
    
    .team-img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .about-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding: 20px;
    }
}

/* Contact Page Specific Styles */

/* Contact Hero */
.contact-hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.contact-hero .hero-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.contact-info {
    background: var(--light-grey);
    padding: 40px;
    border-radius: 10px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    background: var(--primary-red);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-black);
}

.contact-form {
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}


.login-wrapper {
    max-width: 600px;
    margin: 50px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.login-wrapper h2 {
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}
.ur-frontend-form.login {
   
    padding: 0px !important;
}

.ur-frontend-form {

    box-shadow: None !important;
}

.user-registration.ur-frontend-form {
    padding: 0px !important;
}



.ur-submit-button , .ur-reset-password-btn {
  
    border: 1px solid #FA0F0C !important;
    background: #FA0F0C !important;
    justify-content: right !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-box {
    button.quantity-minus, button.quantity-plus {
        border: 1px solid #e5e5e5;
        outline: none;
        box-shadow: none;
    }
    .quantity-input {
        margin: 0;
        width: 40px !important;
        height: 35px;
        flex: unset;
        padding: 0;
    }
}



/* Legal Pages Specific Styles */

/* Legal Hero */
.legal-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.legal-hero .hero-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Legal Content */
.legal-section {
    padding: 60px 0;
    background-color: var(--light-grey);
    min-height: 70vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-card {
    background: var(--white);
    border-radius: 10px;
    padding: 50px;
    box-shadow: var(--shadow-hover);
    border: none;
}

.legal-title {
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.legal-subtitle {
    font-weight: 600;
    color: var(--primary-red);
    margin: 30px 0 15px 0;
    font-size: 1.3rem;
}

.legal-text {
    color: var(--primary-black);
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-list {
    margin: 20px 0;
    padding-left: 20px;
}

.legal-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-update {
    background-color: var(--light-grey);
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 5px 5px 0;
}

.legal-contact {
    background-color: var(--light-grey);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

/* Back to Top */
.back-to-top {
    text-align: center;
    margin-top: 40px;
}

/* Table of Contents */
.toc {
    background-color: var(--light-grey);
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.toc-title {
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.toc-list {
    list-style-type: none;
    padding-left: 0;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: var(--primary-red);
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0;
    }
    
    .legal-section {
        padding: 40px 0;
    }
    
    .legal-card {
        padding: 30px 20px;
    }
    
    .legal-title {
        font-size: 1.7rem;
    }
}